diff --git a/.gitignore b/.gitignore index b271188bbf..018c1c0d2d 100644 --- a/.gitignore +++ b/.gitignore @@ -256,3 +256,4 @@ libs/libcodec2-*/ libs/libsilk-*/ libs/rabbitmq-c-*/ libs/rabbitmq-c-*.zip +libs/ffmpeg-*/ diff --git a/Freeswitch.2017.sln b/Freeswitch.2017.sln index d3d520bed1..725bb65def 100644 --- a/Freeswitch.2017.sln +++ b/Freeswitch.2017.sln @@ -28,8 +28,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "XML Interfaces", "XML Inter EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Libraries", "_Libraries", "{EB910B0D-F27D-4B62-B67B-DE834C99AC5B}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Downloads", "_Downloads", "{C120A020-773F-4EA3-923F-B67AF28B750D}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "say", "say", "{6CD61A1D-797C-470A-BE08-8C31B68BB336}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Config", "_Config", "{57D119DC-484F-420F-B9E9-8589FD9A8DF8}" @@ -49,7 +47,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_Build System", "_Build Sys Makefile.am = Makefile.am build\modmake.rules.in = build\modmake.rules.in build\modules.conf.in = build\modules.conf.in - libs\win32\util.vbs = libs\win32\util.vbs EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "m4", "m4", "{CDE9B06A-3C27-4987-8FAE-DF1006BC705D}" @@ -236,8 +233,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xml", "libs\win32\apr-util\ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_sofia", "src\mod\endpoints\mod_sofia\mod_sofia.2017.vcxproj", "{0DF3ABD0-DDC0-4265-B778-07C66780979B}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download PTHREAD", "libs\win32\Download PTHREAD.2017.vcxproj", "{8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pthread", "libs\win32\pthread\pthread.2017.vcxproj", "{DF018947-0FFF-4EB3-BDEE-441DC81DA7A4}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_g723_1", "src\mod\codecs\mod_g723_1\mod_g723_1.2017.vcxproj", "{FEA1EEF7-876F-48DE-88BF-C0E3E606D758}" @@ -296,38 +291,20 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_fsv", "src\mod\applicat EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_lua", "src\mod\languages\mod_lua\mod_lua.2017.vcxproj", "{7B077E7F-1BE7-4291-AB86-55E527B25CAC}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download sphinxbase", "libs\win32\Download sphinxbase.2017.vcxproj", "{4F92B672-DADB-4047-8D6A-4BB3796733FD}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download sphinxmodel", "libs\win32\Download sphinxmodel.2017.vcxproj", "{2DEE4895-1134-439C-B688-52203E57D878}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download pocketsphinx", "libs\win32\Download pocketsphinx.2017.vcxproj", "{AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sphinxbase", "libs\win32\sphinxbase\sphinxbase.2017.vcxproj", "{2F025EAD-99BD-40F5-B2CC-F0A28CAD7F2D}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pocketsphinx", "libs\win32\pocketsphinx\pocketsphinx.2017.vcxproj", "{94001A0E-A837-445C-8004-F918F10D0226}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_pocketsphinx", "src\mod\asr_tts\mod_pocketsphinx\mod_pocketsphinx.2017.vcxproj", "{2286DA73-9FC5-45BC-A508-85994C3317AB}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download 8khzsound", "libs\win32\Download 8khz Sounds.2017.vcxproj", "{3CE1DC99-8246-4DB1-A709-74F19F08EC67}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download 16khzsound", "libs\win32\Download 16khz Sounds.2017.vcxproj", "{87A1FE3D-F410-4C8E-9591-8C625985BC70}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "8khz", "libs\win32\Sound_Files\8khz.2017.vcxproj", "{7A8D8174-B355-4114-AFC1-04777CB9DE0A}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "16khz", "libs\win32\Sound_Files\16khz.2017.vcxproj", "{7EB71250-F002-4ED8-92CA-CA218114537A}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download 32khzsound", "libs\win32\Download 32khz Sounds.2017.vcxproj", "{6E49F6C2-ADDA-4BFB-81FE-AB9AF51B455F}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "32khz", "libs\win32\Sound_Files\32khz.2017.vcxproj", "{464AAB78-5489-4916-BE51-BF8D61822311}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_flite", "src\mod\asr_tts\mod_flite\mod_flite.2017.vcxproj", "{66444AEE-554C-11DD-A9F0-8C5D56D89593}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download LAME", "libs\win32\Download LAME.2017.vcxproj", "{D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download LIBSHOUT", "libs\win32\Download LIBSHOUT.2017.vcxproj", "{D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download OGG", "libs\win32\Download OGG.2017.vcxproj", "{D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmp3lame", "libs\win32\libmp3lame\libmp3lame.2017.vcxproj", "{E316772F-5D8F-4F2A-8F71-094C3E859D34}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libshout", "libs\win32\libshout\libshout.2017.vcxproj", "{D3D8B329-20BE-475E-9E83-653CEA0E0EF5}" @@ -344,12 +321,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_managed", "src\mod\lang EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FreeSWITCH.Managed.2017", "src\mod\languages\mod_managed\managed\FreeSWITCH.Managed.2017.csproj", "{834E2B2F-5483-4B80-8FE3-FE48FF76E5C0}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download mpg123", "libs\win32\Download mpg123.2017.vcxproj", "{E796E337-DE78-4303-8614-9A590862EE95}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmpg123", "libs\win32\mpg123\libmpg123.2017.vcxproj", "{419C8F80-D858-4B48-A25C-AF4007608137}" - ProjectSection(ProjectDependencies) = postProject - {E796E337-DE78-4303-8614-9A590862EE95} = {E796E337-DE78-4303-8614-9A590862EE95} - EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_loopback", "src\mod\endpoints\mod_loopback\mod_loopback.2017.vcxproj", "{B3F424EC-3D8F-417C-B244-3919D5E1A577}" EndProject @@ -392,12 +364,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_modem_filter", "libs\s EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_skel", "src\mod\applications\mod_skel\mod_skel.2017.vcxproj", "{11C9BC3D-45E9-46E3-BE84-B8CEE4685E39}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download 32khz music", "libs\win32\Download 32khz music.2017.vcxproj", "{1F0A8A77-E661-418F-BB92-82172AE43803}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download 8khz music", "libs\win32\Download 8khz music.2017.vcxproj", "{4F5C9D55-98EF-4256-8311-32D7BD360406}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download 16khz music", "libs\win32\Download 16khz music.2017.vcxproj", "{E10571C4-E7F4-4608-B5F2-B22E7EB95400}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "8khz music", "libs\win32\Sound_Files\8khzmusic.2017.vcxproj", "{D1ABE208-6442-4FB4-9AAD-1677E41BC870}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "16khz music", "libs\win32\Sound_Files\16khzmusic.2017.vcxproj", "{BA599D0A-4310-4505-91DA-6A6447B3E289}" @@ -437,8 +403,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mrcpunirtsp", "libs\unimrcp EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_unimrcp", "src\mod\asr_tts\mod_unimrcp\mod_unimrcp.2017.vcxproj", "{D07C378A-F5F7-438F-ADF3-4AC4FB1883CD}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download CELT", "libs\win32\Download CELT.2017.vcxproj", "{FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcelt", "libs\win32\celt\libcelt.2017.vcxproj", "{ABB71A76-42B0-47A4-973A-42E3D920C6FD}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FSComm", "fscomm\FSComm.2017.vcxproj", "{7D3122C7-C9D0-3748-81F8-F0DDCB40BF5E}" @@ -491,12 +455,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libzrtp", "libs\libzrtp\pro EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_redis", "src\mod\applications\mod_redis\mod_redis.2017.vcxproj", "{886B5E9D-F2C2-4AF2-98C8-EF98C4C770E6}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download libjpeg", "libs\win32\Download libjpeg.2017.vcxproj", "{652AD5F7-8488-489F-AAD0-7FBE064703B6}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libjpeg", "libs\win32\libjpeg\libjpeg.2017.vcxproj", "{019DBD2A-273D-4BA4-BF86-B5EFE2ED76B1}" - ProjectSection(ProjectDependencies) = postProject - {652AD5F7-8488-489F-AAD0-7FBE064703B6} = {652AD5F7-8488-489F-AAD0-7FBE064703B6} - EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "abyss", "libs\win32\xmlrpc-c\abyss.2017.vcxproj", "{D2396DD7-7D38-473A-ABB7-6F96D65AE1B9}" ProjectSection(ProjectDependencies) = postProject @@ -531,8 +490,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcbt", "libs\win32\libcbt EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_cielab_luts", "libs\spandsp\src\msvc\make_cielab_luts.2017.vcxproj", "{85F0CF8C-C7AB-48F6-BA19-CC94CF87F981}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download OPUS", "libs\win32\Download OPUS.2017.vcxproj", "{092124C9-09ED-43C7-BD6D-4AE5D6B3C547}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "opus", "opus", "{ED2CA8B5-8E91-4296-A120-02BB0B674652}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "opus", "libs\win32\opus\opus.2017.vcxproj", "{FD60942F-72D6-4CA1-8B57-EA1D1B95A89E}" @@ -551,14 +508,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "make_t43_gray_code_tables", EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "winFailToBan", "src\mod\languages\mod_managed\managed\examples\winFailToBan\winFailToBan.csproj", "{5BA0D5BD-330D-4EE2-B959-CAFEA04E50E0}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download SPEEX", "libs\win32\Download SPEEX.2017.vcxproj", "{1BDAB935-27DC-47E3-95EA-17E024D39C31}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download SQLITE", "libs\win32\Download SQLITE.2017.vcxproj", "{97D25665-34CD-4E0C-96E7-88F0795B8883}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download LDNS", "libs\win32\Download LDNS.2017.vcxproj", "{5BE9A596-F11F-4379-928C-412F81AE182B}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download PORTAUDIO", "libs\win32\Download PORTAUDIO.2017.vcxproj", "{C0779BCC-C037-4F58-B890-EF37BA956B3C}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_rtc", "src\mod\endpoints\mod_rtc\mod_rtc.2017.vcxproj", "{3884ADD2-91D0-4CD6-86D3-D5FB2D4AAB9E}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_verto", "src\mod\endpoints\mod_verto\mod_verto.2017.vcxproj", "{5B2BACE4-0F5A-4A21-930D-C0F4B1F58FA6}" @@ -568,52 +517,23 @@ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libvpx", "libs\win32\libvpx\libvpx.2017.vcxproj", "{DCE19DAF-69AC-46DB-B14A-39F0FAA5DB74}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libpng", "libs\win32\libpng\libpng.2017.vcxproj", "{D6973076-9317-4EF2-A0B8-B7A18AC0713E}" - ProjectSection(ProjectDependencies) = postProject - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33} = {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download libpng", "libs\win32\Download libpng.2017.vcxproj", "{C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "freetype.2017", "libs\win32\freetype\freetype.2017.vcxproj", "{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}" - ProjectSection(ProjectDependencies) = postProject - {0AD87FDA-989F-4638-B6E1-B0132BB0560A} = {0AD87FDA-989F-4638-B6E1-B0132BB0560A} - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download freetype", "libs\win32\Download freetype.2017.vcxproj", "{0AD87FDA-989F-4638-B6E1-B0132BB0560A}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_png", "src\mod\formats\mod_png\mod_png.2017.vcxproj", "{FBC7E2A4-B989-4289-BA7F-68F440E9EF8B}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download libav", "libs\win32\Download libav.2017.vcxproj", "{77C9E0A2-177D-4BD6-9EFD-75A56F886325}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libav", "libs\win32\libav\libav.2017.vcxproj", "{841C345F-FCC7-4F64-8F54-0281CEABEB01}" - ProjectSection(ProjectDependencies) = postProject - {77C9E0A2-177D-4BD6-9EFD-75A56F886325} = {77C9E0A2-177D-4BD6-9EFD-75A56F886325} - EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_av", "src\mod\applications\mod_av\mod_av.2017.vcxproj", "{7AEE504B-23B6-4B05-829E-7CD34855F146}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libx264", "libs\win32\libx264\libx264.2017.vcxproj", "{20179127-853B-4FE9-B7C0-9E817E6A3A72}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download libx264", "libs\win32\Download libx264.2017.vcxproj", "{6D1BC01C-3F97-4C08-8A45-69C9B94281AA}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download tiff", "libs\win32\Download tiff.2017.vcxproj", "{583D8CEA-4171-4493-9025-B63265F408D8}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_http_cache", "src\mod\applications\mod_http_cache\mod_http_cache.2017.vcxproj", "{87933C2D-0159-46F7-B326-E1B6E982C21E}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download g722_1", "libs\win32\Download g722_1.2017.vcxproj", "{36603FE1-253F-4C2C-AAB6-12927A626135}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download iLBC", "libs\win32\Download iLBC.2017.vcxproj", "{53AADA60-DF12-46FF-BF94-566BBF849336}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download broadvoice", "libs\win32\Download broadvoice.2017.vcxproj", "{46502007-0D94-47AC-A640-C2B5EEA98333}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcodec2", "libs\win32\libcodec2\libcodec2.2017.vcxproj", "{19E934D6-1484-41C8-9305-78DC42FD61F2}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_codec2", "src\mod\codecs\mod_codec2\mod_codec2.2017.vcxproj", "{CB4E68A1-8D19-4B5E-87B9-97A895E1BA17}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download libcodec2", "libs\win32\Download libcodec2.2017.vcxproj", "{9CFA562C-C611-48A7-90A2-BB031B47FE6D}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Download libsilk", "libs\win32\Download libsilk.2017.vcxproj", "{08782D64-E775-4E96-B707-CC633A226F32}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_amqp", "src\mod\event_handlers\mod_amqp\mod_amqp.2017.vcxproj", "{7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_cdr_pg_csv", "src\mod\event_handlers\mod_cdr_pg_csv\mod_cdr_pg_csv.2017.vcxproj", "{411F6D43-9F09-47D0-8B04-E1EB6B67C5BF}" @@ -640,6 +560,12 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_cdr_sqlite", "src\mod\e EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_cv", "src\mod\applications\mod_cv\mod_cv.2017.vcxproj", "{40C4E2A2-B49B-496C-96D6-C04B890F7F88}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_cidlookup", "src\mod\applications\mod_cidlookup\mod_cidlookup.2017.vcxproj", "{0A130A8B-3076-4619-BADF-9E86F621AEEC}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_cdr_mongodb", "src\mod\event_handlers\mod_cdr_mongodb\mod_cdr_mongodb.2017.vcxproj", "{4DFF29B4-2976-447D-A8B3-43476451517C}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ffmpeg", "libs\win32\ffmpeg\ffmpeg.2017.vcxproj", "{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution All|Win32 = All|Win32 @@ -978,18 +904,6 @@ Global {0DF3ABD0-DDC0-4265-B778-07C66780979B}.Release|Win32.Build.0 = Release|Win32 {0DF3ABD0-DDC0-4265-B778-07C66780979B}.Release|x64.ActiveCfg = Release|x64 {0DF3ABD0-DDC0-4265-B778-07C66780979B}.Release|x64.Build.0 = Release|x64 - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}.All|Win32.ActiveCfg = Release|Win32 - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}.All|Win32.Build.0 = Release|Win32 - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}.All|x64.ActiveCfg = Release|Win32 - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}.All|x64.Build.0 = Release|Win32 - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}.Debug|Win32.ActiveCfg = Debug|Win32 - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}.Debug|Win32.Build.0 = Debug|Win32 - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}.Debug|x64.ActiveCfg = Debug|Win32 - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}.Debug|x64.Build.0 = Debug|Win32 - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}.Release|Win32.ActiveCfg = Release|Win32 - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}.Release|Win32.Build.0 = Release|Win32 - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}.Release|x64.ActiveCfg = Release|Win32 - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A}.Release|x64.Build.0 = Release|Win32 {DF018947-0FFF-4EB3-BDEE-441DC81DA7A4}.All|Win32.ActiveCfg = Release DLL|x64 {DF018947-0FFF-4EB3-BDEE-441DC81DA7A4}.All|x64.ActiveCfg = Release DLL|x64 {DF018947-0FFF-4EB3-BDEE-441DC81DA7A4}.All|x64.Build.0 = Release DLL|x64 @@ -1305,42 +1219,6 @@ Global {7B077E7F-1BE7-4291-AB86-55E527B25CAC}.Release|Win32.Build.0 = Release|Win32 {7B077E7F-1BE7-4291-AB86-55E527B25CAC}.Release|x64.ActiveCfg = Release|x64 {7B077E7F-1BE7-4291-AB86-55E527B25CAC}.Release|x64.Build.0 = Release|x64 - {4F92B672-DADB-4047-8D6A-4BB3796733FD}.All|Win32.ActiveCfg = Release|Win32 - {4F92B672-DADB-4047-8D6A-4BB3796733FD}.All|Win32.Build.0 = Release|Win32 - {4F92B672-DADB-4047-8D6A-4BB3796733FD}.All|x64.ActiveCfg = Release|Win32 - {4F92B672-DADB-4047-8D6A-4BB3796733FD}.All|x64.Build.0 = Release|Win32 - {4F92B672-DADB-4047-8D6A-4BB3796733FD}.Debug|Win32.ActiveCfg = Debug|Win32 - {4F92B672-DADB-4047-8D6A-4BB3796733FD}.Debug|Win32.Build.0 = Debug|Win32 - {4F92B672-DADB-4047-8D6A-4BB3796733FD}.Debug|x64.ActiveCfg = Debug|Win32 - {4F92B672-DADB-4047-8D6A-4BB3796733FD}.Debug|x64.Build.0 = Debug|Win32 - {4F92B672-DADB-4047-8D6A-4BB3796733FD}.Release|Win32.ActiveCfg = Release|Win32 - {4F92B672-DADB-4047-8D6A-4BB3796733FD}.Release|Win32.Build.0 = Release|Win32 - {4F92B672-DADB-4047-8D6A-4BB3796733FD}.Release|x64.ActiveCfg = Release|Win32 - {4F92B672-DADB-4047-8D6A-4BB3796733FD}.Release|x64.Build.0 = Release|Win32 - {2DEE4895-1134-439C-B688-52203E57D878}.All|Win32.ActiveCfg = Release|Win32 - {2DEE4895-1134-439C-B688-52203E57D878}.All|Win32.Build.0 = Release|Win32 - {2DEE4895-1134-439C-B688-52203E57D878}.All|x64.ActiveCfg = Release|Win32 - {2DEE4895-1134-439C-B688-52203E57D878}.All|x64.Build.0 = Release|Win32 - {2DEE4895-1134-439C-B688-52203E57D878}.Debug|Win32.ActiveCfg = Debug|Win32 - {2DEE4895-1134-439C-B688-52203E57D878}.Debug|Win32.Build.0 = Debug|Win32 - {2DEE4895-1134-439C-B688-52203E57D878}.Debug|x64.ActiveCfg = Debug|Win32 - {2DEE4895-1134-439C-B688-52203E57D878}.Debug|x64.Build.0 = Debug|Win32 - {2DEE4895-1134-439C-B688-52203E57D878}.Release|Win32.ActiveCfg = Release|Win32 - {2DEE4895-1134-439C-B688-52203E57D878}.Release|Win32.Build.0 = Release|Win32 - {2DEE4895-1134-439C-B688-52203E57D878}.Release|x64.ActiveCfg = Release|Win32 - {2DEE4895-1134-439C-B688-52203E57D878}.Release|x64.Build.0 = Release|Win32 - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}.All|Win32.ActiveCfg = Release|Win32 - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}.All|Win32.Build.0 = Release|Win32 - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}.All|x64.ActiveCfg = Release|Win32 - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}.All|x64.Build.0 = Release|Win32 - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}.Debug|Win32.ActiveCfg = Debug|Win32 - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}.Debug|Win32.Build.0 = Debug|Win32 - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}.Debug|x64.ActiveCfg = Debug|Win32 - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}.Debug|x64.Build.0 = Debug|Win32 - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}.Release|Win32.ActiveCfg = Release|Win32 - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}.Release|Win32.Build.0 = Release|Win32 - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}.Release|x64.ActiveCfg = Release|Win32 - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E}.Release|x64.Build.0 = Release|Win32 {2F025EAD-99BD-40F5-B2CC-F0A28CAD7F2D}.All|Win32.ActiveCfg = Debug|x64 {2F025EAD-99BD-40F5-B2CC-F0A28CAD7F2D}.All|x64.ActiveCfg = Debug|x64 {2F025EAD-99BD-40F5-B2CC-F0A28CAD7F2D}.All|x64.Build.0 = Debug|x64 @@ -1374,25 +1252,6 @@ Global {2286DA73-9FC5-45BC-A508-85994C3317AB}.Release|Win32.Build.0 = Release|Win32 {2286DA73-9FC5-45BC-A508-85994C3317AB}.Release|x64.ActiveCfg = Release|x64 {2286DA73-9FC5-45BC-A508-85994C3317AB}.Release|x64.Build.0 = Release|x64 - {3CE1DC99-8246-4DB1-A709-74F19F08EC67}.All|Win32.ActiveCfg = Release|Win32 - {3CE1DC99-8246-4DB1-A709-74F19F08EC67}.All|Win32.Build.0 = Release|Win32 - {3CE1DC99-8246-4DB1-A709-74F19F08EC67}.All|x64.ActiveCfg = Release|Win32 - {3CE1DC99-8246-4DB1-A709-74F19F08EC67}.All|x64.Build.0 = Release|Win32 - {3CE1DC99-8246-4DB1-A709-74F19F08EC67}.Debug|Win32.ActiveCfg = Debug|Win32 - {3CE1DC99-8246-4DB1-A709-74F19F08EC67}.Debug|Win32.Build.0 = Debug|Win32 - {3CE1DC99-8246-4DB1-A709-74F19F08EC67}.Debug|x64.ActiveCfg = Debug|Win32 - {3CE1DC99-8246-4DB1-A709-74F19F08EC67}.Debug|x64.Build.0 = Debug|Win32 - {3CE1DC99-8246-4DB1-A709-74F19F08EC67}.Release|Win32.ActiveCfg = Release|Win32 - {3CE1DC99-8246-4DB1-A709-74F19F08EC67}.Release|Win32.Build.0 = Release|Win32 - {3CE1DC99-8246-4DB1-A709-74F19F08EC67}.Release|x64.ActiveCfg = Release|Win32 - {3CE1DC99-8246-4DB1-A709-74F19F08EC67}.Release|x64.Build.0 = Release|Win32 - {87A1FE3D-F410-4C8E-9591-8C625985BC70}.All|Win32.ActiveCfg = Release|Win32 - {87A1FE3D-F410-4C8E-9591-8C625985BC70}.All|x64.ActiveCfg = Release|Win32 - {87A1FE3D-F410-4C8E-9591-8C625985BC70}.Debug|Win32.ActiveCfg = Debug|Win32 - {87A1FE3D-F410-4C8E-9591-8C625985BC70}.Debug|Win32.Build.0 = Debug|Win32 - {87A1FE3D-F410-4C8E-9591-8C625985BC70}.Debug|x64.ActiveCfg = Debug|Win32 - {87A1FE3D-F410-4C8E-9591-8C625985BC70}.Release|Win32.ActiveCfg = Release|Win32 - {87A1FE3D-F410-4C8E-9591-8C625985BC70}.Release|x64.ActiveCfg = Release|Win32 {7A8D8174-B355-4114-AFC1-04777CB9DE0A}.All|Win32.ActiveCfg = Release|Win32 {7A8D8174-B355-4114-AFC1-04777CB9DE0A}.All|Win32.Build.0 = Release|Win32 {7A8D8174-B355-4114-AFC1-04777CB9DE0A}.All|x64.ActiveCfg = Release|Win32 @@ -1412,13 +1271,6 @@ Global {7EB71250-F002-4ED8-92CA-CA218114537A}.Debug|x64.ActiveCfg = Debug|x64 {7EB71250-F002-4ED8-92CA-CA218114537A}.Release|Win32.ActiveCfg = Release|Win32 {7EB71250-F002-4ED8-92CA-CA218114537A}.Release|x64.ActiveCfg = Release|x64 - {6E49F6C2-ADDA-4BFB-81FE-AB9AF51B455F}.All|Win32.ActiveCfg = Release|Win32 - {6E49F6C2-ADDA-4BFB-81FE-AB9AF51B455F}.All|x64.ActiveCfg = Release|Win32 - {6E49F6C2-ADDA-4BFB-81FE-AB9AF51B455F}.Debug|Win32.ActiveCfg = Debug|Win32 - {6E49F6C2-ADDA-4BFB-81FE-AB9AF51B455F}.Debug|Win32.Build.0 = Debug|Win32 - {6E49F6C2-ADDA-4BFB-81FE-AB9AF51B455F}.Debug|x64.ActiveCfg = Debug|Win32 - {6E49F6C2-ADDA-4BFB-81FE-AB9AF51B455F}.Release|Win32.ActiveCfg = Release|Win32 - {6E49F6C2-ADDA-4BFB-81FE-AB9AF51B455F}.Release|x64.ActiveCfg = Release|Win32 {464AAB78-5489-4916-BE51-BF8D61822311}.All|Win32.ActiveCfg = Release|Win32 {464AAB78-5489-4916-BE51-BF8D61822311}.All|x64.ActiveCfg = Release|Win32 {464AAB78-5489-4916-BE51-BF8D61822311}.Debug|Win32.ActiveCfg = Debug|Win32 @@ -1438,42 +1290,6 @@ Global {66444AEE-554C-11DD-A9F0-8C5D56D89593}.Release|Win32.Build.0 = Release|Win32 {66444AEE-554C-11DD-A9F0-8C5D56D89593}.Release|x64.ActiveCfg = Release|x64 {66444AEE-554C-11DD-A9F0-8C5D56D89593}.Release|x64.Build.0 = Release|x64 - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}.All|Win32.ActiveCfg = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}.All|Win32.Build.0 = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}.All|x64.ActiveCfg = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}.All|x64.Build.0 = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}.Debug|Win32.ActiveCfg = Debug|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}.Debug|Win32.Build.0 = Debug|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}.Debug|x64.ActiveCfg = Debug|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}.Debug|x64.Build.0 = Debug|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}.Release|Win32.ActiveCfg = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}.Release|Win32.Build.0 = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}.Release|x64.ActiveCfg = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B}.Release|x64.Build.0 = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}.All|Win32.ActiveCfg = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}.All|Win32.Build.0 = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}.All|x64.ActiveCfg = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}.All|x64.Build.0 = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}.Debug|Win32.ActiveCfg = Debug|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}.Debug|Win32.Build.0 = Debug|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}.Debug|x64.ActiveCfg = Debug|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}.Debug|x64.Build.0 = Debug|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}.Release|Win32.ActiveCfg = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}.Release|Win32.Build.0 = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}.Release|x64.ActiveCfg = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B}.Release|x64.Build.0 = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}.All|Win32.ActiveCfg = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}.All|Win32.Build.0 = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}.All|x64.ActiveCfg = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}.All|x64.Build.0 = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}.Debug|Win32.ActiveCfg = Debug|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}.Debug|Win32.Build.0 = Debug|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}.Debug|x64.ActiveCfg = Debug|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}.Debug|x64.Build.0 = Debug|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}.Release|Win32.ActiveCfg = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}.Release|Win32.Build.0 = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}.Release|x64.ActiveCfg = Release|Win32 - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B}.Release|x64.Build.0 = Release|Win32 {E316772F-5D8F-4F2A-8F71-094C3E859D34}.All|Win32.ActiveCfg = Debug|x64 {E316772F-5D8F-4F2A-8F71-094C3E859D34}.All|x64.ActiveCfg = Debug|x64 {E316772F-5D8F-4F2A-8F71-094C3E859D34}.All|x64.Build.0 = Debug|x64 @@ -1561,18 +1377,6 @@ Global {834E2B2F-5483-4B80-8FE3-FE48FF76E5C0}.Release|Win32.Build.0 = Release|Any CPU {834E2B2F-5483-4B80-8FE3-FE48FF76E5C0}.Release|x64.ActiveCfg = Release|x64 {834E2B2F-5483-4B80-8FE3-FE48FF76E5C0}.Release|x64.Build.0 = Release|x64 - {E796E337-DE78-4303-8614-9A590862EE95}.All|Win32.ActiveCfg = Release|Win32 - {E796E337-DE78-4303-8614-9A590862EE95}.All|Win32.Build.0 = Release|Win32 - {E796E337-DE78-4303-8614-9A590862EE95}.All|x64.ActiveCfg = Release|Win32 - {E796E337-DE78-4303-8614-9A590862EE95}.All|x64.Build.0 = Release|Win32 - {E796E337-DE78-4303-8614-9A590862EE95}.Debug|Win32.ActiveCfg = Debug|Win32 - {E796E337-DE78-4303-8614-9A590862EE95}.Debug|Win32.Build.0 = Debug|Win32 - {E796E337-DE78-4303-8614-9A590862EE95}.Debug|x64.ActiveCfg = Debug|Win32 - {E796E337-DE78-4303-8614-9A590862EE95}.Debug|x64.Build.0 = Debug|Win32 - {E796E337-DE78-4303-8614-9A590862EE95}.Release|Win32.ActiveCfg = Release|Win32 - {E796E337-DE78-4303-8614-9A590862EE95}.Release|Win32.Build.0 = Release|Win32 - {E796E337-DE78-4303-8614-9A590862EE95}.Release|x64.ActiveCfg = Release|Win32 - {E796E337-DE78-4303-8614-9A590862EE95}.Release|x64.Build.0 = Release|Win32 {419C8F80-D858-4B48-A25C-AF4007608137}.All|Win32.ActiveCfg = Debug_Generic_Dll|Win32 {419C8F80-D858-4B48-A25C-AF4007608137}.All|Win32.Build.0 = Debug_Generic_Dll|Win32 {419C8F80-D858-4B48-A25C-AF4007608137}.All|x64.ActiveCfg = Debug_Generic_Dll|Win32 @@ -1784,32 +1588,6 @@ Global {11C9BC3D-45E9-46E3-BE84-B8CEE4685E39}.Debug|x64.ActiveCfg = Debug|x64 {11C9BC3D-45E9-46E3-BE84-B8CEE4685E39}.Release|Win32.ActiveCfg = Release|Win32 {11C9BC3D-45E9-46E3-BE84-B8CEE4685E39}.Release|x64.ActiveCfg = Release|x64 - {1F0A8A77-E661-418F-BB92-82172AE43803}.All|Win32.ActiveCfg = Release|Win32 - {1F0A8A77-E661-418F-BB92-82172AE43803}.All|x64.ActiveCfg = Release|Win32 - {1F0A8A77-E661-418F-BB92-82172AE43803}.Debug|Win32.ActiveCfg = Debug|Win32 - {1F0A8A77-E661-418F-BB92-82172AE43803}.Debug|Win32.Build.0 = Debug|Win32 - {1F0A8A77-E661-418F-BB92-82172AE43803}.Debug|x64.ActiveCfg = Debug|Win32 - {1F0A8A77-E661-418F-BB92-82172AE43803}.Release|Win32.ActiveCfg = Release|Win32 - {1F0A8A77-E661-418F-BB92-82172AE43803}.Release|x64.ActiveCfg = Release|Win32 - {4F5C9D55-98EF-4256-8311-32D7BD360406}.All|Win32.ActiveCfg = Release|Win32 - {4F5C9D55-98EF-4256-8311-32D7BD360406}.All|Win32.Build.0 = Release|Win32 - {4F5C9D55-98EF-4256-8311-32D7BD360406}.All|x64.ActiveCfg = Release|Win32 - {4F5C9D55-98EF-4256-8311-32D7BD360406}.All|x64.Build.0 = Release|Win32 - {4F5C9D55-98EF-4256-8311-32D7BD360406}.Debug|Win32.ActiveCfg = Debug|Win32 - {4F5C9D55-98EF-4256-8311-32D7BD360406}.Debug|Win32.Build.0 = Debug|Win32 - {4F5C9D55-98EF-4256-8311-32D7BD360406}.Debug|x64.ActiveCfg = Debug|Win32 - {4F5C9D55-98EF-4256-8311-32D7BD360406}.Debug|x64.Build.0 = Debug|Win32 - {4F5C9D55-98EF-4256-8311-32D7BD360406}.Release|Win32.ActiveCfg = Release|Win32 - {4F5C9D55-98EF-4256-8311-32D7BD360406}.Release|Win32.Build.0 = Release|Win32 - {4F5C9D55-98EF-4256-8311-32D7BD360406}.Release|x64.ActiveCfg = Release|Win32 - {4F5C9D55-98EF-4256-8311-32D7BD360406}.Release|x64.Build.0 = Release|Win32 - {E10571C4-E7F4-4608-B5F2-B22E7EB95400}.All|Win32.ActiveCfg = Release|Win32 - {E10571C4-E7F4-4608-B5F2-B22E7EB95400}.All|x64.ActiveCfg = Release|Win32 - {E10571C4-E7F4-4608-B5F2-B22E7EB95400}.Debug|Win32.ActiveCfg = Debug|Win32 - {E10571C4-E7F4-4608-B5F2-B22E7EB95400}.Debug|Win32.Build.0 = Debug|Win32 - {E10571C4-E7F4-4608-B5F2-B22E7EB95400}.Debug|x64.ActiveCfg = Debug|Win32 - {E10571C4-E7F4-4608-B5F2-B22E7EB95400}.Release|Win32.ActiveCfg = Release|Win32 - {E10571C4-E7F4-4608-B5F2-B22E7EB95400}.Release|x64.ActiveCfg = Release|Win32 {D1ABE208-6442-4FB4-9AAD-1677E41BC870}.All|Win32.ActiveCfg = Release|Win32 {D1ABE208-6442-4FB4-9AAD-1677E41BC870}.All|Win32.Build.0 = Release|Win32 {D1ABE208-6442-4FB4-9AAD-1677E41BC870}.All|x64.ActiveCfg = Release|Win32 @@ -2001,17 +1779,6 @@ Global {D07C378A-F5F7-438F-ADF3-4AC4FB1883CD}.Release|Win32.Build.0 = Release|Win32 {D07C378A-F5F7-438F-ADF3-4AC4FB1883CD}.Release|x64.ActiveCfg = Release|x64 {D07C378A-F5F7-438F-ADF3-4AC4FB1883CD}.Release|x64.Build.0 = Release|x64 - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19}.All|Win32.ActiveCfg = Release|Win32 - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19}.All|Win32.Build.0 = Release|Win32 - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19}.All|x64.ActiveCfg = Release|Win32 - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19}.Debug|Win32.ActiveCfg = Debug|Win32 - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19}.Debug|Win32.Build.0 = Debug|Win32 - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19}.Debug|x64.ActiveCfg = Debug|Win32 - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19}.Debug|x64.Build.0 = Debug|Win32 - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19}.Release|Win32.ActiveCfg = Release|Win32 - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19}.Release|Win32.Build.0 = Release|Win32 - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19}.Release|x64.ActiveCfg = Release|Win32 - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19}.Release|x64.Build.0 = Release|Win32 {ABB71A76-42B0-47A4-973A-42E3D920C6FD}.All|Win32.ActiveCfg = Release|x64 {ABB71A76-42B0-47A4-973A-42E3D920C6FD}.All|x64.ActiveCfg = Release|x64 {ABB71A76-42B0-47A4-973A-42E3D920C6FD}.All|x64.Build.0 = Release|x64 @@ -2280,17 +2047,6 @@ Global {886B5E9D-F2C2-4AF2-98C8-EF98C4C770E6}.Release|Win32.Build.0 = Release|Win32 {886B5E9D-F2C2-4AF2-98C8-EF98C4C770E6}.Release|x64.ActiveCfg = Release|x64 {886B5E9D-F2C2-4AF2-98C8-EF98C4C770E6}.Release|x64.Build.0 = Release|x64 - {652AD5F7-8488-489F-AAD0-7FBE064703B6}.All|Win32.ActiveCfg = Release|Win32 - {652AD5F7-8488-489F-AAD0-7FBE064703B6}.All|Win32.Build.0 = Release|Win32 - {652AD5F7-8488-489F-AAD0-7FBE064703B6}.All|x64.ActiveCfg = Release|Win32 - {652AD5F7-8488-489F-AAD0-7FBE064703B6}.Debug|Win32.ActiveCfg = Debug|Win32 - {652AD5F7-8488-489F-AAD0-7FBE064703B6}.Debug|Win32.Build.0 = Debug|Win32 - {652AD5F7-8488-489F-AAD0-7FBE064703B6}.Debug|x64.ActiveCfg = Debug|Win32 - {652AD5F7-8488-489F-AAD0-7FBE064703B6}.Debug|x64.Build.0 = Debug|Win32 - {652AD5F7-8488-489F-AAD0-7FBE064703B6}.Release|Win32.ActiveCfg = Release|Win32 - {652AD5F7-8488-489F-AAD0-7FBE064703B6}.Release|Win32.Build.0 = Release|Win32 - {652AD5F7-8488-489F-AAD0-7FBE064703B6}.Release|x64.ActiveCfg = Release|Win32 - {652AD5F7-8488-489F-AAD0-7FBE064703B6}.Release|x64.Build.0 = Release|Win32 {019DBD2A-273D-4BA4-BF86-B5EFE2ED76B1}.All|Win32.ActiveCfg = Release|Win32 {019DBD2A-273D-4BA4-BF86-B5EFE2ED76B1}.All|Win32.Build.0 = Release|Win32 {019DBD2A-273D-4BA4-BF86-B5EFE2ED76B1}.All|x64.ActiveCfg = Release|Win32 @@ -2402,17 +2158,6 @@ Global {85F0CF8C-C7AB-48F6-BA19-CC94CF87F981}.Release|Win32.Build.0 = All|Win32 {85F0CF8C-C7AB-48F6-BA19-CC94CF87F981}.Release|x64.ActiveCfg = All|Win32 {85F0CF8C-C7AB-48F6-BA19-CC94CF87F981}.Release|x64.Build.0 = All|Win32 - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547}.All|Win32.ActiveCfg = Release|Win32 - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547}.All|Win32.Build.0 = Release|Win32 - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547}.All|x64.ActiveCfg = Release|Win32 - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547}.Debug|Win32.ActiveCfg = Debug|Win32 - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547}.Debug|Win32.Build.0 = Debug|Win32 - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547}.Debug|x64.ActiveCfg = Debug|Win32 - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547}.Debug|x64.Build.0 = Debug|Win32 - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547}.Release|Win32.ActiveCfg = Release|Win32 - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547}.Release|Win32.Build.0 = Release|Win32 - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547}.Release|x64.ActiveCfg = Release|Win32 - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547}.Release|x64.Build.0 = Release|Win32 {FD60942F-72D6-4CA1-8B57-EA1D1B95A89E}.All|Win32.ActiveCfg = Release|Win32 {FD60942F-72D6-4CA1-8B57-EA1D1B95A89E}.All|Win32.Build.0 = Release|Win32 {FD60942F-72D6-4CA1-8B57-EA1D1B95A89E}.All|x64.ActiveCfg = Release|x64 @@ -2502,50 +2247,6 @@ Global {5BA0D5BD-330D-4EE2-B959-CAFEA04E50E0}.Debug|x64.ActiveCfg = Debug|Any CPU {5BA0D5BD-330D-4EE2-B959-CAFEA04E50E0}.Release|Win32.ActiveCfg = Release|Any CPU {5BA0D5BD-330D-4EE2-B959-CAFEA04E50E0}.Release|x64.ActiveCfg = Release|Any CPU - {1BDAB935-27DC-47E3-95EA-17E024D39C31}.All|Win32.ActiveCfg = Release|Win32 - {1BDAB935-27DC-47E3-95EA-17E024D39C31}.All|Win32.Build.0 = Release|Win32 - {1BDAB935-27DC-47E3-95EA-17E024D39C31}.All|x64.ActiveCfg = Release|Win32 - {1BDAB935-27DC-47E3-95EA-17E024D39C31}.Debug|Win32.ActiveCfg = Debug|Win32 - {1BDAB935-27DC-47E3-95EA-17E024D39C31}.Debug|Win32.Build.0 = Debug|Win32 - {1BDAB935-27DC-47E3-95EA-17E024D39C31}.Debug|x64.ActiveCfg = Debug|Win32 - {1BDAB935-27DC-47E3-95EA-17E024D39C31}.Debug|x64.Build.0 = Debug|Win32 - {1BDAB935-27DC-47E3-95EA-17E024D39C31}.Release|Win32.ActiveCfg = Release|Win32 - {1BDAB935-27DC-47E3-95EA-17E024D39C31}.Release|Win32.Build.0 = Release|Win32 - {1BDAB935-27DC-47E3-95EA-17E024D39C31}.Release|x64.ActiveCfg = Release|Win32 - {1BDAB935-27DC-47E3-95EA-17E024D39C31}.Release|x64.Build.0 = Release|Win32 - {97D25665-34CD-4E0C-96E7-88F0795B8883}.All|Win32.ActiveCfg = Release|Win32 - {97D25665-34CD-4E0C-96E7-88F0795B8883}.All|Win32.Build.0 = Release|Win32 - {97D25665-34CD-4E0C-96E7-88F0795B8883}.All|x64.ActiveCfg = Release|Win32 - {97D25665-34CD-4E0C-96E7-88F0795B8883}.Debug|Win32.ActiveCfg = Debug|Win32 - {97D25665-34CD-4E0C-96E7-88F0795B8883}.Debug|Win32.Build.0 = Debug|Win32 - {97D25665-34CD-4E0C-96E7-88F0795B8883}.Debug|x64.ActiveCfg = Debug|Win32 - {97D25665-34CD-4E0C-96E7-88F0795B8883}.Debug|x64.Build.0 = Debug|Win32 - {97D25665-34CD-4E0C-96E7-88F0795B8883}.Release|Win32.ActiveCfg = Release|Win32 - {97D25665-34CD-4E0C-96E7-88F0795B8883}.Release|Win32.Build.0 = Release|Win32 - {97D25665-34CD-4E0C-96E7-88F0795B8883}.Release|x64.ActiveCfg = Release|Win32 - {97D25665-34CD-4E0C-96E7-88F0795B8883}.Release|x64.Build.0 = Release|Win32 - {5BE9A596-F11F-4379-928C-412F81AE182B}.All|Win32.ActiveCfg = Release|Win32 - {5BE9A596-F11F-4379-928C-412F81AE182B}.All|Win32.Build.0 = Release|Win32 - {5BE9A596-F11F-4379-928C-412F81AE182B}.All|x64.ActiveCfg = Release|Win32 - {5BE9A596-F11F-4379-928C-412F81AE182B}.Debug|Win32.ActiveCfg = Debug|Win32 - {5BE9A596-F11F-4379-928C-412F81AE182B}.Debug|Win32.Build.0 = Debug|Win32 - {5BE9A596-F11F-4379-928C-412F81AE182B}.Debug|x64.ActiveCfg = Debug|Win32 - {5BE9A596-F11F-4379-928C-412F81AE182B}.Debug|x64.Build.0 = Debug|Win32 - {5BE9A596-F11F-4379-928C-412F81AE182B}.Release|Win32.ActiveCfg = Release|Win32 - {5BE9A596-F11F-4379-928C-412F81AE182B}.Release|Win32.Build.0 = Release|Win32 - {5BE9A596-F11F-4379-928C-412F81AE182B}.Release|x64.ActiveCfg = Release|Win32 - {5BE9A596-F11F-4379-928C-412F81AE182B}.Release|x64.Build.0 = Release|Win32 - {C0779BCC-C037-4F58-B890-EF37BA956B3C}.All|Win32.ActiveCfg = Release|Win32 - {C0779BCC-C037-4F58-B890-EF37BA956B3C}.All|Win32.Build.0 = Release|Win32 - {C0779BCC-C037-4F58-B890-EF37BA956B3C}.All|x64.ActiveCfg = Release|Win32 - {C0779BCC-C037-4F58-B890-EF37BA956B3C}.Debug|Win32.ActiveCfg = Debug|Win32 - {C0779BCC-C037-4F58-B890-EF37BA956B3C}.Debug|Win32.Build.0 = Debug|Win32 - {C0779BCC-C037-4F58-B890-EF37BA956B3C}.Debug|x64.ActiveCfg = Debug|Win32 - {C0779BCC-C037-4F58-B890-EF37BA956B3C}.Debug|x64.Build.0 = Debug|Win32 - {C0779BCC-C037-4F58-B890-EF37BA956B3C}.Release|Win32.ActiveCfg = Release|Win32 - {C0779BCC-C037-4F58-B890-EF37BA956B3C}.Release|Win32.Build.0 = Release|Win32 - {C0779BCC-C037-4F58-B890-EF37BA956B3C}.Release|x64.ActiveCfg = Release|Win32 - {C0779BCC-C037-4F58-B890-EF37BA956B3C}.Release|x64.Build.0 = Release|Win32 {3884ADD2-91D0-4CD6-86D3-D5FB2D4AAB9E}.All|Win32.ActiveCfg = Release|x64 {3884ADD2-91D0-4CD6-86D3-D5FB2D4AAB9E}.All|x64.ActiveCfg = Release|x64 {3884ADD2-91D0-4CD6-86D3-D5FB2D4AAB9E}.All|x64.Build.0 = Release|x64 @@ -2604,18 +2305,6 @@ Global {D6973076-9317-4EF2-A0B8-B7A18AC0713E}.Release|Win32.Build.0 = Release|Win32 {D6973076-9317-4EF2-A0B8-B7A18AC0713E}.Release|x64.ActiveCfg = Release|x64 {D6973076-9317-4EF2-A0B8-B7A18AC0713E}.Release|x64.Build.0 = Release|x64 - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.All|Win32.ActiveCfg = Release|Win32 - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.All|Win32.Build.0 = Release|Win32 - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.All|x64.ActiveCfg = Release|Win32 - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.All|x64.Build.0 = Release|Win32 - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.Debug|Win32.ActiveCfg = Debug|Win32 - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.Debug|Win32.Build.0 = Debug|Win32 - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.Debug|x64.ActiveCfg = Debug|Win32 - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.Debug|x64.Build.0 = Debug|Win32 - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.Release|Win32.ActiveCfg = Release|Win32 - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.Release|Win32.Build.0 = Release|Win32 - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.Release|x64.ActiveCfg = Release|Win32 - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33}.Release|x64.Build.0 = Release|Win32 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.All|Win32.ActiveCfg = Release|Win32 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.All|Win32.Build.0 = Release|Win32 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.All|x64.ActiveCfg = Release|x64 @@ -2628,18 +2317,6 @@ Global {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|Win32.Build.0 = Release|Win32 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|x64.ActiveCfg = Release|x64 {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}.Release|x64.Build.0 = Release|x64 - {0AD87FDA-989F-4638-B6E1-B0132BB0560A}.All|Win32.ActiveCfg = Release|Win32 - {0AD87FDA-989F-4638-B6E1-B0132BB0560A}.All|Win32.Build.0 = Release|Win32 - {0AD87FDA-989F-4638-B6E1-B0132BB0560A}.All|x64.ActiveCfg = Release|Win32 - {0AD87FDA-989F-4638-B6E1-B0132BB0560A}.All|x64.Build.0 = Release|Win32 - {0AD87FDA-989F-4638-B6E1-B0132BB0560A}.Debug|Win32.ActiveCfg = Debug|Win32 - {0AD87FDA-989F-4638-B6E1-B0132BB0560A}.Debug|Win32.Build.0 = Debug|Win32 - {0AD87FDA-989F-4638-B6E1-B0132BB0560A}.Debug|x64.ActiveCfg = Debug|Win32 - {0AD87FDA-989F-4638-B6E1-B0132BB0560A}.Debug|x64.Build.0 = Debug|Win32 - {0AD87FDA-989F-4638-B6E1-B0132BB0560A}.Release|Win32.ActiveCfg = Release|Win32 - {0AD87FDA-989F-4638-B6E1-B0132BB0560A}.Release|Win32.Build.0 = Release|Win32 - {0AD87FDA-989F-4638-B6E1-B0132BB0560A}.Release|x64.ActiveCfg = Release|Win32 - {0AD87FDA-989F-4638-B6E1-B0132BB0560A}.Release|x64.Build.0 = Release|Win32 {FBC7E2A4-B989-4289-BA7F-68F440E9EF8B}.All|Win32.ActiveCfg = Release|Win32 {FBC7E2A4-B989-4289-BA7F-68F440E9EF8B}.All|Win32.Build.0 = Release|Win32 {FBC7E2A4-B989-4289-BA7F-68F440E9EF8B}.All|x64.ActiveCfg = Release|x64 @@ -2652,14 +2329,6 @@ Global {FBC7E2A4-B989-4289-BA7F-68F440E9EF8B}.Release|Win32.Build.0 = Release|Win32 {FBC7E2A4-B989-4289-BA7F-68F440E9EF8B}.Release|x64.ActiveCfg = Release|x64 {FBC7E2A4-B989-4289-BA7F-68F440E9EF8B}.Release|x64.Build.0 = Release|x64 - {77C9E0A2-177D-4BD6-9EFD-75A56F886325}.All|Win32.ActiveCfg = Release|Win32 - {77C9E0A2-177D-4BD6-9EFD-75A56F886325}.All|Win32.Build.0 = Release|Win32 - {77C9E0A2-177D-4BD6-9EFD-75A56F886325}.All|x64.ActiveCfg = Release|Win32 - {77C9E0A2-177D-4BD6-9EFD-75A56F886325}.All|x64.Build.0 = Release|Win32 - {77C9E0A2-177D-4BD6-9EFD-75A56F886325}.Debug|Win32.ActiveCfg = Debug|Win32 - {77C9E0A2-177D-4BD6-9EFD-75A56F886325}.Debug|x64.ActiveCfg = Debug|Win32 - {77C9E0A2-177D-4BD6-9EFD-75A56F886325}.Release|Win32.ActiveCfg = Release|Win32 - {77C9E0A2-177D-4BD6-9EFD-75A56F886325}.Release|x64.ActiveCfg = Release|Win32 {841C345F-FCC7-4F64-8F54-0281CEABEB01}.All|Win32.ActiveCfg = Release|Win32 {841C345F-FCC7-4F64-8F54-0281CEABEB01}.All|Win32.Build.0 = Release|Win32 {841C345F-FCC7-4F64-8F54-0281CEABEB01}.All|x64.ActiveCfg = Release|x64 @@ -2684,26 +2353,6 @@ Global {20179127-853B-4FE9-B7C0-9E817E6A3A72}.Debug|x64.ActiveCfg = Debug|x64 {20179127-853B-4FE9-B7C0-9E817E6A3A72}.Release|Win32.ActiveCfg = Release|Win32 {20179127-853B-4FE9-B7C0-9E817E6A3A72}.Release|x64.ActiveCfg = Release|x64 - {6D1BC01C-3F97-4C08-8A45-69C9B94281AA}.All|Win32.ActiveCfg = Release|Win32 - {6D1BC01C-3F97-4C08-8A45-69C9B94281AA}.All|Win32.Build.0 = Release|Win32 - {6D1BC01C-3F97-4C08-8A45-69C9B94281AA}.All|x64.ActiveCfg = Release|Win32 - {6D1BC01C-3F97-4C08-8A45-69C9B94281AA}.All|x64.Build.0 = Release|Win32 - {6D1BC01C-3F97-4C08-8A45-69C9B94281AA}.Debug|Win32.ActiveCfg = Debug|Win32 - {6D1BC01C-3F97-4C08-8A45-69C9B94281AA}.Debug|x64.ActiveCfg = Debug|Win32 - {6D1BC01C-3F97-4C08-8A45-69C9B94281AA}.Release|Win32.ActiveCfg = Release|Win32 - {6D1BC01C-3F97-4C08-8A45-69C9B94281AA}.Release|x64.ActiveCfg = Release|Win32 - {583D8CEA-4171-4493-9025-B63265F408D8}.All|Win32.ActiveCfg = Release|Win32 - {583D8CEA-4171-4493-9025-B63265F408D8}.All|Win32.Build.0 = Release|Win32 - {583D8CEA-4171-4493-9025-B63265F408D8}.All|x64.ActiveCfg = Release|Win32 - {583D8CEA-4171-4493-9025-B63265F408D8}.All|x64.Build.0 = Release|Win32 - {583D8CEA-4171-4493-9025-B63265F408D8}.Debug|Win32.ActiveCfg = Debug|Win32 - {583D8CEA-4171-4493-9025-B63265F408D8}.Debug|Win32.Build.0 = Debug|Win32 - {583D8CEA-4171-4493-9025-B63265F408D8}.Debug|x64.ActiveCfg = Debug|Win32 - {583D8CEA-4171-4493-9025-B63265F408D8}.Debug|x64.Build.0 = Debug|Win32 - {583D8CEA-4171-4493-9025-B63265F408D8}.Release|Win32.ActiveCfg = Release|Win32 - {583D8CEA-4171-4493-9025-B63265F408D8}.Release|Win32.Build.0 = Release|Win32 - {583D8CEA-4171-4493-9025-B63265F408D8}.Release|x64.ActiveCfg = Release|Win32 - {583D8CEA-4171-4493-9025-B63265F408D8}.Release|x64.Build.0 = Release|Win32 {87933C2D-0159-46F7-B326-E1B6E982C21E}.All|Win32.ActiveCfg = Release|Win32 {87933C2D-0159-46F7-B326-E1B6E982C21E}.All|Win32.Build.0 = Release|Win32 {87933C2D-0159-46F7-B326-E1B6E982C21E}.All|x64.ActiveCfg = Release|x64 @@ -2716,42 +2365,6 @@ Global {87933C2D-0159-46F7-B326-E1B6E982C21E}.Release|Win32.Build.0 = Release|Win32 {87933C2D-0159-46F7-B326-E1B6E982C21E}.Release|x64.ActiveCfg = Release|x64 {87933C2D-0159-46F7-B326-E1B6E982C21E}.Release|x64.Build.0 = Release|x64 - {36603FE1-253F-4C2C-AAB6-12927A626135}.All|Win32.ActiveCfg = Release|Win32 - {36603FE1-253F-4C2C-AAB6-12927A626135}.All|Win32.Build.0 = Release|Win32 - {36603FE1-253F-4C2C-AAB6-12927A626135}.All|x64.ActiveCfg = Release|Win32 - {36603FE1-253F-4C2C-AAB6-12927A626135}.All|x64.Build.0 = Release|Win32 - {36603FE1-253F-4C2C-AAB6-12927A626135}.Debug|Win32.ActiveCfg = Debug|Win32 - {36603FE1-253F-4C2C-AAB6-12927A626135}.Debug|Win32.Build.0 = Debug|Win32 - {36603FE1-253F-4C2C-AAB6-12927A626135}.Debug|x64.ActiveCfg = Debug|Win32 - {36603FE1-253F-4C2C-AAB6-12927A626135}.Debug|x64.Build.0 = Debug|Win32 - {36603FE1-253F-4C2C-AAB6-12927A626135}.Release|Win32.ActiveCfg = Release|Win32 - {36603FE1-253F-4C2C-AAB6-12927A626135}.Release|Win32.Build.0 = Release|Win32 - {36603FE1-253F-4C2C-AAB6-12927A626135}.Release|x64.ActiveCfg = Release|Win32 - {36603FE1-253F-4C2C-AAB6-12927A626135}.Release|x64.Build.0 = Release|Win32 - {53AADA60-DF12-46FF-BF94-566BBF849336}.All|Win32.ActiveCfg = Release|Win32 - {53AADA60-DF12-46FF-BF94-566BBF849336}.All|Win32.Build.0 = Release|Win32 - {53AADA60-DF12-46FF-BF94-566BBF849336}.All|x64.ActiveCfg = Release|Win32 - {53AADA60-DF12-46FF-BF94-566BBF849336}.All|x64.Build.0 = Release|Win32 - {53AADA60-DF12-46FF-BF94-566BBF849336}.Debug|Win32.ActiveCfg = Debug|Win32 - {53AADA60-DF12-46FF-BF94-566BBF849336}.Debug|Win32.Build.0 = Debug|Win32 - {53AADA60-DF12-46FF-BF94-566BBF849336}.Debug|x64.ActiveCfg = Debug|Win32 - {53AADA60-DF12-46FF-BF94-566BBF849336}.Debug|x64.Build.0 = Debug|Win32 - {53AADA60-DF12-46FF-BF94-566BBF849336}.Release|Win32.ActiveCfg = Release|Win32 - {53AADA60-DF12-46FF-BF94-566BBF849336}.Release|Win32.Build.0 = Release|Win32 - {53AADA60-DF12-46FF-BF94-566BBF849336}.Release|x64.ActiveCfg = Release|Win32 - {53AADA60-DF12-46FF-BF94-566BBF849336}.Release|x64.Build.0 = Release|Win32 - {46502007-0D94-47AC-A640-C2B5EEA98333}.All|Win32.ActiveCfg = Release|Win32 - {46502007-0D94-47AC-A640-C2B5EEA98333}.All|Win32.Build.0 = Release|Win32 - {46502007-0D94-47AC-A640-C2B5EEA98333}.All|x64.ActiveCfg = Release|Win32 - {46502007-0D94-47AC-A640-C2B5EEA98333}.All|x64.Build.0 = Release|Win32 - {46502007-0D94-47AC-A640-C2B5EEA98333}.Debug|Win32.ActiveCfg = Debug|Win32 - {46502007-0D94-47AC-A640-C2B5EEA98333}.Debug|Win32.Build.0 = Debug|Win32 - {46502007-0D94-47AC-A640-C2B5EEA98333}.Debug|x64.ActiveCfg = Debug|Win32 - {46502007-0D94-47AC-A640-C2B5EEA98333}.Debug|x64.Build.0 = Debug|Win32 - {46502007-0D94-47AC-A640-C2B5EEA98333}.Release|Win32.ActiveCfg = Release|Win32 - {46502007-0D94-47AC-A640-C2B5EEA98333}.Release|Win32.Build.0 = Release|Win32 - {46502007-0D94-47AC-A640-C2B5EEA98333}.Release|x64.ActiveCfg = Release|Win32 - {46502007-0D94-47AC-A640-C2B5EEA98333}.Release|x64.Build.0 = Release|Win32 {19E934D6-1484-41C8-9305-78DC42FD61F2}.All|Win32.ActiveCfg = Release|Win32 {19E934D6-1484-41C8-9305-78DC42FD61F2}.All|Win32.Build.0 = Release|Win32 {19E934D6-1484-41C8-9305-78DC42FD61F2}.All|x64.ActiveCfg = Release|x64 @@ -2776,30 +2389,6 @@ Global {CB4E68A1-8D19-4B5E-87B9-97A895E1BA17}.Release|Win32.Build.0 = Release|Win32 {CB4E68A1-8D19-4B5E-87B9-97A895E1BA17}.Release|x64.ActiveCfg = Release|x64 {CB4E68A1-8D19-4B5E-87B9-97A895E1BA17}.Release|x64.Build.0 = Release|x64 - {9CFA562C-C611-48A7-90A2-BB031B47FE6D}.All|Win32.ActiveCfg = Release|Win32 - {9CFA562C-C611-48A7-90A2-BB031B47FE6D}.All|Win32.Build.0 = Release|Win32 - {9CFA562C-C611-48A7-90A2-BB031B47FE6D}.All|x64.ActiveCfg = Release|Win32 - {9CFA562C-C611-48A7-90A2-BB031B47FE6D}.All|x64.Build.0 = Release|Win32 - {9CFA562C-C611-48A7-90A2-BB031B47FE6D}.Debug|Win32.ActiveCfg = Debug|Win32 - {9CFA562C-C611-48A7-90A2-BB031B47FE6D}.Debug|Win32.Build.0 = Debug|Win32 - {9CFA562C-C611-48A7-90A2-BB031B47FE6D}.Debug|x64.ActiveCfg = Debug|Win32 - {9CFA562C-C611-48A7-90A2-BB031B47FE6D}.Debug|x64.Build.0 = Debug|Win32 - {9CFA562C-C611-48A7-90A2-BB031B47FE6D}.Release|Win32.ActiveCfg = Release|Win32 - {9CFA562C-C611-48A7-90A2-BB031B47FE6D}.Release|Win32.Build.0 = Release|Win32 - {9CFA562C-C611-48A7-90A2-BB031B47FE6D}.Release|x64.ActiveCfg = Release|Win32 - {9CFA562C-C611-48A7-90A2-BB031B47FE6D}.Release|x64.Build.0 = Release|Win32 - {08782D64-E775-4E96-B707-CC633A226F32}.All|Win32.ActiveCfg = Release|Win32 - {08782D64-E775-4E96-B707-CC633A226F32}.All|Win32.Build.0 = Release|Win32 - {08782D64-E775-4E96-B707-CC633A226F32}.All|x64.ActiveCfg = Release|Win32 - {08782D64-E775-4E96-B707-CC633A226F32}.All|x64.Build.0 = Release|Win32 - {08782D64-E775-4E96-B707-CC633A226F32}.Debug|Win32.ActiveCfg = Debug|Win32 - {08782D64-E775-4E96-B707-CC633A226F32}.Debug|Win32.Build.0 = Debug|Win32 - {08782D64-E775-4E96-B707-CC633A226F32}.Debug|x64.ActiveCfg = Debug|Win32 - {08782D64-E775-4E96-B707-CC633A226F32}.Debug|x64.Build.0 = Debug|Win32 - {08782D64-E775-4E96-B707-CC633A226F32}.Release|Win32.ActiveCfg = Release|Win32 - {08782D64-E775-4E96-B707-CC633A226F32}.Release|Win32.Build.0 = Release|Win32 - {08782D64-E775-4E96-B707-CC633A226F32}.Release|x64.ActiveCfg = Release|Win32 - {08782D64-E775-4E96-B707-CC633A226F32}.Release|x64.Build.0 = Release|Win32 {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.All|Win32.ActiveCfg = Release|Win32 {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.All|Win32.Build.0 = Release|Win32 {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3}.All|x64.ActiveCfg = Release|x64 @@ -2956,6 +2545,38 @@ Global {40C4E2A2-B49B-496C-96D6-C04B890F7F88}.Release|Win32.Build.0 = Release|Win32 {40C4E2A2-B49B-496C-96D6-C04B890F7F88}.Release|x64.ActiveCfg = Release|x64 {40C4E2A2-B49B-496C-96D6-C04B890F7F88}.Release|x64.Build.0 = Release|x64 + {0A130A8B-3076-4619-BADF-9E86F621AEEC}.All|Win32.ActiveCfg = Release|Win32 + {0A130A8B-3076-4619-BADF-9E86F621AEEC}.All|Win32.Build.0 = Release|Win32 + {0A130A8B-3076-4619-BADF-9E86F621AEEC}.All|x64.ActiveCfg = Release|x64 + {0A130A8B-3076-4619-BADF-9E86F621AEEC}.All|x64.Build.0 = Release|x64 + {0A130A8B-3076-4619-BADF-9E86F621AEEC}.Debug|Win32.ActiveCfg = Debug|Win32 + {0A130A8B-3076-4619-BADF-9E86F621AEEC}.Debug|Win32.Build.0 = Debug|Win32 + {0A130A8B-3076-4619-BADF-9E86F621AEEC}.Debug|x64.ActiveCfg = Debug|x64 + {0A130A8B-3076-4619-BADF-9E86F621AEEC}.Debug|x64.Build.0 = Debug|x64 + {0A130A8B-3076-4619-BADF-9E86F621AEEC}.Release|Win32.ActiveCfg = Release|Win32 + {0A130A8B-3076-4619-BADF-9E86F621AEEC}.Release|Win32.Build.0 = Release|Win32 + {0A130A8B-3076-4619-BADF-9E86F621AEEC}.Release|x64.ActiveCfg = Release|x64 + {0A130A8B-3076-4619-BADF-9E86F621AEEC}.Release|x64.Build.0 = Release|x64 + {4DFF29B4-2976-447D-A8B3-43476451517C}.All|Win32.ActiveCfg = Release|Win32 + {4DFF29B4-2976-447D-A8B3-43476451517C}.All|Win32.Build.0 = Release|Win32 + {4DFF29B4-2976-447D-A8B3-43476451517C}.All|x64.ActiveCfg = Release|x64 + {4DFF29B4-2976-447D-A8B3-43476451517C}.All|x64.Build.0 = Release|x64 + {4DFF29B4-2976-447D-A8B3-43476451517C}.Debug|Win32.ActiveCfg = Debug|Win32 + {4DFF29B4-2976-447D-A8B3-43476451517C}.Debug|Win32.Build.0 = Debug|Win32 + {4DFF29B4-2976-447D-A8B3-43476451517C}.Debug|x64.ActiveCfg = Debug|x64 + {4DFF29B4-2976-447D-A8B3-43476451517C}.Debug|x64.Build.0 = Debug|x64 + {4DFF29B4-2976-447D-A8B3-43476451517C}.Release|Win32.ActiveCfg = Release|Win32 + {4DFF29B4-2976-447D-A8B3-43476451517C}.Release|Win32.Build.0 = Release|Win32 + {4DFF29B4-2976-447D-A8B3-43476451517C}.Release|x64.ActiveCfg = Release|x64 + {4DFF29B4-2976-447D-A8B3-43476451517C}.Release|x64.Build.0 = Release|x64 + {BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.All|Win32.ActiveCfg = Release|x64 + {BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.All|Win32.Build.0 = Release|x64 + {BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.All|x64.ActiveCfg = Release|x64 + {BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.All|x64.Build.0 = Release|x64 + {BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.Debug|Win32.ActiveCfg = Debug|x64 + {BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.Debug|x64.ActiveCfg = Debug|x64 + {BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.Release|Win32.ActiveCfg = Release|x64 + {BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}.Release|x64.ActiveCfg = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -3008,7 +2629,6 @@ Global {E727E8F6-935D-46FE-8B0E-37834748A0E3} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {155844C3-EC5F-407F-97A4-A2DDADED9B2F} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {0DF3ABD0-DDC0-4265-B778-07C66780979B} = {9460B5F1-0A95-41C4-BEB7-9C2C96459A7C} - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A} = {C120A020-773F-4EA3-923F-B67AF28B750D} {DF018947-0FFF-4EB3-BDEE-441DC81DA7A4} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {FEA1EEF7-876F-48DE-88BF-C0E3E606D758} = {F881ADA2-2F1A-4046-9FEB-191D9422D781} {7F1610F1-DD5A-4CF7-8610-30AB12C60ADD} = {F881ADA2-2F1A-4046-9FEB-191D9422D781} @@ -3038,22 +2658,13 @@ Global {6FF941AC-82C5-429F-AA4C-AD2FB9E5DA52} = {A5A27244-AD24-46E5-B01B-840CD296C91D} {E3246D17-E29B-4AB5-962A-C69B0C5837BB} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78} {7B077E7F-1BE7-4291-AB86-55E527B25CAC} = {0C808854-54D1-4230-BFF5-77B5FD905000} - {4F92B672-DADB-4047-8D6A-4BB3796733FD} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {2DEE4895-1134-439C-B688-52203E57D878} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E} = {C120A020-773F-4EA3-923F-B67AF28B750D} {2F025EAD-99BD-40F5-B2CC-F0A28CAD7F2D} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {94001A0E-A837-445C-8004-F918F10D0226} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {2286DA73-9FC5-45BC-A508-85994C3317AB} = {4CF6A6AC-07DE-4B9E-ABE1-7F98B64E0BB0} - {3CE1DC99-8246-4DB1-A709-74F19F08EC67} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {87A1FE3D-F410-4C8E-9591-8C625985BC70} = {C120A020-773F-4EA3-923F-B67AF28B750D} {7A8D8174-B355-4114-AFC1-04777CB9DE0A} = {4F227C26-768F-46A3-8684-1D08A46FB374} {7EB71250-F002-4ED8-92CA-CA218114537A} = {4F227C26-768F-46A3-8684-1D08A46FB374} - {6E49F6C2-ADDA-4BFB-81FE-AB9AF51B455F} = {C120A020-773F-4EA3-923F-B67AF28B750D} {464AAB78-5489-4916-BE51-BF8D61822311} = {4F227C26-768F-46A3-8684-1D08A46FB374} {66444AEE-554C-11DD-A9F0-8C5D56D89593} = {4CF6A6AC-07DE-4B9E-ABE1-7F98B64E0BB0} - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B} = {C120A020-773F-4EA3-923F-B67AF28B750D} {E316772F-5D8F-4F2A-8F71-094C3E859D34} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {D3D8B329-20BE-475E-9E83-653CEA0E0EF5} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {38FE0559-9910-43A8-9E45-3E5004C27692} = {A5A27244-AD24-46E5-B01B-840CD296C91D} @@ -3062,7 +2673,6 @@ Global {B6A9FB7A-1CC4-442B-812D-EC33E4E4A36E} = {6CD61A1D-797C-470A-BE08-8C31B68BB336} {7B42BDA1-72C0-4378-A9B6-5C530F8CD61E} = {0C808854-54D1-4230-BFF5-77B5FD905000} {834E2B2F-5483-4B80-8FE3-FE48FF76E5C0} = {0C808854-54D1-4230-BFF5-77B5FD905000} - {E796E337-DE78-4303-8614-9A590862EE95} = {C120A020-773F-4EA3-923F-B67AF28B750D} {419C8F80-D858-4B48-A25C-AF4007608137} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {B3F424EC-3D8F-417C-B244-3919D5E1A577} = {9460B5F1-0A95-41C4-BEB7-9C2C96459A7C} {14E4A972-9CFB-436D-B0A5-4943F3F80D47} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78} @@ -3082,9 +2692,6 @@ Global {DEE932AB-5911-4700-9EEB-8C7090A0A330} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {329A6FA0-0FCC-4435-A950-E670AEFA9838} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {11C9BC3D-45E9-46E3-BE84-B8CEE4685E39} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78} - {1F0A8A77-E661-418F-BB92-82172AE43803} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {4F5C9D55-98EF-4256-8311-32D7BD360406} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {E10571C4-E7F4-4608-B5F2-B22E7EB95400} = {C120A020-773F-4EA3-923F-B67AF28B750D} {D1ABE208-6442-4FB4-9AAD-1677E41BC870} = {4F227C26-768F-46A3-8684-1D08A46FB374} {BA599D0A-4310-4505-91DA-6A6447B3E289} = {4F227C26-768F-46A3-8684-1D08A46FB374} {EED13FC7-4F81-4E6F-93DB-CDB7DF5CF959} = {4F227C26-768F-46A3-8684-1D08A46FB374} @@ -3103,7 +2710,6 @@ Global {746F3632-5BB2-4570-9453-31D6D58A7D8E} = {62F27B1A-C919-4A70-8478-51F178F3B18F} {DEB01ACB-D65F-4A62-AED9-58C1054499E9} = {62F27B1A-C919-4A70-8478-51F178F3B18F} {D07C378A-F5F7-438F-ADF3-4AC4FB1883CD} = {4CF6A6AC-07DE-4B9E-ABE1-7F98B64E0BB0} - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19} = {C120A020-773F-4EA3-923F-B67AF28B750D} {ABB71A76-42B0-47A4-973A-42E3D920C6FD} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {EF300386-A8DF-4372-B6D8-FB9BFFCA9AED} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78} {AFA983D6-4569-4F88-BA94-555ED00FD9A8} = {F881ADA2-2F1A-4046-9FEB-191D9422D781} @@ -3129,7 +2735,6 @@ Global {74B120FF-6935-4DFE-A142-CDB6BEA99C90} = {9460B5F1-0A95-41C4-BEB7-9C2C96459A7C} {C13CC324-0032-4492-9A30-310A6BD64FF5} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {886B5E9D-F2C2-4AF2-98C8-EF98C4C770E6} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78} - {652AD5F7-8488-489F-AAD0-7FBE064703B6} = {C120A020-773F-4EA3-923F-B67AF28B750D} {019DBD2A-273D-4BA4-BF86-B5EFE2ED76B1} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {D2396DD7-7D38-473A-ABB7-6F96D65AE1B9} = {9DE35039-A8F6-4FBF-B1B6-EB527F802411} {BED7539C-0099-4A14-AD5D-30828F15A171} = {9DE35039-A8F6-4FBF-B1B6-EB527F802411} @@ -3139,7 +2744,6 @@ Global {2386B892-35F5-46CF-A0F0-10394D2FBF9B} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {77BC1DD2-C9A1-44D7-BFFA-1320370CACB9} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {85F0CF8C-C7AB-48F6-BA19-CC94CF87F981} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547} = {C120A020-773F-4EA3-923F-B67AF28B750D} {ED2CA8B5-8E91-4296-A120-02BB0B674652} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {FD60942F-72D6-4CA1-8B57-EA1D1B95A89E} = {ED2CA8B5-8E91-4296-A120-02BB0B674652} {245603E3-F580-41A5-9632-B25FE3372CBF} = {ED2CA8B5-8E91-4296-A120-02BB0B674652} @@ -3149,33 +2753,19 @@ Global {64E99CCA-3C6F-4AEB-9FA3-CFAC711257BB} = {F881ADA2-2F1A-4046-9FEB-191D9422D781} {EDDB8AB9-C53E-44C0-A620-0E86C2CBD5D5} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {5BA0D5BD-330D-4EE2-B959-CAFEA04E50E0} = {0C808854-54D1-4230-BFF5-77B5FD905000} - {1BDAB935-27DC-47E3-95EA-17E024D39C31} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {97D25665-34CD-4E0C-96E7-88F0795B8883} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {5BE9A596-F11F-4379-928C-412F81AE182B} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {C0779BCC-C037-4F58-B890-EF37BA956B3C} = {C120A020-773F-4EA3-923F-B67AF28B750D} {3884ADD2-91D0-4CD6-86D3-D5FB2D4AAB9E} = {9460B5F1-0A95-41C4-BEB7-9C2C96459A7C} {5B2BACE4-0F5A-4A21-930D-C0F4B1F58FA6} = {9460B5F1-0A95-41C4-BEB7-9C2C96459A7C} {B6E22500-3DB6-4E6E-8CD5-591B781D7D99} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {DCE19DAF-69AC-46DB-B14A-39F0FAA5DB74} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {D6973076-9317-4EF2-A0B8-B7A18AC0713E} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33} = {C120A020-773F-4EA3-923F-B67AF28B750D} {78B079BD-9FC7-4B9E-B4A6-96DA0F00248B} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} - {0AD87FDA-989F-4638-B6E1-B0132BB0560A} = {C120A020-773F-4EA3-923F-B67AF28B750D} {FBC7E2A4-B989-4289-BA7F-68F440E9EF8B} = {A5A27244-AD24-46E5-B01B-840CD296C91D} - {77C9E0A2-177D-4BD6-9EFD-75A56F886325} = {C120A020-773F-4EA3-923F-B67AF28B750D} {841C345F-FCC7-4F64-8F54-0281CEABEB01} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {7AEE504B-23B6-4B05-829E-7CD34855F146} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78} {20179127-853B-4FE9-B7C0-9E817E6A3A72} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} - {6D1BC01C-3F97-4C08-8A45-69C9B94281AA} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {583D8CEA-4171-4493-9025-B63265F408D8} = {C120A020-773F-4EA3-923F-B67AF28B750D} {87933C2D-0159-46F7-B326-E1B6E982C21E} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78} - {36603FE1-253F-4C2C-AAB6-12927A626135} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {53AADA60-DF12-46FF-BF94-566BBF849336} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {46502007-0D94-47AC-A640-C2B5EEA98333} = {C120A020-773F-4EA3-923F-B67AF28B750D} {19E934D6-1484-41C8-9305-78DC42FD61F2} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} {CB4E68A1-8D19-4B5E-87B9-97A895E1BA17} = {F881ADA2-2F1A-4046-9FEB-191D9422D781} - {9CFA562C-C611-48A7-90A2-BB031B47FE6D} = {C120A020-773F-4EA3-923F-B67AF28B750D} - {08782D64-E775-4E96-B707-CC633A226F32} = {C120A020-773F-4EA3-923F-B67AF28B750D} {7AC7AB4F-5EF3-40A0-AD2B-CF4D9720FAC3} = {9ADF1E48-2F5C-4ED7-A893-596259FABFE0} {411F6D43-9F09-47D0-8B04-E1EB6B67C5BF} = {9ADF1E48-2F5C-4ED7-A893-596259FABFE0} {CEEE31E6-8A08-42C7-BEBD-5EC12072C136} = {6CD61A1D-797C-470A-BE08-8C31B68BB336} @@ -3189,6 +2779,9 @@ Global {096C9A84-55B2-4F9B-97E5-0FDF116FD25F} = {9ADF1E48-2F5C-4ED7-A893-596259FABFE0} {2CA661A7-01DD-4532-BF88-B6629DFB544A} = {9ADF1E48-2F5C-4ED7-A893-596259FABFE0} {40C4E2A2-B49B-496C-96D6-C04B890F7F88} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78} + {0A130A8B-3076-4619-BADF-9E86F621AEEC} = {E72B5BCB-6462-4D23-B419-3AF1A4AC3D78} + {4DFF29B4-2976-447D-A8B3-43476451517C} = {9ADF1E48-2F5C-4ED7-A893-596259FABFE0} + {BC1FD72E-1CD5-4525-A7F5-17C5740BFDED} = {EB910B0D-F27D-4B62-B67B-DE834C99AC5B} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {09840DE7-9208-45AA-9667-1A71EE93BD1E} diff --git a/Freeswitch.2017.sln.bat b/Freeswitch.2017.sln.bat index db4bb005aa..dd8c0df916 100644 --- a/Freeswitch.2017.sln.bat +++ b/Freeswitch.2017.sln.bat @@ -13,7 +13,7 @@ @REM default build @REM change these variables if you want to build differently by default @set configuration=Release -@set platform=Win32 +@set platform=x64 @REM if commandline parameters contain "ebug" and/or "64 and/or 32" @@ -48,25 +48,7 @@ @set /a procs -= 1 @REM check and set VS2017 environment -rem VS2017U2 contains vswhere.exe -if "%VSWHERE%"=="" set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" - -rem Use %ProgramFiles% in a 32-bit program prior to Windows 10) -If Not Exist "%VSWHERE%" set "VSWHERE=%ProgramFiles%\Microsoft Visual Studio\Installer\vswhere.exe" - -If Not Exist "%VSWHERE%" ( - echo "WARNING: Can't find vswhere.exe. It is a part of VS 2017 version 15.2 or later. Trying known path..." - set "InstallDir=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community" -) ELSE ( - for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do ( - set InstallDir=%%i - ) -) - -echo Install dir is "%InstallDir%" -if exist "%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" ( - set msbuild="%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" -) +CALL msbuild.cmd if exist %msbuild% ( %msbuild% Freeswitch.2017.sln /m:%procs% /verbosity:normal /property:Configuration=%configuration% /property:Platform=%platform% /fl /flp:logfile=vs2017%platform%%configuration%.log;verbosity=normal diff --git a/build/sounds_upgradecode.txt b/build/sounds_upgradecode.txt new file mode 100644 index 0000000000..ec5ec47e48 --- /dev/null +++ b/build/sounds_upgradecode.txt @@ -0,0 +1,10 @@ +music c0dcf85a-d07d-4c73-97ca-c327d9755830 85f85500-b86d-4f51-abf5-3cd63a2cc52d 596734ef-4b7e-416c-beff-ec005dbb3786 a4e045a1-f6d2-49ae-a784-81bd4455f103 +en-us-callie deb95334-fcd2-4b8a-91e7-a7828b99389d 249bfdc8-cb08-4ad5-9e38-06094e231d35 ef6db7d9-df8d-43e2-a3ec-16dd3fe1ac1b d515dc88-08df-4499-a6af-434cc5f68f86 +en-us-allison 61179bb5-2289-4ae1-8a74-4e3d2821b691 2754130e-8896-4180-9227-a4ca2102c7c3 5b78a401-7244-438d-b83e-c944073842fd 13b50511-6f6d-43cf-a8b1-515c83708527 +ru-RU-elena 9e0697a5-57b5-4f79-b95a-c85957f2a327 e52ebf36-ef86-41a5-8adf-1fcff6c42366 bfa6fdd6-fd24-4c9e-889d-88bcbbd173aa c088aedf-45ee-4cd5-8bfb-a64834affa9f +en-ca-june 649e7650-8298-4eba-ad59-2e0c49c0f79d f3134354-4b8e-4838-a2b6-62d8ffc2e877 e84dbde6-272c-472b-ab67-307c4b4ca0d0 79fb31f3-1f2f-4f5c-983b-1fe98b56af11 +fr-ca-june 5ad7d0be-5164-416a-a86c-8d04eed94612 ed777145-13bd-44b1-bdbb-475f90ddfcb0 d98b2cfb-2a16-49de-8bda-10aa20845c0a 5c8a40ea-f2fa-463a-8e80-fbb2be65d7b4 +pt-BR-karina 967a03cd-0df7-42ff-a396-8fe03c2c2fa3 79e264fb-0515-442d-900e-b7b979957faa 8801315b-5f27-4088-8b66-44d1fc4b1584 5152ae5e-bf0e-4f86-abf4-ecc8f0887932 +sv-se-jakob ee23c4fa-63c9-4ab5-a11c-ec9d124664b9 d2af540d-6544-45e0-8443-f3c39d983cbd f8130d60-6cce-4cac-a2d1-dd046691accd f404fbe3-13c7-4cff-96a0-14634b7f8543 +zh-cn-sinmei 15f500b5-21ed-4bfc-b56c-a0edefb26d73 c1108f48-7989-4e73-a645-a9b4539122ba bfc753d1-d0cc-4741-a773-55806f0bddde 8f4dda0a-10c0-4034-a137-8bd63b020f88 +zh-hk-sinmei f4bf0d3e-bdef-4e70-80d7-3b619630f339 50346cc8-56d2-40da-a9e5-c151c298f1b0 d2108147-cab0-46e6-b95b-7702a58fe67a b37bfca9-8d41-4fb2-aeda-e1be2bb08ec7 diff --git a/build/swigall.sh b/build/swigall.sh index 0525faf073..ee7abf19cd 100755 --- a/build/swigall.sh +++ b/build/swigall.sh @@ -1,6 +1,6 @@ cd src/mod/languages/mod_lua make swigclean -make lua_wrap +make mod_lua_wrap.cpp cd ../../../.. cd src/mod/languages/mod_perl diff --git a/conf/insideout/dialplan/default.xml b/conf/insideout/dialplan/default.xml index 64952f5211..560b3023bb 100644 --- a/conf/insideout/dialplan/default.xml +++ b/conf/insideout/dialplan/default.xml @@ -309,7 +309,7 @@ - + diff --git a/conf/sbc/dialplan/default.xml b/conf/sbc/dialplan/default.xml index 3512b144d6..bcdd5ddf01 100644 --- a/conf/sbc/dialplan/default.xml +++ b/conf/sbc/dialplan/default.xml @@ -302,7 +302,7 @@ - + diff --git a/conf/vanilla/autoload_configs/av.conf.xml b/conf/vanilla/autoload_configs/av.conf.xml new file mode 100644 index 0000000000..7d0390646a --- /dev/null +++ b/conf/vanilla/autoload_configs/av.conf.xml @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/conf/vanilla/autoload_configs/vpx.conf.xml b/conf/vanilla/autoload_configs/vpx.conf.xml index f20f984e01..c64e593d9c 100644 --- a/conf/vanilla/autoload_configs/vpx.conf.xml +++ b/conf/vanilla/autoload_configs/vpx.conf.xml @@ -22,7 +22,7 @@ - + @@ -73,7 +73,6 @@ - @@ -116,6 +115,7 @@ + diff --git a/conf/vanilla/dialplan/default.xml b/conf/vanilla/dialplan/default.xml index 77da0f2898..08552ef229 100644 --- a/conf/vanilla/dialplan/default.xml +++ b/conf/vanilla/dialplan/default.xml @@ -440,7 +440,7 @@ - + @@ -458,7 +458,7 @@ - + @@ -473,7 +473,7 @@ - + diff --git a/configure.ac b/configure.ac index 9cc9f7ed42..091d7f5c38 100644 --- a/configure.ac +++ b/configure.ac @@ -1415,9 +1415,25 @@ PKG_CHECK_MODULES([G7221], [g722_1 >= 0.2.0],[ AM_CONDITIONAL([HAVE_G7221],[true])],[ AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_G7221],[false])]) -PKG_CHECK_MODULES([CODEC2], [codec2 >= 0.2],[ - AM_CONDITIONAL([HAVE_CODEC2],[true])],[ - AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_CODEC2],[false])]) +codec2="true" +PKG_CHECK_MODULES([CODEC2], [codec2 >= 0.5],[],[ + AC_CHECK_LIB([codec2], [codec2_create],[ + AC_CHECK_HEADERS([codec2/codec2.h],[ + CODEC2_LIBS="-lcodec2" + CODEC2_CFLAGS="" + ], [ + codec2="false" + if module_enabled mod_codec2; then + AC_MSG_ERROR([You must install libcodec2-dev to build mod_codec2]) + else + AC_MSG_RESULT([no]) + fi + ]) + ]) +]) + +AM_CONDITIONAL([HAVE_CODEC2],[$codec2]) + PKG_CHECK_MODULES([OPUS], [opus >= 1.1],[ AM_CONDITIONAL([HAVE_OPUS],[true])],[ @@ -1427,9 +1443,24 @@ PKG_CHECK_MODULES([SOUNDTOUCH], [soundtouch >= 1.7.0],[ AM_CONDITIONAL([HAVE_SOUNDTOUCH],[true])],[ AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_SOUNDTOUCH],[false])]) -PKG_CHECK_MODULES([FLITE], [flite >= 2.0.0],[ - AM_CONDITIONAL([HAVE_FLITE],[true])],[ - AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_FLITE],[false])]) +flite="true" +PKG_CHECK_MODULES([FLITE], [flite >= 2],[],[ + AC_CHECK_LIB([flite], [flite_init],[ + AC_CHECK_HEADERS([flite/flite.h],[ + FLITE_LIBS="-lflite -lflite_cmu_grapheme_lang -lflite_cmu_grapheme_lex -lflite_cmu_indic_lang -lflite_cmu_indic_lex -lflite_cmulex -lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal16 -lflite_cmu_us_kal -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish" + FLITE_CFLAGS="" + ], [ + flite="false" + if module_enabled mod_flite; then + AC_MSG_ERROR([You must install libflite-dev to build mod_flite]) + else + AC_MSG_RESULT([no]) + fi + ]) + ]) +]) + +AM_CONDITIONAL([HAVE_FLITE],[$flite]) PKG_CHECK_MODULES([MONGOC], [libmongoc-1.0 >= 1.0.8],[ AM_CONDITIONAL([HAVE_MONGOC],[true])],[ @@ -1451,16 +1482,19 @@ PKG_CHECK_MODULES([MEMCACHED], [libmemcached >= 0.31],[ AM_CONDITIONAL([HAVE_MEMCACHED],[false]) ]) -PKG_CHECK_MODULES([V8FS_STATIC], [v8fs_static >= 6.1.298],[ +PKG_CHECK_MODULES([V8FS_STATIC], [v8-6.1_static >= 6.1.298],[ AM_CONDITIONAL([HAVE_V8FS],[true])],[ - PKG_CHECK_MODULES([V8FS_STATIC], [v8 >= 6.1.298],[ + PKG_CHECK_MODULES([V8FS_STATIC], [v8fs_static >= 6.1.298],[ AM_CONDITIONAL([HAVE_V8FS],[true])],[ - if module_enabled mod_v8; then - AC_MSG_ERROR([You need to either install libv8fs-dev (>= 6.1.298) or disable mod_v8 in modules.conf]) - else - AC_MSG_RESULT([no]) - AM_CONDITIONAL([HAVE_V8FS],[false]) - fi + PKG_CHECK_MODULES([V8FS_STATIC], [v8 >= 6.1.298],[ + AM_CONDITIONAL([HAVE_V8FS],[true])],[ + if module_enabled mod_v8; then + AC_MSG_ERROR([You need to either install libv8-6.1-dev (>= 6.1.298), libv8fs-dev (>= 6.1.298) or disable mod_v8 in modules.conf]) + else + AC_MSG_RESULT([no]) + AM_CONDITIONAL([HAVE_V8FS],[false]) + fi + ]) ]) ]) diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh index e1bf1165a4..4ce68473fd 100755 --- a/debian/bootstrap.sh +++ b/debian/bootstrap.sh @@ -57,6 +57,7 @@ avoid_mods=( endpoints/mod_unicall event_handlers/mod_smpp event_handlers/mod_cdr_pg_csv + event_handlers/mod_event_zmq formats/mod_webm sdk/autotools xml_int/mod_xml_ldap diff --git a/debian/control-modules b/debian/control-modules index 978ecc49f3..15174f6c00 100644 --- a/debian/control-modules +++ b/debian/control-modules @@ -276,7 +276,7 @@ Description: mod_cepstral Module: asr_tts/mod_flite Description: mod_flite Adds mod_flite. -Build-Depends: libflite-dev +Build-Depends: libflite-dev | flite1-dev Module: asr_tts/mod_pocketsphinx Description: mod_pocketsphinx @@ -650,7 +650,7 @@ Build-Depends: python-dev Module: languages/mod_v8 Description: mod_v8 Adds mod_v8. -Build-Depends: git, libv8fs-6.1-dev +Build-Depends: git, libv8-6.1-dev Module: languages/mod_yaml Description: mod_yaml diff --git a/debian/rules b/debian/rules index 7fdf7ff733..b403d0aecc 100755 --- a/debian/rules +++ b/debian/rules @@ -75,7 +75,7 @@ override_dh_auto_clean: --prefix=/usr --localstatedir=/var --sysconfdir=/etc \ --with-gnu-ld --with-python --with-erlang --with-openssl \ --enable-core-odbc-support --enable-zrtp \ - --enable-static-v8 --disable-parallel-build-v8 + --enable-core-pgsql-support touch $@ override_dh_auto_configure: .stamp-configure diff --git a/debian/util.sh b/debian/util.sh index 885eb0ff65..9dfe135c89 100755 --- a/debian/util.sh +++ b/debian/util.sh @@ -46,9 +46,9 @@ find_distro () { case "$1" in experimental) echo "sid";; unstable) echo "sid";; - testing) echo "stretch";; - stable) echo "jessie";; - oldstable) echo "wheezy";; + testing) echo "buster";; + stable) echo "stretch";; + oldstable) echo "jessie";; *) echo "$1";; esac } @@ -56,9 +56,9 @@ find_distro () { find_suite () { case "$1" in sid) echo "unstable";; - stretch) echo "testing";; - jessie) echo "stable";; - wheezy) echo "oldstable";; + buster) echo "testing";; + stretch) echo "stable";; + jessie) echo "oldstable";; *) echo "$1";; esac } @@ -101,8 +101,8 @@ getlibs () { getlib http://files.freeswitch.org/downloads/libs/sphinxbase-0.8.tar.gz getlib http://files.freeswitch.org/downloads/libs/pocketsphinx-0.8.tar.gz getlib http://files.freeswitch.org/downloads/libs/communicator_semi_6000_20080321.tar.gz - getlib http://download.zeromq.org/zeromq-2.1.9.tar.gz \ - || getlib http://download.zeromq.org/historic/zeromq-2.1.9.tar.gz + #getlib http://download.zeromq.org/zeromq-2.1.9.tar.gz \ + # || getlib http://download.zeromq.org/historic/zeromq-2.1.9.tar.gz getlib http://files.freeswitch.org/downloads/libs/freeradius-client-1.1.7.tar.gz #getlib http://files.freeswitch.org/downloads/libs/v8-3.24.14.tar.bz2 } @@ -305,12 +305,11 @@ build_debs () { use_custom_sources=false fi if [[ "$custom_source_file" == "/tmp/fs.sources.list" && ! -e "/tmp/fs.sources.list" ]]; then - echo "deb http://files.freeswitch.org/repo/deb/debian/ jessie main" >> "/tmp/fs.sources.list" + echo "deb [trusted=yes] http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" >> "/tmp/fs.sources.list" fi if [[ "$custom_keyring" == "/tmp/fs.gpg" && ! -r "/tmp/fs.gpg" ]]; then cat << EOF > "/tmp/fs.gpg" -----BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.4.12 (GNU/Linux) mQINBFlVeA4BEADg3MkzUvnbuqG7S6ppt0BJIYx2WIlDzsj2EBPBBo7VpppWPGa/ 5IDuCgSTVeNPffo6jlHk6HFK4g3r+oVJIDoSGE8bKHAeva/iQRUx5o56zXBVOu8q @@ -324,42 +323,43 @@ acyPLohm0W87q2N/6xZ4OH7oMHQFos3hrknlESySN1iJz2qyuysL0yh77OWtdJH+ GIsnftEH33ggG69FHZRDouC60C2HwWxrOwngCSxFEdQppJZjI1H5wSIUOuywZ6a0 +mSe/ZnZKL/hYjy/ZQhGWdmliN8V0WF2MEesk1ouQg63bzxOYEo6Fpw6AwARAQAB tD1GcmVlU1dJVENIIFBhY2thZ2luZyBLZXkgKERlYmlhbiA5KSA8cGFja2FnZXNA -ZnJlZXN3aXRjaC5vcmc+iQI+BBMBAgAoBQJZVXpJAhsDBQkSzAMABgsJCAcDAgYV -CAIJCgsEFgIDAQIeAQIXgAAKCRC9MYn1orV2mGR5D/0Qssa+Nz06mJI7zJftEI8N -elW6COWkot6J3/fCcUfgWbAYaiDbtvYVmlDScv3Q+bIaKbptIk0et6epMYpu09oM -Q37FClalTOH5k50Q2PbBSJjsl30Xa476YD7yECI2fGKxhzQE/c9Gjx05judWsqKR -XY/9fZGYgkXyWn/8VQqHhvxqhrio3aY3VuiLQGACUnQ4YYCdIqtvkXUE6oiNZY9Q -FtUmPX/d4sCjTGAIPzk7RrHBwpQkpOyAFo4hK0eLzcjrW0twqpGumtS99k/Zt58x -7MZZli/sFoaRv2hWLZNEg8MxxSup/X4T33Us2hjgEbIqYHsZjUC+iadEDGAshSzT -OiB0OReRJCjtAD2T+I+1UOEIqbAbW0fsQkBUIAYugBDEhaQF80sySPs8qQZZ0Na1 -5q/XyshZGmAZvmsOhzPm/Kp3XljTmmYuFEnreh5hpk61GVbTVkP2kssHLBWjMW5x -+ftT815lyb2iBs87sjKfn1H5Dffp1DM2ijTnRJTrbSH3hxZfyLN5Fli27o+ukRMW -GZo364tyXWWGbJEHxoUOP8YSzVj3KYLb2BJMtifrW4rAooztY3dpmgEaqrhBSlb3 -9/lT5RaUVIUT7fE53dpe3UTZgf52fK1vna3oyfNiFGiQMCDOCAB9Hfdcn1SZAkws -vyksjnT+iyrimSSOOK+veLkCDQRZVXgOARAAs7+5gj5a8nykhludXZcn/BLuMCIP -/X5u213nTnWZJdhrtGwEnztzooZCpWCcNjIa5xL5yY0LKKiB80phYVZ5738U0tal -vyyrL0hxAHgaKdmnVOSibT4b1MxOPP4mVdl/LpQ0VUVFuXPV6xzSYxWoBKYjEH1o -vi7x/Inr5YdDgaAj+I8FkYXRdg5p15FE0Y3NPbgpTZZ4644eeSd4ObIQbvNjNkud -cyHCq5bCm9p/lsQyC53eG0z9dH1Vby/Fykc2kEdhnVpll+ElIosNZNoOQ566MGxm -Lqvqur0uKDTfMWPkEqGbRb4nhOjJhJpC3U6wuZ2kd10MCAyMlo2OiRhymN7T+hFD -Sx9U1atQt3SLtjuq7JzweTuvi5lEdzzxKJ7Crr58ZCOEouCN0GblKg4THZk2Gtmz -/T95AKx2dCeQzmPszwQlw7Ooq7fk24PD3yiE9uHBgcxOpLZoZhfI7aE+2A+jfugc -T0EG8GzDK9PgU7RZZErPGqOpkrv+gSANs2nioz0yswGVFkrtXNSAn2dzO69qPPG3 -YXRMhQNxjL4XewliG3GikquhGjJYTHpXt5lbl1fNcT3TdW0cjvteUwnJYSu8p6nw -hdvY+t+VrFOxp0hOX0MJvaQYcc/AgWHIaD+QwSAmQy/lVoeRnmhNts3wV0pQ6OzV -PfPUmvxv6c3Wil8AEQEAAYkCJQQYAQIADwUCWVV4DgIbDAUJEswDAAAKCRC9MYn1 -orV2mH7wD/49s3HiJbVRGD93ybP0/iGatOfScb+eCF9Yo2cTQJRF4zyyqn3I5ObN -uPfa5ZUvm8SNcdxjCcHbmf0IjjAPScI3tK46Dtb4S7UWI0xX/hUp/fTs7pnB8x0Y -SrFyRYLa8Jr1enWGKn8beo7ddcd8LvqQ9B8JI/A3Ka3EgKNdrzI2udxFwy4JhzL1 -j7Mlz1sR9IY7JAfpcGe6Ug6O2TD2A5YKr1uWrhaVHHr3L+Qx+SGPUzWs2/dx4ep4 -bta/FUaCwuMsV5r0vuMk1yVVGGp15HJ3CY/F7RSVRxKbee71X6im9EOh42xXB7Lp -3Ki9GvHLZSubgVngKIJSm77NuOMo7ki4c1VQgh95H35j/x5PuDuaGaaJ2OENdD06 -34x0Xa1KwGTxayxecAR5paJmhJWXq7HltiZd2KporUqgg2sS3/kTzQvaOwAOn+5d -zMiSyUflb09oynRAco5Br/RWtdWTIM2DLOJs0mY7PyiqF38uV55CmABsfctAgzHg -pVHIxU5NWN0Iem0x3/ECvgoBDdKaiLkIBEtsWAWWPETCNwHoTLO9j9UAfbiVnPYz -CrhYhjjIPFzU64rKgXoRdReZuY6GFI7WcJ77yutmzYPzmsnAVsPmdPa/+SqyCpQd -RAu7B2MXUxwlCkLQErdxhdIwt7i8UTwHf9NjijiiqB495NjOTFViPw== -=06q/ +ZnJlZXN3aXRjaC5vcmc+iQJUBBMBAgA+AhsDBQkSzAMAAh4BAheAFiEEXgmLPRhA +bo4ZVDcJvTGJ9aK1dpgFAluBckwFCwkIBwMFFQoJCAsFFgIDAQAACgkQvTGJ9aK1 +dpidXQ//YVqAQrmC4EG1v2iHiap5ykMjOIW1g2w7n5Lgb30OxUHQqz5pwhdS0Ej4 +jXy57rvdWBm1lIyO+q2cMtKfVvRmr8OZG9XyyPg3l//lQFxoEKA1zI5+hB47xhl7 +GkNv0P8TsDJN9i1Swkid/jTqu+RtfEm6lUHBEKH5F5O0Mf2n/W2X6gOlqRLTNlfC +SjveaOlmuTPeryxNVBka5SOsc/eHXzMM4/bWMeJbwgDdVISPuK2LHRHfEiMQr+8E +SOpgTA1uIdg0BTiLvT916Qd+6a71SdKeH++AhpSe9/s3mJOS6r7FSZWvCrTs7tBR +dXAqAshUTWpG5VaSO24pt+iOMvPDIMgVwuBREJy6ApyWX9m+UszJ8AV5jVBInUAO +9yLqCYdxXI4QSZVLsbFI2SuzYELaIvH3VZcapLCzBqyWzeQlUPrJ3qq92Lmencp0 +w7kDNZNyzRdNTsx1anN56Q90qmMJZwlZ8R/oaCphj3upQl4FPxfI3Lq+uQ1Iu44x +ormacyLi9IgDogSARy/E/BPysK5G3WaKORfELVQBQQxMSsvoVP61tkKDzTqwlNAy ++OxEGT8hJbMyI63f2frhKGl/mZc3PNEszqbfwbvJ61abYQWSHZEgnyr6QGORejcy +YTwcjuZcrcVWfnLBufq5kHPoGtRefjZJy2EZlrvGViWGWhnk8Hq5Ag0EWVV4DgEQ +ALO/uYI+WvJ8pIZbnV2XJ/wS7jAiD/1+bttd5051mSXYa7RsBJ87c6KGQqVgnDYy +GucS+cmNCyiogfNKYWFWee9/FNLWpb8sqy9IcQB4GinZp1Tkom0+G9TMTjz+JlXZ +fy6UNFVFRblz1esc0mMVqASmIxB9aL4u8fyJ6+WHQ4GgI/iPBZGF0XYOadeRRNGN +zT24KU2WeOuOHnkneDmyEG7zYzZLnXMhwquWwpvaf5bEMgud3htM/XR9VW8vxcpH +NpBHYZ1aZZfhJSKLDWTaDkOeujBsZi6r6rq9Lig03zFj5BKhm0W+J4ToyYSaQt1O +sLmdpHddDAgMjJaNjokYcpje0/oRQ0sfVNWrULd0i7Y7quyc8Hk7r4uZRHc88Sie +wq6+fGQjhKLgjdBm5SoOEx2ZNhrZs/0/eQCsdnQnkM5j7M8EJcOzqKu35NuDw98o +hPbhwYHMTqS2aGYXyO2hPtgPo37oHE9BBvBswyvT4FO0WWRKzxqjqZK7/oEgDbNp +4qM9MrMBlRZK7VzUgJ9nczuvajzxt2F0TIUDcYy+F3sJYhtxopKroRoyWEx6V7eZ +W5dXzXE903VtHI77XlMJyWErvKep8IXb2PrflaxTsadITl9DCb2kGHHPwIFhyGg/ +kMEgJkMv5VaHkZ5oTbbN8FdKUOjs1T3z1Jr8b+nN1opfABEBAAGJAiUEGAECAA8F +AllVeA4CGwwFCRLMAwAACgkQvTGJ9aK1dph+8A/+PbNx4iW1URg/d8mz9P4hmrTn +0nG/nghfWKNnE0CUReM8sqp9yOTmzbj32uWVL5vEjXHcYwnB25n9CI4wD0nCN7Su +Og7W+Eu1FiNMV/4VKf307O6ZwfMdGEqxckWC2vCa9Xp1hip/G3qO3XXHfC76kPQf +CSPwNymtxICjXa8yNrncRcMuCYcy9Y+zJc9bEfSGOyQH6XBnulIOjtkw9gOWCq9b +lq4WlRx69y/kMfkhj1M1rNv3ceHqeG7WvxVGgsLjLFea9L7jJNclVRhqdeRydwmP +xe0UlUcSm3nu9V+opvRDoeNsVwey6dyovRrxy2Urm4FZ4CiCUpu+zbjjKO5IuHNV +UIIfeR9+Y/8eT7g7mhmmidjhDXQ9Ot+MdF2tSsBk8WssXnAEeaWiZoSVl6ux5bYm +XdiqaK1KoINrEt/5E80L2jsADp/uXczIkslH5W9PaMp0QHKOQa/0VrXVkyDNgyzi +bNJmOz8oqhd/LleeQpgAbH3LQIMx4KVRyMVOTVjdCHptMd/xAr4KAQ3Smoi5CARL +bFgFljxEwjcB6EyzvY/VAH24lZz2Mwq4WIY4yDxc1OuKyoF6EXUXmbmOhhSO1nCe ++8rrZs2D85rJwFbD5nT2v/kqsgqUHUQLuwdjF1McJQpC0BK3cYXSMLe4vFE8B3/T +Y4o4oqgePeTYzkxVYj8= +=XPvO -----END PGP PUBLIC KEY BLOCK----- EOF fi @@ -436,7 +436,7 @@ default_distros () { local host_distro="Debian" test -z "$(which lsb_release)" || host_distro="$(lsb_release -is)" case "$host_distro" in - Debian) echo "sid jessie wheezy" ;; + Debian) echo "sid stretch jessie" ;; Ubuntu) echo "utopic trusty" ;; *) err "Unknown host distribution \"$host_distro\"" ;; esac diff --git a/docs/COPYING.rtf b/docs/COPYING.rtf new file mode 100644 index 0000000000..be24606746 --- /dev/null +++ b/docs/COPYING.rtf @@ -0,0 +1,689 @@ +{\rtf1\adeflang1025\ansi\ansicpg1251\uc1\adeff31507\deff0\stshfdbch31505\stshfloch31506\stshfhich31506\stshfbi31507\deflang1049\deflangfe1049\themelang1049\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fbidi \fswiss\fcharset204\fprq2{\*\panose 020b0604020202020204}Arial;} +{\f34\fbidi \froman\fcharset204\fprq2{\*\panose 02040503050406030204}Cambria Math;}{\flomajor\f31500\fbidi \froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\fdbmajor\f31501\fbidi \froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhimajor\f31502\fbidi \fswiss\fcharset204\fprq2{\*\panose 020f0302020204030204}Calibri Light;} +{\fbimajor\f31503\fbidi \froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\flominor\f31504\fbidi \froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman;} +{\fdbminor\f31505\fbidi \froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhiminor\f31506\fbidi \fswiss\fcharset204\fprq2{\*\panose 020f0502020204030204}Calibri;} +{\fbiminor\f31507\fbidi \froman\fcharset204\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f394\fbidi \froman\fcharset0\fprq2 Times New Roman;}{\f392\fbidi \froman\fcharset238\fprq2 Times New Roman CE;} +{\f395\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f396\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f397\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f398\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);} +{\f399\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f400\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f404\fbidi \fswiss\fcharset0\fprq2 Arial;}{\f402\fbidi \fswiss\fcharset238\fprq2 Arial CE;} +{\f405\fbidi \fswiss\fcharset161\fprq2 Arial Greek;}{\f406\fbidi \fswiss\fcharset162\fprq2 Arial Tur;}{\f407\fbidi \fswiss\fcharset177\fprq2 Arial (Hebrew);}{\f408\fbidi \fswiss\fcharset178\fprq2 Arial (Arabic);} +{\f409\fbidi \fswiss\fcharset186\fprq2 Arial Baltic;}{\f410\fbidi \fswiss\fcharset163\fprq2 Arial (Vietnamese);}{\f734\fbidi \froman\fcharset0\fprq2 Cambria Math;}{\f732\fbidi \froman\fcharset238\fprq2 Cambria Math CE;} +{\f735\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f736\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}{\f739\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}{\f740\fbidi \froman\fcharset163\fprq2 Cambria Math (Vietnamese);} +{\flomajor\f31510\fbidi \froman\fcharset0\fprq2 Times New Roman;}{\flomajor\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flomajor\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;} +{\flomajor\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flomajor\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flomajor\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);} +{\flomajor\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flomajor\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbmajor\f31520\fbidi \froman\fcharset0\fprq2 Times New Roman;} +{\fdbmajor\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fdbmajor\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbmajor\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;} +{\fdbmajor\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbmajor\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbmajor\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;} +{\fdbmajor\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhimajor\f31530\fbidi \fswiss\fcharset0\fprq2 Calibri Light;}{\fhimajor\f31528\fbidi \fswiss\fcharset238\fprq2 Calibri Light CE;} +{\fhimajor\f31531\fbidi \fswiss\fcharset161\fprq2 Calibri Light Greek;}{\fhimajor\f31532\fbidi \fswiss\fcharset162\fprq2 Calibri Light Tur;}{\fhimajor\f31535\fbidi \fswiss\fcharset186\fprq2 Calibri Light Baltic;} +{\fhimajor\f31536\fbidi \fswiss\fcharset163\fprq2 Calibri Light (Vietnamese);}{\fbimajor\f31540\fbidi \froman\fcharset0\fprq2 Times New Roman;}{\fbimajor\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;} +{\fbimajor\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbimajor\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbimajor\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);} +{\fbimajor\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbimajor\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbimajor\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);} +{\flominor\f31550\fbidi \froman\fcharset0\fprq2 Times New Roman;}{\flominor\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\flominor\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;} +{\flominor\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\flominor\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\flominor\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);} +{\flominor\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\flominor\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fdbminor\f31560\fbidi \froman\fcharset0\fprq2 Times New Roman;} +{\fdbminor\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\fdbminor\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fdbminor\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;} +{\fdbminor\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\fdbminor\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fdbminor\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;} +{\fdbminor\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\fhiminor\f31570\fbidi \fswiss\fcharset0\fprq2 Calibri;}{\fhiminor\f31568\fbidi \fswiss\fcharset238\fprq2 Calibri CE;} +{\fhiminor\f31571\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\fhiminor\f31572\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\fhiminor\f31575\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;} +{\fhiminor\f31576\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\fbiminor\f31580\fbidi \froman\fcharset0\fprq2 Times New Roman;}{\fbiminor\f31578\fbidi \froman\fcharset238\fprq2 Times New Roman CE;} +{\fbiminor\f31581\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\fbiminor\f31582\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\fbiminor\f31583\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);} +{\fbiminor\f31584\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\fbiminor\f31585\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\fbiminor\f31586\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}} +{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0; +\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}{\*\defchp \fs22\loch\af31506\hich\af31506\dbch\af31505 }{\*\defpap \ql \li0\ri0\sa160\sl259\slmult1 +\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 }\noqfpromote {\stylesheet{\ql \li0\ri0\sa160\sl259\slmult1\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31507\afs22\alang1025 +\ltrch\fcs0 \fs22\lang1049\langfe1049\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1049\langfenp1049 \snext0 \sqformat \spriority0 Normal;}{\*\cs10 \additive \ssemihidden \sunhideused \spriority1 Default Paragraph Font;}{\* +\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\sa160\sl259\slmult1 +\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \rtlch\fcs1 \af31507\afs22\alang1025 \ltrch\fcs0 \fs22\lang1049\langfe1049\loch\f31506\hich\af31506\dbch\af31505\cgrid\langnp1049\langfenp1049 \snext11 \ssemihidden \sunhideused +Normal Table;}}{\*\rsidtbl \rsid269322\rsid9123021}{\mmathPr\mmathFont34\mbrkBin0\mbrkBinSub0\msmallFrac0\mdispDef1\mlMargin0\mrMargin0\mdefJc1\mwrapIndent1440\mintLim0\mnaryLim1}{\info{\operator Andrey}{\creatim\yr2018\mo4\dy22\hr2\min42} +{\revtim\yr2018\mo4\dy22\hr2\min44}{\version2}{\edmins2}{\nofpages8}{\nofwords3831}{\nofchars21838}{\nofcharsws25618}{\vern93}}{\*\xmlnstbl {\xmlns1 http://schemas.microsoft.com/office/word/2003/wordml}} +\paperw12240\paperh15840\margl1701\margr850\margt1134\margb1134\gutter0\ltrsect +\widowctrl\ftnbj\aenddoc\trackmoves0\trackformatting1\donotembedsysfont0\relyonvml0\donotembedlingdata1\grfdocevents0\validatexml0\showplaceholdtext0\ignoremixedcontent0\saveinvalidxml0\showxmlerrors0\horzdoc\dghspace120\dgvspace120\dghorigin1701 +\dgvorigin1984\dghshow0\dgvshow3\jcompress\viewkind1\viewscale100\rsidroot269322 \fet0{\*\wgrffmtfilter 2450}\ilfomacatclnup0\ltrpar \sectd \ltrsect\linex0\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2 +\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6 +\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang +{\pntxtb (}{\pntxta )}}\pard\plain \ltrpar\ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid269322 \rtlch\fcs1 \af31507\afs22\alang1025 \ltrch\fcs0 +\fs22\lang1049\langfe1049\loch\af31506\hich\af31506\dbch\af31505\cgrid\langnp1049\langfenp1049 {\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\lang1033\langfe1049\langnp1033\insrsid9123021\charrsid269322 \hich\af1\dbch\af31505\loch\f1 MOZILLA PUBLIC LICENSE + +\par \hich\af1\dbch\af31505\loch\f1 Version 1.1 +\par +\par --------------- +\par +\par \hich\af1\dbch\af31505\loch\f1 1. Definitions. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.0.1. "Commercial Use" means distribution or otherwise making the +\par \hich\af1\dbch\af31505\loch\f1 Covered Code available to a third party. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.1. "Contributor" means each entity that creates or contributes to +\par \hich\af1\dbch\af31505\loch\f1 the creation of Modifications. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.2. "Contributor Version" means the combination of the Original +\par \hich\af1\dbch\af31505\loch\f1 Code, prior Modification\hich\af1\dbch\af31505\loch\f1 s used by a Contributor, and the Modifications +\par \hich\af1\dbch\af31505\loch\f1 made by that particular Contributor. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.3. "Covered Code" means the Original Code or Modifications or the +\par \hich\af1\dbch\af31505\loch\f1 combination of the Original Code and Modifications, in each case +\par \hich\af1\dbch\af31505\loch\f1 including portions\hich\af1\dbch\af31505\loch\f1 thereof. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.4. "Electronic Distribution Mechanism" means a mechanism generally +\par \hich\af1\dbch\af31505\loch\f1 accepted in the software development community for the electronic +\par \hich\af1\dbch\af31505\loch\f1 transfer of data. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.5. "Executable" means Covered Code in any form other than Source +\par \hich\af1\dbch\af31505\loch\f1 \hich\af1\dbch\af31505\loch\f1 Code. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.6. "Initial Developer" means the individual or entity identified +\par \hich\af1\dbch\af31505\loch\f1 as the Initial Developer in the Source Code notice required by Exhibit +\par \hich\af1\dbch\af31505\loch\f1 A. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.7. "Larger Work" means a work which combines Covered Code or +\par \hich\af1\dbch\af31505\loch\f1 \hich\af1\dbch\af31505\loch\f1 portions thereof with code not governed by the terms of this License. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.8. "License" means this document. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.8.1. "Licensable" means having the right to grant, to the maximum +\par \hich\af1\dbch\af31505\loch\f1 extent possible, whether at the time of the initial grant or +\par \hich\af1\dbch\af31505\loch\f1 \hich\af1\dbch\af31505\loch\f1 subsequently acquired, any and all of the rights conveyed herein. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.9. "Modifications" means any addition to or deletion from the +\par \hich\af1\dbch\af31505\loch\f1 substance or structure of either the Original Code or any previous +\par \hich\af1\dbch\af31505\loch\f1 Modifications. When Covered Code is relea\hich\af1\dbch\af31505\loch\f1 sed as a series of files, a +\par \hich\af1\dbch\af31505\loch\f1 Modification is: +\par \hich\af1\dbch\af31505\loch\f1 A. Any addition to or deletion from the contents of a file +\par \hich\af1\dbch\af31505\loch\f1 containing Original Code or previous Modifications. +\par +\par \hich\af1\dbch\af31505\loch\f1 B. Any new file that contains any part of the Original Code or +\par \hich\af1\dbch\af31505\loch\f1 \hich\af1\dbch\af31505\loch\f1 previous Modifications. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.10. "Original Code" means Source Code of computer software code +\par \hich\af1\dbch\af31505\loch\f1 which is described in the Source Code notice required by Exhibit A as +\par \hich\af1\dbch\af31505\loch\f1 Original Code, and which, at the time of its release under this +\par \hich\af1\dbch\af31505\loch\f1 Li\hich\af1\dbch\af31505\loch\f1 cense is not already Covered Code governed by this License. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.10.1. "Patent Claims" means any patent claim(s), now owned or +\par \hich\af1\dbch\af31505\loch\f1 hereafter acquired, including without limitation, method, process, +\par \hich\af1\dbch\af31505\loch\f1 and apparatus claims, in any patent Licensable by grantor. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.11. "Source Code" means the preferred form of the Covered Code for +\par \hich\af1\dbch\af31505\loch\f1 making modifications to it, including all modules it contains, plus +\par \hich\af1\dbch\af31505\loch\f1 any associated interface definition fil\hich\af1\dbch\af31505\loch\f1 es, scripts used to control +\par \hich\af1\dbch\af31505\loch\f1 compilation and installation of an Executable, or source code +\par \hich\af1\dbch\af31505\loch\f1 differential comparisons against either the Original Code or another +\par \hich\af1\dbch\af31505\loch\f1 well known, available Covered Code of the Contributor's choice. The +\par \hich\af1\dbch\af31505\loch\f1 Source Co\hich\af1\dbch\af31505\loch\f1 de can be in a compressed or archival form, provided the +\par \hich\af1\dbch\af31505\loch\f1 appropriate decompression or de-archiving software is widely available +\par \hich\af1\dbch\af31505\loch\f1 for no charge. +\par +\par \hich\af1\dbch\af31505\loch\f1 1.12. "You" (or "Your") means an individual or a legal entity +\par \hich\af1\dbch\af31505\loch\f1 exercising rights under, and \hich\af1\dbch\af31505\loch\f1 complying with all of the terms of, this +\par \hich\af1\dbch\af31505\loch\f1 License or a future version of this License issued under Section 6.1. +\par \hich\af1\dbch\af31505\loch\f1 For legal entities, "You" includes any entity which controls, is +\par \hich\af1\dbch\af31505\loch\f1 controlled by, or is under common control with You. For purposes \hich\af1\dbch\af31505\loch\f1 of +\par \hich\af1\dbch\af31505\loch\f1 this definition, "control" means (a) the power, direct or indirect, +\par \hich\af1\dbch\af31505\loch\f1 to cause the direction or management of such entity, whether by +\par \hich\af1\dbch\af31505\loch\f1 contract or otherwise, or (b) ownership of more than fifty percent +\par \hich\af1\dbch\af31505\loch\f1 (50%) of the outstanding shares or\hich\af1\dbch\af31505\loch\f1 beneficial ownership of such +\par \hich\af1\dbch\af31505\loch\f1 entity. +\par +\par \hich\af1\dbch\af31505\loch\f1 2. Source Code License. +\par +\par \hich\af1\dbch\af31505\loch\f1 2.1. The Initial Developer Grant. +\par \hich\af1\dbch\af31505\loch\f1 The Initial Developer hereby grants You a world-wide, royalty-free, +\par \hich\af1\dbch\af31505\loch\f1 non-exclusive license, subject to third party intellectual property +\par \hich\af1\dbch\af31505\loch\f1 claims: +\par \hich\af1\dbch\af31505\loch\f1 (a) under intellectual property rights (other than patent or +\par \hich\af1\dbch\af31505\loch\f1 trademark) Licensable by Initial Developer to use, reproduce, +\par \hich\af1\dbch\af31505\loch\f1 modify, display, perform, sublicense and distribute the Original +\par \hich\af1\dbch\af31505\loch\f1 Code (or porti\hich\af1\dbch\af31505\loch\f1 ons thereof) with or without Modifications, and/or +\par \hich\af1\dbch\af31505\loch\f1 as part of a Larger Work; and +\par +\par \hich\af1\dbch\af31505\loch\f1 (b) under Patents Claims infringed by the making, using or +\par \hich\af1\dbch\af31505\loch\f1 selling of Original Code, to make, have made, use, practice, +\par \hich\af1\dbch\af31505\loch\f1 sell, and offe\hich\af1\dbch\af31505\loch\f1 r for sale, and/or otherwise dispose of the +\par \hich\af1\dbch\af31505\loch\f1 Original Code (or portions thereof). +\par +\par \hich\af1\dbch\af31505\loch\f1 (c) the licenses granted in this Section 2.1(a) and (b) are +\par \hich\af1\dbch\af31505\loch\f1 effective on the date Initial Developer first distributes +\par \hich\af1\dbch\af31505\loch\f1 Original Code un\hich\af1\dbch\af31505\loch\f1 der the terms of this License. +\par +\par \hich\af1\dbch\af31505\loch\f1 (d) Notwithstanding Section 2.1(b) above, no patent license is +\par \hich\af1\dbch\af31505\loch\f1 granted: 1) for code that You delete from the Original Code; 2) +\par \hich\af1\dbch\af31505\loch\f1 separate from the Original Code; or 3) for infringements caused +\par \hich\af1\dbch\af31505\loch\f1 \hich\af1\dbch\af31505\loch\f1 by: i) the modification of the Original Code or ii) the +\par \hich\af1\dbch\af31505\loch\f1 combination of the Original Code with other software or devices. +\par +\par \hich\af1\dbch\af31505\loch\f1 2.2. Contributor Grant. +\par \hich\af1\dbch\af31505\loch\f1 Subject to third party intellectual property claims, each Contributor +\par \hich\af1\dbch\af31505\loch\f1 hereby \hich\af1\dbch\af31505\loch\f1 grants You a world-wide, royalty-free, non-exclusive license +\par +\par \hich\af1\dbch\af31505\loch\f1 (a) under intellectual property rights (other than patent or +\par \hich\af1\dbch\af31505\loch\f1 trademark) Licensable by Contributor, to use, reproduce, modify, +\par \hich\af1\dbch\af31505\loch\f1 display, perform, sublicense and distribute the Modifications +\par \hich\af1\dbch\af31505\loch\f1 created by such Contributor (or portions thereof) either on an +\par \hich\af1\dbch\af31505\loch\f1 unmodified basis, with other Modifications, as Covered Code +\par \hich\af1\dbch\af31505\loch\f1 and/or as part of a Larger Work\hich\af1\dbch\af31505\loch\f1 ; and +\par +\par \hich\af1\dbch\af31505\loch\f1 (b) under Patent Claims infringed by the making, using, or +\par \hich\af1\dbch\af31505\loch\f1 selling of Modifications made by that Contributor either alone +\par \hich\af1\dbch\af31505\loch\f1 and/or in combination with its Contributor Version (or portions +\par \hich\af1\dbch\af31505\loch\f1 of such combination), \hich\af1\dbch\af31505\loch\f1 to make, use, sell, offer for sale, have +\par \hich\af1\dbch\af31505\loch\f1 made, and/or otherwise dispose of: 1) Modifications made by that +\par \hich\af1\dbch\af31505\loch\f1 Contributor (or portions thereof); and 2) the combination of +\par \hich\af1\dbch\af31505\loch\f1 Modifications made by that Contributor with its Contributor +\par \hich\af1\dbch\af31505\loch\f1 Version (or portions of such combination). +\par +\par \hich\af1\dbch\af31505\loch\f1 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are +\par \hich\af1\dbch\af31505\loch\f1 effective on the date Contributor first makes Commercial Use of +\par \hich\af1\dbch\af31505\loch\f1 the Covered Code. +\par +\par \hich\af1\dbch\af31505\loch\f1 (d) Notwithstand\hich\af1\dbch\af31505\loch\f1 ing Section 2.2(b) above, no patent license is +\par \hich\af1\dbch\af31505\loch\f1 granted: 1) for any code that Contributor has deleted from the +\par \hich\af1\dbch\af31505\loch\f1 Contributor Version; 2) separate from the Contributor Version; +\par \hich\af1\dbch\af31505\loch\f1 3) for infringements caused by: i) third party modi\hich\af1\dbch\af31505\loch\f1 fications of +\par \hich\af1\dbch\af31505\loch\f1 Contributor Version or ii) the combination of Modifications made +\par \hich\af1\dbch\af31505\loch\f1 by that Contributor with other software (except as part of the +\par \hich\af1\dbch\af31505\loch\f1 Contributor Version) or other devices; or 4) under Patent Claims +\par \hich\af1\dbch\af31505\loch\f1 infringe\hich\af1\dbch\af31505\loch\f1 d by Covered Code in the absence of Modifications made by +\par \hich\af1\dbch\af31505\loch\f1 that Contributor. +\par +\par \hich\af1\dbch\af31505\loch\f1 3. Distribution Obligations. +\par +\par \hich\af1\dbch\af31505\loch\f1 3.1. Application of License. +\par \hich\af1\dbch\af31505\loch\f1 The Modifications which You create or to which You contribute are +\par \hich\af1\dbch\af31505\loch\f1 governed by the terms of this License, including without limitation +\par \hich\af1\dbch\af31505\loch\f1 Section 2.2. The Source Code version of Covered Code may be +\par \hich\af1\dbch\af31505\loch\f1 distributed only under the terms of this License or a future version +\par \hich\af1\dbch\af31505\loch\f1 of this License released under Section \hich\af1\dbch\af31505\loch\f1 6.1, and You must include a +\par \hich\af1\dbch\af31505\loch\f1 copy of this License with every copy of the Source Code You +\par \hich\af1\dbch\af31505\loch\f1 distribute. You may not offer or impose any terms on any Source Code +\par \hich\af1\dbch\af31505\loch\f1 version that alters or restricts the applicable version of this +\par \hich\af1\dbch\af31505\loch\f1 License or the \hich\af1\dbch\af31505\loch\f1 recipients' rights hereunder. However, You may include +\par \hich\af1\dbch\af31505\loch\f1 an additional document offering the additional rights described in +\par \hich\af1\dbch\af31505\loch\f1 Section 3.5. +\par +\par \hich\af1\dbch\af31505\loch\f1 3.2. Availability of Source Code. +\par \hich\af1\dbch\af31505\loch\f1 Any Modification which You create or to which You contribute must \hich\af1\dbch\af31505\loch\f1 be +\par \hich\af1\dbch\af31505\loch\f1 made available in Source Code form under the terms of this License +\par \hich\af1\dbch\af31505\loch\f1 either on the same media as an Executable version or via an accepted +\par \hich\af1\dbch\af31505\loch\f1 Electronic Distribution Mechanism to anyone to whom you made an +\par \hich\af1\dbch\af31505\loch\f1 Executable version available; and\hich\af1\dbch\af31505\loch\f1 if made available via Electronic +\par \hich\af1\dbch\af31505\loch\f1 Distribution Mechanism, must remain available for at least twelve (12) +\par \hich\af1\dbch\af31505\loch\f1 months after the date it initially became available, or at least six +\par \hich\af1\dbch\af31505\loch\f1 (6) months after a subsequent version of that particular Modificati\hich\af1\dbch\af31505\loch\f1 on +\par \hich\af1\dbch\af31505\loch\f1 has been made available to such recipients. You are responsible for +\par \hich\af1\dbch\af31505\loch\f1 ensuring that the Source Code version remains available even if the +\par \hich\af1\dbch\af31505\loch\f1 Electronic Distribution Mechanism is maintained by a third party. +\par +\par \hich\af1\dbch\af31505\loch\f1 3.3. Description of Modifications. +\par \hich\af1\dbch\af31505\loch\f1 You must cause all Covered Code to which You contribute to contain a +\par \hich\af1\dbch\af31505\loch\f1 file documenting the changes You made to create that Covered Code and +\par \hich\af1\dbch\af31505\loch\f1 the date of any change. You must include a prominent statement\hich\af1\dbch\af31505\loch\f1 that +\par \hich\af1\dbch\af31505\loch\f1 the Modification is derived, directly or indirectly, from Original +\par \hich\af1\dbch\af31505\loch\f1 Code provided by the Initial Developer and including the name of the +\par \hich\af1\dbch\af31505\loch\f1 Initial Developer in (a) the Source Code, and (b) in any notice in an +\par \hich\af1\dbch\af31505\loch\f1 Executable version or re\hich\af1\dbch\af31505\loch\f1 lated documentation in which You describe the +\par \hich\af1\dbch\af31505\loch\f1 origin or ownership of the Covered Code. +\par +\par \hich\af1\dbch\af31505\loch\f1 3.4. Intellectual Property Matters +\par \hich\af1\dbch\af31505\loch\f1 (a) Third Party Claims. +\par \hich\af1\dbch\af31505\loch\f1 If Contributor has knowledge that a license under a third party's +\par \hich\af1\dbch\af31505\loch\f1 int\hich\af1\dbch\af31505\loch\f1 ellectual property rights is required to exercise the rights +\par \hich\af1\dbch\af31505\loch\f1 granted by such Contributor under Sections 2.1 or 2.2, +\par \hich\af1\dbch\af31505\loch\f1 Contributor must include a text file with the Source Code +\par \hich\af1\dbch\af31505\loch\f1 distribution titled "LEGAL" which describes the clai\hich\af1\dbch\af31505\loch\f1 m and the +\par \hich\af1\dbch\af31505\loch\f1 party making the claim in sufficient detail that a recipient will +\par \hich\af1\dbch\af31505\loch\f1 know whom to contact. If Contributor obtains such knowledge after +\par \hich\af1\dbch\af31505\loch\f1 the Modification is made available as described in Section 3.2, +\par \hich\af1\dbch\af31505\loch\f1 Contributo\hich\af1\dbch\af31505\loch\f1 r shall promptly modify the LEGAL file in all copies +\par \hich\af1\dbch\af31505\loch\f1 Contributor makes available thereafter and shall take other steps +\par \hich\af1\dbch\af31505\loch\f1 (such as notifying appropriate mailing lists or newsgroups) +\par \hich\af1\dbch\af31505\loch\f1 reasonably calculated to inform those who recei\hich\af1\dbch\af31505\loch\f1 ved the Covered +\par \hich\af1\dbch\af31505\loch\f1 Code that new knowledge has been obtained. +\par +\par \hich\af1\dbch\af31505\loch\f1 (b) Contributor APIs. +\par \hich\af1\dbch\af31505\loch\f1 If Contributor's Modifications include an application programming +\par \hich\af1\dbch\af31505\loch\f1 interface and Contributor has knowledge of patent licenses which +\par \hich\af1\dbch\af31505\loch\f1 are reasonably necessary to implement that API, Contributor must +\par \hich\af1\dbch\af31505\loch\f1 also include this information in the LEGAL file. +\par +\par \hich\af1\dbch\af31505\loch\f1 (c) Representations. +\par \hich\af1\dbch\af31505\loch\f1 Contributor represents that, except as disclosed pursuant to +\par \hich\af1\dbch\af31505\loch\f1 S\hich\af1\dbch\af31505\loch\f1 ection 3.4(a) above, Contributor believes that Contributor's +\par \hich\af1\dbch\af31505\loch\f1 Modifications are Contributor's original creation(s) and/or +\par \hich\af1\dbch\af31505\loch\f1 Contributor has sufficient rights to grant the rights conveyed by +\par \hich\af1\dbch\af31505\loch\f1 this License. +\par +\par \hich\af1\dbch\af31505\loch\f1 3.5. Required Notic\hich\af1\dbch\af31505\loch\f1 es. +\par \hich\af1\dbch\af31505\loch\f1 You must duplicate the notice in Exhibit A in each file of the Source +\par \hich\af1\dbch\af31505\loch\f1 Code. If it is not possible to put such notice in a particular Source +\par \hich\af1\dbch\af31505\loch\f1 Code file due to its structure, then You must include such notice in a +\par \hich\af1\dbch\af31505\loch\f1 location (such as a \hich\af1\dbch\af31505\loch\f1 relevant directory) where a user would be likely +\par \hich\af1\dbch\af31505\loch\f1 to look for such a notice. If You created one or more Modification(s) +\par \hich\af1\dbch\af31505\loch\f1 You may add your name as a Contributor to the notice described in +\par \hich\af1\dbch\af31505\loch\f1 Exhibit A. You must also duplicate this License in any\hich\af1\dbch\af31505\loch\f1 documentation +\par \hich\af1\dbch\af31505\loch\f1 for the Source Code where You describe recipients' rights or ownership +\par \hich\af1\dbch\af31505\loch\f1 rights relating to Covered Code. You may choose to offer, and to +\par \hich\af1\dbch\af31505\loch\f1 charge a fee for, warranty, support, indemnity or liability +\par \hich\af1\dbch\af31505\loch\f1 obligations to one or mo\hich\af1\dbch\af31505\loch\f1 re recipients of Covered Code. However, You +\par \hich\af1\dbch\af31505\loch\f1 may do so only on Your own behalf, and not on behalf of the Initial +\par \hich\af1\dbch\af31505\loch\f1 Developer or any Contributor. You must make it absolutely clear than +\par \hich\af1\dbch\af31505\loch\f1 any such warranty, support, indemnity or liability obligatio\hich\af1\dbch\af31505\loch\f1 n is +\par \hich\af1\dbch\af31505\loch\f1 offered by You alone, and You hereby agree to indemnify the Initial +\par \hich\af1\dbch\af31505\loch\f1 Developer and every Contributor for any liability incurred by the +\par \hich\af1\dbch\af31505\loch\f1 Initial Developer or such Contributor as a result of warranty, +\par \hich\af1\dbch\af31505\loch\f1 support, indemnity or liability terms You offer. +\par +\par \hich\af1\dbch\af31505\loch\f1 3.6. Distribution of Executable Versions. +\par \hich\af1\dbch\af31505\loch\f1 You may distribute Covered Code in Executable form only if the +\par \hich\af1\dbch\af31505\loch\f1 requirements of Section 3.1-3.5 have been met for that Covered Code, +\par \hich\af1\dbch\af31505\loch\f1 and if \hich\af1\dbch\af31505\loch\f1 You include a notice stating that the Source Code version of +\par \hich\af1\dbch\af31505\loch\f1 the Covered Code is available under the terms of this License, +\par \hich\af1\dbch\af31505\loch\f1 including a description of how and where You have fulfilled the +\par \hich\af1\dbch\af31505\loch\f1 obligations of Section 3.2. The notice must be conspi\hich\af1\dbch\af31505\loch\f1 cuously included +\par \hich\af1\dbch\af31505\loch\f1 in any notice in an Executable version, related documentation or +\par \hich\af1\dbch\af31505\loch\f1 collateral in which You describe recipients' rights relating to the +\par \hich\af1\dbch\af31505\loch\f1 Covered Code. You may distribute the Executable version of Covered +\par \hich\af1\dbch\af31505\loch\f1 Code or ownership r\hich\af1\dbch\af31505\loch\f1 ights under a license of Your choice, which may +\par \hich\af1\dbch\af31505\loch\f1 contain terms different from this License, provided that You are in +\par \hich\af1\dbch\af31505\loch\f1 compliance with the terms of this License and that the license for the +\par \hich\af1\dbch\af31505\loch\f1 Executable version does not attempt to limit or alter \hich\af1\dbch\af31505\loch\f1 the recipient's +\par \hich\af1\dbch\af31505\loch\f1 rights in the Source Code version from the rights set forth in this +\par \hich\af1\dbch\af31505\loch\f1 License. If You distribute the Executable version under a different +\par \hich\af1\dbch\af31505\loch\f1 license You must make it absolutely clear that any terms which differ +\par \hich\af1\dbch\af31505\loch\f1 from this Lice\hich\af1\dbch\af31505\loch\f1 nse are offered by You alone, not by the Initial +\par \hich\af1\dbch\af31505\loch\f1 Developer or any Contributor. You hereby agree to indemnify the +\par \hich\af1\dbch\af31505\loch\f1 Initial Developer and every Contributor for any liability incurred by +\par \hich\af1\dbch\af31505\loch\f1 the Initial Developer or such Contributor as a result of a\hich\af1\dbch\af31505\loch\f1 ny such +\par \hich\af1\dbch\af31505\loch\f1 terms You offer. +\par +\par \hich\af1\dbch\af31505\loch\f1 3.7. Larger Works. +\par \hich\af1\dbch\af31505\loch\f1 You may create a Larger Work by combining Covered Code with other code +\par \hich\af1\dbch\af31505\loch\f1 not governed by the terms of this License and distribute the Larger +\par \hich\af1\dbch\af31505\loch\f1 Work as a single product. In such a case, You must make sure the +\par \hich\af1\dbch\af31505\loch\f1 requirements of this License are fulfilled for the Covered Code. +\par +\par \hich\af1\dbch\af31505\loch\f1 4. Inability to Comply Due to Statute or Regulation. +\par +\par \hich\af1\dbch\af31505\loch\f1 If it is impossible for You to comply with any of the te\hich\af1\dbch\af31505\loch\f1 rms of this +\par \hich\af1\dbch\af31505\loch\f1 License with respect to some or all of the Covered Code due to +\par \hich\af1\dbch\af31505\loch\f1 statute, judicial order, or regulation then You must: (a) comply with +\par \hich\af1\dbch\af31505\loch\f1 the terms of this License to the maximum extent possible; and (b) +\par \hich\af1\dbch\af31505\loch\f1 describe the limitations \hich\af1\dbch\af31505\loch\f1 and the code they affect. Such description +\par \hich\af1\dbch\af31505\loch\f1 must be included in the LEGAL file described in Section 3.4 and must +\par \hich\af1\dbch\af31505\loch\f1 be included with all distributions of the Source Code. Except to the +\par \hich\af1\dbch\af31505\loch\f1 extent prohibited by statute or regulation, such description\hich\af1\dbch\af31505\loch\f1 must be +\par \hich\af1\dbch\af31505\loch\f1 sufficiently detailed for a recipient of ordinary skill to be able to +\par \hich\af1\dbch\af31505\loch\f1 understand it. +\par +\par \hich\af1\dbch\af31505\loch\f1 5. Application of this License. +\par +\par \hich\af1\dbch\af31505\loch\f1 This License applies to code to which the Initial Developer has +\par \hich\af1\dbch\af31505\loch\f1 attached the notice in Exhibit A and to rela\hich\af1\dbch\af31505\loch\f1 ted Covered Code. +\par +\par \hich\af1\dbch\af31505\loch\f1 6. Versions of the License. +\par +\par \hich\af1\dbch\af31505\loch\f1 6.1. New Versions. +\par \hich\af1\dbch\af31505\loch\f1 Netscape Communications Corporation ("Netscape") may publish revised +\par \hich\af1\dbch\af31505\loch\f1 and/or new versions of the License from time to time. Each version +\par \hich\af1\dbch\af31505\loch\f1 will be given a distinguishing version number. +\par +\par \hich\af1\dbch\af31505\loch\f1 6.2. Effect of New Versions. +\par \hich\af1\dbch\af31505\loch\f1 Once Covered Code has been published under a particular version of the +\par \hich\af1\dbch\af31505\loch\f1 License, You may always continue to use it under the terms of that +\par \hich\af1\dbch\af31505\loch\f1 version. You may\hich\af1\dbch\af31505\loch\f1 also choose to use such Covered Code under the terms +\par \hich\af1\dbch\af31505\loch\f1 of any subsequent version of the License published by Netscape. No one +\par \hich\af1\dbch\af31505\loch\f1 other than Netscape has the right to modify the terms applicable to +\par \hich\af1\dbch\af31505\loch\f1 Covered Code created under this License. +\par +\par \hich\af1\dbch\af31505\loch\f1 6\hich\af1\dbch\af31505\loch\f1 .3. Derivative Works. +\par \hich\af1\dbch\af31505\loch\f1 If You create or use a modified version of this License (which you may +\par \hich\af1\dbch\af31505\loch\f1 only do in order to apply it to code which is not already Covered Code +\par \hich\af1\dbch\af31505\loch\f1 governed by this License), You must (a) rename Your license so that +\par \hich\af1\dbch\af31505\loch\f1 the \hich\af1\dbch\af31505\loch\f1 phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", +\par \hich\af1\dbch\af31505\loch\f1 "MPL", "NPL" or any confusingly similar phrase do not appear in your +\par \hich\af1\dbch\af31505\loch\f1 license (except to note that your license differs from this License) +\par \hich\af1\dbch\af31505\loch\f1 and (b) otherwise make it clear that Your version \hich\af1\dbch\af31505\loch\f1 of the license +\par \hich\af1\dbch\af31505\loch\f1 contains terms which differ from the Mozilla Public License and +\par \hich\af1\dbch\af31505\loch\f1 Netscape Public License. (Filling in the name of the Initial +\par \hich\af1\dbch\af31505\loch\f1 Developer, Original Code or Contributor in the notice described in +\par \hich\af1\dbch\af31505\loch\f1 Exhibit A shall not of themse\hich\af1\dbch\af31505\loch\f1 lves be deemed to be modifications of +\par \hich\af1\dbch\af31505\loch\f1 this License.) +\par +\par \hich\af1\dbch\af31505\loch\f1 7. DISCLAIMER OF WARRANTY. +\par +\par \hich\af1\dbch\af31505\loch\f1 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, +\par \hich\af1\dbch\af31505\loch\f1 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +\par \hich\af1\dbch\af31505\loch\f1 WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF +\par \hich\af1\dbch\af31505\loch\f1 DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. +\par \hich\af1\dbch\af31505\loch\f1 THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE +\par \hich\af1\dbch\af31505\loch\f1 IS WITH YOU. SHOULD ANY COVERED\hich\af1\dbch\af31505\loch\f1 CODE PROVE DEFECTIVE IN ANY RESPECT, +\par \hich\af1\dbch\af31505\loch\f1 YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE +\par \hich\af1\dbch\af31505\loch\f1 COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER +\par \hich\af1\dbch\af31505\loch\f1 OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO US\hich\af1\dbch\af31505\loch\f1 E OF +\par \hich\af1\dbch\af31505\loch\f1 ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. +\par +\par \hich\af1\dbch\af31505\loch\f1 8. TERMINATION. +\par +\par \hich\af1\dbch\af31505\loch\f1 8.1. This License and the rights granted hereunder will terminate +\par \hich\af1\dbch\af31505\loch\f1 automatically if You fail to comply with terms herein and fail to cure +\par \hich\af1\dbch\af31505\loch\f1 such\hich\af1\dbch\af31505\loch\f1 breach within 30 days of becoming aware of the breach. All +\par \hich\af1\dbch\af31505\loch\f1 sublicenses to the Covered Code which are properly granted shall +\par \hich\af1\dbch\af31505\loch\f1 survive any termination of this License. Provisions which, by their +\par \hich\af1\dbch\af31505\loch\f1 nature, must remain in effect beyond the termina\hich\af1\dbch\af31505\loch\f1 tion of this License +\par \hich\af1\dbch\af31505\loch\f1 shall survive. +\par +\par \hich\af1\dbch\af31505\loch\f1 8.2. If You initiate litigation by asserting a patent infringement +\par \hich\af1\dbch\af31505\loch\f1 claim (excluding declatory judgment actions) against Initial Developer +\par \hich\af1\dbch\af31505\loch\f1 or a Contributor (the Initial Developer or Contributor again\hich\af1\dbch\af31505\loch\f1 st whom +\par \hich\af1\dbch\af31505\loch\f1 You file such action is referred to as "Participant") alleging that: +\par +\par \hich\af1\dbch\af31505\loch\f1 (a) such Participant's Contributor Version directly or indirectly +\par \hich\af1\dbch\af31505\loch\f1 infringes any patent, then any and all rights granted by such +\par \hich\af1\dbch\af31505\loch\f1 Participant to You under Sec\hich\af1\dbch\af31505\loch\f1 tions 2.1 and/or 2.2 of this License +\par \hich\af1\dbch\af31505\loch\f1 shall, upon 60 days notice from Participant terminate prospectively, +\par \hich\af1\dbch\af31505\loch\f1 unless if within 60 days after receipt of notice You either: (i) +\par \hich\af1\dbch\af31505\loch\f1 agree in writing to pay Participant a mutually agreeable reasonable +\par \hich\af1\dbch\af31505\loch\f1 royalty for Your past and future use of Modifications made by such +\par \hich\af1\dbch\af31505\loch\f1 Participant, or (ii) withdraw Your litigation claim with respect to +\par \hich\af1\dbch\af31505\loch\f1 the Contributor Version against such Participant. If within 60 days +\par \hich\af1\dbch\af31505\loch\f1 of notice, a reasonable royalty \hich\af1\dbch\af31505\loch\f1 and payment arrangement are not +\par \hich\af1\dbch\af31505\loch\f1 mutually agreed upon in writing by the parties or the litigation claim +\par \hich\af1\dbch\af31505\loch\f1 is not withdrawn, the rights granted by Participant to You under +\par \hich\af1\dbch\af31505\loch\f1 Sections 2.1 and/or 2.2 automatically terminate at the expiration of +\par \hich\af1\dbch\af31505\loch\f1 \hich\af1\dbch\af31505\loch\f1 the 60 day notice period specified above. +\par +\par \hich\af1\dbch\af31505\loch\f1 (b) any software, hardware, or device, other than such Participant's +\par \hich\af1\dbch\af31505\loch\f1 Contributor Version, directly or indirectly infringes any patent, then +\par \hich\af1\dbch\af31505\loch\f1 any rights granted to You by such Participant under Sect\hich\af1\dbch\af31505\loch\f1 ions 2.1(b) +\par \hich\af1\dbch\af31505\loch\f1 and 2.2(b) are revoked effective as of the date You first made, used, +\par \hich\af1\dbch\af31505\loch\f1 sold, distributed, or had made, Modifications made by that +\par \hich\af1\dbch\af31505\loch\f1 Participant. +\par +\par \hich\af1\dbch\af31505\loch\f1 8.3. If You assert a patent infringement claim against Participant +\par \hich\af1\dbch\af31505\loch\f1 alleging\hich\af1\dbch\af31505\loch\f1 that such Participant's Contributor Version directly or +\par \hich\af1\dbch\af31505\loch\f1 indirectly infringes any patent where such claim is resolved (such as +\par \hich\af1\dbch\af31505\loch\f1 by license or settlement) prior to the initiation of patent +\par \hich\af1\dbch\af31505\loch\f1 infringement litigation, then the reasonable value of \hich\af1\dbch\af31505\loch\f1 the licenses +\par \hich\af1\dbch\af31505\loch\f1 granted by such Participant under Sections 2.1 or 2.2 shall be taken +\par \hich\af1\dbch\af31505\loch\f1 into account in determining the amount or value of any payment or +\par \hich\af1\dbch\af31505\loch\f1 license. +\par +\par \hich\af1\dbch\af31505\loch\f1 8.4. In the event of termination under Sections 8.1 or 8.2 above, +\par \hich\af1\dbch\af31505\loch\f1 all end user license agreements (excluding distributors and resellers) +\par \hich\af1\dbch\af31505\loch\f1 which have been validly granted by You or any distributor hereunder +\par \hich\af1\dbch\af31505\loch\f1 prior to termination shall survive termination. +\par +\par \hich\af1\dbch\af31505\loch\f1 9. LIMITATION OF LIABILITY. +\par +\par \hich\af1\dbch\af31505\loch\f1 UNDER NO CIRCUMSTAN\hich\af1\dbch\af31505\loch\f1 CES AND UNDER NO LEGAL THEORY, WHETHER TORT +\par \hich\af1\dbch\af31505\loch\f1 (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL +\par \hich\af1\dbch\af31505\loch\f1 DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, +\par \hich\af1\dbch\af31505\loch\f1 OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY\hich\af1\dbch\af31505\loch\f1 PERSON FOR +\par \hich\af1\dbch\af31505\loch\f1 ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY +\par \hich\af1\dbch\af31505\loch\f1 CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, +\par \hich\af1\dbch\af31505\loch\f1 WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER +\par \hich\af1\dbch\af31505\loch\f1 COMMERCIAL DAMAGE\hich\af1\dbch\af31505\loch\f1 S OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN +\par \hich\af1\dbch\af31505\loch\f1 INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF +\par \hich\af1\dbch\af31505\loch\f1 LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY +\par \hich\af1\dbch\af31505\loch\f1 RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICAB\hich\af1\dbch\af31505\loch\f1 LE LAW +\par \hich\af1\dbch\af31505\loch\f1 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE +\par \hich\af1\dbch\af31505\loch\f1 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO +\par \hich\af1\dbch\af31505\loch\f1 THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. +\par +\par \hich\af1\dbch\af31505\loch\f1 10. U.S. GOVERNMENT END USERS. +\par +\par \hich\af1\dbch\af31505\loch\f1 The Covered Co\hich\af1\dbch\af31505\loch\f1 de is a "commercial item," as that term is defined in +\par \hich\af1\dbch\af31505\loch\f1 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer +\par \hich\af1\dbch\af31505\loch\f1 software" and "commercial computer software documentation," as such +\par \hich\af1\dbch\af31505\loch\f1 terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consis\hich\af1\dbch\af31505\loch\f1 tent with 48 +\par \hich\af1\dbch\af31505\loch\f1 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), +\par \hich\af1\dbch\af31505\loch\f1 all U.S. Government End Users acquire Covered Code with only those +\par \hich\af1\dbch\af31505\loch\f1 rights set forth herein. +\par +\par \hich\af1\dbch\af31505\loch\f1 11. MISCELLANEOUS. +\par +\par \hich\af1\dbch\af31505\loch\f1 This License represents the complete agreement concerning subject +\par \hich\af1\dbch\af31505\loch\f1 matter hereof. If any provision of this License is held to be +\par \hich\af1\dbch\af31505\loch\f1 unenforceable, such provision shall be reformed only to the extent +\par \hich\af1\dbch\af31505\loch\f1 necessary to make it enforceable. This Li\hich\af1\dbch\af31505\loch\f1 cense shall be governed by +\par \hich\af1\dbch\af31505\loch\f1 California law provisions (except to the extent applicable law, if +\par \hich\af1\dbch\af31505\loch\f1 any, provides otherwise), excluding its conflict-of-law provisions. +\par \hich\af1\dbch\af31505\loch\f1 With respect to disputes in which at least one party is a citizen of, +\par \hich\af1\dbch\af31505\loch\f1 or a\hich\af1\dbch\af31505\loch\f1 n entity chartered or registered to do business in the United +\par \hich\af1\dbch\af31505\loch\f1 States of America, any litigation relating to this License shall be +\par \hich\af1\dbch\af31505\loch\f1 subject to the jurisdiction of the Federal Courts of the Northern +\par \hich\af1\dbch\af31505\loch\f1 District of California, with venue lying in S\hich\af1\dbch\af31505\loch\f1 anta Clara County, +\par \hich\af1\dbch\af31505\loch\f1 California, with the losing party responsible for costs, including +\par \hich\af1\dbch\af31505\loch\f1 without limitation, court costs and reasonable attorneys' fees and +\par \hich\af1\dbch\af31505\loch\f1 expenses. The application of the United Nations Convention on +\par \hich\af1\dbch\af31505\loch\f1 Contracts for the Int\hich\af1\dbch\af31505\loch\f1 ernational Sale of Goods is expressly excluded. +\par \hich\af1\dbch\af31505\loch\f1 Any law or regulation which provides that the language of a contract +\par \hich\af1\dbch\af31505\loch\f1 shall be construed against the drafter shall not apply to this +\par \hich\af1\dbch\af31505\loch\f1 License. +\par +\par \hich\af1\dbch\af31505\loch\f1 12. RESPONSIBILITY FOR CLAIMS. +\par +\par \hich\af1\dbch\af31505\loch\f1 As between Ini\hich\af1\dbch\af31505\loch\f1 tial Developer and the Contributors, each party is +\par \hich\af1\dbch\af31505\loch\f1 responsible for claims and damages arising, directly or indirectly, +\par \hich\af1\dbch\af31505\loch\f1 out of its utilization of rights under this License and You agree to +\par \hich\af1\dbch\af31505\loch\f1 work with Initial Developer \hich\af1\dbch\af31505\loch\f1 and Contributors to distribute such +\par \hich\af1\dbch\af31505\loch\f1 responsibility on an equitable basis. Nothing herein is intended or +\par \hich\af1\dbch\af31505\loch\f1 shall be deemed to constitute any admission of liability. +\par +\par \hich\af1\dbch\af31505\loch\f1 13. MULTIPLE-LICENSED CODE. +\par +\par \hich\af1\dbch\af31505\loch\f1 Initial Developer may designate portions of the C\hich\af1\dbch\af31505\loch\f1 overed Code as +\par \hich\af1\dbch\af31505\loch\f1 "Multiple-Licensed". "Multiple-Licensed" means that the Initial +\par \hich\af1\dbch\af31505\loch\f1 Developer permits you to utilize portions of the Covered Code under +\par \hich\af1\dbch\af31505\loch\f1 Your choice of the NPL or the alternative licenses, if any, specified +\par \hich\af1\dbch\af31505\loch\f1 by the Initial Dev\hich\af1\dbch\af31505\loch\f1 eloper in the file described in Exhibit A. +\par +\par \hich\af1\dbch\af31505\loch\f1 EXHIBIT A -Mozilla Public License. +\par +\par \hich\af1\dbch\af31505\loch\f1 ``The contents of this file are subject to the Mozilla Public License +\par \hich\af1\dbch\af31505\loch\f1 Version 1.1 (the "License"); you may not use this file except in +\par \hich\af1\dbch\af31505\loch\f1 compliance with the Licens\hich\af1\dbch\af31505\loch\f1 e. You may obtain a copy of the License at +\par \hich\af1\dbch\af31505\loch\f1 http://www.mozilla.org/MPL/ +\par +\par \hich\af1\dbch\af31505\loch\f1 Software distributed under the License is distributed on an "AS IS" +\par \hich\af1\dbch\af31505\loch\f1 basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +\par \hich\af1\dbch\af31505\loch\f1 License for the specific\hich\af1\dbch\af31505\loch\f1 language governing rights and limitations +\par \hich\af1\dbch\af31505\loch\f1 under the License. +\par +\par \hich\af1\dbch\af31505\loch\f1 The Original Code is ______________________________________. +\par +\par \hich\af1\dbch\af31505\loch\f1 The Initial Developer of the Original Code is ________________________. +\par \hich\af1\dbch\af31505\loch\f1 Portions created by ______________________ are Copyright (C) ______ +\par \hich\af1\dbch\af31505\loch\f1 _______________________. All Rights Reserved. +\par +\par \hich\af1\dbch\af31505\loch\f1 Contributor(s): ______________________________________. +\par +\par \hich\af1\dbch\af31505\loch\f1 Alternatively, the contents of this file may be used under the t\hich\af1\dbch\af31505\loch\f1 erms +\par \hich\af1\dbch\af31505\loch\f1 of the _____ license (the "[___] License"), in which case the +\par \hich\af1\dbch\af31505\loch\f1 provisions of [______] License are applicable instead of those +\par \hich\af1\dbch\af31505\loch\f1 above. If you wish to allow use of your version of this file only +\par \hich\af1\dbch\af31505\loch\f1 under the terms of the [____] License \hich\af1\dbch\af31505\loch\f1 and not to allow others to use +\par \hich\af1\dbch\af31505\loch\f1 your version of this file under the MPL, indicate your decision by +\par \hich\af1\dbch\af31505\loch\f1 deleting the provisions above and replace them with the notice and +\par \hich\af1\dbch\af31505\loch\f1 other provisions required by the [___] License. If you do not delete +\par \hich\af1\dbch\af31505\loch\f1 \hich\af1\dbch\af31505\loch\f1 the provisions above, a recipient may use your version of this file +\par \hich\af1\dbch\af31505\loch\f1 under either the MPL or the [___] License." +\par +\par \hich\af1\dbch\af31505\loch\f1 [NOTE: The text of this Exhibit A may differ slightly from the text of +\par \hich\af1\dbch\af31505\loch\f1 the notices in the Source Code files of the Original Cod\hich\af1\dbch\af31505\loch\f1 e. You should +\par \hich\af1\dbch\af31505\loch\f1 use the text of this Exhibit A rather than the text found in the +\par \hich\af1\dbch\af31505\loch\f1 Original Code Source Code for Your Modifications.] +\par +\par +\par }{\rtlch\fcs1 \af1\afs20 \ltrch\fcs0 \f1\fs20\lang1033\langfe1049\langnp1033\insrsid9123021\charrsid269322 +\par }{\*\themedata 504b030414000600080000002100e9de0fbfff0000001c020000130000005b436f6e74656e745f54797065735d2e786d6cac91cb4ec3301045f748fc83e52d4a +9cb2400825e982c78ec7a27cc0c8992416c9d8b2a755fbf74cd25442a820166c2cd933f79e3be372bd1f07b5c3989ca74aaff2422b24eb1b475da5df374fd9ad +5689811a183c61a50f98f4babebc2837878049899a52a57be670674cb23d8e90721f90a4d2fa3802cb35762680fd800ecd7551dc18eb899138e3c943d7e503b6 +b01d583deee5f99824e290b4ba3f364eac4a430883b3c092d4eca8f946c916422ecab927f52ea42b89a1cd59c254f919b0e85e6535d135a8de20f20b8c12c3b0 +0c895fcf6720192de6bf3b9e89ecdbd6596cbcdd8eb28e7c365ecc4ec1ff1460f53fe813d3cc7f5b7f020000ffff0300504b030414000600080000002100a5d6 +a7e7c0000000360100000b0000005f72656c732f2e72656c73848fcf6ac3300c87ef85bd83d17d51d2c31825762fa590432fa37d00e1287f68221bdb1bebdb4f +c7060abb0884a4eff7a93dfeae8bf9e194e720169aaa06c3e2433fcb68e1763dbf7f82c985a4a725085b787086a37bdbb55fbc50d1a33ccd311ba548b6309512 +0f88d94fbc52ae4264d1c910d24a45db3462247fa791715fd71f989e19e0364cd3f51652d73760ae8fa8c9ffb3c330cc9e4fc17faf2ce545046e37944c69e462 +a1a82fe353bd90a865aad41ed0b5b8f9d6fd010000ffff0300504b0304140006000800000021006b799616830000008a0000001c0000007468656d652f746865 +6d652f7468656d654d616e616765722e786d6c0ccc4d0ac3201040e17da17790d93763bb284562b2cbaebbf600439c1a41c7a0d29fdbd7e5e38337cedf14d59b +4b0d592c9c070d8a65cd2e88b7f07c2ca71ba8da481cc52c6ce1c715e6e97818c9b48d13df49c873517d23d59085adb5dd20d6b52bd521ef2cdd5eb9246a3d8b +4757e8d3f729e245eb2b260a0238fd010000ffff0300504b03041400060008000000210054b663bbf5060000c21a0000160000007468656d652f7468656d652f +7468656d65312e786d6cec59dd8e133714beafd47718cd7dc8df4c7e5604944c126861019140c5a5377132663de368ecec1221240457bd69558956bd2852db9b +5e5455572a555155d457589e0109d4d287e8b16732b1132f2c2b2aa18a5d6977e27ce7f8f33967bee3199f3e7b2ba2ce1e4e386171cb2d9f2ab90e8e476c4ce2 +69cbbd36ec171aaec3058ac788b218b7dc05e6eed9331f7e701a6d891047d801fb986fa1961b0a31db2a16f90886113fc5663886ef262c8990808fc9b4384ed0 +3ef88d68b1522ad58a1122b1ebc42802b787df1ffe7af8c7e1817379322123ec9e59faef519824165c0e8c683290def1d2e8bba7f70e0f0e9f1c3e3a3c787a17 +ae9fc0ffcf95ed78b72c2df882073471f6106db930f598ed0ff12de13a1471015fb4dc92fa718b674e17d1566644c511b69a5d5ffd647699c178b7a2e64ca63b +f9a49ee77bb576ee5f01a8d8c4f5eabd5aaf96fb5300341ac1ca532eba4fbfd3ec74fd0cab81d24b8bef6ebd5b2d1b78cd7f758373db97bf065e8152ffde06be +df0f208a065e8152bcbf81f7bc7a25f00cbc02a5f8da06be5e6a77bdba8157a090927877035df26bd560b9da1c3261f4bc15def4bd7ebd92395fa1a01af26a93 +534c582c8e5b7b11bac9923e1848438a04891db198e1091a41a10788929d843817c93484429ca19871182e554afd5215feca5f4f5da908a12d8c346bc91398f1 +8d21c9cfe1a384cc44cbfd18bcba1ae4f9e3c7cfee3d7a76efb767f7ef3fbbf77336b77265d89d47f154b77bf9c317ff3cbcebfcfdcbb72f1f7c994ebd8ee73a +fec54f9fbef8fdcf57b98715af42f1fcab83178f0e9e7ffdd95f3f3eb0786f276847870f4984b97309ef3b5759040bb4f0c73bc99b590c4344748b763ce52846 +72168bff9e080df4a505a2c882eb60338ed713901e1bf0dcfca64178102673412c1e2f849101dc668c7658628dc205399716e6e13c9eda274fe63aee2a427bb6 +b903141b59eecd67a0c1c4e63208b141f30a45b140531c63e1c8efd82ec696d5dd20c488eb3619258cb389706e10a78388352443b26354d3cae83c89202f0b1b +41c8b7119bedeb4e8751dbaabb78cf44c2bd81a885fc1053238ce7d05ca0c8e6728822aa07fc2212a18de460918c745c8f0bc8f41453e6f4c698739bcde504d6 +ab25fd02c88c3deddb741199c844905d9bcf8b88311dd965bb4188a2990d3b2071a8633fe2bb50a2c8b9c2840dbecdcc3b447e863ca0f8c8745f27d848f7ebd5 +e01a28ac4e695520f29b7962c9e539cc8cfa1d2ce804612535d0100c5d8f48fc5a915f9377ffbf937710d1e7df3cb4ace8ed48baddb1918f3714f37642ac77d3 +f935093f0ab72edc014bc6e4ddd7ed2e9ac75730dc2a9bcdebbd6cbf976df77f2fdb47ddcf6f5fac57fa0cd22db7ade9f65d6de6a363efe52784d28158507c91 +abed3c872e35eec3a0f4a31e7571feac370be152ded930a1819b2648d93809139f10110e4234833d7fd9954ea63c733de5ce8c71781450c356df124fe7d1361b +a78fb4e5b27c7c4dc58423b11a2ff9f9383c7e88145dabaf1ed372f78aed543d5e2f0948db3721a14d6692a85a48d497833248ea611e826621a156f65658342d +2c1ad2fd32551b2c805a9e15d84639b0f96ab9be072660044f5988e2b1cc539aea65765532df66a68f0aa65101b0a75856c02ad34dc9f5c8e5c9d5a5a5768c4c +1b24b4723349a8c8a89ec64334c65975cad1e3d078d35c37572935e8c950a8f9a0b45634ea8d57b13869aec16e5d1b68ac2b058d9dfd965babfa503223346bb9 +1378150097d10c6a87cbed2fa25378e53612497ac39f44596609175dc4c334e04a7452358888c0894349d472e5f2f334d0586988e256ae8020bcb3e49a202bef +1a3948ba99643c99e091d0d3ae8dc848a71f41e153adb07eabcc4f0e96966c0ee91e84e37d6787ce93ab084accaf976500c784c31ba1721acd3181579eb990ad +ea6fad3165b2abbf735435948e233a0b51d65174314fe14aca733aea531e03ed53b66608a81692ac11ee4c6583d5836a74d3bc6ba41c8eecbaaf379291d34473 +d5330d55915dd3ae62c60ccb36b016cb9335798dd532c4a0697a874fa57b5d729b4bad5bdb27e45d02029ec7cfd2758fd110346aabc90c6a92f1a60c4bcdce46 +cddeb15ce06ba81da74968aa5f5bba5d8b5bde23acd3c1e0893a3fd8ad572d0c4d96fb4c1569755ca21f67b09d9b201e5d78313ca782ab54c2e1448260433450 +7b925436e016b925b25b03ae9c79425aeeed92dff6828a1f144a0dbf57f0aa5ea9d0f0dbd542dbf7abe59e5f2e753b953bd058441895fdf4a8a60fafa5e8223b +b051e31b8736d1f2cddba9118b8a4c9dc5141571756853ae188736e9598d33944732ae4340746ed72afd66b5d9a9159ad576bfe0753b8d4233a8750add5a50ef +f6bb81df68f6efb8ce9e027bed6ae0d57a8d42ad1c0405af5692f41bcd42ddab54da5ebddde879ed3bd93606569eca47160b08afe275e65f000000ffff030050 +4b0304140006000800000021000dd1909fb60000001b010000270000007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e +72656c73848f4d0ac2301484f78277086f6fd3ba109126dd88d0add40384e4350d363f2451eced0dae2c082e8761be9969bb979dc9136332de3168aa1a083ae9 +95719ac16db8ec8e4052164e89d93b64b060828e6f37ed1567914b284d262452282e3198720e274a939cd08a54f980ae38a38f56e422a3a641c8bbd048f7757d +a0f19b017cc524bd62107bd5001996509affb3fd381a89672f1f165dfe514173d9850528a2c6cce0239baa4c04ca5bbabac4df000000ffff0300504b01022d00 +14000600080000002100e9de0fbfff0000001c0200001300000000000000000000000000000000005b436f6e74656e745f54797065735d2e786d6c504b01022d +0014000600080000002100a5d6a7e7c0000000360100000b00000000000000000000000000300100005f72656c732f2e72656c73504b01022d00140006000800 +000021006b799616830000008a0000001c00000000000000000000000000190200007468656d652f7468656d652f7468656d654d616e616765722e786d6c504b +01022d001400060008000000210054b663bbf5060000c21a00001600000000000000000000000000d60200007468656d652f7468656d652f7468656d65312e78 +6d6c504b01022d00140006000800000021000dd1909fb60000001b0100002700000000000000000000000000ff0900007468656d652f7468656d652f5f72656c732f7468656d654d616e616765722e786d6c2e72656c73504b050600000000050005005d010000fa0a00000000} +{\*\colorschememapping 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d22796573223f3e0d0a3c613a636c724d +617020786d6c6e733a613d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f64726177696e676d6c2f323030362f6d6169 +6e22206267313d226c743122207478313d22646b3122206267323d226c743222207478323d22646b322220616363656e74313d22616363656e74312220616363 +656e74323d22616363656e74322220616363656e74333d22616363656e74332220616363656e74343d22616363656e74342220616363656e74353d22616363656e74352220616363656e74363d22616363656e74362220686c696e6b3d22686c696e6b2220666f6c486c696e6b3d22666f6c486c696e6b222f3e} +{\*\latentstyles\lsdstimax371\lsdlockeddef0\lsdsemihiddendef0\lsdunhideuseddef0\lsdqformatdef0\lsdprioritydef99{\lsdlockedexcept \lsdqformat1 \lsdpriority0 \lsdlocked0 Normal;\lsdqformat1 \lsdpriority9 \lsdlocked0 heading 1; +\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 2;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 3;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 4; +\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 5;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 6;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 7; +\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 8;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority9 \lsdlocked0 heading 9;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 1; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 5; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 6;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index 9; +\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 1;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 2;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 3; +\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 4;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 5;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 6; +\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 7;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 8;\lsdsemihidden1 \lsdunhideused1 \lsdpriority39 \lsdlocked0 toc 9;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal Indent; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footnote text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 header;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footer; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 index heading;\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority35 \lsdlocked0 caption;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 table of figures; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 envelope address;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 envelope return;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 footnote reference;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation reference; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 line number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 page number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 endnote reference;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 endnote text; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 table of authorities;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 macro;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 toa heading;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Bullet 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Number 5;\lsdqformat1 \lsdpriority10 \lsdlocked0 Title;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Closing; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Signature;\lsdsemihidden1 \lsdunhideused1 \lsdpriority1 \lsdlocked0 Default Paragraph Font;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 4; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 List Continue 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Message Header;\lsdqformat1 \lsdpriority11 \lsdlocked0 Subtitle;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Salutation; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Date;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text First Indent 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Note Heading; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Body Text Indent 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Block Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Hyperlink;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 FollowedHyperlink;\lsdqformat1 \lsdpriority22 \lsdlocked0 Strong; +\lsdqformat1 \lsdpriority20 \lsdlocked0 Emphasis;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Document Map;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Plain Text;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 E-mail Signature; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Top of Form;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Bottom of Form;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal (Web);\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Acronym; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Address;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Cite;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Code;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Definition; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Keyboard;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Preformatted;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Sample;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Typewriter; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 HTML Variable;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Normal Table;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 annotation subject;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 No List; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Outline List 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Simple 1; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Simple 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Simple 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 2; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Classic 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Colorful 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Colorful 2; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Colorful 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 3; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Columns 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 2; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 6; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Grid 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 2; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 4;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 5;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 6; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 7;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table List 8;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table 3D effects 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table 3D effects 2; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table 3D effects 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Contemporary;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Elegant;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Professional; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Subtle 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Subtle 2;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Web 1;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Web 2; +\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Web 3;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Balloon Text;\lsdpriority39 \lsdlocked0 Table Grid;\lsdsemihidden1 \lsdunhideused1 \lsdlocked0 Table Theme;\lsdsemihidden1 \lsdlocked0 Placeholder Text; +\lsdqformat1 \lsdpriority1 \lsdlocked0 No Spacing;\lsdpriority60 \lsdlocked0 Light Shading;\lsdpriority61 \lsdlocked0 Light List;\lsdpriority62 \lsdlocked0 Light Grid;\lsdpriority63 \lsdlocked0 Medium Shading 1;\lsdpriority64 \lsdlocked0 Medium Shading 2; +\lsdpriority65 \lsdlocked0 Medium List 1;\lsdpriority66 \lsdlocked0 Medium List 2;\lsdpriority67 \lsdlocked0 Medium Grid 1;\lsdpriority68 \lsdlocked0 Medium Grid 2;\lsdpriority69 \lsdlocked0 Medium Grid 3;\lsdpriority70 \lsdlocked0 Dark List; +\lsdpriority71 \lsdlocked0 Colorful Shading;\lsdpriority72 \lsdlocked0 Colorful List;\lsdpriority73 \lsdlocked0 Colorful Grid;\lsdpriority60 \lsdlocked0 Light Shading Accent 1;\lsdpriority61 \lsdlocked0 Light List Accent 1; +\lsdpriority62 \lsdlocked0 Light Grid Accent 1;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 1;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 1;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 1;\lsdsemihidden1 \lsdlocked0 Revision; +\lsdqformat1 \lsdpriority34 \lsdlocked0 List Paragraph;\lsdqformat1 \lsdpriority29 \lsdlocked0 Quote;\lsdqformat1 \lsdpriority30 \lsdlocked0 Intense Quote;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 1;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 1; +\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 1;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 1;\lsdpriority70 \lsdlocked0 Dark List Accent 1;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 1;\lsdpriority72 \lsdlocked0 Colorful List Accent 1; +\lsdpriority73 \lsdlocked0 Colorful Grid Accent 1;\lsdpriority60 \lsdlocked0 Light Shading Accent 2;\lsdpriority61 \lsdlocked0 Light List Accent 2;\lsdpriority62 \lsdlocked0 Light Grid Accent 2;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 2; +\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 2;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 2;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 2;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 2;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 2; +\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 2;\lsdpriority70 \lsdlocked0 Dark List Accent 2;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 2;\lsdpriority72 \lsdlocked0 Colorful List Accent 2;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 2; +\lsdpriority60 \lsdlocked0 Light Shading Accent 3;\lsdpriority61 \lsdlocked0 Light List Accent 3;\lsdpriority62 \lsdlocked0 Light Grid Accent 3;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 3;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 3; +\lsdpriority65 \lsdlocked0 Medium List 1 Accent 3;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 3;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 3;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 3;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 3; +\lsdpriority70 \lsdlocked0 Dark List Accent 3;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 3;\lsdpriority72 \lsdlocked0 Colorful List Accent 3;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 3;\lsdpriority60 \lsdlocked0 Light Shading Accent 4; +\lsdpriority61 \lsdlocked0 Light List Accent 4;\lsdpriority62 \lsdlocked0 Light Grid Accent 4;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 4;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 4;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 4; +\lsdpriority66 \lsdlocked0 Medium List 2 Accent 4;\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 4;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 4;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 4;\lsdpriority70 \lsdlocked0 Dark List Accent 4; +\lsdpriority71 \lsdlocked0 Colorful Shading Accent 4;\lsdpriority72 \lsdlocked0 Colorful List Accent 4;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 4;\lsdpriority60 \lsdlocked0 Light Shading Accent 5;\lsdpriority61 \lsdlocked0 Light List Accent 5; +\lsdpriority62 \lsdlocked0 Light Grid Accent 5;\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 5;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 5;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 5;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 5; +\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 5;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 5;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 5;\lsdpriority70 \lsdlocked0 Dark List Accent 5;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 5; +\lsdpriority72 \lsdlocked0 Colorful List Accent 5;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 5;\lsdpriority60 \lsdlocked0 Light Shading Accent 6;\lsdpriority61 \lsdlocked0 Light List Accent 6;\lsdpriority62 \lsdlocked0 Light Grid Accent 6; +\lsdpriority63 \lsdlocked0 Medium Shading 1 Accent 6;\lsdpriority64 \lsdlocked0 Medium Shading 2 Accent 6;\lsdpriority65 \lsdlocked0 Medium List 1 Accent 6;\lsdpriority66 \lsdlocked0 Medium List 2 Accent 6; +\lsdpriority67 \lsdlocked0 Medium Grid 1 Accent 6;\lsdpriority68 \lsdlocked0 Medium Grid 2 Accent 6;\lsdpriority69 \lsdlocked0 Medium Grid 3 Accent 6;\lsdpriority70 \lsdlocked0 Dark List Accent 6;\lsdpriority71 \lsdlocked0 Colorful Shading Accent 6; +\lsdpriority72 \lsdlocked0 Colorful List Accent 6;\lsdpriority73 \lsdlocked0 Colorful Grid Accent 6;\lsdqformat1 \lsdpriority19 \lsdlocked0 Subtle Emphasis;\lsdqformat1 \lsdpriority21 \lsdlocked0 Intense Emphasis; +\lsdqformat1 \lsdpriority31 \lsdlocked0 Subtle Reference;\lsdqformat1 \lsdpriority32 \lsdlocked0 Intense Reference;\lsdqformat1 \lsdpriority33 \lsdlocked0 Book Title;\lsdsemihidden1 \lsdunhideused1 \lsdpriority37 \lsdlocked0 Bibliography; +\lsdsemihidden1 \lsdunhideused1 \lsdqformat1 \lsdpriority39 \lsdlocked0 TOC Heading;\lsdpriority41 \lsdlocked0 Plain Table 1;\lsdpriority42 \lsdlocked0 Plain Table 2;\lsdpriority43 \lsdlocked0 Plain Table 3;\lsdpriority44 \lsdlocked0 Plain Table 4; +\lsdpriority45 \lsdlocked0 Plain Table 5;\lsdpriority40 \lsdlocked0 Grid Table Light;\lsdpriority46 \lsdlocked0 Grid Table 1 Light;\lsdpriority47 \lsdlocked0 Grid Table 2;\lsdpriority48 \lsdlocked0 Grid Table 3;\lsdpriority49 \lsdlocked0 Grid Table 4; +\lsdpriority50 \lsdlocked0 Grid Table 5 Dark;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 1; +\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 1;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 1;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 1; +\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 1;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 2;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 2; +\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 2;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 2; +\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 3;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 3;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 3;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 3; +\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 3;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 4; +\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 4;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 4;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 4;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 4; +\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 4;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 5; +\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 5;\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 5;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 5; +\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 5;\lsdpriority46 \lsdlocked0 Grid Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 Grid Table 2 Accent 6;\lsdpriority48 \lsdlocked0 Grid Table 3 Accent 6; +\lsdpriority49 \lsdlocked0 Grid Table 4 Accent 6;\lsdpriority50 \lsdlocked0 Grid Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 Grid Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 Grid Table 7 Colorful Accent 6; +\lsdpriority46 \lsdlocked0 List Table 1 Light;\lsdpriority47 \lsdlocked0 List Table 2;\lsdpriority48 \lsdlocked0 List Table 3;\lsdpriority49 \lsdlocked0 List Table 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark; +\lsdpriority51 \lsdlocked0 List Table 6 Colorful;\lsdpriority52 \lsdlocked0 List Table 7 Colorful;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 1;\lsdpriority47 \lsdlocked0 List Table 2 Accent 1;\lsdpriority48 \lsdlocked0 List Table 3 Accent 1; +\lsdpriority49 \lsdlocked0 List Table 4 Accent 1;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 1;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 1;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 1; +\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 2;\lsdpriority47 \lsdlocked0 List Table 2 Accent 2;\lsdpriority48 \lsdlocked0 List Table 3 Accent 2;\lsdpriority49 \lsdlocked0 List Table 4 Accent 2; +\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 2;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 2;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 2;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 3; +\lsdpriority47 \lsdlocked0 List Table 2 Accent 3;\lsdpriority48 \lsdlocked0 List Table 3 Accent 3;\lsdpriority49 \lsdlocked0 List Table 4 Accent 3;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 3; +\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 3;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 3;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 4;\lsdpriority47 \lsdlocked0 List Table 2 Accent 4; +\lsdpriority48 \lsdlocked0 List Table 3 Accent 4;\lsdpriority49 \lsdlocked0 List Table 4 Accent 4;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 4;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 4; +\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 4;\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 5;\lsdpriority47 \lsdlocked0 List Table 2 Accent 5;\lsdpriority48 \lsdlocked0 List Table 3 Accent 5; +\lsdpriority49 \lsdlocked0 List Table 4 Accent 5;\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 5;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 5;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 5; +\lsdpriority46 \lsdlocked0 List Table 1 Light Accent 6;\lsdpriority47 \lsdlocked0 List Table 2 Accent 6;\lsdpriority48 \lsdlocked0 List Table 3 Accent 6;\lsdpriority49 \lsdlocked0 List Table 4 Accent 6; +\lsdpriority50 \lsdlocked0 List Table 5 Dark Accent 6;\lsdpriority51 \lsdlocked0 List Table 6 Colorful Accent 6;\lsdpriority52 \lsdlocked0 List Table 7 Colorful Accent 6;}}{\*\datastore 010500000200000018000000 +4d73786d6c322e534158584d4c5265616465722e362e30000000000000000000000e0000 +d0cf11e0a1b11ae1000000000000000000000000000000003e000300feff0900060000000000000000000000010000000100000000000000001000000200000001000000feffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +fffffffffffffffffdffffff04000000feffffff05000000fefffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffff52006f006f007400200045006e00740072007900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000500ffffffffffffffff010000000c6ad98892f1d411a65f0040963251e50000000000000000000000006073 +1aa2cad9d3010300000080020000000000004d0073006f004400610074006100530074006f0072006500000000000000000000000000000000000000000000000000000000000000000000000000000000001a000101ffffffffffffffff02000000000000000000000000000000000000000000000060731aa2cad9d301 +60731aa2cad9d301000000000000000000000000ca003500d9005100cc004600cd00cc00c300d4003400de00d4005300c800dd00d500de005a005300d30051003d003d000000000000000000000000000000000032000101ffffffffffffffff03000000000000000000000000000000000000000000000060731aa2cad9 +d30160731aa2cad9d3010000000000000000000000004900740065006d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000201ffffffff04000000ffffffff000000000000000000000000000000000000000000000000 +00000000000000000000000000000000f100000000000000010000000200000003000000feffffff0500000006000000070000000800000009000000feffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff +ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3c623a536f757263657320786d6c6e733a623d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f6f6666696365446f63756d656e742f323030362f6269626c696f6772617068792220786d6c6e733d +22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f6f6666696365446f63756d656e742f323030362f6269626c696f677261706879222053656c65637465645374796c653d225c415041536978746845646974696f6e4f66666963654f6e6c696e652e78736c22205374796c654e616d +653d22415041222056657273696f6e3d2236222f3e0000000000000000000000000000003c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d3822207374616e64616c6f6e653d226e6f223f3e0d0a3c64733a6461746173746f72654974656d2064733a6974656d49443d227b42303530 +464541392d364335422d343738462d424544312d3241334444374536353243447d2220786d6c6e733a64733d22687474703a2f2f736368656d61732e6f70656e786d6c666f726d6174732e6f72672f6f6666696365446f63756d656e742f323030362f637573746f6d586d6c223e3c64733a736368656d61526566733e3c +64733a736368656d615265662064733a7572693d22687474703a2f2f736368656d61732e6f70656e500072006f007000650072007400690065007300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016000200ffffffffffffffffffffffff000000000000 +0000000000000000000000000000000000000000000000000000000000000400000055010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff00000000 +00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff0000 +000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffff +000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000786d6c666f726d6174732e6f72672f6f6666696365446f63756d656e742f323030362f6269626c696f677261706879222f3e3c2f64733a736368656d61526566733e3c2f64733a6461746173746f +72654974656d3e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000105000000000000}} diff --git a/html5/verto/demo/js/verto-min.js b/html5/verto/demo/js/verto-min.js index 2f60ba200c..2ac8e89e7e 100644 --- a/html5/verto/demo/js/verto-min.js +++ b/html5/verto/demo/js/verto-min.js @@ -1,561 +1,9508 @@ +/* + * Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * Copyright (C) 2005-2014, Anthony Minessale II + * + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * + * The Initial Developer of the Original Code is + * Anthony Minessale II + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Anthony Minessale II + * + * jquery.FSRTC.js - WebRTC Glue code + * + */ -(function($){function findLine(sdpLines,prefix,substr){return findLineInRange(sdpLines,0,-1,prefix,substr);} -function findLineInRange(sdpLines,startLine,endLine,prefix,substr){var realEndLine=(endLine!=-1)?endLine:sdpLines.length;for(var i=startLine;i{self.options.useVideo.removeAttribute("controls");});} -var element=self.options.useAudio;console.log("REMOTE STREAM",stream,element);FSRTCattachMediaStream(element,stream);self.remoteStream=stream;} -function onOfferSDP(self,sdp){self.mediaData.SDP=self.stereoHack(sdp.sdp);console.log("Offer SDP");doCallback(self,"onOfferSDP");} -$.FSRTC.prototype.answer=function(sdp,onSuccess,onError){this.peer.addAnswerSDP({type:"answer",sdp:sdp},onSuccess,onError);};$.FSRTC.prototype.stopPeer=function(){if(self.peer){console.log("stopping peer");self.peer.stop();}} -$.FSRTC.prototype.stop=function(){var self=this;if(self.options.useVideo){self.options.useVideo.style.display='none';self.options.useVideo['src']='';} -if(self.localStream){if(typeof self.localStream.stop=='function'){self.localStream.stop();}else{if(self.localStream.active){var tracks=self.localStream.getTracks();console.log(tracks);tracks.forEach(function(track,index){console.log(track);track.stop();})}} -self.localStream=null;} -if(self.options.localVideo){self.options.localVideo.style.display='none';self.options.localVideo['src']='';} -if(self.options.localVideoStream){if(typeof self.options.localVideoStream.stop=='function'){self.options.localVideoStream.stop();}else{if(self.options.localVideoStream.active){var tracks=self.options.localVideoStream.getTracks();console.log(tracks);tracks.forEach(function(track,index){console.log(track);track.stop();})}}} -if(self.peer){console.log("stopping peer");self.peer.stop();}};$.FSRTC.prototype.getMute=function(){var self=this;return self.audioEnabled;} -$.FSRTC.prototype.setMute=function(what){var self=this;var audioTracks=self.localStream.getAudioTracks();for(var i=0,len=audioTracks.length;i-1){default_ice={urls:['turn:turn-testdrive.cloudapp.net:3478?transport=udp'],username:"redmond",credential:"redmond123"};}else{default_ice={urls:['stun:stun.l.google.com:19302']}} -if(options.iceServers){if(typeof(options.iceServers)==="boolean"){config.iceServers=[default_ice];}else{config.iceServers=options.iceServers;}} -var peer=new window.RTCPeerConnection(config);openOffererChannel();var x=0;function ice_handler(){done=true;gathering=null;if(options.onICEComplete){options.onICEComplete();} -if(options.type=="offer"){options.onICESDP(peer.localDescription);}else{if(!x&&options.onICESDP){options.onICESDP(peer.localDescription);}}} -peer.onicecandidate=function(event){if(done){return;} -if(!gathering){gathering=setTimeout(ice_handler,1000);} -if(event){if(event.candidate){options.onICE(event.candidate);}}else{done=true;if(gathering){clearTimeout(gathering);gathering=null;} -ice_handler();}};if(options.attachStream)peer.addStream(options.attachStream);if(options.attachStreams&&options.attachStream.length){var streams=options.attachStreams;for(var i=0;i=w&&$.FSRTC.validRes[i][1]>=h){w=$.FSRTC.validRes[i][0];h=$.FSRTC.validRes[i][1];}} -return[w,h];} -var resList=[[160,120],[320,180],[320,240],[640,360],[640,480],[1280,720],[1920,1080]];var resI=0;var ttl=0;var checkRes=function(cam,func){if(resI>=resList.length){var res={'validRes':$.FSRTC.validRes,'bestResSupported':$.FSRTC.bestResSupported()};localStorage.setItem("res_"+cam,$.toJSON(res));if(func)return func(res);return;} -var video={} -if(cam){video.deviceId={exact:cam};} -w=resList[resI][0];h=resList[resI][1];resI++;video={width:{exact:w},height:{exact:h}};getUserMedia({constraints:{audio:ttl++==0,video:video},onsuccess:function(e){e.getTracks().forEach(function(track){track.stop();});console.info(w+"x"+h+" supported.");$.FSRTC.validRes.push([w,h]);checkRes(cam,func);},onerror:function(e){console.warn(w+"x"+h+" not supported.");checkRes(cam,func);}});} -$.FSRTC.getValidRes=function(cam,func){var used=[];var cached=localStorage.getItem("res_"+cam);if(cached){var cache=$.parseJSON(cached);if(cache){$.FSRTC.validRes=cache.validRes;console.log("CACHED RES FOR CAM "+cam,cache);}else{console.error("INVALID CACHE");} -return func?func(cache):null;} -$.FSRTC.validRes=[];resI=0;checkRes(cam,func);} -$.FSRTC.checkPerms=function(runtime,check_audio,check_video){getUserMedia({constraints:{audio:check_audio,video:check_video,},onsuccess:function(e){e.getTracks().forEach(function(track){track.stop();});console.info("media perm init complete");if(runtime){setTimeout(runtime,100,true);}},onerror:function(e){if(check_video&&check_audio){console.error("error, retesting with audio params only");return $.FSRTC.checkPerms(runtime,check_audio,false);} -console.error("media perm init error");if(runtime){runtime(false)}}});}})(jQuery);(function($){$.JsonRpcClient=function(options){var self=this;this.options=$.extend({ajaxUrl:null,socketUrl:null,onmessage:null,login:null,passwd:null,sessid:null,loginParams:null,userVariables:null,getSocket:function(onmessage_cb){return self._getSocket(onmessage_cb);}},options);self.ws_cnt=0;this.wsOnMessage=function(event){self._wsOnMessage(event);};};$.JsonRpcClient.prototype._ws_socket=null;$.JsonRpcClient.prototype._ws_callbacks={};$.JsonRpcClient.prototype._current_id=1;$.JsonRpcClient.prototype.speedTest=function(bytes,cb){var socket=this.options.getSocket(this.wsOnMessage);if(socket!==null){this.speedCB=cb;this.speedBytes=bytes;socket.send("#SPU "+bytes);var loops=bytes/1024;var rem=bytes%1024;var i;var data=new Array(1024).join(".");for(i=0;i1){return false;} -return true;};$.JsonRpcClient.prototype.closeSocket=function(){var self=this;if(self.socketReady()){self._ws_socket.onclose=function(w){console.log("Closing Socket");};self._ws_socket.close();}};$.JsonRpcClient.prototype.loginData=function(params){var self=this;self.options.login=params.login;self.options.passwd=params.passwd;self.options.loginParams=params.loginParams;self.options.userVariables=params.userVariables;};$.JsonRpcClient.prototype.connectSocket=function(onmessage_cb){var self=this;if(self.to){clearTimeout(self.to);} -if(!self.socketReady()){self.authing=false;if(self._ws_socket){delete self._ws_socket;} -self._ws_socket=new WebSocket(self.options.socketUrl);if(self._ws_socket){self._ws_socket.onmessage=onmessage_cb;self._ws_socket.onclose=function(w){if(!self.ws_sleep){self.ws_sleep=1000;} -if(self.options.onWSClose){self.options.onWSClose(self);} -console.error("Websocket Lost "+self.ws_cnt+" sleep: "+self.ws_sleep+"msec");self.to=setTimeout(function(){console.log("Attempting Reconnection....");self.connectSocket(onmessage_cb);},self.ws_sleep);self.ws_cnt++;if(self.ws_sleep<3000&&(self.ws_cnt%10)===0){self.ws_sleep+=1000;}};self._ws_socket.onopen=function(){if(self.to){clearTimeout(self.to);} -self.ws_sleep=1000;self.ws_cnt=0;if(self.options.onWSConnect){self.options.onWSConnect(self);} -var req;while((req=$.JsonRpcClient.q.pop())){self._ws_socket.send(req);}};}} -return self._ws_socket?true:false;};$.JsonRpcClient.prototype.stopRetrying=function(){if(self.to) -clearTimeout(self.to);} -$.JsonRpcClient.prototype._getSocket=function(onmessage_cb){if(this.options.socketUrl===null||!("WebSocket"in window))return null;this.connectSocket(onmessage_cb);return this._ws_socket;};$.JsonRpcClient.q=[];$.JsonRpcClient.prototype._wsCall=function(socket,request,success_cb,error_cb){var request_json=$.toJSON(request);if(socket.readyState<1){self=this;$.JsonRpcClient.q.push(request_json);}else{socket.send(request_json);} -if('id'in request&&typeof success_cb!=='undefined'){this._ws_callbacks[request.id]={request:request_json,request_obj:request,success_cb:success_cb,error_cb:error_cb};}};$.JsonRpcClient.prototype._wsOnMessage=function(event){var response;if(event.data[0]=="#"&&event.data[1]=="S"&&event.data[2]=="P"){if(event.data[3]=="U"){this.up_dur=parseInt(event.data.substring(4));}else if(this.speedCB&&event.data[3]=="D"){this.down_dur=parseInt(event.data.substring(4));var up_kps=(((this.speedBytes*8)/(this.up_dur/1000))/1024).toFixed(0);var down_kps=(((this.speedBytes*8)/(this.down_dur/1000))/1024).toFixed(0);console.info("Speed Test: Up: "+up_kps+" Down: "+down_kps);this.speedCB(event,{upDur:this.up_dur,downDur:this.down_dur,upKPS:up_kps,downKPS:down_kps});this.speedCB=null;} -return;} -try{response=$.parseJSON(event.data);if(typeof response==='object'&&'jsonrpc'in response&&response.jsonrpc==='2.0'){if('result'in response&&this._ws_callbacks[response.id]){var success_cb=this._ws_callbacks[response.id].success_cb;delete this._ws_callbacks[response.id];success_cb(response.result,this);return;}else if('error'in response&&this._ws_callbacks[response.id]){var error_cb=this._ws_callbacks[response.id].error_cb;var orig_req=this._ws_callbacks[response.id].request;if(!self.authing&&response.error.code==-32000&&self.options.login&&self.options.passwd){self.authing=true;this.call("login",{login:self.options.login,passwd:self.options.passwd,loginParams:self.options.loginParams,userVariables:self.options.userVariables},this._ws_callbacks[response.id].request_obj.method=="login"?function(e){self.authing=false;console.log("logged in");delete self._ws_callbacks[response.id];if(self.options.onWSLogin){self.options.onWSLogin(true,self);}}:function(e){self.authing=false;console.log("logged in, resending request id: "+response.id);var socket=self.options.getSocket(self.wsOnMessage);if(socket!==null){socket.send(orig_req);} -if(self.options.onWSLogin){self.options.onWSLogin(true,self);}},function(e){console.log("error logging in, request id:",response.id);delete self._ws_callbacks[response.id];error_cb(response.error,this);if(self.options.onWSLogin){self.options.onWSLogin(false,self);}});return;} -delete this._ws_callbacks[response.id];error_cb(response.error,this);return;}}}catch(err){console.log("ERROR: "+err);return;} -if(typeof this.options.onmessage==='function'){event.eventData=response;if(!event.eventData){event.eventData={};} -var reply=this.options.onmessage(event);if(reply&&typeof reply==="object"&&event.eventData.id){var msg={jsonrpc:"2.0",id:event.eventData.id,result:reply};var socket=self.options.getSocket(self.wsOnMessage);if(socket!==null){socket.send($.toJSON(msg));}}}};$.JsonRpcClient._batchObject=function(jsonrpcclient,all_done_cb,error_cb){this._requests=[];this.jsonrpcclient=jsonrpcclient;this.all_done_cb=all_done_cb;this.error_cb=typeof error_cb==='function'?error_cb:function(){};};$.JsonRpcClient._batchObject.prototype.call=function(method,params,success_cb,error_cb){if(!params){params={};} -if(this.options.sessid){params.sessid=this.options.sessid;} -if(!success_cb){success_cb=function(e){console.log("Success: ",e);};} -if(!error_cb){error_cb=function(e){console.log("Error: ",e);};} -this._requests.push({request:{jsonrpc:'2.0',method:method,params:params,id:this.jsonrpcclient._current_id++},success_cb:success_cb,error_cb:error_cb});};$.JsonRpcClient._batchObject.prototype.notify=function(method,params){if(this.options.sessid){params.sessid=this.options.sessid;} -this._requests.push({request:{jsonrpc:'2.0',method:method,params:params}});};$.JsonRpcClient._batchObject.prototype._execute=function(){var self=this;if(this._requests.length===0)return;var batch_request=[];var handlers={};var i=0;var call;var success_cb;var error_cb;var socket=self.jsonrpcclient.options.getSocket(self.jsonrpcclient.wsOnMessage);if(socket!==null){for(i=0;i0){data.params.useVideo=true;} -if(data.params.sdp&&data.params.sdp.indexOf("stereo=1")>0){data.params.useStereo=true;} -dialog=new $.verto.dialog($.verto.enum.direction.inbound,verto,data.params);dialog.setState($.verto.enum.state.recovering);break;case'verto.invite':if(data.params.sdp&&data.params.sdp.indexOf("m=video")>0){data.params.wantVideo=true;} -if(data.params.sdp&&data.params.sdp.indexOf("stereo=1")>0){data.params.useStereo=true;} -dialog=new $.verto.dialog($.verto.enum.direction.inbound,verto,data.params);break;default:console.debug("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED");break;}} -return{method:data.method};}else{switch(data.method){case'verto.punt':verto.purge();verto.logout();break;case'verto.event':var list=null;var key=null;if(data.params){key=data.params.eventChannel;} -if(key){list=verto.eventSUBS[key];if(!list){list=verto.eventSUBS[key.split(".")[0]];}} -if(!list&&key&&key===verto.sessid){if(verto.callbacks.onMessage){verto.callbacks.onMessage(verto,null,$.verto.enum.message.pvtEvent,data.params);}}else if(!list&&key&&verto.dialogs[key]){verto.dialogs[key].sendMessage($.verto.enum.message.pvtEvent,data.params);}else if(!list){if(!key){key="UNDEFINED";} -console.error("UNSUBBED or invalid EVENT "+key+" IGNORED");}else{for(var i in list){var sub=list[i];if(!sub||!sub.ready){console.error("invalid EVENT for "+key+" IGNORED");}else if(sub.handler){sub.handler(verto,data.params,sub.userData);}else if(verto.callbacks.onEvent){verto.callbacks.onEvent(verto,data.params,sub.userData);}else{console.log("EVENT:",data.params);}}} -break;case"verto.info":if(verto.callbacks.onMessage){verto.callbacks.onMessage(verto,null,$.verto.enum.message.info,data.params.msg);} -console.debug("MESSAGE from: "+data.params.msg.from,data.params.msg.body);break;case'verto.clientReady':verto.callbacks.onMessage(verto,null,$.verto.enum.message.clientReady,data.params);console.debug("CLIENT READY",data.params);break;default:console.error("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED",data.method);break;}}};var del_array=function(array,name){var r=[];var len=array.length;for(var i=0;i=array.length){array.push(name);}else{var x=0;var n=[];var len=array.length;for(var i=0;i":"\n");});return str;};};$.verto.liveArray=function(verto,context,name,config){var la=this;var lastSerno=0;var binding=null;var user_obj=config.userObj;var local=false;hashArray.call(la);la._add=la.add;la._del=la.del;la._reorder=la.reorder;la._clear=la.clear;la.context=context;la.name=name;la.user_obj=user_obj;la.verto=verto;la.broadcast=function(channel,obj){verto.broadcast(channel,obj);};la.errs=0;la.clear=function(){la._clear();lastSerno=0;if(la.onChange){la.onChange(la,{action:"clear"});}};la.checkSerno=function(serno){if(serno<0){return true;} -if(lastSerno>0&&serno!=(lastSerno+1)){if(la.onErr){la.onErr(la,{lastSerno:lastSerno,serno:serno});} -la.errs++;console.debug(la.errs);if(la.errs<3){la.bootstrap(la.user_obj);} -return false;}else{lastSerno=serno;return true;}};la.reorder=function(serno,a){if(la.checkSerno(serno)){la._reorder(a);if(la.onChange){la.onChange(la,{serno:serno,action:"reorder"});}}};la.init=function(serno,val,key,index){if(key===null||key===undefined){key=serno;} -if(la.checkSerno(serno)){if(la.onChange){la.onChange(la,{serno:serno,action:"init",index:index,key:key,data:val});}}};la.bootObj=function(serno,val){if(la.checkSerno(serno)){for(var i in val){la._add(val[i][0],val[i][1]);} -if(la.onChange){la.onChange(la,{serno:serno,action:"bootObj",data:val,redraw:true});}}};la.add=function(serno,val,key,index){if(key===null||key===undefined){key=serno;} -if(la.checkSerno(serno)){var redraw=la._add(key,val,index);if(la.onChange){la.onChange(la,{serno:serno,action:"add",index:index,key:key,data:val,redraw:redraw});}}};la.modify=function(serno,val,key,index){if(key===null||key===undefined){key=serno;} -if(la.checkSerno(serno)){la._add(key,val,index);if(la.onChange){la.onChange(la,{serno:serno,action:"modify",key:key,data:val,index:index});}}};la.del=function(serno,key,index){if(key===null||key===undefined){key=serno;} -if(la.checkSerno(serno)){if(index===null||index<0||index===undefined){index=la.indexOf(key);} -var ok=la._del(key);if(ok&&la.onChange){la.onChange(la,{serno:serno,action:"del",key:key,index:index});}}};var eventHandler=function(v,e,la){var packet=e.data;if(packet.name!=la.name){return;} -switch(packet.action){case"init":la.init(packet.wireSerno,packet.data,packet.hashKey,packet.arrIndex);break;case"bootObj":la.bootObj(packet.wireSerno,packet.data);break;case"add":la.add(packet.wireSerno,packet.data,packet.hashKey,packet.arrIndex);break;case"modify":if(!(packet.arrIndex||packet.hashKey)){console.error("Invalid Packet",packet);}else{la.modify(packet.wireSerno,packet.data,packet.hashKey,packet.arrIndex);} -break;case"del":if(!(packet.arrIndex||packet.hashKey)){console.error("Invalid Packet",packet);}else{la.del(packet.wireSerno,packet.hashKey,packet.arrIndex);} -break;case"clear":la.clear();break;case"reorder":la.reorder(packet.wireSerno,packet.order);break;default:if(la.checkSerno(packet.wireSerno)){if(la.onChange){la.onChange(la,{serno:packet.wireSerno,action:packet.action,data:packet.data});}} -break;}};if(la.context){binding=la.verto.subscribe(la.context,{handler:eventHandler,userData:la,subParams:config.subParams});} -la.destroy=function(){la._clear();la.verto.unsubscribe(binding);};la.sendCommand=function(cmd,obj){var self=la;self.broadcast(self.context,{liveArray:{command:cmd,context:self.context,name:self.name,obj:obj}});};la.bootstrap=function(obj){var self=la;la.sendCommand("bootstrap",obj);};la.changepage=function(obj){var self=la;self.clear();self.broadcast(self.context,{liveArray:{command:"changepage",context:la.context,name:la.name,obj:obj}});};la.heartbeat=function(obj){var self=la;var callback=function(){self.heartbeat.call(self,obj);};self.broadcast(self.context,{liveArray:{command:"heartbeat",context:self.context,name:self.name,obj:obj}});self.hb_pid=setTimeout(callback,30000);};la.bootstrap(la.user_obj);};$.verto.liveTable=function(verto,context,name,jq,config){var dt;var la=new $.verto.liveArray(verto,context,name,{subParams:config.subParams});var lt=this;lt.liveArray=la;lt.dataTable=dt;lt.verto=verto;lt.destroy=function(){if(dt){dt.fnDestroy();} -if(la){la.destroy();} -dt=null;la=null;};la.onErr=function(obj,args){console.error("Error: ",obj,args);};function genRow(data){if(typeof(data[4])==="string"&&data[4].indexOf("{")>-1){var tmp=$.parseJSON(data[4]);data[4]=tmp.oldStatus;data[5]=null;} -return data;} -function genArray(obj){var data=obj.asArray();for(var i in data){data[i]=genRow(data[i]);} -return data;} -la.onChange=function(obj,args){var index=0;var iserr=0;if(!dt){if(!config.aoColumns){if(args.action!="init"){return;} -config.aoColumns=[];for(var i in args.data){config.aoColumns.push({"sTitle":args.data[i]});}} -dt=jq.dataTable(config);} -if(dt&&(args.action=="del"||args.action=="modify")){index=args.index;if(index===undefined&&args.key){index=la.indexOf(args.key);} -if(index===undefined){console.error("INVALID PACKET Missing INDEX\n",args);return;}} -if(config.onChange){config.onChange(obj,args);} -try{switch(args.action){case"bootObj":if(!args.data){console.error("missing data");return;} -dt.fnClearTable();dt.fnAddData(genArray(obj));dt.fnAdjustColumnSizing();break;case"add":if(!args.data){console.error("missing data");return;} -if(args.redraw>-1){dt.fnClearTable();dt.fnAddData(genArray(obj));}else{dt.fnAddData(genRow(args.data));} -dt.fnAdjustColumnSizing();break;case"modify":if(!args.data){return;} -dt.fnUpdate(genRow(args.data),index);dt.fnAdjustColumnSizing();break;case"del":dt.fnDeleteRow(index);dt.fnAdjustColumnSizing();break;case"clear":dt.fnClearTable();break;case"reorder":dt.fnClearTable();dt.fnAddData(genArray(obj));break;case"hide":jq.hide();break;case"show":jq.show();break;}}catch(err){console.error("ERROR: "+err);iserr++;} -if(iserr){obj.errs++;if(obj.errs<3){obj.bootstrap(obj.user_obj);}}else{obj.errs=0;}};la.onChange(la,{action:"init"});};var CONFMAN_SERNO=1;$.verto.conf=function(verto,params){var conf=this;conf.params=$.extend({dialog:null,hasVid:false,laData:null,onBroadcast:null,onLaChange:null,onLaRow:null},params);conf.verto=verto;conf.serno=CONFMAN_SERNO++;createMainModeratorMethods();verto.subscribe(conf.params.laData.modChannel,{handler:function(v,e){if(conf.params.onBroadcast){conf.params.onBroadcast(verto,conf,e.data);}}});verto.subscribe(conf.params.laData.infoChannel,{handler:function(v,e){if(typeof(conf.params.infoCallback)==="function"){conf.params.infoCallback(v,e);}}});verto.subscribe(conf.params.laData.chatChannel,{handler:function(v,e){if(typeof(conf.params.chatCallback)==="function"){conf.params.chatCallback(v,e);}}});};$.verto.conf.prototype.modCommand=function(cmd,id,value){var conf=this;conf.verto.rpcClient.call("verto.broadcast",{"eventChannel":conf.params.laData.modChannel,"data":{"application":"conf-control","command":cmd,"id":id,"value":value}});};$.verto.conf.prototype.destroy=function(){var conf=this;conf.destroyed=true;conf.params.onBroadcast(conf.verto,conf,'destroy');if(conf.params.laData.modChannel){conf.verto.unsubscribe(conf.params.laData.modChannel);} -if(conf.params.laData.chatChannel){conf.verto.unsubscribe(conf.params.laData.chatChannel);} -if(conf.params.laData.infoChannel){conf.verto.unsubscribe(conf.params.laData.infoChannel);}};function createMainModeratorMethods(){$.verto.conf.prototype.listVideoLayouts=function(){this.modCommand("list-videoLayouts",null,null);};$.verto.conf.prototype.play=function(file){this.modCommand("play",null,file);};$.verto.conf.prototype.stop=function(){this.modCommand("stop",null,"all");};$.verto.conf.prototype.deaf=function(memberID){this.modCommand("deaf",parseInt(memberID));};$.verto.conf.prototype.undeaf=function(memberID){this.modCommand("undeaf",parseInt(memberID));};$.verto.conf.prototype.record=function(file){this.modCommand("recording",null,["start",file]);};$.verto.conf.prototype.stopRecord=function(){this.modCommand("recording",null,["stop","all"]);};$.verto.conf.prototype.snapshot=function(file){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("vid-write-png",null,file);};$.verto.conf.prototype.setVideoLayout=function(layout,canvasID){if(!this.params.hasVid){throw'Conference has no video';} -if(canvasID){this.modCommand("vid-layout",null,[layout,canvasID]);}else{this.modCommand("vid-layout",null,layout);}};$.verto.conf.prototype.kick=function(memberID){this.modCommand("kick",parseInt(memberID));};$.verto.conf.prototype.muteMic=function(memberID){this.modCommand("tmute",parseInt(memberID));};$.verto.conf.prototype.muteVideo=function(memberID){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("tvmute",parseInt(memberID));};$.verto.conf.prototype.presenter=function(memberID){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("vid-res-id",parseInt(memberID),"presenter");};$.verto.conf.prototype.videoFloor=function(memberID){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("vid-floor",parseInt(memberID),"force");};$.verto.conf.prototype.banner=function(memberID,text){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("vid-banner",parseInt(memberID),escape(text));};$.verto.conf.prototype.volumeDown=function(memberID){this.modCommand("volume_out",parseInt(memberID),"down");};$.verto.conf.prototype.volumeUp=function(memberID){this.modCommand("volume_out",parseInt(memberID),"up");};$.verto.conf.prototype.gainDown=function(memberID){this.modCommand("volume_in",parseInt(memberID),"down");};$.verto.conf.prototype.gainUp=function(memberID){this.modCommand("volume_in",parseInt(memberID),"up");};$.verto.conf.prototype.transfer=function(memberID,exten){this.modCommand("transfer",parseInt(memberID),exten);};$.verto.conf.prototype.sendChat=function(message,type){var conf=this;conf.verto.rpcClient.call("verto.broadcast",{"eventChannel":conf.params.laData.chatChannel,"data":{"action":"send","message":message,"type":type}});};} -$.verto.modfuncs={};$.verto.confMan=function(verto,params){var confMan=this;confMan.params=$.extend({tableID:null,statusID:null,mainModID:null,dialog:null,hasVid:false,laData:null,onBroadcast:null,onLaChange:null,onLaRow:null},params);confMan.verto=verto;confMan.serno=CONFMAN_SERNO++;confMan.canvasCount=confMan.params.laData.canvasCount;function genMainMod(jq){var play_id="play_"+confMan.serno;var stop_id="stop_"+confMan.serno;var recording_id="recording_"+confMan.serno;var snapshot_id="snapshot_"+confMan.serno;var rec_stop_id="recording_stop"+confMan.serno;var div_id="confman_"+confMan.serno;var html="

"+""+""+""+""+ -(confMan.params.hasVid?"":"")+"

";jq.html(html);$.verto.modfuncs.change_video_layout=function(id,canvas_id){var val=$("#"+id+" option:selected").text();if(val!=="none"){confMan.modCommand("vid-layout",null,[val,canvas_id]);}};if(confMan.params.hasVid){for(var j=0;j
"+"Video Layout Canvas "+(j+1)+" "+"

";jq.append(vlhtml);} -$("#"+snapshot_id).click(function(){var file=prompt("Please enter file name","");if(file){confMan.modCommand("vid-write-png",null,file);}});} -$("#"+play_id).click(function(){var file=prompt("Please enter file name","");if(file){confMan.modCommand("play",null,file);}});$("#"+stop_id).click(function(){confMan.modCommand("stop",null,"all");});$("#"+recording_id).click(function(){var file=prompt("Please enter file name","");if(file){confMan.modCommand("recording",null,["start",file]);}});$("#"+rec_stop_id).click(function(){confMan.modCommand("recording",null,["stop","all"]);});} -function genControls(jq,rowid){var x=parseInt(rowid);var kick_id="kick_"+x;var canvas_in_next_id="canvas_in_next_"+x;var canvas_in_prev_id="canvas_in_prev_"+x;var canvas_out_next_id="canvas_out_next_"+x;var canvas_out_prev_id="canvas_out_prev_"+x;var canvas_in_set_id="canvas_in_set_"+x;var canvas_out_set_id="canvas_out_set_"+x;var layer_set_id="layer_set_"+x;var layer_next_id="layer_next_"+x;var layer_prev_id="layer_prev_"+x;var tmute_id="tmute_"+x;var tvmute_id="tvmute_"+x;var vbanner_id="vbanner_"+x;var tvpresenter_id="tvpresenter_"+x;var tvfloor_id="tvfloor_"+x;var box_id="box_"+x;var gainup_id="gain_in_up"+x;var gaindn_id="gain_in_dn"+x;var volup_id="vol_in_up"+x;var voldn_id="vol_in_dn"+x;var transfer_id="transfer"+x;var html="
";html+="General Controls
";html+=""+""+""+""+""+""+"";if(confMan.params.hasVid){html+="

Video Controls
";html+=""+""+""+"";if(confMan.canvasCount>1){html+="

Canvas Controls
"+""+""+""+"
"+""+""+"";} -html+="
"+""+""+""+"
";} -jq.html(html);if(!jq.data("mouse")){$("#"+box_id).hide();} -jq.mouseover(function(e){jq.data({"mouse":true});$("#"+box_id).show();});jq.mouseout(function(e){jq.data({"mouse":false});$("#"+box_id).hide();});$("#"+transfer_id).click(function(){var xten=prompt("Enter Extension");if(xten){confMan.modCommand("transfer",x,xten);}});$("#"+kick_id).click(function(){confMan.modCommand("kick",x);});$("#"+layer_set_id).click(function(){var cid=prompt("Please enter layer ID","");if(cid){confMan.modCommand("vid-layer",x,cid);}});$("#"+layer_next_id).click(function(){confMan.modCommand("vid-layer",x,"next");});$("#"+layer_prev_id).click(function(){confMan.modCommand("vid-layer",x,"prev");});$("#"+canvas_in_set_id).click(function(){var cid=prompt("Please enter canvas ID","");if(cid){confMan.modCommand("vid-canvas",x,cid);}});$("#"+canvas_out_set_id).click(function(){var cid=prompt("Please enter canvas ID","");if(cid){confMan.modCommand("vid-watching-canvas",x,cid);}});$("#"+canvas_in_next_id).click(function(){confMan.modCommand("vid-canvas",x,"next");});$("#"+canvas_in_prev_id).click(function(){confMan.modCommand("vid-canvas",x,"prev");});$("#"+canvas_out_next_id).click(function(){confMan.modCommand("vid-watching-canvas",x,"next");});$("#"+canvas_out_prev_id).click(function(){confMan.modCommand("vid-watching-canvas",x,"prev");});$("#"+tmute_id).click(function(){confMan.modCommand("tmute",x);});if(confMan.params.hasVid){$("#"+tvmute_id).click(function(){confMan.modCommand("tvmute",x);});$("#"+tvpresenter_id).click(function(){confMan.modCommand("vid-res-id",x,"presenter");});$("#"+tvfloor_id).click(function(){confMan.modCommand("vid-floor",x,"force");});$("#"+vbanner_id).click(function(){var text=prompt("Please enter text","");if(text){confMan.modCommand("vid-banner",x,escape(text));}});} -$("#"+gainup_id).click(function(){confMan.modCommand("volume_in",x,"up");});$("#"+gaindn_id).click(function(){confMan.modCommand("volume_in",x,"down");});$("#"+volup_id).click(function(){confMan.modCommand("volume_out",x,"up");});$("#"+voldn_id).click(function(){confMan.modCommand("volume_out",x,"down");});return html;} -var atitle="";var awidth=0;verto.subscribe(confMan.params.laData.infoChannel,{handler:function(v,e){if(typeof(confMan.params.infoCallback)==="function"){confMan.params.infoCallback(v,e);}}});verto.subscribe(confMan.params.laData.chatChannel,{handler:function(v,e){if(typeof(confMan.params.chatCallback)==="function"){confMan.params.chatCallback(v,e);}}});if(confMan.params.laData.role==="moderator"){atitle="Action";awidth=600;if(confMan.params.mainModID){genMainMod($(confMan.params.mainModID));$(confMan.params.displayID).html("Moderator Controls Ready

");}else{$(confMan.params.mainModID).html("");} -verto.subscribe(confMan.params.laData.modChannel,{handler:function(v,e){if(confMan.params.onBroadcast){confMan.params.onBroadcast(verto,confMan,e.data);} -if(e.data["conf-command"]==="list-videoLayouts"){for(var j=0;jb)?1:-1));});for(var i in options){$(vlselect_id).append(new Option(options[i],options[i]));x++;}} -if(x){$(vlselect_id).selectmenu('refresh',true);}else{$(vlayout_id).hide();}}}else{if(!confMan.destroyed&&confMan.params.displayID){$(confMan.params.displayID).html(e.data.response+"

");if(confMan.lastTimeout){clearTimeout(confMan.lastTimeout);confMan.lastTimeout=0;} -confMan.lastTimeout=setTimeout(function(){$(confMan.params.displayID).html(confMan.destroyed?"":"Moderator Controls Ready

");},4000);}}}});if(confMan.params.hasVid){confMan.modCommand("list-videoLayouts",null,null);}} -var row_callback=null;if(confMan.params.laData.role==="moderator"){row_callback=function(nRow,aData,iDisplayIndex,iDisplayIndexFull){if(!aData[5]){var $row=$('td:eq(5)',nRow);genControls($row,aData);if(confMan.params.onLaRow){confMan.params.onLaRow(verto,confMan,$row,aData);}}};} -confMan.lt=new $.verto.liveTable(verto,confMan.params.laData.laChannel,confMan.params.laData.laName,$(confMan.params.tableID),{subParams:{callID:confMan.params.dialog?confMan.params.dialog.callID:null},"onChange":function(obj,args){$(confMan.params.statusID).text("Conference Members: "+" ("+obj.arrayLen()+" Total)");if(confMan.params.onLaChange){confMan.params.onLaChange(verto,confMan,$.verto.enum.confEvent.laChange,obj,args);}},"aaData":[],"aoColumns":[{"sTitle":"ID","sWidth":"50"},{"sTitle":"Number","sWidth":"250"},{"sTitle":"Name","sWidth":"250"},{"sTitle":"Codec","sWidth":"100"},{"sTitle":"Status","sWidth":confMan.params.hasVid?"200px":"150px"},{"sTitle":atitle,"sWidth":awidth,}],"bAutoWidth":true,"bDestroy":true,"bSort":false,"bInfo":false,"bFilter":false,"bLengthChange":false,"bPaginate":false,"iDisplayLength":1400,"oLanguage":{"sEmptyTable":"The Conference is Empty....."},"fnRowCallback":row_callback});};$.verto.confMan.prototype.modCommand=function(cmd,id,value){var confMan=this;confMan.verto.rpcClient.call("verto.broadcast",{"eventChannel":confMan.params.laData.modChannel,"data":{"application":"conf-control","command":cmd,"id":id,"value":value}});};$.verto.confMan.prototype.sendChat=function(message,type){var confMan=this;confMan.verto.rpcClient.call("verto.broadcast",{"eventChannel":confMan.params.laData.chatChannel,"data":{"action":"send","message":message,"type":type}});};$.verto.confMan.prototype.destroy=function(){var confMan=this;confMan.destroyed=true;if(confMan.lt){confMan.lt.destroy();} -if(confMan.params.laData.chatChannel){confMan.verto.unsubscribe(confMan.params.laData.chatChannel);} -if(confMan.params.laData.modChannel){confMan.verto.unsubscribe(confMan.params.laData.modChannel);} -if(confMan.params.mainModID){$(confMan.params.mainModID).html("");}};$.verto.dialog=function(direction,verto,params){var dialog=this;dialog.params=$.extend({useVideo:verto.options.useVideo,useStereo:verto.options.useStereo,screenShare:false,useCamera:false,useMic:verto.options.deviceParams.useMic,useSpeak:verto.options.deviceParams.useSpeak,tag:verto.options.tag,localTag:verto.options.localTag,login:verto.options.login,videoParams:verto.options.videoParams},params);if(!dialog.params.screenShare){dialog.params.useCamera=verto.options.deviceParams.useCamera;} -dialog.verto=verto;dialog.direction=direction;dialog.lastState=null;dialog.state=dialog.lastState=$.verto.enum.state.new;dialog.callbacks=verto.callbacks;dialog.answered=false;dialog.attach=params.attach||false;dialog.screenShare=params.screenShare||false;dialog.useCamera=dialog.params.useCamera;dialog.useMic=dialog.params.useMic;dialog.useSpeak=dialog.params.useSpeak;if(dialog.params.callID){dialog.callID=dialog.params.callID;}else{dialog.callID=dialog.params.callID=generateGUID();} -if(typeof(dialog.params.tag)==="function"){dialog.params.tag=dialog.params.tag();} -if(dialog.params.tag){dialog.audioStream=document.getElementById(dialog.params.tag);if(dialog.params.useVideo){dialog.videoStream=dialog.audioStream;}} -if(dialog.params.localTag){dialog.localVideo=document.getElementById(dialog.params.localTag);} -dialog.verto.dialogs[dialog.callID]=dialog;var RTCcallbacks={};if(dialog.direction==$.verto.enum.direction.inbound){if(dialog.params.display_direction==="outbound"){dialog.params.remote_caller_id_name=dialog.params.caller_id_name;dialog.params.remote_caller_id_number=dialog.params.caller_id_number;}else{dialog.params.remote_caller_id_name=dialog.params.callee_id_name;dialog.params.remote_caller_id_number=dialog.params.callee_id_number;} -if(!dialog.params.remote_caller_id_name){dialog.params.remote_caller_id_name="Nobody";} -if(!dialog.params.remote_caller_id_number){dialog.params.remote_caller_id_number="UNKNOWN";} -RTCcallbacks.onMessage=function(rtc,msg){console.debug(msg);};RTCcallbacks.onAnswerSDP=function(rtc,sdp){console.error("answer sdp",sdp);};}else{dialog.params.remote_caller_id_name="Outbound Call";dialog.params.remote_caller_id_number=dialog.params.destination_number;} -RTCcallbacks.onICESDP=function(rtc){console.log("RECV "+rtc.type+" SDP",rtc.mediaData.SDP);if(dialog.state==$.verto.enum.state.requesting||dialog.state==$.verto.enum.state.answering||dialog.state==$.verto.enum.state.active){location.reload();return;} -if(rtc.type=="offer"){if(dialog.state==$.verto.enum.state.active){dialog.setState($.verto.enum.state.requesting);dialog.sendMethod("verto.attach",{sdp:rtc.mediaData.SDP});}else{dialog.setState($.verto.enum.state.requesting);dialog.sendMethod("verto.invite",{sdp:rtc.mediaData.SDP});}}else{dialog.setState($.verto.enum.state.answering);dialog.sendMethod(dialog.attach?"verto.attach":"verto.answer",{sdp:dialog.rtc.mediaData.SDP});}};RTCcallbacks.onICE=function(rtc){if(rtc.type=="offer"){console.log("offer",rtc.mediaData.candidate);return;}};RTCcallbacks.onStream=function(rtc,stream){if(dialog.verto.options.permissionCallback&&typeof dialog.verto.options.permissionCallback.onGranted==='function'){dialog.verto.options.permissionCallback.onGranted(stream);} -console.log("stream started");};RTCcallbacks.onError=function(e){if(dialog.verto.options.permissionCallback&&typeof dialog.verto.options.permissionCallback.onDenied==='function'){dialog.verto.options.permissionCallback.onDenied();} -console.error("ERROR:",e);dialog.hangup({cause:"Device or Permission Error"});};dialog.rtc=new $.FSRTC({callbacks:RTCcallbacks,localVideo:dialog.screenShare?null:dialog.localVideo,useVideo:dialog.params.useVideo?dialog.videoStream:null,useAudio:dialog.audioStream,useStereo:dialog.params.useStereo,videoParams:dialog.params.videoParams,audioParams:verto.options.audioParams,iceServers:verto.options.iceServers,screenShare:dialog.screenShare,useCamera:dialog.useCamera,useMic:dialog.useMic,useSpeak:dialog.useSpeak});dialog.rtc.verto=dialog.verto;if(dialog.direction==$.verto.enum.direction.inbound){if(dialog.attach){dialog.answer();}else{dialog.ring();}}};$.verto.dialog.prototype.invite=function(){var dialog=this;dialog.rtc.call();};$.verto.dialog.prototype.sendMethod=function(method,obj){var dialog=this;obj.dialogParams={};for(var i in dialog.params){if(i=="sdp"&&method!="verto.invite"&&method!="verto.attach"){continue;} -if((obj.noDialogParams&&i!="callID")){continue;} -obj.dialogParams[i]=dialog.params[i];} -delete obj.noDialogParams;dialog.verto.rpcClient.call(method,obj,function(e){dialog.processReply(method,true,e);},function(e){dialog.processReply(method,false,e);});};function checkStateChange(oldS,newS){if(newS==$.verto.enum.state.purge||$.verto.enum.states[oldS.name][newS.name]){return true;} -return false;} -function find_name(id){for(var i in $.verto.audioOutDevices){var source=$.verto.audioOutDevices[i];if(source.id===id){return(source.label);}} -return id;} -$.verto.dialog.prototype.setAudioPlaybackDevice=function(sinkId,callback,arg){var dialog=this;var element=dialog.audioStream;if(typeof element.sinkId!=='undefined'){var devname=find_name(sinkId);console.info("Dialog: "+dialog.callID+" Setting speaker:",element,devname);element.setSinkId(sinkId).then(function(){console.log("Dialog: "+dialog.callID+' Success, audio output device attached: '+sinkId);if(callback){callback(true,devname,arg);}}).catch(function(error){var errorMessage=error;if(error.name==='SecurityError'){errorMessage="Dialog: "+dialog.callID+' You need to use HTTPS for selecting audio output '+'device: '+error;} -if(callback){callback(false,null,arg);} -console.error(errorMessage);});}else{console.warn("Dialog: "+dialog.callID+' Browser does not support output device selection.');if(callback){callback(false,null,arg);}}} -$.verto.dialog.prototype.setState=function(state){var dialog=this;if(dialog.state==$.verto.enum.state.ringing){dialog.stopRinging();} -if(dialog.state==state||!checkStateChange(dialog.state,state)){console.error("Dialog "+dialog.callID+": INVALID state change from "+dialog.state.name+" to "+state.name);dialog.hangup();return false;} -console.log("Dialog "+dialog.callID+": state change from "+dialog.state.name+" to "+state.name);dialog.lastState=dialog.state;dialog.state=state;if(dialog.callbacks.onDialogState){dialog.callbacks.onDialogState(this);} -switch(dialog.state){case $.verto.enum.state.early:case $.verto.enum.state.active:var speaker=dialog.useSpeak;console.info("Using Speaker: ",speaker);if(speaker&&speaker!=="any"&&speaker!=="none"){setTimeout(function(){dialog.setAudioPlaybackDevice(speaker);},500);} -break;case $.verto.enum.state.trying:setTimeout(function(){if(dialog.state==$.verto.enum.state.trying){dialog.setState($.verto.enum.state.hangup);}},30000);break;case $.verto.enum.state.purge:dialog.setState($.verto.enum.state.destroy);break;case $.verto.enum.state.hangup:if(dialog.lastState.val>$.verto.enum.state.requesting.val&&dialog.lastState.val<$.verto.enum.state.hangup.val){dialog.sendMethod("verto.bye",{});} -dialog.setState($.verto.enum.state.destroy);break;case $.verto.enum.state.destroy:if(typeof(dialog.verto.options.tag)==="function"){$('#'+dialog.params.tag).remove();} -delete dialog.verto.dialogs[dialog.callID];if(dialog.params.screenShare){dialog.rtc.stopPeer();}else{dialog.rtc.stop();} -break;} -return true;};$.verto.dialog.prototype.processReply=function(method,success,e){var dialog=this;switch(method){case"verto.answer":case"verto.attach":if(success){dialog.setState($.verto.enum.state.active);}else{dialog.hangup();} -break;case"verto.invite":if(success){dialog.setState($.verto.enum.state.trying);}else{dialog.setState($.verto.enum.state.destroy);} -break;case"verto.bye":dialog.hangup();break;case"verto.modify":if(e.holdState){if(e.holdState=="held"){if(dialog.state!=$.verto.enum.state.held){dialog.setState($.verto.enum.state.held);}}else if(e.holdState=="active"){if(dialog.state!=$.verto.enum.state.active){dialog.setState($.verto.enum.state.active);}}} -if(success){} -break;default:break;}};$.verto.dialog.prototype.hangup=function(params){var dialog=this;if(params){if(params.causeCode){dialog.causeCode=params.causeCode;} -if(params.cause){dialog.cause=params.cause;}} -if(!dialog.cause&&!dialog.causeCode){dialog.cause="NORMAL_CLEARING";} -if(dialog.state.val>=$.verto.enum.state.new.val&&dialog.state.val<$.verto.enum.state.hangup.val){dialog.setState($.verto.enum.state.hangup);}else if(dialog.state.val<$.verto.enum.state.destroy){dialog.setState($.verto.enum.state.destroy);}};$.verto.dialog.prototype.stopRinging=function(){var dialog=this;if(dialog.verto.ringer){dialog.verto.ringer.stop();}};$.verto.dialog.prototype.indicateRing=function(){var dialog=this;if(dialog.verto.ringer){dialog.verto.ringer.attr("src",dialog.verto.options.ringFile)[0].play();setTimeout(function(){dialog.stopRinging();if(dialog.state==$.verto.enum.state.ringing){dialog.indicateRing();}},dialog.verto.options.ringSleep);}};$.verto.dialog.prototype.ring=function(){var dialog=this;dialog.setState($.verto.enum.state.ringing);dialog.indicateRing();};$.verto.dialog.prototype.useVideo=function(on){var dialog=this;dialog.params.useVideo=on;if(on){dialog.videoStream=dialog.audioStream;}else{dialog.videoStream=null;} -dialog.rtc.useVideo(dialog.videoStream,dialog.localVideo);};$.verto.dialog.prototype.setMute=function(what){var dialog=this;return dialog.rtc.setMute(what);};$.verto.dialog.prototype.getMute=function(){var dialog=this;return dialog.rtc.getMute();};$.verto.dialog.prototype.setVideoMute=function(what){var dialog=this;return dialog.rtc.setVideoMute(what);};$.verto.dialog.prototype.getVideoMute=function(){var dialog=this;return dialog.rtc.getVideoMute();};$.verto.dialog.prototype.useStereo=function(on){var dialog=this;dialog.params.useStereo=on;dialog.rtc.useStereo(on);};$.verto.dialog.prototype.dtmf=function(digits){var dialog=this;if(digits){dialog.sendMethod("verto.info",{dtmf:digits});}};$.verto.dialog.prototype.rtt=function(obj){var dialog=this;var pobj={};if(!obj){return false;} -pobj.code=obj.code;pobj.chars=obj.chars;if(pobj.chars||pobj.code){dialog.sendMethod("verto.info",{txt:obj,noDialogParams:true});}};$.verto.dialog.prototype.transfer=function(dest,params){var dialog=this;if(dest){dialog.sendMethod("verto.modify",{action:"transfer",destination:dest,params:params});}};$.verto.dialog.prototype.replace=function(replaceCallID,params){var dialog=this;if(replaceCallID){dialog.sendMethod("verto.modify",{action:"replace",replaceCallID:replaceCallID,params:params});}};$.verto.dialog.prototype.hold=function(params){var dialog=this;dialog.sendMethod("verto.modify",{action:"hold",params:params});};$.verto.dialog.prototype.unhold=function(params){var dialog=this;dialog.sendMethod("verto.modify",{action:"unhold",params:params});};$.verto.dialog.prototype.toggleHold=function(params){var dialog=this;dialog.sendMethod("verto.modify",{action:"toggleHold",params:params});};$.verto.dialog.prototype.message=function(msg){var dialog=this;var err=0;msg.from=dialog.params.login;if(!msg.to){console.error("Missing To");err++;} -if(!msg.body){console.error("Missing Body");err++;} -if(err){return false;} -dialog.sendMethod("verto.info",{msg:msg});return true;};$.verto.dialog.prototype.answer=function(params){var dialog=this;if(!dialog.answered){if(!params){params={};} -params.sdp=dialog.params.sdp;if(params){if(params.useVideo){dialog.useVideo(true);} -dialog.params.callee_id_name=params.callee_id_name;dialog.params.callee_id_number=params.callee_id_number;if(params.useCamera){dialog.useCamera=params.useCamera;} -if(params.useMic){dialog.useMic=params.useMic;} -if(params.useSpeak){dialog.useSpeak=params.useSpeak;}} -dialog.rtc.createAnswer(params);dialog.answered=true;}};$.verto.dialog.prototype.handleAnswer=function(params){var dialog=this;dialog.gotAnswer=true;if(dialog.state.val>=$.verto.enum.state.active.val){return;} -if(dialog.state.val>=$.verto.enum.state.early.val){dialog.setState($.verto.enum.state.active);}else{if(dialog.gotEarly){console.log("Dialog "+dialog.callID+" Got answer while still establishing early media, delaying...");}else{console.log("Dialog "+dialog.callID+" Answering Channel");dialog.rtc.answer(params.sdp,function(){dialog.setState($.verto.enum.state.active);},function(e){console.error(e);dialog.hangup();});console.log("Dialog "+dialog.callID+"ANSWER SDP",params.sdp);}}};$.verto.dialog.prototype.cidString=function(enc){var dialog=this;var party=dialog.params.remote_caller_id_name+(enc?" <":" <")+dialog.params.remote_caller_id_number+(enc?">":">");return party;};$.verto.dialog.prototype.sendMessage=function(msg,params){var dialog=this;if(dialog.callbacks.onMessage){dialog.callbacks.onMessage(dialog.verto,dialog,msg,params);}};$.verto.dialog.prototype.handleInfo=function(params){var dialog=this;dialog.sendMessage($.verto.enum.message.info,params);};$.verto.dialog.prototype.handleDisplay=function(params){var dialog=this;if(params.display_name){dialog.params.remote_caller_id_name=params.display_name;} -if(params.display_number){dialog.params.remote_caller_id_number=params.display_number;} -dialog.sendMessage($.verto.enum.message.display,{});};$.verto.dialog.prototype.handleMedia=function(params){var dialog=this;if(dialog.state.val>=$.verto.enum.state.early.val){return;} -dialog.gotEarly=true;dialog.rtc.answer(params.sdp,function(){console.log("Dialog "+dialog.callID+"Establishing early media");dialog.setState($.verto.enum.state.early);if(dialog.gotAnswer){console.log("Dialog "+dialog.callID+"Answering Channel");dialog.setState($.verto.enum.state.active);}},function(e){console.error(e);dialog.hangup();});console.log("Dialog "+dialog.callID+"EARLY SDP",params.sdp);};$.verto.ENUM=function(s){var i=0,o={};s.split(" ").map(function(x){o[x]={name:x,val:i++};});return Object.freeze(o);};$.verto.enum={};$.verto.enum.states=Object.freeze({new:{requesting:1,recovering:1,ringing:1,destroy:1,answering:1,hangup:1},requesting:{trying:1,hangup:1,active:1},recovering:{answering:1,hangup:1},trying:{active:1,early:1,hangup:1},ringing:{answering:1,hangup:1},answering:{active:1,hangup:1},active:{answering:1,requesting:1,hangup:1,held:1},held:{hangup:1,active:1},early:{hangup:1,active:1},hangup:{destroy:1},destroy:{},purge:{destroy:1}});$.verto.enum.state=$.verto.ENUM("new requesting trying recovering ringing answering early active held hangup destroy purge");$.verto.enum.direction=$.verto.ENUM("inbound outbound");$.verto.enum.message=$.verto.ENUM("display info pvtEvent clientReady");$.verto.enum=Object.freeze($.verto.enum);$.verto.saved=[];$.verto.unloadJobs=[];$(window).bind('beforeunload',function(){for(var f in $.verto.unloadJobs){$.verto.unloadJobs[f]();} -if($.verto.haltClosure) -return $.verto.haltClosure();for(var i in $.verto.saved){var verto=$.verto.saved[i];if(verto){verto.purge();verto.logout();}} -return $.verto.warnOnUnload;});$.verto.videoDevices=[];$.verto.audioInDevices=[];$.verto.audioOutDevices=[];var checkDevices=function(runtime){console.info("enumerating devices");var aud_in=[],aud_out=[],vid=[];var has_video=0,has_audio=0;var Xstream;function gotDevices(deviceInfos){for(var i=0;i!==deviceInfos.length;++i){var deviceInfo=deviceInfos[i];var text="";console.log(deviceInfo);console.log(deviceInfo.kind+": "+deviceInfo.label+" id = "+deviceInfo.deviceId);if(deviceInfo.kind==='audioinput'){text=deviceInfo.label||'microphone '+(aud_in.length+1);aud_in.push({id:deviceInfo.deviceId,kind:"audio_in",label:text});}else if(deviceInfo.kind==='audiooutput'){text=deviceInfo.label||'speaker '+(aud_out.length+1);aud_out.push({id:deviceInfo.deviceId,kind:"audio_out",label:text});}else if(deviceInfo.kind==='videoinput'){text=deviceInfo.label||'camera '+(vid.length+1);vid.push({id:deviceInfo.deviceId,kind:"video",label:text});}else{console.log('Some other kind of source/device: ',deviceInfo);}} -$.verto.videoDevices=vid;$.verto.audioInDevices=aud_in;$.verto.audioOutDevices=aud_out;console.info("Audio IN Devices",$.verto.audioInDevices);console.info("Audio Out Devices",$.verto.audioOutDevices);console.info("Video Devices",$.verto.videoDevices);if(Xstream){Xstream.getTracks().forEach(function(track){track.stop();});} -if(runtime){runtime(true);}} -function handleError(error){console.log('device enumeration error: ',error);if(runtime)runtime(false);} -function checkTypes(devs){for(var i=0;i!==devs.length;++i){if(devs[i].kind==='audioinput'){has_audio++;}else if(devs[i].kind==='videoinput'){has_video++;}} -navigator.getUserMedia({audio:(has_audio>0?true:false),video:(has_video>0?true:false)},function(stream){Xstream=stream;navigator.mediaDevices.enumerateDevices().then(gotDevices).catch(handleError);},function(err){console.log("The following error occurred: "+err.name);});} -navigator.mediaDevices.enumerateDevices().then(checkTypes).catch(handleError);};$.verto.refreshDevices=function(runtime){checkDevices(runtime);} -$.verto.init=function(obj,runtime){if(!obj){obj={};} -if(!obj.skipPermCheck&&!obj.skipDeviceCheck){$.FSRTC.checkPerms(function(status){checkDevices(runtime);},true,true);}else if(obj.skipPermCheck&&!obj.skipDeviceCheck){checkDevices(runtime);}else if(!obj.skipPermCheck&&obj.skipDeviceCheck){$.FSRTC.checkPerms(function(status){runtime(status);},true,true);}else{runtime(null);}} -$.verto.genUUID=function(){return generateGUID();}})(jQuery);(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.adapter=f()}})(function(){var define,module,exports;return(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o0?'m='+part:part).trim()+'\r\n';});};SDPUtils.matchPrefix=function(blob,prefix){return SDPUtils.splitLines(blob).filter(function(line){return line.indexOf(prefix)===0;});};SDPUtils.parseCandidate=function(line){var parts;if(line.indexOf('a=candidate:')===0){parts=line.substring(12).split(' ');}else{parts=line.substring(10).split(' ');} -var candidate={foundation:parts[0],component:parseInt(parts[1],10),protocol:parts[2].toLowerCase(),priority:parseInt(parts[3],10),ip:parts[4],port:parseInt(parts[5],10),type:parts[7]};for(var i=8;i0?parts[0].split('/')[1]:'sendrecv',uri:parts[1]};};SDPUtils.writeExtmap=function(headerExtension){return'a=extmap:'+(headerExtension.id||headerExtension.preferredId)+ -(headerExtension.direction&&headerExtension.direction!=='sendrecv'?'/'+headerExtension.direction:'')+' '+headerExtension.uri+'\r\n';};SDPUtils.parseFmtp=function(line){var parsed={};var kv;var parts=line.substr(line.indexOf(' ')+1).split(';');for(var j=0;j-1){parts.attribute=line.substr(sp+1,colon-sp-1);parts.value=line.substr(colon+1);}else{parts.attribute=line.substr(sp+1);} -return parts;};SDPUtils.getMid=function(mediaSection){var mid=SDPUtils.matchPrefix(mediaSection,'a=mid:')[0];if(mid){return mid.substr(6);}} -SDPUtils.parseFingerprint=function(line){var parts=line.substr(14).split(' ');return{algorithm:parts[0].toLowerCase(),value:parts[1]};};SDPUtils.getDtlsParameters=function(mediaSection,sessionpart){var lines=SDPUtils.matchPrefix(mediaSection+sessionpart,'a=fingerprint:');return{role:'auto',fingerprints:lines.map(SDPUtils.parseFingerprint)};};SDPUtils.writeDtlsParameters=function(params,setupType){var sdp='a=setup:'+setupType+'\r\n';params.fingerprints.forEach(function(fp){sdp+='a=fingerprint:'+fp.algorithm+' '+fp.value+'\r\n';});return sdp;};SDPUtils.getIceParameters=function(mediaSection,sessionpart){var lines=SDPUtils.splitLines(mediaSection);lines=lines.concat(SDPUtils.splitLines(sessionpart));var iceParameters={usernameFragment:lines.filter(function(line){return line.indexOf('a=ice-ufrag:')===0;})[0].substr(12),password:lines.filter(function(line){return line.indexOf('a=ice-pwd:')===0;})[0].substr(10)};return iceParameters;};SDPUtils.writeIceParameters=function(params){return'a=ice-ufrag:'+params.usernameFragment+'\r\n'+'a=ice-pwd:'+params.password+'\r\n';};SDPUtils.parseRtpParameters=function(mediaSection){var description={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]};var lines=SDPUtils.splitLines(mediaSection);var mline=lines[0].split(' ');for(var i=3;i0?'9':'0';sdp+=' UDP/TLS/RTP/SAVPF ';sdp+=caps.codecs.map(function(codec){if(codec.preferredPayloadType!==undefined){return codec.preferredPayloadType;} -return codec.payloadType;}).join(' ')+'\r\n';sdp+='c=IN IP4 0.0.0.0\r\n';sdp+='a=rtcp:9 IN IP4 0.0.0.0\r\n';caps.codecs.forEach(function(codec){sdp+=SDPUtils.writeRtpMap(codec);sdp+=SDPUtils.writeFmtp(codec);sdp+=SDPUtils.writeRtcpFb(codec);});var maxptime=0;caps.codecs.forEach(function(codec){if(codec.maxptime>maxptime){maxptime=codec.maxptime;}});if(maxptime>0){sdp+='a=maxptime:'+maxptime+'\r\n';} -sdp+='a=rtcp-mux\r\n';caps.headerExtensions.forEach(function(extension){sdp+=SDPUtils.writeExtmap(extension);});return sdp;};SDPUtils.parseRtpEncodingParameters=function(mediaSection){var encodingParameters=[];var description=SDPUtils.parseRtpParameters(mediaSection);var hasRed=description.fecMechanisms.indexOf('RED')!==-1;var hasUlpfec=description.fecMechanisms.indexOf('ULPFEC')!==-1;var ssrcs=SDPUtils.matchPrefix(mediaSection,'a=ssrc:').map(function(line){return SDPUtils.parseSsrcMedia(line);}).filter(function(parts){return parts.attribute==='cname';});var primarySsrc=ssrcs.length>0&&ssrcs[0].ssrc;var secondarySsrc;var flows=SDPUtils.matchPrefix(mediaSection,'a=ssrc-group:FID').map(function(line){var parts=line.split(' ');parts.shift();return parts.map(function(part){return parseInt(part,10);});});if(flows.length>0&&flows[0].length>1&&flows[0][0]===primarySsrc){secondarySsrc=flows[0][1];} -description.codecs.forEach(function(codec){if(codec.name.toUpperCase()==='RTX'&&codec.parameters.apt){var encParam={ssrc:primarySsrc,codecPayloadType:parseInt(codec.parameters.apt,10),rtx:{ssrc:secondarySsrc}};encodingParameters.push(encParam);if(hasRed){encParam=JSON.parse(JSON.stringify(encParam));encParam.fec={ssrc:secondarySsrc,mechanism:hasUlpfec?'red+ulpfec':'red'};encodingParameters.push(encParam);}}});if(encodingParameters.length===0&&primarySsrc){encodingParameters.push({ssrc:primarySsrc});} -var bandwidth=SDPUtils.matchPrefix(mediaSection,'b=');if(bandwidth.length){if(bandwidth[0].indexOf('b=TIAS:')===0){bandwidth=parseInt(bandwidth[0].substr(7),10);}else if(bandwidth[0].indexOf('b=AS:')===0){bandwidth=parseInt(bandwidth[0].substr(5),10)*1000*0.95 --(50*40*8);}else{bandwidth=undefined;} -encodingParameters.forEach(function(params){params.maxBitrate=bandwidth;});} -return encodingParameters;};SDPUtils.parseRtcpParameters=function(mediaSection){var rtcpParameters={};var cname;var remoteSsrc=SDPUtils.matchPrefix(mediaSection,'a=ssrc:').map(function(line){return SDPUtils.parseSsrcMedia(line);}).filter(function(obj){return obj.attribute==='cname';})[0];if(remoteSsrc){rtcpParameters.cname=remoteSsrc.value;rtcpParameters.ssrc=remoteSsrc.ssrc;} -var rsize=SDPUtils.matchPrefix(mediaSection,'a=rtcp-rsize');rtcpParameters.reducedSize=rsize.length>0;rtcpParameters.compound=rsize.length===0;var mux=SDPUtils.matchPrefix(mediaSection,'a=rtcp-mux');rtcpParameters.mux=mux.length>0;return rtcpParameters;};SDPUtils.parseMsid=function(mediaSection){var parts;var spec=SDPUtils.matchPrefix(mediaSection,'a=msid:');if(spec.length===1){parts=spec[0].substr(7).split(' ');return{stream:parts[0],track:parts[1]};} -var planB=SDPUtils.matchPrefix(mediaSection,'a=ssrc:').map(function(line){return SDPUtils.parseSsrcMedia(line);}).filter(function(parts){return parts.attribute==='msid';});if(planB.length>0){parts=planB[0].value.split(' ');return{stream:parts[0],track:parts[1]};}};SDPUtils.generateSessionId=function(){return Math.random().toString().substr(2,21);};SDPUtils.writeSessionBoilerplate=function(sessId){var sessionId;if(sessId){sessionId=sessId;}else{sessionId=SDPUtils.generateSessionId();} -return'v=0\r\n'+'o=thisisadapterortc '+sessionId+' 2 IN IP4 127.0.0.1\r\n'+'s=-\r\n'+'t=0 0\r\n';};SDPUtils.writeMediaSection=function(transceiver,caps,type,stream){var sdp=SDPUtils.writeRtpDescription(transceiver.kind,caps);sdp+=SDPUtils.writeIceParameters(transceiver.iceGatherer.getLocalParameters());sdp+=SDPUtils.writeDtlsParameters(transceiver.dtlsTransport.getLocalParameters(),type==='offer'?'actpass':'active');sdp+='a=mid:'+transceiver.mid+'\r\n';if(transceiver.direction){sdp+='a='+transceiver.direction+'\r\n';}else if(transceiver.rtpSender&&transceiver.rtpReceiver){sdp+='a=sendrecv\r\n';}else if(transceiver.rtpSender){sdp+='a=sendonly\r\n';}else if(transceiver.rtpReceiver){sdp+='a=recvonly\r\n';}else{sdp+='a=inactive\r\n';} -if(transceiver.rtpSender){var msid='msid:'+stream.id+' '+ -transceiver.rtpSender.track.id+'\r\n';sdp+='a='+msid;sdp+='a=ssrc:'+transceiver.sendEncodingParameters[0].ssrc+' '+msid;if(transceiver.sendEncodingParameters[0].rtx){sdp+='a=ssrc:'+transceiver.sendEncodingParameters[0].rtx.ssrc+' '+msid;sdp+='a=ssrc-group:FID '+ -transceiver.sendEncodingParameters[0].ssrc+' '+ -transceiver.sendEncodingParameters[0].rtx.ssrc+'\r\n';}} -sdp+='a=ssrc:'+transceiver.sendEncodingParameters[0].ssrc+' cname:'+SDPUtils.localCName+'\r\n';if(transceiver.rtpSender&&transceiver.sendEncodingParameters[0].rtx){sdp+='a=ssrc:'+transceiver.sendEncodingParameters[0].rtx.ssrc+' cname:'+SDPUtils.localCName+'\r\n';} -return sdp;};SDPUtils.getDirection=function(mediaSection,sessionpart){var lines=SDPUtils.splitLines(mediaSection);for(var i=0;i0&&typeof selector==='function'){return origGetStats.apply(this,arguments);} -if(origGetStats.length===0&&(arguments.length===0||typeof arguments[0]!=='function')){return origGetStats.apply(this,[]);} -var fixChromeStats_=function(response){var standardReport={};var reports=response.result();reports.forEach(function(report){var standardStats={id:report.id,timestamp:report.timestamp,type:{localcandidate:'local-candidate',remotecandidate:'remote-candidate'}[report.type]||report.type};report.names().forEach(function(name){standardStats[name]=report.stat(name);});standardReport[standardStats.id]=standardStats;});return standardReport;};var makeMapStats=function(stats){return new Map(Object.keys(stats).map(function(key){return[key,stats[key]];}));};if(arguments.length>=2){var successCallbackWrapper_=function(response){args[1](makeMapStats(fixChromeStats_(response)));};return origGetStats.apply(this,[successCallbackWrapper_,arguments[0]]);} -return new Promise(function(resolve,reject){origGetStats.apply(self,[function(response){resolve(makeMapStats(fixChromeStats_(response)));},reject]);}).then(successCallback,errorCallback);};if(browserDetails.version<51){['setLocalDescription','setRemoteDescription','addIceCandidate'].forEach(function(method){var nativeMethod=window.RTCPeerConnection.prototype[method];window.RTCPeerConnection.prototype[method]=function(){var args=arguments;var self=this;var promise=new Promise(function(resolve,reject){nativeMethod.apply(self,[args[0],resolve,reject]);});if(args.length<2){return promise;} -return promise.then(function(){args[1].apply(null,[]);},function(err){if(args.length>=3){args[2].apply(null,[err]);}});};});} -if(browserDetails.version<52){['createOffer','createAnswer'].forEach(function(method){var nativeMethod=window.RTCPeerConnection.prototype[method];window.RTCPeerConnection.prototype[method]=function(){var self=this;if(arguments.length<1||(arguments.length===1&&typeof arguments[0]==='object')){var opts=arguments.length===1?arguments[0]:undefined;return new Promise(function(resolve,reject){nativeMethod.apply(self,[resolve,reject,opts]);});} -return nativeMethod.apply(this,arguments);};});} -['setLocalDescription','setRemoteDescription','addIceCandidate'].forEach(function(method){var nativeMethod=window.RTCPeerConnection.prototype[method];window.RTCPeerConnection.prototype[method]=function(){arguments[0]=new((method==='addIceCandidate')?window.RTCIceCandidate:window.RTCSessionDescription)(arguments[0]);return nativeMethod.apply(this,arguments);};});var nativeAddIceCandidate=window.RTCPeerConnection.prototype.addIceCandidate;window.RTCPeerConnection.prototype.addIceCandidate=function(){if(!arguments[0]){if(arguments[1]){arguments[1].apply(null);} -return Promise.resolve();} -return nativeAddIceCandidate.apply(this,arguments);};}};module.exports={shimMediaStream:chromeShim.shimMediaStream,shimOnTrack:chromeShim.shimOnTrack,shimGetSendersWithDtmf:chromeShim.shimGetSendersWithDtmf,shimSourceObject:chromeShim.shimSourceObject,shimPeerConnection:chromeShim.shimPeerConnection,shimGetUserMedia:require('./getusermedia')};},{"../utils.js":12,"./getusermedia":5}],5:[function(require,module,exports){'use strict';var utils=require('../utils.js');var logging=utils.log;module.exports=function(window){var browserDetails=utils.detectBrowser(window);var navigator=window&&window.navigator;var constraintsToChrome_=function(c){if(typeof c!=='object'||c.mandatory||c.optional){return c;} -var cc={};Object.keys(c).forEach(function(key){if(key==='require'||key==='advanced'||key==='mediaSource'){return;} -var r=(typeof c[key]==='object')?c[key]:{ideal:c[key]};if(r.exact!==undefined&&typeof r.exact==='number'){r.min=r.max=r.exact;} -var oldname_=function(prefix,name){if(prefix){return prefix+name.charAt(0).toUpperCase()+name.slice(1);} -return(name==='deviceId')?'sourceId':name;};if(r.ideal!==undefined){cc.optional=cc.optional||[];var oc={};if(typeof r.ideal==='number'){oc[oldname_('min',key)]=r.ideal;cc.optional.push(oc);oc={};oc[oldname_('max',key)]=r.ideal;cc.optional.push(oc);}else{oc[oldname_('',key)]=r.ideal;cc.optional.push(oc);}} -if(r.exact!==undefined&&typeof r.exact!=='number'){cc.mandatory=cc.mandatory||{};cc.mandatory[oldname_('',key)]=r.exact;}else{['min','max'].forEach(function(mix){if(r[mix]!==undefined){cc.mandatory=cc.mandatory||{};cc.mandatory[oldname_(mix,key)]=r[mix];}});}});if(c.advanced){cc.optional=(cc.optional||[]).concat(c.advanced);} -return cc;};var shimConstraints_=function(constraints,func){constraints=JSON.parse(JSON.stringify(constraints));if(constraints&&typeof constraints.audio==='object'){var remap=function(obj,a,b){if(a in obj&&!(b in obj)){obj[b]=obj[a];delete obj[a];}};constraints=JSON.parse(JSON.stringify(constraints));remap(constraints.audio,'autoGainControl','googAutoGainControl');remap(constraints.audio,'noiseSuppression','googNoiseSuppression');constraints.audio=constraintsToChrome_(constraints.audio);} -if(constraints&&typeof constraints.video==='object'){var face=constraints.video.facingMode;face=face&&((typeof face==='object')?face:{ideal:face});var getSupportedFacingModeLies=browserDetails.version<61;if((face&&(face.exact==='user'||face.exact==='environment'||face.ideal==='user'||face.ideal==='environment'))&&!(navigator.mediaDevices.getSupportedConstraints&&navigator.mediaDevices.getSupportedConstraints().facingMode&&!getSupportedFacingModeLies)){delete constraints.video.facingMode;var matches;if(face.exact==='environment'||face.ideal==='environment'){matches=['back','rear'];}else if(face.exact==='user'||face.ideal==='user'){matches=['front'];} -if(matches){return navigator.mediaDevices.enumerateDevices().then(function(devices){devices=devices.filter(function(d){return d.kind==='videoinput';});var dev=devices.find(function(d){return matches.some(function(match){return d.label.toLowerCase().indexOf(match)!==-1;});});if(!dev&&devices.length&&matches.indexOf('back')!==-1){dev=devices[devices.length-1];} -if(dev){constraints.video.deviceId=face.exact?{exact:dev.deviceId}:{ideal:dev.deviceId};} -constraints.video=constraintsToChrome_(constraints.video);logging('chrome: '+JSON.stringify(constraints));return func(constraints);});}} -constraints.video=constraintsToChrome_(constraints.video);} -logging('chrome: '+JSON.stringify(constraints));return func(constraints);};var shimError_=function(e){return{name:{PermissionDeniedError:'NotAllowedError',InvalidStateError:'NotReadableError',DevicesNotFoundError:'NotFoundError',ConstraintNotSatisfiedError:'OverconstrainedError',TrackStartError:'NotReadableError',MediaDeviceFailedDueToShutdown:'NotReadableError',MediaDeviceKillSwitchOn:'NotReadableError'}[e.name]||e.name,message:e.message,constraint:e.constraintName,toString:function(){return this.name+(this.message&&': ')+this.message;}};};var getUserMedia_=function(constraints,onSuccess,onError){shimConstraints_(constraints,function(c){navigator.webkitGetUserMedia(c,onSuccess,function(e){onError(shimError_(e));});});};navigator.getUserMedia=getUserMedia_;var getUserMediaPromise_=function(constraints){return new Promise(function(resolve,reject){navigator.getUserMedia(constraints,resolve,reject);});};if(!navigator.mediaDevices){navigator.mediaDevices={getUserMedia:getUserMediaPromise_,enumerateDevices:function(){return new Promise(function(resolve){var kinds={audio:'audioinput',video:'videoinput'};return window.MediaStreamTrack.getSources(function(devices){resolve(devices.map(function(device){return{label:device.label,kind:kinds[device.kind],deviceId:device.id,groupId:''};}));});});},getSupportedConstraints:function(){return{deviceId:true,echoCancellation:true,facingMode:true,frameRate:true,height:true,width:true};}};} -if(!navigator.mediaDevices.getUserMedia){navigator.mediaDevices.getUserMedia=function(constraints){return getUserMediaPromise_(constraints);};}else{var origGetUserMedia=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(cs){return shimConstraints_(cs,function(c){return origGetUserMedia(c).then(function(stream){if(c.audio&&!stream.getAudioTracks().length||c.video&&!stream.getVideoTracks().length){stream.getTracks().forEach(function(track){track.stop();});throw new DOMException('','NotFoundError');} -return stream;},function(e){return Promise.reject(shimError_(e));});});};} -if(typeof navigator.mediaDevices.addEventListener==='undefined'){navigator.mediaDevices.addEventListener=function(){logging('Dummy mediaDevices.addEventListener called.');};} -if(typeof navigator.mediaDevices.removeEventListener==='undefined'){navigator.mediaDevices.removeEventListener=function(){logging('Dummy mediaDevices.removeEventListener called.');};}};},{"../utils.js":12}],6:[function(require,module,exports){'use strict';var utils=require('../utils');var shimRTCPeerConnection=require('./rtcpeerconnection_shim');module.exports={shimGetUserMedia:require('./getusermedia'),shimPeerConnection:function(window){var browserDetails=utils.detectBrowser(window);if(window.RTCIceGatherer){if(!window.RTCIceCandidate){window.RTCIceCandidate=function(args){return args;};} -if(!window.RTCSessionDescription){window.RTCSessionDescription=function(args){return args;};} -if(browserDetails.version<15025){var origMSTEnabled=Object.getOwnPropertyDescriptor(window.MediaStreamTrack.prototype,'enabled');Object.defineProperty(window.MediaStreamTrack.prototype,'enabled',{set:function(value){origMSTEnabled.set.call(this,value);var ev=new Event('enabled');ev.enabled=value;this.dispatchEvent(ev);}});}} -window.RTCPeerConnection=shimRTCPeerConnection(window,browserDetails.version);},shimReplaceTrack:function(window){if(window.RTCRtpSender&&!('replaceTrack'in window.RTCRtpSender.prototype)){window.RTCRtpSender.prototype.replaceTrack=window.RTCRtpSender.prototype.setTrack;}}};},{"../utils":12,"./getusermedia":7,"./rtcpeerconnection_shim":8}],7:[function(require,module,exports){'use strict';module.exports=function(window){var navigator=window&&window.navigator;var shimError_=function(e){return{name:{PermissionDeniedError:'NotAllowedError'}[e.name]||e.name,message:e.message,constraint:e.constraint,toString:function(){return this.name;}};};var origGetUserMedia=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(c){return origGetUserMedia(c).catch(function(e){return Promise.reject(shimError_(e));});};};},{}],8:[function(require,module,exports){'use strict';var SDPUtils=require('sdp');function sortTracks(tracks){var audioTracks=tracks.filter(function(track){return track.kind==='audio';});var videoTracks=tracks.filter(function(track){return track.kind==='video';});tracks=[];while(audioTracks.length||videoTracks.length){if(audioTracks.length){tracks.push(audioTracks.shift());} -if(videoTracks.length){tracks.push(videoTracks.shift());}} -return tracks;} -function filterIceServers(iceServers,edgeVersion){var hasTurn=false;iceServers=JSON.parse(JSON.stringify(iceServers));return iceServers.filter(function(server){if(server&&(server.urls||server.url)){var urls=server.urls||server.url;if(server.url&&!server.urls){console.warn('RTCIceServer.url is deprecated! Use urls instead.');} -var isString=typeof urls==='string';if(isString){urls=[urls];} -urls=urls.filter(function(url){var validTurn=url.indexOf('turn:')===0&&url.indexOf('transport=udp')!==-1&&url.indexOf('turn:[')===-1&&!hasTurn;if(validTurn){hasTurn=true;return true;} -return url.indexOf('stun:')===0&&edgeVersion>=14393;});delete server.url;server.urls=isString?urls[0]:urls;return!!urls.length;} -return false;});} -function getCommonCapabilities(localCapabilities,remoteCapabilities){var commonCapabilities={codecs:[],headerExtensions:[],fecMechanisms:[]};var findCodecByPayloadType=function(pt,codecs){pt=parseInt(pt,10);for(var i=0;i0;var transceiver={track:null,iceGatherer:null,iceTransport:null,dtlsTransport:null,localCapabilities:null,remoteCapabilities:null,rtpSender:null,rtpReceiver:null,kind:kind,mid:null,sendEncodingParameters:null,recvEncodingParameters:null,stream:null,wantReceive:true};if(this.usingBundle&&hasBundleTransport){transceiver.iceTransport=this.transceivers[0].iceTransport;transceiver.dtlsTransport=this.transceivers[0].dtlsTransport;}else{var transports=this._createIceAndDtlsTransports();transceiver.iceTransport=transports.iceTransport;transceiver.dtlsTransport=transports.dtlsTransport;} -this.transceivers.push(transceiver);return transceiver;};RTCPeerConnection.prototype.addTrack=function(track,stream){var transceiver;for(var i=0;i=15025){this.localStreams.push(stream);stream.getTracks().forEach(function(track){self.addTrack(track,stream);});}else{var clonedStream=stream.clone();stream.getTracks().forEach(function(track,idx){var clonedTrack=clonedStream.getTracks()[idx];track.addEventListener('enabled',function(event){clonedTrack.enabled=event.enabled;});});clonedStream.getTracks().forEach(function(track){self.addTrack(track,clonedStream);});this.localStreams.push(clonedStream);} -this._maybeFireNegotiationNeeded();};RTCPeerConnection.prototype.removeStream=function(stream){var idx=this.localStreams.indexOf(stream);if(idx>-1){this.localStreams.splice(idx,1);this._maybeFireNegotiationNeeded();}};RTCPeerConnection.prototype.getSenders=function(){return this.transceivers.filter(function(transceiver){return!!transceiver.rtpSender;}).map(function(transceiver){return transceiver.rtpSender;});};RTCPeerConnection.prototype.getReceivers=function(){return this.transceivers.filter(function(transceiver){return!!transceiver.rtpReceiver;}).map(function(transceiver){return transceiver.rtpReceiver;});};RTCPeerConnection.prototype._createIceGatherer=function(mid,sdpMLineIndex){var self=this;var iceGatherer=new window.RTCIceGatherer(self.iceOptions);iceGatherer.onlocalcandidate=function(evt){var event=new Event('icecandidate');event.candidate={sdpMid:mid,sdpMLineIndex:sdpMLineIndex};var cand=evt.candidate;var end=!cand||Object.keys(cand).length===0;if(end){if(iceGatherer.state===undefined){iceGatherer.state='completed';}}else{cand.component=1;event.candidate.candidate=SDPUtils.writeCandidate(cand);} -var sections=SDPUtils.splitSections(self.localDescription.sdp);if(!end){sections[event.candidate.sdpMLineIndex+1]+='a='+event.candidate.candidate+'\r\n';}else{sections[event.candidate.sdpMLineIndex+1]+='a=end-of-candidates\r\n';} -self.localDescription.sdp=sections.join('');var transceivers=self._pendingOffer?self._pendingOffer:self.transceivers;var complete=transceivers.every(function(transceiver){return transceiver.iceGatherer&&transceiver.iceGatherer.state==='completed';});switch(self.iceGatheringState){case'new':if(!end){self._localIceCandidatesBuffer.push(event);} -if(end&&complete){self._localIceCandidatesBuffer.push(new Event('icecandidate'));} -break;case'gathering':self._emitBufferedCandidates();if(!end){self.dispatchEvent(event);if(self.onicecandidate!==null){self.onicecandidate(event);}} -if(complete){self.dispatchEvent(new Event('icecandidate'));if(self.onicecandidate!==null){self.onicecandidate(new Event('icecandidate'));} -self.iceGatheringState='complete';self._emitGatheringStateChange();} -break;case'complete':break;default:break;}};return iceGatherer;};RTCPeerConnection.prototype._createIceAndDtlsTransports=function(){var self=this;var iceTransport=new window.RTCIceTransport(null);iceTransport.onicestatechange=function(){self._updateConnectionState();};var dtlsTransport=new window.RTCDtlsTransport(iceTransport);dtlsTransport.ondtlsstatechange=function(){self._updateConnectionState();};dtlsTransport.onerror=function(){Object.defineProperty(dtlsTransport,'state',{value:'failed',writable:true});self._updateConnectionState();};return{iceTransport:iceTransport,dtlsTransport:dtlsTransport};};RTCPeerConnection.prototype._disposeIceAndDtlsTransports=function(sdpMLineIndex){var iceGatherer=this.transceivers[sdpMLineIndex].iceGatherer;if(iceGatherer){delete iceGatherer.onlocalcandidate;delete this.transceivers[sdpMLineIndex].iceGatherer;} -var iceTransport=this.transceivers[sdpMLineIndex].iceTransport;if(iceTransport){delete iceTransport.onicestatechange;delete this.transceivers[sdpMLineIndex].iceTransport;} -var dtlsTransport=this.transceivers[sdpMLineIndex].dtlsTransport;if(dtlsTransport){delete dtlsTransport.ondtlssttatechange;delete dtlsTransport.onerror;delete this.transceivers[sdpMLineIndex].dtlsTransport;}};RTCPeerConnection.prototype._transceive=function(transceiver,send,recv){var params=getCommonCapabilities(transceiver.localCapabilities,transceiver.remoteCapabilities);if(send&&transceiver.rtpSender){params.encodings=transceiver.sendEncodingParameters;params.rtcp={cname:SDPUtils.localCName,compound:transceiver.rtcpParameters.compound};if(transceiver.recvEncodingParameters.length){params.rtcp.ssrc=transceiver.recvEncodingParameters[0].ssrc;} -transceiver.rtpSender.send(params);} -if(recv&&transceiver.rtpReceiver){if(transceiver.kind==='video'&&transceiver.recvEncodingParameters&&edgeVersion<15019){transceiver.recvEncodingParameters.forEach(function(p){delete p.rtx;});} -params.encodings=transceiver.recvEncodingParameters;params.rtcp={cname:transceiver.rtcpParameters.cname,compound:transceiver.rtcpParameters.compound};if(transceiver.sendEncodingParameters.length){params.rtcp.ssrc=transceiver.sendEncodingParameters[0].ssrc;} -transceiver.rtpReceiver.receive(params);}};RTCPeerConnection.prototype.setLocalDescription=function(description){var self=this;if(!isActionAllowedInSignalingState('setLocalDescription',description.type,this.signalingState)){var e=new Error('Can not set local '+description.type+' in state '+this.signalingState);e.name='InvalidStateError';if(arguments.length>2&&typeof arguments[2]==='function'){window.setTimeout(arguments[2],0,e);} -return Promise.reject(e);} -var sections;var sessionpart;if(description.type==='offer'){if(this._pendingOffer){sections=SDPUtils.splitSections(description.sdp);sessionpart=sections.shift();sections.forEach(function(mediaSection,sdpMLineIndex){var caps=SDPUtils.parseRtpParameters(mediaSection);self._pendingOffer[sdpMLineIndex].localCapabilities=caps;});this.transceivers=this._pendingOffer;delete this._pendingOffer;}}else if(description.type==='answer'){sections=SDPUtils.splitSections(self.remoteDescription.sdp);sessionpart=sections.shift();var isIceLite=SDPUtils.matchPrefix(sessionpart,'a=ice-lite').length>0;sections.forEach(function(mediaSection,sdpMLineIndex){var transceiver=self.transceivers[sdpMLineIndex];var iceGatherer=transceiver.iceGatherer;var iceTransport=transceiver.iceTransport;var dtlsTransport=transceiver.dtlsTransport;var localCapabilities=transceiver.localCapabilities;var remoteCapabilities=transceiver.remoteCapabilities;var rejected=SDPUtils.isRejected(mediaSection);if(!rejected&&!transceiver.isDatachannel){var remoteIceParameters=SDPUtils.getIceParameters(mediaSection,sessionpart);var remoteDtlsParameters=SDPUtils.getDtlsParameters(mediaSection,sessionpart);if(isIceLite){remoteDtlsParameters.role='server';} -if(!self.usingBundle||sdpMLineIndex===0){iceTransport.start(iceGatherer,remoteIceParameters,isIceLite?'controlling':'controlled');dtlsTransport.start(remoteDtlsParameters);} -var params=getCommonCapabilities(localCapabilities,remoteCapabilities);self._transceive(transceiver,params.codecs.length>0,false);}});} -this.localDescription={type:description.type,sdp:description.sdp};switch(description.type){case'offer':this._updateSignalingState('have-local-offer');break;case'answer':this._updateSignalingState('stable');break;default:throw new TypeError('unsupported type "'+description.type+'"');} -var hasCallback=arguments.length>1&&typeof arguments[1]==='function';if(hasCallback){var cb=arguments[1];window.setTimeout(function(){cb();if(self.iceGatheringState==='new'){self.iceGatheringState='gathering';self._emitGatheringStateChange();} -self._emitBufferedCandidates();},0);} -var p=Promise.resolve();p.then(function(){if(!hasCallback){if(self.iceGatheringState==='new'){self.iceGatheringState='gathering';self._emitGatheringStateChange();} -window.setTimeout(self._emitBufferedCandidates.bind(self),500);}});return p;};RTCPeerConnection.prototype.setRemoteDescription=function(description){var self=this;if(!isActionAllowedInSignalingState('setRemoteDescription',description.type,this.signalingState)){var e=new Error('Can not set remote '+description.type+' in state '+this.signalingState);e.name='InvalidStateError';if(arguments.length>2&&typeof arguments[2]==='function'){window.setTimeout(arguments[2],0,e);} -return Promise.reject(e);} -var streams={};var receiverList=[];var sections=SDPUtils.splitSections(description.sdp);var sessionpart=sections.shift();var isIceLite=SDPUtils.matchPrefix(sessionpart,'a=ice-lite').length>0;var usingBundle=SDPUtils.matchPrefix(sessionpart,'a=group:BUNDLE ').length>0;this.usingBundle=usingBundle;var iceOptions=SDPUtils.matchPrefix(sessionpart,'a=ice-options:')[0];if(iceOptions){this.canTrickleIceCandidates=iceOptions.substr(14).split(' ').indexOf('trickle')>=0;}else{this.canTrickleIceCandidates=false;} -sections.forEach(function(mediaSection,sdpMLineIndex){var lines=SDPUtils.splitLines(mediaSection);var kind=SDPUtils.getKind(mediaSection);var rejected=SDPUtils.isRejected(mediaSection);var protocol=lines[0].substr(2).split(' ')[2];var direction=SDPUtils.getDirection(mediaSection,sessionpart);var remoteMsid=SDPUtils.parseMsid(mediaSection);var mid=SDPUtils.getMid(mediaSection)||SDPUtils.generateIdentifier();if(kind==='application'&&protocol==='DTLS/SCTP'){self.transceivers[sdpMLineIndex]={mid:mid,isDatachannel:true};return;} -var transceiver;var iceGatherer;var iceTransport;var dtlsTransport;var rtpReceiver;var sendEncodingParameters;var recvEncodingParameters;var localCapabilities;var track;var remoteCapabilities=SDPUtils.parseRtpParameters(mediaSection);var remoteIceParameters;var remoteDtlsParameters;if(!rejected){remoteIceParameters=SDPUtils.getIceParameters(mediaSection,sessionpart);remoteDtlsParameters=SDPUtils.getDtlsParameters(mediaSection,sessionpart);remoteDtlsParameters.role='client';} -recvEncodingParameters=SDPUtils.parseRtpEncodingParameters(mediaSection);var rtcpParameters=SDPUtils.parseRtcpParameters(mediaSection);var isComplete=SDPUtils.matchPrefix(mediaSection,'a=end-of-candidates',sessionpart).length>0;var cands=SDPUtils.matchPrefix(mediaSection,'a=candidate:').map(function(cand){return SDPUtils.parseCandidate(cand);}).filter(function(cand){return cand.component==='1'||cand.component===1;});if((description.type==='offer'||description.type==='answer')&&!rejected&&usingBundle&&sdpMLineIndex>0&&self.transceivers[sdpMLineIndex]){self._disposeIceAndDtlsTransports(sdpMLineIndex);self.transceivers[sdpMLineIndex].iceGatherer=self.transceivers[0].iceGatherer;self.transceivers[sdpMLineIndex].iceTransport=self.transceivers[0].iceTransport;self.transceivers[sdpMLineIndex].dtlsTransport=self.transceivers[0].dtlsTransport;if(self.transceivers[sdpMLineIndex].rtpSender){self.transceivers[sdpMLineIndex].rtpSender.setTransport(self.transceivers[0].dtlsTransport);} -if(self.transceivers[sdpMLineIndex].rtpReceiver){self.transceivers[sdpMLineIndex].rtpReceiver.setTransport(self.transceivers[0].dtlsTransport);}} -if(description.type==='offer'&&!rejected){transceiver=self.transceivers[sdpMLineIndex]||self._createTransceiver(kind);transceiver.mid=mid;if(!transceiver.iceGatherer){transceiver.iceGatherer=usingBundle&&sdpMLineIndex>0?self.transceivers[0].iceGatherer:self._createIceGatherer(mid,sdpMLineIndex);} -if(isComplete&&(!usingBundle||sdpMLineIndex===0)){transceiver.iceTransport.setRemoteCandidates(cands);} -localCapabilities=window.RTCRtpReceiver.getCapabilities(kind);if(edgeVersion<15019){localCapabilities.codecs=localCapabilities.codecs.filter(function(codec){return codec.name!=='rtx';});} -sendEncodingParameters=[{ssrc:(2*sdpMLineIndex+2)*1001}];if(direction==='sendrecv'||direction==='sendonly'){rtpReceiver=new window.RTCRtpReceiver(transceiver.dtlsTransport,kind);track=rtpReceiver.track;if(remoteMsid){if(!streams[remoteMsid.stream]){streams[remoteMsid.stream]=new window.MediaStream();Object.defineProperty(streams[remoteMsid.stream],'id',{get:function(){return remoteMsid.stream;}});} -Object.defineProperty(track,'id',{get:function(){return remoteMsid.track;}});streams[remoteMsid.stream].addTrack(track);receiverList.push([track,rtpReceiver,streams[remoteMsid.stream]]);}else{if(!streams.default){streams.default=new window.MediaStream();} -streams.default.addTrack(track);receiverList.push([track,rtpReceiver,streams.default]);}} -transceiver.localCapabilities=localCapabilities;transceiver.remoteCapabilities=remoteCapabilities;transceiver.rtpReceiver=rtpReceiver;transceiver.rtcpParameters=rtcpParameters;transceiver.sendEncodingParameters=sendEncodingParameters;transceiver.recvEncodingParameters=recvEncodingParameters;self._transceive(self.transceivers[sdpMLineIndex],false,direction==='sendrecv'||direction==='sendonly');}else if(description.type==='answer'&&!rejected){transceiver=self.transceivers[sdpMLineIndex];iceGatherer=transceiver.iceGatherer;iceTransport=transceiver.iceTransport;dtlsTransport=transceiver.dtlsTransport;rtpReceiver=transceiver.rtpReceiver;sendEncodingParameters=transceiver.sendEncodingParameters;localCapabilities=transceiver.localCapabilities;self.transceivers[sdpMLineIndex].recvEncodingParameters=recvEncodingParameters;self.transceivers[sdpMLineIndex].remoteCapabilities=remoteCapabilities;self.transceivers[sdpMLineIndex].rtcpParameters=rtcpParameters;if((isIceLite||isComplete)&&cands.length){iceTransport.setRemoteCandidates(cands);} -if(!usingBundle||sdpMLineIndex===0){iceTransport.start(iceGatherer,remoteIceParameters,'controlling');dtlsTransport.start(remoteDtlsParameters);} -self._transceive(transceiver,direction==='sendrecv'||direction==='recvonly',direction==='sendrecv'||direction==='sendonly');if(rtpReceiver&&(direction==='sendrecv'||direction==='sendonly')){track=rtpReceiver.track;if(remoteMsid){if(!streams[remoteMsid.stream]){streams[remoteMsid.stream]=new window.MediaStream();} -streams[remoteMsid.stream].addTrack(track);receiverList.push([track,rtpReceiver,streams[remoteMsid.stream]]);}else{if(!streams.default){streams.default=new window.MediaStream();} -streams.default.addTrack(track);receiverList.push([track,rtpReceiver,streams.default]);}}else{delete transceiver.rtpReceiver;}}});this.remoteDescription={type:description.type,sdp:description.sdp};switch(description.type){case'offer':this._updateSignalingState('have-remote-offer');break;case'answer':this._updateSignalingState('stable');break;default:throw new TypeError('unsupported type "'+description.type+'"');} -Object.keys(streams).forEach(function(sid){var stream=streams[sid];if(stream.getTracks().length){self.remoteStreams.push(stream);var event=new Event('addstream');event.stream=stream;self.dispatchEvent(event);if(self.onaddstream!==null){window.setTimeout(function(){self.onaddstream(event);},0);} -receiverList.forEach(function(item){var track=item[0];var receiver=item[1];if(stream.id!==item[2].id){return;} -var trackEvent=new Event('track');trackEvent.track=track;trackEvent.receiver=receiver;trackEvent.streams=[stream];self.dispatchEvent(trackEvent);if(self.ontrack!==null){window.setTimeout(function(){self.ontrack(trackEvent);},0);}});}});window.setTimeout(function(){if(!(self&&self.transceivers)){return;} -self.transceivers.forEach(function(transceiver){if(transceiver.iceTransport&&transceiver.iceTransport.state==='new'&&transceiver.iceTransport.getRemoteCandidates().length>0){console.warn('Timeout for addRemoteCandidate. Consider sending '+'an end-of-candidates notification');transceiver.iceTransport.addRemoteCandidate({});}});},4000);if(arguments.length>1&&typeof arguments[1]==='function'){window.setTimeout(arguments[1],0);} -return Promise.resolve();};RTCPeerConnection.prototype.close=function(){this.transceivers.forEach(function(transceiver){if(transceiver.iceTransport){transceiver.iceTransport.stop();} -if(transceiver.dtlsTransport){transceiver.dtlsTransport.stop();} -if(transceiver.rtpSender){transceiver.rtpSender.stop();} -if(transceiver.rtpReceiver){transceiver.rtpReceiver.stop();}});this._updateSignalingState('closed');};RTCPeerConnection.prototype._updateSignalingState=function(newState){this.signalingState=newState;var event=new Event('signalingstatechange');this.dispatchEvent(event);if(this.onsignalingstatechange!==null){this.onsignalingstatechange(event);}};RTCPeerConnection.prototype._maybeFireNegotiationNeeded=function(){var self=this;if(this.signalingState!=='stable'||this.needNegotiation===true){return;} -this.needNegotiation=true;window.setTimeout(function(){if(self.needNegotiation===false){return;} -self.needNegotiation=false;var event=new Event('negotiationneeded');self.dispatchEvent(event);if(self.onnegotiationneeded!==null){self.onnegotiationneeded(event);}},0);};RTCPeerConnection.prototype._updateConnectionState=function(){var self=this;var newState;var states={'new':0,closed:0,connecting:0,checking:0,connected:0,completed:0,disconnected:0,failed:0};this.transceivers.forEach(function(transceiver){states[transceiver.iceTransport.state]++;states[transceiver.dtlsTransport.state]++;});states.connected+=states.completed;newState='new';if(states.failed>0){newState='failed';}else if(states.connecting>0||states.checking>0){newState='connecting';}else if(states.disconnected>0){newState='disconnected';}else if(states.new>0){newState='new';}else if(states.connected>0||states.completed>0){newState='connected';} -if(newState!==self.iceConnectionState){self.iceConnectionState=newState;var event=new Event('iceconnectionstatechange');this.dispatchEvent(event);if(this.oniceconnectionstatechange!==null){this.oniceconnectionstatechange(event);}}};RTCPeerConnection.prototype.createOffer=function(){var self=this;if(this._pendingOffer){throw new Error('createOffer called while there is a pending offer.');} -var offerOptions;if(arguments.length===1&&typeof arguments[0]!=='function'){offerOptions=arguments[0];}else if(arguments.length===3){offerOptions=arguments[2];} -var numAudioTracks=this.transceivers.filter(function(t){return t.kind==='audio';}).length;var numVideoTracks=this.transceivers.filter(function(t){return t.kind==='video';}).length;if(offerOptions){if(offerOptions.mandatory||offerOptions.optional){throw new TypeError('Legacy mandatory/optional constraints not supported.');} -if(offerOptions.offerToReceiveAudio!==undefined){if(offerOptions.offerToReceiveAudio===true){numAudioTracks=1;}else if(offerOptions.offerToReceiveAudio===false){numAudioTracks=0;}else{numAudioTracks=offerOptions.offerToReceiveAudio;}} -if(offerOptions.offerToReceiveVideo!==undefined){if(offerOptions.offerToReceiveVideo===true){numVideoTracks=1;}else if(offerOptions.offerToReceiveVideo===false){numVideoTracks=0;}else{numVideoTracks=offerOptions.offerToReceiveVideo;}}} -this.transceivers.forEach(function(transceiver){if(transceiver.kind==='audio'){numAudioTracks--;if(numAudioTracks<0){transceiver.wantReceive=false;}}else if(transceiver.kind==='video'){numVideoTracks--;if(numVideoTracks<0){transceiver.wantReceive=false;}}});while(numAudioTracks>0||numVideoTracks>0){if(numAudioTracks>0){this._createTransceiver('audio');numAudioTracks--;} -if(numVideoTracks>0){this._createTransceiver('video');numVideoTracks--;}} -var transceivers=sortTracks(this.transceivers);var sdp=SDPUtils.writeSessionBoilerplate(this._sdpSessionId);transceivers.forEach(function(transceiver,sdpMLineIndex){var track=transceiver.track;var kind=transceiver.kind;var mid=SDPUtils.generateIdentifier();transceiver.mid=mid;if(!transceiver.iceGatherer){transceiver.iceGatherer=self.usingBundle&&sdpMLineIndex>0?transceivers[0].iceGatherer:self._createIceGatherer(mid,sdpMLineIndex);} -var localCapabilities=window.RTCRtpSender.getCapabilities(kind);if(edgeVersion<15019){localCapabilities.codecs=localCapabilities.codecs.filter(function(codec){return codec.name!=='rtx';});} -localCapabilities.codecs.forEach(function(codec){if(codec.name==='H264'&&codec.parameters['level-asymmetry-allowed']===undefined){codec.parameters['level-asymmetry-allowed']='1';}});var sendEncodingParameters=[{ssrc:(2*sdpMLineIndex+1)*1001}];if(track){if(edgeVersion>=15019&&kind==='video'){sendEncodingParameters[0].rtx={ssrc:(2*sdpMLineIndex+1)*1001+1};}} -if(transceiver.wantReceive){transceiver.rtpReceiver=new window.RTCRtpReceiver(transceiver.dtlsTransport,kind);} -transceiver.localCapabilities=localCapabilities;transceiver.sendEncodingParameters=sendEncodingParameters;});if(this._config.bundlePolicy!=='max-compat'){sdp+='a=group:BUNDLE '+transceivers.map(function(t){return t.mid;}).join(' ')+'\r\n';} -sdp+='a=ice-options:trickle\r\n';transceivers.forEach(function(transceiver,sdpMLineIndex){sdp+=SDPUtils.writeMediaSection(transceiver,transceiver.localCapabilities,'offer',transceiver.stream);sdp+='a=rtcp-rsize\r\n';});this._pendingOffer=transceivers;var desc=new window.RTCSessionDescription({type:'offer',sdp:sdp});if(arguments.length&&typeof arguments[0]==='function'){window.setTimeout(arguments[0],0,desc);} -return Promise.resolve(desc);};RTCPeerConnection.prototype.createAnswer=function(){var sdp=SDPUtils.writeSessionBoilerplate(this._sdpSessionId);if(this.usingBundle){sdp+='a=group:BUNDLE '+this.transceivers.map(function(t){return t.mid;}).join(' ')+'\r\n';} -this.transceivers.forEach(function(transceiver,sdpMLineIndex){if(transceiver.isDatachannel){sdp+='m=application 0 DTLS/SCTP 5000\r\n'+'c=IN IP4 0.0.0.0\r\n'+'a=mid:'+transceiver.mid+'\r\n';return;} -if(transceiver.stream){var localTrack;if(transceiver.kind==='audio'){localTrack=transceiver.stream.getAudioTracks()[0];}else if(transceiver.kind==='video'){localTrack=transceiver.stream.getVideoTracks()[0];} -if(localTrack){if(edgeVersion>=15019&&transceiver.kind==='video'){transceiver.sendEncodingParameters[0].rtx={ssrc:(2*sdpMLineIndex+2)*1001+1};}}} -var commonCapabilities=getCommonCapabilities(transceiver.localCapabilities,transceiver.remoteCapabilities);var hasRtx=commonCapabilities.codecs.filter(function(c){return c.name.toLowerCase()==='rtx';}).length;if(!hasRtx&&transceiver.sendEncodingParameters[0].rtx){delete transceiver.sendEncodingParameters[0].rtx;} -sdp+=SDPUtils.writeMediaSection(transceiver,commonCapabilities,'answer',transceiver.stream);if(transceiver.rtcpParameters&&transceiver.rtcpParameters.reducedSize){sdp+='a=rtcp-rsize\r\n';}});var desc=new window.RTCSessionDescription({type:'answer',sdp:sdp});if(arguments.length&&typeof arguments[0]==='function'){window.setTimeout(arguments[0],0,desc);} -return Promise.resolve(desc);};RTCPeerConnection.prototype.addIceCandidate=function(candidate){if(!candidate){for(var j=0;j0?SDPUtils.parseCandidate(candidate.candidate):{};if(cand.protocol==='tcp'&&(cand.port===0||cand.port===9)){return Promise.resolve();} -if(cand.component&&!(cand.component==='1'||cand.component===1)){return Promise.resolve();} -transceiver.iceTransport.addRemoteCandidate(cand);var sections=SDPUtils.splitSections(this.remoteDescription.sdp);sections[mLineIndex+1]+=(cand.type?candidate.candidate.trim():'a=end-of-candidates')+'\r\n';this.remoteDescription.sdp=sections.join('');}} -if(arguments.length>1&&typeof arguments[1]==='function'){window.setTimeout(arguments[1],0);} -return Promise.resolve();};RTCPeerConnection.prototype.getStats=function(){var promises=[];this.transceivers.forEach(function(transceiver){['rtpSender','rtpReceiver','iceGatherer','iceTransport','dtlsTransport'].forEach(function(method){if(transceiver[method]){promises.push(transceiver[method].getStats());}});});var cb=arguments.length>1&&typeof arguments[1]==='function'&&arguments[1];var fixStatsType=function(stat){return{inboundrtp:'inbound-rtp',outboundrtp:'outbound-rtp',candidatepair:'candidate-pair',localcandidate:'local-candidate',remotecandidate:'remote-candidate'}[stat.type]||stat.type;};return new Promise(function(resolve){var results=new Map();Promise.all(promises).then(function(res){res.forEach(function(result){Object.keys(result).forEach(function(id){result[id].type=fixStatsType(result[id]);results.set(id,result[id]);});});if(cb){window.setTimeout(cb,0,results);} -resolve(results);});});};return RTCPeerConnection;};},{"sdp":1}],9:[function(require,module,exports){'use strict';var utils=require('../utils');var firefoxShim={shimOnTrack:function(window){if(typeof window==='object'&&window.RTCPeerConnection&&!('ontrack'in -window.RTCPeerConnection.prototype)){Object.defineProperty(window.RTCPeerConnection.prototype,'ontrack',{get:function(){return this._ontrack;},set:function(f){if(this._ontrack){this.removeEventListener('track',this._ontrack);this.removeEventListener('addstream',this._ontrackpoly);} -this.addEventListener('track',this._ontrack=f);this.addEventListener('addstream',this._ontrackpoly=function(e){e.stream.getTracks().forEach(function(track){var event=new Event('track');event.track=track;event.receiver={track:track};event.streams=[e.stream];this.dispatchEvent(event);}.bind(this));}.bind(this));}});}},shimSourceObject:function(window){if(typeof window==='object'){if(window.HTMLMediaElement&&!('srcObject'in window.HTMLMediaElement.prototype)){Object.defineProperty(window.HTMLMediaElement.prototype,'srcObject',{get:function(){return this.mozSrcObject;},set:function(stream){this.mozSrcObject=stream;}});}}},shimPeerConnection:function(window){var browserDetails=utils.detectBrowser(window);if(typeof window!=='object'||!(window.RTCPeerConnection||window.mozRTCPeerConnection)){return;} -if(!window.RTCPeerConnection){window.RTCPeerConnection=function(pcConfig,pcConstraints){if(browserDetails.version<38){if(pcConfig&&pcConfig.iceServers){var newIceServers=[];for(var i=0;i55&&'autoGainControl'in navigator.mediaDevices.getSupportedConstraints())){var remap=function(obj,a,b){if(a in obj&&!(b in obj)){obj[b]=obj[a];delete obj[a];}};var nativeGetUserMedia=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(c){if(typeof c==='object'&&typeof c.audio==='object'){c=JSON.parse(JSON.stringify(c));remap(c.audio,'autoGainControl','mozAutoGainControl');remap(c.audio,'noiseSuppression','mozNoiseSuppression');} -return nativeGetUserMedia(c);};if(MediaStreamTrack&&MediaStreamTrack.prototype.getSettings){var nativeGetSettings=MediaStreamTrack.prototype.getSettings;MediaStreamTrack.prototype.getSettings=function(){var obj=nativeGetSettings.apply(this,arguments);remap(obj,'mozAutoGainControl','autoGainControl');remap(obj,'mozNoiseSuppression','noiseSuppression');return obj;};} -if(MediaStreamTrack&&MediaStreamTrack.prototype.applyConstraints){var nativeApplyConstraints=MediaStreamTrack.prototype.applyConstraints;MediaStreamTrack.prototype.applyConstraints=function(c){if(this.kind==='audio'&&typeof c==='object'){c=JSON.parse(JSON.stringify(c));remap(c,'autoGainControl','mozAutoGainControl');remap(c,'noiseSuppression','mozNoiseSuppression');} -return nativeApplyConstraints.apply(this,[c]);};}} -navigator.getUserMedia=function(constraints,onSuccess,onError){if(browserDetails.version<44){return getUserMedia_(constraints,onSuccess,onError);} -console.warn('navigator.getUserMedia has been replaced by '+'navigator.mediaDevices.getUserMedia');navigator.mediaDevices.getUserMedia(constraints).then(onSuccess,onError);};};},{"../utils":12}],11:[function(require,module,exports){'use strict';var utils=require('../utils');var safariShim={shimLocalStreamsAPI:function(window){if(typeof window!=='object'||!window.RTCPeerConnection){return;} -if(!('getLocalStreams'in window.RTCPeerConnection.prototype)){window.RTCPeerConnection.prototype.getLocalStreams=function(){if(!this._localStreams){this._localStreams=[];} -return this._localStreams;};} -if(!('getStreamById'in window.RTCPeerConnection.prototype)){window.RTCPeerConnection.prototype.getStreamById=function(id){var result=null;if(this._localStreams){this._localStreams.forEach(function(stream){if(stream.id===id){result=stream;}});} -if(this._remoteStreams){this._remoteStreams.forEach(function(stream){if(stream.id===id){result=stream;}});} -return result;};} -if(!('addStream'in window.RTCPeerConnection.prototype)){var _addTrack=window.RTCPeerConnection.prototype.addTrack;window.RTCPeerConnection.prototype.addStream=function(stream){if(!this._localStreams){this._localStreams=[];} -if(this._localStreams.indexOf(stream)===-1){this._localStreams.push(stream);} -var self=this;stream.getTracks().forEach(function(track){_addTrack.call(self,track,stream);});};window.RTCPeerConnection.prototype.addTrack=function(track,stream){if(stream){if(!this._localStreams){this._localStreams=[stream];}else if(this._localStreams.indexOf(stream)===-1){this._localStreams.push(stream);}} -_addTrack.call(this,track,stream);};} -if(!('removeStream'in window.RTCPeerConnection.prototype)){window.RTCPeerConnection.prototype.removeStream=function(stream){if(!this._localStreams){this._localStreams=[];} -var index=this._localStreams.indexOf(stream);if(index===-1){return;} -this._localStreams.splice(index,1);var self=this;var tracks=stream.getTracks();this.getSenders().forEach(function(sender){if(tracks.indexOf(sender.track)!==-1){self.removeTrack(sender);}});};}},shimRemoteStreamsAPI:function(window){if(typeof window!=='object'||!window.RTCPeerConnection){return;} -if(!('getRemoteStreams'in window.RTCPeerConnection.prototype)){window.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[];};} -if(!('onaddstream'in window.RTCPeerConnection.prototype)){Object.defineProperty(window.RTCPeerConnection.prototype,'onaddstream',{get:function(){return this._onaddstream;},set:function(f){if(this._onaddstream){this.removeEventListener('addstream',this._onaddstream);this.removeEventListener('track',this._onaddstreampoly);} -this.addEventListener('addstream',this._onaddstream=f);this.addEventListener('track',this._onaddstreampoly=function(e){var stream=e.streams[0];if(!this._remoteStreams){this._remoteStreams=[];} -if(this._remoteStreams.indexOf(stream)>=0){return;} -this._remoteStreams.push(stream);var event=new Event('addstream');event.stream=e.streams[0];this.dispatchEvent(event);}.bind(this));}});}},shimCallbacksAPI:function(window){if(typeof window!=='object'||!window.RTCPeerConnection){return;} -var prototype=window.RTCPeerConnection.prototype;var createOffer=prototype.createOffer;var createAnswer=prototype.createAnswer;var setLocalDescription=prototype.setLocalDescription;var setRemoteDescription=prototype.setRemoteDescription;var addIceCandidate=prototype.addIceCandidate;prototype.createOffer=function(successCallback,failureCallback){var options=(arguments.length>=2)?arguments[2]:arguments[0];var promise=createOffer.apply(this,[options]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};prototype.createAnswer=function(successCallback,failureCallback){var options=(arguments.length>=2)?arguments[2]:arguments[0];var promise=createAnswer.apply(this,[options]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};var withCallback=function(description,successCallback,failureCallback){var promise=setLocalDescription.apply(this,[description]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};prototype.setLocalDescription=withCallback;withCallback=function(description,successCallback,failureCallback){var promise=setRemoteDescription.apply(this,[description]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};prototype.setRemoteDescription=withCallback;withCallback=function(candidate,successCallback,failureCallback){var promise=addIceCandidate.apply(this,[candidate]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};prototype.addIceCandidate=withCallback;},shimGetUserMedia:function(window){var navigator=window&&window.navigator;if(!navigator.getUserMedia){if(navigator.webkitGetUserMedia){navigator.getUserMedia=navigator.webkitGetUserMedia.bind(navigator);}else if(navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){navigator.getUserMedia=function(constraints,cb,errcb){navigator.mediaDevices.getUserMedia(constraints).then(cb,errcb);}.bind(navigator);}}},shimRTCIceServerUrls:function(window){var OrigPeerConnection=window.RTCPeerConnection;window.RTCPeerConnection=function(pcConfig,pcConstraints){if(pcConfig&&pcConfig.iceServers){var newIceServers=[];for(var i=0;i=pos&&parseInt(match[pos],10);},detectBrowser:function(window){var navigator=window&&window.navigator;var result={};result.browser=null;result.version=null;if(typeof window==='undefined'||!window.navigator){result.browser='Not a browser.';return result;} -if(navigator.mozGetUserMedia){result.browser='firefox';result.version=this.extractVersion(navigator.userAgent,/Firefox\/(\d+)\./,1);}else if(navigator.webkitGetUserMedia){if(window.webkitRTCPeerConnection){result.browser='chrome';result.version=this.extractVersion(navigator.userAgent,/Chrom(e|ium)\/(\d+)\./,2);}else{if(navigator.userAgent.match(/Version\/(\d+).(\d+)/)){result.browser='safari';result.version=this.extractVersion(navigator.userAgent,/AppleWebKit\/(\d+)\./,1);}else{result.browser='Unsupported webkit-based browser '+'with GUM support but no WebRTC support.';return result;}}}else if(navigator.mediaDevices&&navigator.userAgent.match(/Edge\/(\d+).(\d+)$/)){result.browser='edge';result.version=this.extractVersion(navigator.userAgent,/Edge\/(\d+).(\d+)$/,2);}else if(navigator.mediaDevices&&navigator.userAgent.match(/AppleWebKit\/(\d+)\./)){result.browser='safari';result.version=this.extractVersion(navigator.userAgent,/AppleWebKit\/(\d+)\./,1);}else{result.browser='Not a supported browser.';return result;} -return result;},shimCreateObjectURL:function(window){var URL=window&&window.URL;if(!(typeof window==='object'&&window.HTMLMediaElement&&'srcObject'in window.HTMLMediaElement.prototype)){return undefined;} -var nativeCreateObjectURL=URL.createObjectURL.bind(URL);var nativeRevokeObjectURL=URL.revokeObjectURL.bind(URL);var streams=new Map(),newId=0;URL.createObjectURL=function(stream){if('getTracks'in stream){var url='polyblob:'+(++newId);streams.set(url,stream);utils.deprecated('URL.createObjectURL(stream)','elem.srcObject = stream');return url;} -return nativeCreateObjectURL(stream);};URL.revokeObjectURL=function(url){nativeRevokeObjectURL(url);streams.delete(url);};var dsc=Object.getOwnPropertyDescriptor(window.HTMLMediaElement.prototype,'src');Object.defineProperty(window.HTMLMediaElement.prototype,'src',{get:function(){return dsc.get.apply(this);},set:function(url){this.srcObject=streams.get(url)||null;return dsc.set.apply(this,[url]);}});var nativeSetAttribute=window.HTMLMediaElement.prototype.setAttribute;window.HTMLMediaElement.prototype.setAttribute=function(){if(arguments.length===2&&(''+arguments[0]).toLowerCase()==='src'){this.srcObject=streams.get(arguments[1])||null;} -return nativeSetAttribute.apply(this,arguments);};}};module.exports={log:utils.log,deprecated:utils.deprecated,disableLog:utils.disableLog,disableWarnings:utils.disableWarnings,extractVersion:utils.extractVersion,shimCreateObjectURL:utils.shimCreateObjectURL,detectBrowser:utils.detectBrowser.bind(utils)};},{}]},{},[2])(2)}); \ No newline at end of file +(function($) { + + // Find the line in sdpLines that starts with |prefix|, and, if specified, + // contains |substr| (case-insensitive search). + function findLine(sdpLines, prefix, substr) { + return findLineInRange(sdpLines, 0, -1, prefix, substr); + } + + // Find the line in sdpLines[startLine...endLine - 1] that starts with |prefix| + // and, if specified, contains |substr| (case-insensitive search). + function findLineInRange(sdpLines, startLine, endLine, prefix, substr) { + var realEndLine = (endLine != -1) ? endLine : sdpLines.length; + for (var i = startLine; i < realEndLine; ++i) { + if (sdpLines[i].indexOf(prefix) === 0) { + if (!substr || sdpLines[i].toLowerCase().indexOf(substr.toLowerCase()) !== -1) { + return i; + } + } + } + return null; + } + + // Gets the codec payload type from an a=rtpmap:X line. + function getCodecPayloadType(sdpLine) { + var pattern = new RegExp('a=rtpmap:(\\d+) \\w+\\/\\d+'); + var result = sdpLine.match(pattern); + return (result && result.length == 2) ? result[1] : null; + } + + // Returns a new m= line with the specified codec as the first one. + function setDefaultCodec(mLine, payload) { + var elements = mLine.split(' '); + var newLine = []; + var index = 0; + for (var i = 0; i < elements.length; i++) { + if (index === 3) { // Format of media starts from the fourth. + newLine[index++] = payload; // Put target payload to the first. + } + if (elements[i] !== payload) newLine[index++] = elements[i]; + } + return newLine.join(' '); + } + + $.FSRTC = function(options) { + this.options = $.extend({ + useVideo: null, + useStereo: false, + userData: null, + localVideo: null, + screenShare: false, + useCamera: "any", + iceServers: false, + videoParams: {}, + audioParams: {}, + callbacks: { + onICEComplete: function() {}, + onICE: function() {}, + onOfferSDP: function() {} + }, + useStream: null, + }, options); + + this.audioEnabled = true; + this.videoEnabled = true; + + + this.mediaData = { + SDP: null, + profile: {}, + candidateList: [] + }; + + this.constraints = { + offerToReceiveAudio: this.options.useSpeak === "none" ? false : true, + offerToReceiveVideo: this.options.useVideo ? true : false, + }; + + if (self.options.useVideo) { + self.options.useVideo.style.display = 'none'; + } + + setCompat(); + checkCompat(); + }; + + $.FSRTC.validRes = []; + + $.FSRTC.prototype.useVideo = function(obj, local) { + var self = this; + + if (obj) { + self.options.useVideo = obj; + self.options.localVideo = local; + self.constraints.offerToReceiveVideo = true; + } else { + self.options.useVideo = null; + self.options.localVideo = null; + self.constraints.offerToReceiveVideo = false; + } + + if (self.options.useVideo) { + self.options.useVideo.style.display = 'none'; + } + }; + + $.FSRTC.prototype.useStereo = function(on) { + var self = this; + self.options.useStereo = on; + }; + + // Sets Opus in stereo if stereo is enabled, by adding the stereo=1 fmtp param. + $.FSRTC.prototype.stereoHack = function(sdp) { + var self = this; + + if (!self.options.useStereo) { + return sdp; + } + + var sdpLines = sdp.split('\r\n'); + + // Find opus payload. + var opusIndex = findLine(sdpLines, 'a=rtpmap', 'opus/48000'), opusPayload; + + if (!opusIndex) { + return sdp; + } else { + opusPayload = getCodecPayloadType(sdpLines[opusIndex]); + } + + // Find the payload in fmtp line. + var fmtpLineIndex = findLine(sdpLines, 'a=fmtp:' + opusPayload.toString()); + + if (fmtpLineIndex === null) { + // create an fmtp line + sdpLines[opusIndex] = sdpLines[opusIndex] + '\r\na=fmtp:' + opusPayload.toString() + " stereo=1; sprop-stereo=1" + } else { + // Append stereo=1 to fmtp line. + sdpLines[fmtpLineIndex] = sdpLines[fmtpLineIndex].concat('; stereo=1; sprop-stereo=1'); + } + + sdp = sdpLines.join('\r\n'); + return sdp; + }; + + function setCompat() { + } + + function checkCompat() { + return true; + } + + function onStreamError(self, e) { + console.log('There has been a problem retrieving the streams - did you allow access? Check Device Resolution', e); + doCallback(self, "onError", e); + } + + function onStreamSuccess(self, stream) { + console.log("Stream Success"); + doCallback(self, "onStream", stream); + } + + function onRemoteStreamSuccess(self, stream) { + console.log("Remote Stream Success"); + doCallback(self, "onRemoteStream", stream); + } + + function onICE(self, candidate) { + self.mediaData.candidate = candidate; + self.mediaData.candidateList.push(self.mediaData.candidate); + + doCallback(self, "onICE"); + } + + function doCallback(self, func, arg) { + if (func in self.options.callbacks) { + self.options.callbacks[func](self, arg); + } + } + + function onICEComplete(self, candidate) { + console.log("ICE Complete"); + doCallback(self, "onICEComplete"); + } + + function onChannelError(self, e) { + console.error("Channel Error", e); + doCallback(self, "onError", e); + } + + function onICESDP(self, sdp) { + self.mediaData.SDP = self.stereoHack(sdp.sdp); + console.log("ICE SDP"); + doCallback(self, "onICESDP"); + } + + function onAnswerSDP(self, sdp) { + self.answer.SDP = self.stereoHack(sdp.sdp); + console.log("ICE ANSWER SDP"); + doCallback(self, "onAnswerSDP", self.answer.SDP); + } + + function onMessage(self, msg) { + console.log("Message"); + doCallback(self, "onICESDP", msg); + } + + FSRTCattachMediaStream = function(element, stream) { + if (typeof element.srcObject !== 'undefined') { + element.srcObject = stream; + } else { + console.error('Error attaching stream to element.'); + } + } + + function onRemoteStream(self, stream) { + if (self.options.useVideo) { + self.options.useVideo.style.display = 'block'; + + // Hacks for Mobile Safari + var iOS = ['iPad', 'iPhone', 'iPod'].indexOf(navigator.platform) >= 0; + + if (iOS) { + self.options.useVideo.setAttribute("playsinline", true); + } + } + + var element = self.options.useAudio; + console.log("REMOTE STREAM", stream, element); + + FSRTCattachMediaStream(element, stream); + + + + //self.options.useAudio.play(); + self.remoteStream = stream; + onRemoteStreamSuccess(self, stream); + } + + function onOfferSDP(self, sdp) { + self.mediaData.SDP = self.stereoHack(sdp.sdp); + console.log("Offer SDP"); + doCallback(self, "onOfferSDP"); + } + + $.FSRTC.prototype.answer = function(sdp, onSuccess, onError) { + this.peer.addAnswerSDP({ + type: "answer", + sdp: sdp + }, + onSuccess, onError); + }; + + $.FSRTC.prototype.stopPeer = function() { + if (self.peer) { + console.log("stopping peer"); + self.peer.stop(); + } + } + + $.FSRTC.prototype.stop = function() { + var self = this; + + if (self.options.useVideo) { + self.options.useVideo.style.display = 'none'; + self.options.useVideo['src'] = ''; + } + + if (self.localStream && !self.options.useStream) { + if(typeof self.localStream.stop == 'function') { + self.localStream.stop(); + } else { + if (self.localStream.active){ + var tracks = self.localStream.getTracks(); + console.log(tracks); + tracks.forEach(function(track, index){ + console.log(track); + track.stop(); + }) + } + } + self.localStream = null; + } + + if (self.options.localVideo) { + deactivateLocalVideo(self.options.localVideo); + } + + if (self.options.localVideoStream && !self.options.useStream) { + if(typeof self.options.localVideoStream.stop == 'function') { + self.options.localVideoStream.stop(); + } else { + if (self.options.localVideoStream.active){ + var tracks = self.options.localVideoStream.getTracks(); + console.log(tracks); + tracks.forEach(function(track, index){ + console.log(track); + track.stop(); + }) + } + } + } + + if (self.peer) { + console.log("stopping peer"); + self.peer.stop(); + } + }; + + $.FSRTC.prototype.getMute = function() { + var self = this; + return self.audioEnabled; + } + + $.FSRTC.prototype.setMute = function(what) { + var self = this; + if (!self.localStream) { + return false; + } + var audioTracks = self.localStream.getAudioTracks(); + + for (var i = 0, len = audioTracks.length; i < len; i++ ) { + switch(what) { + case "on": + audioTracks[i].enabled = true; + break; + case "off": + audioTracks[i].enabled = false; + break; + case "toggle": + audioTracks[i].enabled = !audioTracks[i].enabled; + default: + break; + } + + self.audioEnabled = audioTracks[i].enabled; + } + + return !self.audioEnabled; + } + + $.FSRTC.prototype.getVideoMute = function() { + var self = this; + return self.videoEnabled; + } + + $.FSRTC.prototype.setVideoMute = function(what) { + var self = this; + if (!self.localStream) { + return false; + } + var videoTracks = self.localStream.getVideoTracks(); + + for (var i = 0, len = videoTracks.length; i < len; i++ ) { + switch(what) { + case "on": + videoTracks[i].enabled = true; + break; + case "off": + videoTracks[i].enabled = false; + break; + case "toggle": + videoTracks[i].enabled = !videoTracks[i].enabled; + default: + break; + } + + self.videoEnabled = videoTracks[i].enabled; + } + + return !self.videoEnabled; + } + + $.FSRTC.prototype.createAnswer = function(params) { + var self = this; + self.type = "answer"; + self.remoteSDP = params.sdp; + console.debug("inbound sdp: ", params.sdp); + + function onSuccess(stream) { + self.localStream = stream; + + self.peer = FSRTCPeerConnection({ + type: self.type, + attachStream: self.localStream, + onICE: function(candidate) { + return onICE(self, candidate); + }, + onICEComplete: function() { + return onICEComplete(self); + }, + onRemoteStream: function(stream) { + return onRemoteStream(self, stream); + }, + onICESDP: function(sdp) { + return onICESDP(self, sdp); + }, + onChannelError: function(e) { + return onChannelError(self, e); + }, + constraints: self.constraints, + iceServers: self.options.iceServers, + offerSDP: { + type: "offer", + sdp: self.remoteSDP + }, + turnServer: self.options.turnServer + }); + + onStreamSuccess(self, stream); + } + + function onError(e) { + onStreamError(self, e); + } + + var mediaParams = getMediaParams(self); + + console.log("Audio constraints", mediaParams.audio); + console.log("Video constraints", mediaParams.video); + + if (self.options.useVideo && self.options.localVideo && !self.options.useStream) { + getUserMedia({ + constraints: { + audio: false, + video: { deviceId: params.useCamera }, + }, + localVideo: self.options.localVideo, + onsuccess: function(e) {self.options.localVideoStream = e; console.log("local video ready");}, + onerror: function(e) {console.error("local video error!");} + }); + } + + if (self.options.useStream) { + if (self.options.useVideo) { + self.options.localVideoStream = self.options.useStream; + if (self.options.localVideo) { + activateLocalVideo(self.options.localVideo, self.options.useStream); + } + } + onSuccess(self.options.useStream); + } + else { + getUserMedia({ + constraints: { + audio: mediaParams.audio, + video: mediaParams.video + }, + video: mediaParams.useVideo, + onsuccess: onSuccess, + onerror: onError + }); + } + + }; + + function getMediaParams(obj) { + + var audio; + + if (obj.options.useMic && obj.options.useMic === "none") { + console.log("Microphone Disabled"); + audio = false; + } else if (obj.options.videoParams && obj.options.screenShare) {//obj.options.videoParams.chromeMediaSource == 'desktop') { + console.error("SCREEN SHARE", obj.options.videoParams); + audio = false; + } else { + audio = { + }; + + if (obj.options.audioParams) { + audio = obj.options.audioParams; + } + + if (obj.options.useMic !== "any") { + //audio.optional = [{sourceId: obj.options.useMic}]; + audio.deviceId = {exact: obj.options.useMic}; + } + } + + if (obj.options.useVideo && obj.options.localVideo && !obj.options.useStream) { + getUserMedia({ + constraints: { + audio: false, + video: { deviceId: obj.options.useCamera }, + }, + localVideo: obj.options.localVideo, + onsuccess: function(e) {obj.options.localVideoStream = e; console.log("local video ready");}, + onerror: function(e) {console.error("local video error!");} + }); + } + + var video = {}; + var bestFrameRate = obj.options.videoParams.vertoBestFrameRate; + var minFrameRate = obj.options.videoParams.minFrameRate || 15; + delete obj.options.videoParams.vertoBestFrameRate; + + if (obj.options.screenShare) { + if (!obj.options.useCamera && !!navigator.mozGetUserMedia) { + //This is an issue, only FireFox needs to ask this additional question if its screen or window we need a better way + var dowin = window.confirm("Do you want to share an application window? If not you can share an entire screen."); + + video = { + width: {min: obj.options.videoParams.minWidth, max: obj.options.videoParams.maxWidth}, + height: {min: obj.options.videoParams.minHeight, max: obj.options.videoParams.maxHeight}, + mediaSource: dowin ? "window" : "screen" + } + } else { + var opt = []; + if (obj.options.useCamera) { + opt.push({sourceId: obj.options.useCamera}); + } + + if (bestFrameRate) { + opt.push({minFrameRate: bestFrameRate}); + opt.push({maxFrameRate: bestFrameRate}); + } + + video = { + mandatory: obj.options.videoParams, + optional: opt + }; + // NOTE: This is a workaround for + // https://bugs.chromium.org/p/chromium/issues/detail?id=862325 + if (!!navigator.userAgent.match(/Android/i)) { + delete video.frameRate.min; + } + } + } else { + + video = { + //mandatory: obj.options.videoParams, + width: {min: obj.options.videoParams.minWidth, max: obj.options.videoParams.maxWidth}, + height: {min: obj.options.videoParams.minHeight, max: obj.options.videoParams.maxHeight} + }; + + + + var useVideo = obj.options.useVideo; + + if (useVideo && obj.options.useCamera && obj.options.useCamera !== "none") { + //if (!video.optional) { + //video.optional = []; + //} + + + if (obj.options.useCamera !== "any") { + //video.optional.push({sourceId: obj.options.useCamera}); + video.deviceId = { + exact: obj.options.useCamera, + }; + } + + if (bestFrameRate) { + //video.optional.push({minFrameRate: bestFrameRate}); + //video.optional.push({maxFrameRate: bestFrameRate}); + video.frameRate = {ideal: bestFrameRate, min: minFrameRate, max: 30}; + } + + } else { + console.log("Camera Disabled"); + video = false; + useVideo = false; + } + } + + return {audio: audio, video: video, useVideo: useVideo}; + } + + $.FSRTC.prototype.call = function(profile) { + checkCompat(); + + var self = this; + var screen = false; + + self.type = "offer"; + + if (self.options.videoParams && self.options.screenShare) { //self.options.videoParams.chromeMediaSource == 'desktop') { + screen = true; + } + + function onSuccess(stream) { + self.localStream = stream; + + if (screen) { + self.constraints.offerToReceiveVideo = false; + self.constraints.offerToReceiveAudio = false; + self.constraints.offerToSendAudio = false; + } + + self.peer = FSRTCPeerConnection({ + type: self.type, + attachStream: self.localStream, + onICE: function(candidate) { + return onICE(self, candidate); + }, + onICEComplete: function() { + return onICEComplete(self); + }, + onRemoteStream: screen ? function(stream) {} : function(stream) { + return onRemoteStream(self, stream); + }, + onOfferSDP: function(sdp) { + return onOfferSDP(self, sdp); + }, + onICESDP: function(sdp) { + return onICESDP(self, sdp); + }, + onChannelError: function(e) { + return onChannelError(self, e); + }, + constraints: self.constraints, + iceServers: self.options.iceServers, + turnServer: self.options.turnServer + }); + + onStreamSuccess(self, stream); + } + + function onError(e) { + onStreamError(self, e); + } + + var mediaParams = getMediaParams(self); + + console.log("Audio constraints", mediaParams.audio); + console.log("Video constraints", mediaParams.video); + + if (self.options.useStream) { + if (self.options.useVideo) { + self.options.localVideoStream = self.options.useStream; + if (self.options.localVideo) { + activateLocalVideo(self.options.localVideo, self.options.useStream); + } + } + onSuccess(self.options.useStream); + } + else if (mediaParams.audio || mediaParams.video) { + + getUserMedia({ + constraints: { + audio: mediaParams.audio, + video: mediaParams.video + }, + video: mediaParams.useVideo, + onsuccess: onSuccess, + onerror: onError + }); + + } else { + onSuccess(null); + } + + + + /* + navigator.getUserMedia({ + video: self.options.useVideo, + audio: true + }, onSuccess, onError); + */ + + }; + + // DERIVED from RTCPeerConnection-v1.5 + // 2013, @muazkh - github.com/muaz-khan + // MIT License - https://www.webrtc-experiment.com/licence/ + // Documentation - https://github.com/muaz-khan/WebRTC-Experiment/tree/master/RTCPeerConnection + + function FSRTCPeerConnection(options) { + var gathering = false, done = false; + var config = {}; + var default_ice = [{ urls: ['stun:stun.l.google.com:19302'] }]; + + if (self.options.turnServer) { + default_ice.push(self.options.turnServer) + } + + if (options.iceServers) { + if (typeof(options.iceServers) === "boolean") { + config.iceServers = default_ice; + } else { + config.iceServers = options.iceServers; + } + } + + config.bundlePolicy = "max-compat"; + + var peer = new window.RTCPeerConnection(config); + + openOffererChannel(); + var x = 0; + + function ice_handler() { + + done = true; + gathering = null; + + if (options.onICEComplete) { + options.onICEComplete(); + } + + if (options.type == "offer") { + options.onICESDP(peer.localDescription); + } else { + if (!x && options.onICESDP) { + options.onICESDP(peer.localDescription); + } + } + } + + peer.onicecandidate = function(event) { + + if (done) { + return; + } + + if (!gathering) { + gathering = setTimeout(ice_handler, 1000); + } + + if (event) { + if (event.candidate) { + options.onICE(event.candidate); + } + } else { + done = true; + + if (gathering) { + clearTimeout(gathering); + gathering = null; + } + + ice_handler(); + } + }; + + // attachStream = MediaStream; + if (options.attachStream) peer.addStream(options.attachStream); + + // attachStreams[0] = audio-stream; + // attachStreams[1] = video-stream; + // attachStreams[2] = screen-capturing-stream; + if (options.attachStreams && options.attachStream.length) { + var streams = options.attachStreams; + for (var i = 0; i < streams.length; i++) { + peer.addStream(streams[i]); + } + } + + peer.onaddstream = function(event) { + var remoteMediaStream = event.stream; + + // onRemoteStreamEnded(MediaStream) + remoteMediaStream.oninactive = function () { + if (options.onRemoteStreamEnded) options.onRemoteStreamEnded(remoteMediaStream); + }; + + // onRemoteStream(MediaStream) + if (options.onRemoteStream) options.onRemoteStream(remoteMediaStream); + + //console.debug('on:add:stream', remoteMediaStream); + }; + + //var constraints = options.constraints || { + // offerToReceiveAudio: true, + //offerToReceiveVideo: true + //}; + + // onOfferSDP(RTCSessionDescription) + function createOffer() { + if (!options.onOfferSDP) return; + + peer.createOffer(function(sessionDescription) { + sessionDescription.sdp = serializeSdp(sessionDescription.sdp); + peer.setLocalDescription(sessionDescription); + options.onOfferSDP(sessionDescription); + }, + onSdpError, options.constraints); + } + + // onAnswerSDP(RTCSessionDescription) + function createAnswer() { + if (options.type != "answer") return; + + //options.offerSDP.sdp = addStereo(options.offerSDP.sdp); + peer.setRemoteDescription(new window.RTCSessionDescription(options.offerSDP), onSdpSuccess, onSdpError); + peer.createAnswer(function(sessionDescription) { + sessionDescription.sdp = serializeSdp(sessionDescription.sdp); + peer.setLocalDescription(sessionDescription); + if (options.onAnswerSDP) { + options.onAnswerSDP(sessionDescription); + } + }, + onSdpError); + } + + + if ((options.onChannelMessage) || !options.onChannelMessage) { + createOffer(); + createAnswer(); + } + + // DataChannel Bandwidth + function setBandwidth(sdp) { + // remove existing bandwidth lines + sdp = sdp.replace(/b=AS([^\r\n]+\r\n)/g, ''); + sdp = sdp.replace(/a=mid:data\r\n/g, 'a=mid:data\r\nb=AS:1638400\r\n'); + + return sdp; + } + + // old: FF<>Chrome interoperability management + function getInteropSDP(sdp) { + var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split(''), + extractedChars = ''; + + function getChars() { + extractedChars += chars[parseInt(Math.random() * 40)] || ''; + if (extractedChars.length < 40) getChars(); + + return extractedChars; + } + + // usually audio-only streaming failure occurs out of audio-specific crypto line + // a=crypto:1 AES_CM_128_HMAC_SHA1_32 --------- kAttributeCryptoVoice + if (options.onAnswerSDP) sdp = sdp.replace(/(a=crypto:0 AES_CM_128_HMAC_SHA1_32)(.*?)(\r\n)/g, ''); + + // video-specific crypto line i.e. SHA1_80 + // a=crypto:1 AES_CM_128_HMAC_SHA1_80 --------- kAttributeCryptoVideo + var inline = getChars() + '\r\n' + (extractedChars = ''); + sdp = sdp.indexOf('a=crypto') == -1 ? sdp.replace(/c=IN/g, 'a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:' + inline + 'c=IN') : sdp; + + return sdp; + } + + function serializeSdp(sdp) { + return sdp; + } + + // DataChannel management + var channel; + + function openOffererChannel() { + if (!options.onChannelMessage) return; + + _openOffererChannel(); + + return; + } + + function _openOffererChannel() { + channel = peer.createDataChannel(options.channel || 'RTCDataChannel', { + reliable: false + }); + + setChannelEvents(); + } + + function setChannelEvents() { + channel.onmessage = function(event) { + if (options.onChannelMessage) options.onChannelMessage(event); + }; + + channel.onopen = function() { + if (options.onChannelOpened) options.onChannelOpened(channel); + }; + channel.onclose = function(event) { + if (options.onChannelClosed) options.onChannelClosed(event); + + console.warn('WebRTC DataChannel closed', event); + }; + channel.onerror = function(event) { + if (options.onChannelError) options.onChannelError(event); + + console.error('WebRTC DataChannel error', event); + }; + } + + function openAnswererChannel() { + peer.ondatachannel = function(event) { + channel = event.channel; + channel.binaryType = 'blob'; + setChannelEvents(); + }; + + return; + } + + // fake:true is also available on chrome under a flag! + function useless() { + log('Error in fake:true'); + } + + function onSdpSuccess() {} + + function onSdpError(e) { + if (options.onChannelError) { + options.onChannelError(e); + } + console.error('sdp error:', e); + } + + return { + addAnswerSDP: function(sdp, cbSuccess, cbError) { + + peer.setRemoteDescription(new window.RTCSessionDescription(sdp), cbSuccess ? cbSuccess : onSdpSuccess, cbError ? cbError : onSdpError); + }, + addICE: function(candidate) { + peer.addIceCandidate(new window.RTCIceCandidate({ + sdpMLineIndex: candidate.sdpMLineIndex, + candidate: candidate.candidate + })); + }, + + peer: peer, + channel: channel, + sendData: function(message) { + if (channel) { + channel.send(message); + } + }, + + stop: function() { + peer.close(); + if (options.attachStream) { + if(typeof options.attachStream.stop == 'function') { + options.attachStream.stop(); + } else { + options.attachStream.active = false; + } + } + } + + }; + } + + // getUserMedia + var video_constraints = { + //mandatory: {}, + //optional: [] + }; + + function activateLocalVideo(el, stream) { + el.srcObject = stream; + el.style.display = 'block'; + } + + function deactivateLocalVideo(el) { + el.srcObject = null; + el.style.display = 'none'; + } + + function getUserMedia(options) { + var n = navigator, + media; + n.getMedia = n.getUserMedia; + n.getMedia(options.constraints || { + audio: true, + video: video_constraints + }, + streaming, options.onerror || + function(e) { + console.error(e); + }); + + function streaming(stream) { + if (options.localVideo) { + activateLocalVideo(options.localVideo, stream); + } + + if (options.onsuccess) { + options.onsuccess(stream); + } + + media = stream; + } + + return media; + } + + $.FSRTC.resSupported = function(w, h) { + for (var i in $.FSRTC.validRes) { + if ($.FSRTC.validRes[i][0] == w && $.FSRTC.validRes[i][1] == h) { + return true; + } + } + + return false; + } + + $.FSRTC.bestResSupported = function() { + var w = 0, h = 0; + + for (var i in $.FSRTC.validRes) { + if ($.FSRTC.validRes[i][0] >= w && $.FSRTC.validRes[i][1] >= h) { + w = $.FSRTC.validRes[i][0]; + h = $.FSRTC.validRes[i][1]; + } + } + + return [w, h]; + } + + var resList = [[160, 120], [320, 180], [320, 240], [640, 360], [640, 480], [1280, 720], [1920, 1080]]; + var resI = 0; + var ttl = 0; + + var checkRes = function (cam, func) { + + if (resI >= resList.length) { + var res = { + 'validRes': $.FSRTC.validRes, + 'bestResSupported': $.FSRTC.bestResSupported() + }; + + localStorage.setItem("res_" + cam, $.toJSON(res)); + + if (func) return func(res); + return; + } + + w = resList[resI][0]; + h = resList[resI][1]; + resI++; + + var video = { + width: {exact: w}, + height: {exact: h} + }; + + if (cam !== "any") { + video.deviceId = { + exact: cam, + }; + } + + getUserMedia({ + constraints: { + audio: ttl++ == 0, + video: video + }, + onsuccess: function(e) { + e.getTracks().forEach(function(track) {track.stop();}); + console.info(w + "x" + h + " supported."); $.FSRTC.validRes.push([w, h]); checkRes(cam, func);}, + onerror: function(e) {console.warn( w + "x" + h + " not supported."); checkRes(cam, func);} + }); + } + + + $.FSRTC.getValidRes = function (cam, func) { + var used = []; + var cached = localStorage.getItem("res_" + cam); + + if (cached) { + var cache = $.parseJSON(cached); + + if (cache) { + $.FSRTC.validRes = cache.validRes; + console.log("CACHED RES FOR CAM " + cam, cache); + } else { + console.error("INVALID CACHE"); + } + return func ? func(cache) : null; + } + + + $.FSRTC.validRes = []; + resI = 0; + + checkRes(cam, func); + } + + $.FSRTC.checkPerms = function (runtime, check_audio, check_video) { + getUserMedia({ + constraints: { + audio: check_audio, + video: check_video, + }, + onsuccess: function(e) { + + e.getTracks().forEach(function(track) {track.stop();}); + + console.info("media perm init complete"); + if (runtime) { + setTimeout(runtime, 100, true); + } + }, + onerror: function(e) { + if (check_video && check_audio) { + console.error("error, retesting with audio params only"); + return $.FSRTC.checkPerms(runtime, check_audio, false); + } + + console.error("media perm init error"); + + if (runtime) { + runtime(false) + } + } + }); + } + +})(jQuery); +/* + * Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * Copyright (C) 2005-2014, Anthony Minessale II + * + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is jquery.jsonrpclient.js modified for Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * + * The Initial Developer of the Original Code is + * Textalk AB http://textalk.se/ + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Anthony Minessale II + * + * jquery.jsonrpclient.js - JSON RPC client code + * + */ +/** + * This plugin requires jquery.json.js to be available, or at least the methods $.toJSON and + * $.parseJSON. + * + * The plan is to make use of websockets if they are available, but work just as well with only + * http if not. + * + * Usage example: + * + * var foo = new $.JsonRpcClient({ ajaxUrl: '/backend/jsonrpc' }); + * foo.call( + * 'bar', [ 'A parameter', 'B parameter' ], + * function(result) { alert('Foo bar answered: ' + result.my_answer); }, + * function(error) { console.log('There was an error', error); } + * ); + * + * More examples are available in README.md + */ +(function($) { + /** + * @fn new + * @memberof $.JsonRpcClient + * + * @param options An object stating the backends: + * ajaxUrl A url (relative or absolute) to a http(s) backend. + * socketUrl A url (relative of absolute) to a ws(s) backend. + * onmessage A socket message handler for other messages (non-responses). + * getSocket A function returning a WebSocket or null. + * It must take an onmessage_cb and bind it to the onmessage event + * (or chain it before/after some other onmessage handler). + * Or, it could return null if no socket is available. + * The returned instance must have readyState <= 1, and if less than 1, + * react to onopen binding. + */ + $.JsonRpcClient = function(options) { + var self = this; + this.options = $.extend({ + ajaxUrl : null, + socketUrl : null, ///< The ws-url for default getSocket. + onmessage : null, ///< Other onmessage-handler. + login : null, /// auth login + passwd : null, /// auth passwd + sessid : null, + loginParams : null, + userVariables : null, + getSocket : function(onmessage_cb) { return self._getSocket(onmessage_cb); } + }, options); + + self.ws_cnt = 0; + + // Declare an instance version of the onmessage callback to wrap 'this'. + this.wsOnMessage = function(event) { self._wsOnMessage(event); }; + }; + + /// Holding the WebSocket on default getsocket. + $.JsonRpcClient.prototype._ws_socket = null; + + /// Object : { success_cb: cb, error_cb: cb } + $.JsonRpcClient.prototype._ws_callbacks = {}; + + /// The next JSON-RPC request id. + $.JsonRpcClient.prototype._current_id = 1; + + + $.JsonRpcClient.prototype.speedTest = function (bytes, cb) { + var socket = this.options.getSocket(this.wsOnMessage); + if (socket !== null) { + this.speedCB = cb; + this.speedBytes = bytes; + socket.send("#SPU " + bytes); + + var loops = bytes / 1024; + var rem = bytes % 1024; + var i; + var data = new Array(1024).join("."); + for (i = 0; i < loops; i++) { + socket.send("#SPB " + data); + } + + if (rem) { + socket.send("#SPB " + data); + } + + socket.send("#SPE"); + } + }; + + + + /** + * @fn call + * @memberof $.JsonRpcClient + * + * @param method The method to run on JSON-RPC server. + * @param params The params; an array or object. + * @param success_cb A callback for successful request. + * @param error_cb A callback for error. + */ + $.JsonRpcClient.prototype.call = function(method, params, success_cb, error_cb) { + // Construct the JSON-RPC 2.0 request. + + if (!params) { + params = {}; + } + + if (this.options.sessid) { + params.sessid = this.options.sessid; + } + + var request = { + jsonrpc : '2.0', + method : method, + params : params, + id : this._current_id++ // Increase the id counter to match request/response + }; + + if (!success_cb) { + success_cb = function(e){console.log("Success: ", e);}; + } + + if (!error_cb) { + error_cb = function(e){console.log("Error: ", e);}; + } + + // Try making a WebSocket call. + var socket = this.options.getSocket(this.wsOnMessage); + if (socket !== null) { + this._wsCall(socket, request, success_cb, error_cb); + return; + } + + // No WebSocket, and no HTTP backend? This won't work. + if (this.options.ajaxUrl === null) { + throw "$.JsonRpcClient.call used with no websocket and no http endpoint."; + } + + $.ajax({ + type : 'POST', + url : this.options.ajaxUrl, + data : $.toJSON(request), + dataType : 'json', + cache : false, + + success : function(data) { + if ('error' in data) error_cb(data.error, this); + success_cb(data.result, this); + }, + + // JSON-RPC Server could return non-200 on error + error : function(jqXHR, textStatus, errorThrown) { + try { + var response = $.parseJSON(jqXHR.responseText); + + if ('console' in window) console.log(response); + + error_cb(response.error, this); + } catch (err) { + // Perhaps the responseText wasn't really a jsonrpc-error. + error_cb({ error: jqXHR.responseText }, this); + } + } + }); + }; + + /** + * Notify sends a command to the server that won't need a response. In http, there is probably + * an empty response - that will be dropped, but in ws there should be no response at all. + * + * This is very similar to call, but has no id and no handling of callbacks. + * + * @fn notify + * @memberof $.JsonRpcClient + * + * @param method The method to run on JSON-RPC server. + * @param params The params; an array or object. + */ + $.JsonRpcClient.prototype.notify = function(method, params) { + // Construct the JSON-RPC 2.0 request. + + if (this.options.sessid) { + params.sessid = this.options.sessid; + } + + var request = { + jsonrpc: '2.0', + method: method, + params: params + }; + + // Try making a WebSocket call. + var socket = this.options.getSocket(this.wsOnMessage); + if (socket !== null) { + this._wsCall(socket, request); + return; + } + + // No WebSocket, and no HTTP backend? This won't work. + if (this.options.ajaxUrl === null) { + throw "$.JsonRpcClient.notify used with no websocket and no http endpoint."; + } + + $.ajax({ + type : 'POST', + url : this.options.ajaxUrl, + data : $.toJSON(request), + dataType : 'json', + cache : false + }); + }; + + /** + * Make a batch-call by using a callback. + * + * The callback will get an object "batch" as only argument. On batch, you can call the methods + * "call" and "notify" just as if it was a normal $.JsonRpcClient object, and all calls will be + * sent as a batch call then the callback is done. + * + * @fn batch + * @memberof $.JsonRpcClient + * + * @param callback The main function which will get a batch handler to run call and notify on. + * @param all_done_cb A callback function to call after all results have been handled. + * @param error_cb A callback function to call if there is an error from the server. + * Note, that batch calls should always get an overall success, and the + * only error + */ + $.JsonRpcClient.prototype.batch = function(callback, all_done_cb, error_cb) { + var batch = new $.JsonRpcClient._batchObject(this, all_done_cb, error_cb); + callback(batch); + batch._execute(); + }; + + /** + * The default getSocket handler. + * + * @param onmessage_cb The callback to be bound to onmessage events on the socket. + * + * @fn _getSocket + * @memberof $.JsonRpcClient + */ + + $.JsonRpcClient.prototype.socketReady = function() { + if (this._ws_socket === null || this._ws_socket.readyState > 1) { + return false; + } + + return true; + }; + + $.JsonRpcClient.prototype.closeSocket = function() { + var self = this; + if (self.socketReady()) { + self._ws_socket.onclose = function (w) {console.log("Closing Socket");}; + self._ws_socket.close(); + } + }; + + $.JsonRpcClient.prototype.loginData = function(params) { + var self = this; + self.options.login = params.login; + self.options.passwd = params.passwd; + self.options.loginParams = params.loginParams; + self.options.userVariables = params.userVariables; + }; + + $.JsonRpcClient.prototype.connectSocket = function(onmessage_cb) { + var self = this; + + if (self.to) { + clearTimeout(self.to); + } + + if (!self.socketReady()) { + self.authing = false; + + if (self._ws_socket) { + delete self._ws_socket; + } + + // No socket, or dying socket, let's get a new one. + self._ws_socket = new WebSocket(self.options.socketUrl); + + if (self._ws_socket) { + // Set up onmessage handler. + self._ws_socket.onmessage = onmessage_cb; + self._ws_socket.onclose = function (w) { + if (!self.ws_sleep) { + self.ws_sleep = 1000; + } + + if (self.options.onWSClose) { + self.options.onWSClose(self); + } + + if (self.ws_cnt > 10 && self.options.wsFallbackURL) { + self.options.socketUrl = self.options.wsFallbackURL; + } + + console.error("Websocket Lost " + self.ws_cnt + " sleep: " + self.ws_sleep + "msec"); + + self.to = setTimeout(function() { + console.log("Attempting Reconnection...."); + self.connectSocket(onmessage_cb); + }, self.ws_sleep); + + self.ws_cnt++; + + if (self.ws_sleep < 3000 && (self.ws_cnt % 10) === 0) { + self.ws_sleep += 1000; + } + }; + + // Set up sending of message for when the socket is open. + self._ws_socket.onopen = function() { + if (self.to) { + clearTimeout(self.to); + } + self.ws_sleep = 1000; + self.ws_cnt = 0; + if (self.options.onWSConnect) { + self.options.onWSConnect(self); + } + + var req; + // Send the requests. + while ((req = $.JsonRpcClient.q.pop())) { + self._ws_socket.send(req); + } + }; + } + } + + return self._ws_socket ? true : false; + }; + + $.JsonRpcClient.prototype.stopRetrying = function() { + if (self.to) + clearTimeout(self.to); + } + + $.JsonRpcClient.prototype._getSocket = function(onmessage_cb) { + // If there is no ws url set, we don't have a socket. + // Likewise, if there is no window.WebSocket. + if (this.options.socketUrl === null || !("WebSocket" in window)) return null; + + this.connectSocket(onmessage_cb); + + return this._ws_socket; + }; + + /** + * Queue to save messages delivered when websocket is not ready + */ + $.JsonRpcClient.q = []; + + /** + * Internal handler to dispatch a JRON-RPC request through a websocket. + * + * @fn _wsCall + * @memberof $.JsonRpcClient + */ + $.JsonRpcClient.prototype._wsCall = function(socket, request, success_cb, error_cb) { + var request_json = $.toJSON(request); + + if (socket.readyState < 1) { + // The websocket is not open yet; we have to set sending of the message in onopen. + self = this; // In closure below, this is set to the WebSocket. Use self instead. + $.JsonRpcClient.q.push(request_json); + } else { + // We have a socket and it should be ready to send on. + socket.send(request_json); + } + + // Setup callbacks. If there is an id, this is a call and not a notify. + if ('id' in request && typeof success_cb !== 'undefined') { + this._ws_callbacks[request.id] = { request: request_json, request_obj: request, success_cb: success_cb, error_cb: error_cb }; + } + }; + + /** + * Internal handler for the websocket messages. It determines if the message is a JSON-RPC + * response, and if so, tries to couple it with a given callback. Otherwise, it falls back to + * given external onmessage-handler, if any. + * + * @param event The websocket onmessage-event. + */ + $.JsonRpcClient.prototype._wsOnMessage = function(event) { + // Check if this could be a JSON RPC message. + var response; + + // Special sub proto + if (event.data[0] == "#" && event.data[1] == "S" && event.data[2] == "P") { + if (event.data[3] == "U") { + this.up_dur = parseInt(event.data.substring(4)); + } else if (this.speedCB && event.data[3] == "D") { + this.down_dur = parseInt(event.data.substring(4)); + + var up_kps = (((this.speedBytes * 8) / (this.up_dur / 1000)) / 1024).toFixed(0); + var down_kps = (((this.speedBytes * 8) / (this.down_dur / 1000)) / 1024).toFixed(0); + + console.info("Speed Test: Up: " + up_kps + " Down: " + down_kps); + var cb = this.speedCB; + this.speedCB = null; + cb(event, { + upDur: this.up_dur, + downDur: this.down_dur, + upKPS: up_kps, + downKPS: down_kps + }); + } + + return; + } + + + try { + response = $.parseJSON(event.data); + + /// @todo Make using the jsonrcp 2.0 check optional, to use this on JSON-RPC 1 backends. + + if (typeof response === 'object' && + 'jsonrpc' in response && + response.jsonrpc === '2.0') { + + /// @todo Handle bad response (without id). + + // If this is an object with result, it is a response. + if ('result' in response && this._ws_callbacks[response.id]) { + // Get the success callback. + var success_cb = this._ws_callbacks[response.id].success_cb; + + /* + // set the sessid if present + if ('sessid' in response.result && !this.options.sessid || (this.options.sessid != response.result.sessid)) { + this.options.sessid = response.result.sessid; + if (this.options.sessid) { + console.log("setting session UUID to: " + this.options.sessid); + } + } + */ + // Delete the callback from the storage. + delete this._ws_callbacks[response.id]; + + // Run callback with result as parameter. + success_cb(response.result, this); + return; + } else if ('error' in response && this._ws_callbacks[response.id]) { + // If this is an object with error, it is an error response. + + // Get the error callback. + var error_cb = this._ws_callbacks[response.id].error_cb; + var orig_req = this._ws_callbacks[response.id].request; + + // if this is an auth request, send the credentials and resend the failed request + if (!self.authing && response.error.code == -32000 && self.options.login && self.options.passwd) { + self.authing = true; + + this.call("login", { login: self.options.login, passwd: self.options.passwd, loginParams: self.options.loginParams, + userVariables: self.options.userVariables}, + this._ws_callbacks[response.id].request_obj.method == "login" ? + function(e) { + self.authing = false; + console.log("logged in"); + delete self._ws_callbacks[response.id]; + + if (self.options.onWSLogin) { + self.options.onWSLogin(true, self); + } + } + + : + + function(e) { + self.authing = false; + console.log("logged in, resending request id: " + response.id); + var socket = self.options.getSocket(self.wsOnMessage); + if (socket !== null) { + socket.send(orig_req); + } + if (self.options.onWSLogin) { + self.options.onWSLogin(true, self); + } + }, + + function(e) { + console.log("error logging in, request id:", response.id); + delete self._ws_callbacks[response.id]; + error_cb(response.error, this); + if (self.options.onWSLogin) { + self.options.onWSLogin(false, self); + } + }); + return; + } + + // Delete the callback from the storage. + delete this._ws_callbacks[response.id]; + + // Run callback with the error object as parameter. + error_cb(response.error, this); + return; + } + } + } catch (err) { + // Probably an error while parsing a non json-string as json. All real JSON-RPC cases are + // handled above, and the fallback method is called below. + console.log("ERROR: "+ err); + return; + } + + // This is not a JSON-RPC response. Call the fallback message handler, if given. + if (typeof this.options.onmessage === 'function') { + event.eventData = response; + if (!event.eventData) { + event.eventData = {}; + } + + var reply = this.options.onmessage(event); + + if (reply && typeof reply === "object" && event.eventData.id) { + var msg = { + jsonrpc: "2.0", + id: event.eventData.id, + result: reply + }; + + var socket = self.options.getSocket(self.wsOnMessage); + if (socket !== null) { + socket.send($.toJSON(msg)); + } + } + } + }; + + + /************************************************************************************************ + * Batch object with methods + ************************************************************************************************/ + + /** + * Handling object for batch calls. + */ + $.JsonRpcClient._batchObject = function(jsonrpcclient, all_done_cb, error_cb) { + // Array of objects to hold the call and notify requests. Each objects will have the request + // object, and unless it is a notify, success_cb and error_cb. + this._requests = []; + + this.jsonrpcclient = jsonrpcclient; + this.all_done_cb = all_done_cb; + this.error_cb = typeof error_cb === 'function' ? error_cb : function() {}; + + }; + + /** + * @sa $.JsonRpcClient.prototype.call + */ + $.JsonRpcClient._batchObject.prototype.call = function(method, params, success_cb, error_cb) { + + if (!params) { + params = {}; + } + + if (this.options.sessid) { + params.sessid = this.options.sessid; + } + + if (!success_cb) { + success_cb = function(e){console.log("Success: ", e);}; + } + + if (!error_cb) { + error_cb = function(e){console.log("Error: ", e);}; + } + + this._requests.push({ + request : { + jsonrpc : '2.0', + method : method, + params : params, + id : this.jsonrpcclient._current_id++ // Use the client's id series. + }, + success_cb : success_cb, + error_cb : error_cb + }); + }; + + /** + * @sa $.JsonRpcClient.prototype.notify + */ + $.JsonRpcClient._batchObject.prototype.notify = function(method, params) { + if (this.options.sessid) { + params.sessid = this.options.sessid; + } + + this._requests.push({ + request : { + jsonrpc : '2.0', + method : method, + params : params + } + }); + }; + + /** + * Executes the batched up calls. + */ + $.JsonRpcClient._batchObject.prototype._execute = function() { + var self = this; + + if (this._requests.length === 0) return; // All done :P + + // Collect all request data and sort handlers by request id. + var batch_request = []; + var handlers = {}; + var i = 0; + var call; + var success_cb; + var error_cb; + + // If we have a WebSocket, just send the requests individually like normal calls. + var socket = self.jsonrpcclient.options.getSocket(self.jsonrpcclient.wsOnMessage); + if (socket !== null) { + for (i = 0; i < this._requests.length; i++) { + call = this._requests[i]; + success_cb = ('success_cb' in call) ? call.success_cb : undefined; + error_cb = ('error_cb' in call) ? call.error_cb : undefined; + self.jsonrpcclient._wsCall(socket, call.request, success_cb, error_cb); + } + + if (typeof all_done_cb === 'function') all_done_cb(result); + return; + } + + for (i = 0; i < this._requests.length; i++) { + call = this._requests[i]; + batch_request.push(call.request); + + // If the request has an id, it should handle returns (otherwise it's a notify). + if ('id' in call.request) { + handlers[call.request.id] = { + success_cb : call.success_cb, + error_cb : call.error_cb + }; + } + } + + success_cb = function(data) { self._batchCb(data, handlers, self.all_done_cb); }; + + // No WebSocket, and no HTTP backend? This won't work. + if (self.jsonrpcclient.options.ajaxUrl === null) { + throw "$.JsonRpcClient.batch used with no websocket and no http endpoint."; + } + + // Send request + $.ajax({ + url : self.jsonrpcclient.options.ajaxUrl, + data : $.toJSON(batch_request), + dataType : 'json', + cache : false, + type : 'POST', + + // Batch-requests should always return 200 + error : function(jqXHR, textStatus, errorThrown) { + self.error_cb(jqXHR, textStatus, errorThrown); + }, + success : success_cb + }); + }; + + /** + * Internal helper to match the result array from a batch call to their respective callbacks. + * + * @fn _batchCb + * @memberof $.JsonRpcClient + */ + $.JsonRpcClient._batchObject.prototype._batchCb = function(result, handlers, all_done_cb) { + for (var i = 0; i < result.length; i++) { + var response = result[i]; + + // Handle error + if ('error' in response) { + if (response.id === null || !(response.id in handlers)) { + // An error on a notify? Just log it to the console. + if ('console' in window) console.log(response); + } else { + handlers[response.id].error_cb(response.error, this); + } + } else { + // Here we should always have a correct id and no error. + if (!(response.id in handlers) && 'console' in window) { + console.log(response); + } else { + handlers[response.id].success_cb(response.result, this); + } + } + } + + if (typeof all_done_cb === 'function') all_done_cb(result); + }; + +})(jQuery); + +/* + * Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * Copyright (C) 2005-2014, Anthony Minessale II + * + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * + * The Initial Developer of the Original Code is + * Anthony Minessale II + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Anthony Minessale II + * + * jquery.verto.js - Main interface + * + */ + +(function($) { + var sources = []; + + var generateGUID = (typeof(window.crypto) !== 'undefined' && typeof(window.crypto.getRandomValues) !== 'undefined') ? + function() { + // If we have a cryptographically secure PRNG, use that + // http://stackoverflow.com/questions/6906916/collisions-when-generating-uuids-in-javascript + var buf = new Uint16Array(8); + window.crypto.getRandomValues(buf); + var S4 = function(num) { + var ret = num.toString(16); + while (ret.length < 4) { + ret = "0" + ret; + } + return ret; + }; + return (S4(buf[0]) + S4(buf[1]) + "-" + S4(buf[2]) + "-" + S4(buf[3]) + "-" + S4(buf[4]) + "-" + S4(buf[5]) + S4(buf[6]) + S4(buf[7])); + } + + : + + function() { + // Otherwise, just use Math.random + // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523 + return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { + var r = Math.random() * 16 | 0, + v = c == 'x' ? r : (r & 0x3 | 0x8); + return v.toString(16); + }); + }; + + /// MASTER OBJ + $.verto = function(options, callbacks) { + var verto = this; + + $.verto.saved.push(verto); + + verto.options = $.extend({ + login: null, + passwd: null, + socketUrl: null, + tag: null, + localTag: null, + videoParams: {}, + audioParams: {}, + loginParams: {}, + deviceParams: {onResCheck: null}, + userVariables: {}, + iceServers: false, + ringSleep: 6000, + sessid: null, + useStream: null + }, options); + + if (verto.options.deviceParams.useCamera) { + $.FSRTC.getValidRes(verto.options.deviceParams.useCamera, verto.options.deviceParams.onResCheck); + } + + if (!verto.options.deviceParams.useMic) { + verto.options.deviceParams.useMic = "any"; + } + + if (!verto.options.deviceParams.useSpeak) { + verto.options.deviceParams.useSpeak = "any"; + } + + if (verto.options.sessid) { + verto.sessid = verto.options.sessid; + } else { + verto.sessid = localStorage.getItem("verto_session_uuid") || generateGUID(); + localStorage.setItem("verto_session_uuid", verto.sessid); + } + + verto.dialogs = {}; + verto.callbacks = callbacks || {}; + verto.eventSUBS = {}; + + verto.rpcClient = new $.JsonRpcClient({ + login: verto.options.login, + passwd: verto.options.passwd, + socketUrl: verto.options.socketUrl, + wsFallbackURL: verto.options.wsFallbackURL, + turnServer: verto.options.turnServer, + loginParams: verto.options.loginParams, + userVariables: verto.options.userVariables, + sessid: verto.sessid, + onmessage: function(e) { + return verto.handleMessage(e.eventData); + }, + onWSConnect: function(o) { + o.call('login', {}); + }, + onWSLogin: function(success) { + if (verto.callbacks.onWSLogin) { + verto.callbacks.onWSLogin(verto, success); + } + }, + onWSClose: function(success) { + if (verto.callbacks.onWSClose) { + verto.callbacks.onWSClose(verto, success); + } + verto.purge(); + } + }); + + var tag = verto.options.tag; + if (typeof(tag) === "function") { + tag = tag(); + } + + if (verto.options.ringFile && verto.options.tag) { + verto.ringer = $("#" + tag); + } + + verto.rpcClient.call('login', {}); + + }; + + + $.verto.prototype.deviceParams = function(obj) { + var verto = this; + + for (var i in obj) { + verto.options.deviceParams[i] = obj[i]; + } + + if (obj.useCamera) { + $.FSRTC.getValidRes(verto.options.deviceParams.useCamera, obj ? obj.onResCheck : undefined); + } + }; + + $.verto.prototype.videoParams = function(obj) { + var verto = this; + + for (var i in obj) { + verto.options.videoParams[i] = obj[i]; + } + }; + + $.verto.prototype.iceServers = function(obj) { + var verto = this; + verto.options.iceServers = obj; + }; + + $.verto.prototype.loginData = function(params) { + var verto = this; + verto.options.login = params.login; + verto.options.passwd = params.passwd; + verto.rpcClient.loginData(params); + }; + + $.verto.prototype.logout = function(msg) { + var verto = this; + verto.rpcClient.closeSocket(); + if (verto.callbacks.onWSClose) { + verto.callbacks.onWSClose(verto, false); + } + verto.purge(); + }; + + $.verto.prototype.login = function(msg) { + var verto = this; + verto.logout(); + verto.rpcClient.call('login', {}); + }; + + $.verto.prototype.message = function(msg) { + var verto = this; + var err = 0; + + if (!msg.to) { + console.error("Missing To"); + err++; + } + + if (!msg.body) { + console.error("Missing Body"); + err++; + } + + if (err) { + return false; + } + + verto.sendMethod("verto.info", { + msg: msg + }); + + return true; + }; + + $.verto.prototype.processReply = function(method, success, e) { + var verto = this; + var i; + + //console.log("Response: " + method, success, e); + + switch (method) { + case "verto.subscribe": + for (i in e.unauthorizedChannels) { + drop_bad(verto, e.unauthorizedChannels[i]); + } + for (i in e.subscribedChannels) { + mark_ready(verto, e.subscribedChannels[i]); + } + + break; + case "verto.unsubscribe": + //console.error(e); + break; + } + }; + + $.verto.prototype.sendMethod = function(method, params) { + var verto = this; + + verto.rpcClient.call(method, params, + + function(e) { + /* Success */ + verto.processReply(method, true, e); + }, + + function(e) { + /* Error */ + verto.processReply(method, false, e); + }); + }; + + function do_sub(verto, channel, obj) { + + } + + function drop_bad(verto, channel) { + console.error("drop unauthorized channel: " + channel); + delete verto.eventSUBS[channel]; + } + + function mark_ready(verto, channel) { + for (var j in verto.eventSUBS[channel]) { + verto.eventSUBS[channel][j].ready = true; + console.log("subscribed to channel: " + channel); + if (verto.eventSUBS[channel][j].readyHandler) { + verto.eventSUBS[channel][j].readyHandler(verto, channel); + } + } + } + + var SERNO = 1; + + function do_subscribe(verto, channel, subChannels, sparams) { + var params = sparams || {}; + + var local = params.local; + + var obj = { + eventChannel: channel, + userData: params.userData, + handler: params.handler, + ready: false, + readyHandler: params.readyHandler, + serno: SERNO++ + }; + + var isnew = false; + + if (!verto.eventSUBS[channel]) { + verto.eventSUBS[channel] = []; + subChannels.push(channel); + isnew = true; + } + + verto.eventSUBS[channel].push(obj); + + if (local) { + obj.ready = true; + obj.local = true; + } + + if (!isnew && verto.eventSUBS[channel][0].ready) { + obj.ready = true; + if (obj.readyHandler) { + obj.readyHandler(verto, channel); + } + } + + return { + serno: obj.serno, + eventChannel: channel + }; + + } + + $.verto.prototype.subscribe = function(channel, sparams) { + var verto = this; + var r = []; + var subChannels = []; + var params = sparams || {}; + + if (typeof(channel) === "string") { + r.push(do_subscribe(verto, channel, subChannels, params)); + } else { + for (var i in channel) { + r.push(do_subscribe(verto, channel, subChannels, params)); + } + } + + if (subChannels.length) { + verto.sendMethod("verto.subscribe", { + eventChannel: subChannels.length == 1 ? subChannels[0] : subChannels, + subParams: params.subParams + }); + } + + return r; + }; + + $.verto.prototype.unsubscribe = function(handle) { + var verto = this; + var i; + + if (!handle) { + for (i in verto.eventSUBS) { + if (verto.eventSUBS[i]) { + verto.unsubscribe(verto.eventSUBS[i]); + } + } + } else { + var unsubChannels = {}; + var sendChannels = []; + var channel; + + if (typeof(handle) == "string") { + delete verto.eventSUBS[handle]; + unsubChannels[handle]++; + } else { + for (i in handle) { + if (typeof(handle[i]) == "string") { + channel = handle[i]; + delete verto.eventSUBS[channel]; + unsubChannels[channel]++; + } else { + var repl = []; + channel = handle[i].eventChannel; + + for (var j in verto.eventSUBS[channel]) { + if (verto.eventSUBS[channel][j].serno == handle[i].serno) {} else { + repl.push(verto.eventSUBS[channel][j]); + } + } + + verto.eventSUBS[channel] = repl; + + if (verto.eventSUBS[channel].length === 0) { + delete verto.eventSUBS[channel]; + unsubChannels[channel]++; + } + } + } + } + + for (var u in unsubChannels) { + console.log("Sending Unsubscribe for: ", u); + sendChannels.push(u); + } + + if (sendChannels.length) { + verto.sendMethod("verto.unsubscribe", { + eventChannel: sendChannels.length == 1 ? sendChannels[0] : sendChannels + }); + } + } + }; + + $.verto.prototype.broadcast = function(channel, params) { + var verto = this; + var msg = { + eventChannel: channel, + data: {} + }; + for (var i in params) { + msg.data[i] = params[i]; + } + verto.sendMethod("verto.broadcast", msg); + }; + + $.verto.prototype.purge = function(callID) { + var verto = this; + var x = 0; + var i; + + for (i in verto.dialogs) { + if (!x) { + console.log("purging dialogs"); + } + x++; + verto.dialogs[i].setState($.verto.enum.state.purge); + } + + for (i in verto.eventSUBS) { + if (verto.eventSUBS[i]) { + console.log("purging subscription: " + i); + delete verto.eventSUBS[i]; + } + } + }; + + $.verto.prototype.hangup = function(callID) { + var verto = this; + if (callID) { + var dialog = verto.dialogs[callID]; + + if (dialog) { + dialog.hangup(); + } + } else { + for (var i in verto.dialogs) { + verto.dialogs[i].hangup(); + } + } + }; + + $.verto.prototype.newCall = function(args, callbacks) { + var verto = this; + + if (!verto.rpcClient.socketReady()) { + console.error("Not Connected..."); + return; + } + + if (args["useCamera"]) { + verto.options.deviceParams["useCamera"] = args["useCamera"]; + } + + var dialog = new $.verto.dialog($.verto.enum.direction.outbound, this, args); + + if (callbacks) { + dialog.callbacks = callbacks; + } + + dialog.invite(); + + return dialog; + }; + + $.verto.prototype.handleMessage = function(data) { + var verto = this; + + if (!(data && data.method)) { + console.error("Invalid Data", data); + return; + } + + if (data.params.callID) { + var dialog = verto.dialogs[data.params.callID]; + + if (data.method === "verto.attach" && dialog) { + delete dialog.verto.dialogs[dialog.callID]; + dialog.rtc.stop(); + dialog = null; + } + + if (dialog) { + + switch (data.method) { + case 'verto.bye': + dialog.hangup(data.params); + break; + case 'verto.answer': + dialog.handleAnswer(data.params); + break; + case 'verto.media': + dialog.handleMedia(data.params); + break; + case 'verto.display': + dialog.handleDisplay(data.params); + break; + case 'verto.info': + dialog.handleInfo(data.params); + break; + default: + console.debug("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED", dialog, data.method); + break; + } + } else { + + switch (data.method) { + case 'verto.attach': + data.params.attach = true; + + if (data.params.sdp && data.params.sdp.indexOf("m=video") > 0) { + data.params.useVideo = true; + } + + if (data.params.sdp && data.params.sdp.indexOf("stereo=1") > 0) { + data.params.useStereo = true; + } + + dialog = new $.verto.dialog($.verto.enum.direction.inbound, verto, data.params); + dialog.setState($.verto.enum.state.recovering); + + break; + case 'verto.invite': + + if (data.params.sdp && data.params.sdp.indexOf("m=video") > 0) { + data.params.wantVideo = true; + } + + if (data.params.sdp && data.params.sdp.indexOf("stereo=1") > 0) { + data.params.useStereo = true; + } + + dialog = new $.verto.dialog($.verto.enum.direction.inbound, verto, data.params); + break; + default: + console.debug("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED"); + break; + } + } + + return { + method: data.method + }; + } else { + switch (data.method) { + case 'verto.punt': + verto.purge(); + verto.logout(); + break; + case 'verto.event': + var list = null; + var key = null; + + if (data.params) { + key = data.params.eventChannel; + } + + if (key) { + list = verto.eventSUBS[key]; + + if (!list) { + list = verto.eventSUBS[key.split(".")[0]]; + } + } + + if (!list && key && key === verto.sessid) { + if (verto.callbacks.onMessage) { + verto.callbacks.onMessage(verto, null, $.verto.enum.message.pvtEvent, data.params); + } + } else if (!list && key && verto.dialogs[key]) { + verto.dialogs[key].sendMessage($.verto.enum.message.pvtEvent, data.params); + } else if (!list) { + if (!key) { + key = "UNDEFINED"; + } + console.error("UNSUBBED or invalid EVENT " + key + " IGNORED"); + } else { + for (var i in list) { + var sub = list[i]; + + if (!sub || !sub.ready) { + console.error("invalid EVENT for " + key + " IGNORED"); + } else if (sub.handler) { + sub.handler(verto, data.params, sub.userData); + } else if (verto.callbacks.onEvent) { + verto.callbacks.onEvent(verto, data.params, sub.userData); + } else { + console.log("EVENT:", data.params); + } + } + } + + break; + + case "verto.info": + if (verto.callbacks.onMessage) { + verto.callbacks.onMessage(verto, null, $.verto.enum.message.info, data.params.msg); + } + //console.error(data); + console.debug("MESSAGE from: " + data.params.msg.from, data.params.msg.body); + + break; + + case 'verto.clientReady': + if (verto.callbacks.onMessage) { + verto.callbacks.onMessage(verto, null, $.verto.enum.message.clientReady, data.params); + } + console.debug("CLIENT READY", data.params); + break; + + default: + console.error("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED", data.method); + break; + } + } + }; + + var del_array = function(array, name) { + var r = []; + var len = array.length; + + for (var i = 0; i < len; i++) { + if (array[i] != name) { + r.push(array[i]); + } + } + + return r; + }; + + var hashArray = function() { + var vha = this; + + var hash = {}; + var array = []; + + vha.reorder = function(a) { + array = a; + var h = hash; + hash = {}; + + var len = array.length; + + for (var i = 0; i < len; i++) { + var key = array[i]; + if (h[key]) { + hash[key] = h[key]; + delete h[key]; + } + } + h = undefined; + }; + + vha.clear = function() { + hash = undefined; + array = undefined; + hash = {}; + array = []; + }; + + vha.add = function(name, val, insertAt) { + var redraw = false; + + if (!hash[name]) { + if (insertAt === undefined || insertAt < 0 || insertAt >= array.length) { + array.push(name); + } else { + var x = 0; + var n = []; + var len = array.length; + + for (var i = 0; i < len; i++) { + if (x++==insertAt) { + n.push(name); + } + n.push(array[i]); + } + + array = undefined; + array = n; + n = undefined; + redraw = true; + } + } + + hash[name] = val; + + return redraw; + }; + + vha.del = function(name) { + var r = false; + + if (hash[name]) { + array = del_array(array, name); + delete hash[name]; + r = true; + } else { + console.error("can't del nonexistant key " + name); + } + + return r; + }; + + vha.get = function(name) { + return hash[name]; + }; + + vha.order = function() { + return array; + }; + + vha.hash = function() { + return hash; + }; + + vha.indexOf = function(name) { + var len = array.length; + + for (var i = 0; i < len; i++) { + if (array[i] == name) { + return i; + } + } + }; + + vha.arrayLen = function() { + return array.length; + }; + + vha.asArray = function() { + var r = []; + + var len = array.length; + + for (var i = 0; i < len; i++) { + var key = array[i]; + r.push(hash[key]); + } + + return r; + }; + + vha.each = function(cb) { + var len = array.length; + + for (var i = 0; i < len; i++) { + cb(array[i], hash[array[i]]); + } + }; + + vha.dump = function(html) { + var str = ""; + + vha.each(function(name, val) { + str += "name: " + name + " val: " + JSON.stringify(val) + (html ? "
" : "\n"); + }); + + return str; + }; + + }; + + $.verto.liveArray = function(verto, context, name, config) { + var la = this; + var lastSerno = 0; + var binding = null; + var user_obj = config.userObj; + var local = false; + + // Inherit methods of hashArray + hashArray.call(la); + + // Save the hashArray add, del, reorder, clear methods so we can make our own. + la._add = la.add; + la._del = la.del; + la._reorder = la.reorder; + la._clear = la.clear; + + la.context = context; + la.name = name; + la.user_obj = user_obj; + + la.verto = verto; + la.broadcast = function(channel, obj) { + verto.broadcast(channel, obj); + }; + la.errs = 0; + + la.clear = function() { + la._clear(); + lastSerno = 0; + + if (la.onChange) { + la.onChange(la, { + action: "clear" + }); + } + }; + + la.checkSerno = function(serno) { + if (serno < 0) { + return true; + } + + if (lastSerno > 0 && serno != (lastSerno + 1)) { + if (la.onErr) { + la.onErr(la, { + lastSerno: lastSerno, + serno: serno + }); + } + la.errs++; + console.debug(la.errs); + if (la.errs < 3) { + la.bootstrap(la.user_obj); + } + return false; + } else { + lastSerno = serno; + return true; + } + }; + + la.reorder = function(serno, a) { + if (la.checkSerno(serno)) { + la._reorder(a); + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "reorder" + }); + } + } + }; + + la.init = function(serno, val, key, index) { + if (key === null || key === undefined) { + key = serno; + } + if (la.checkSerno(serno)) { + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "init", + index: index, + key: key, + data: val + }); + } + } + }; + + la.bootObj = function(serno, val) { + if (la.checkSerno(serno)) { + + //la.clear(); + for (var i in val) { + la._add(val[i][0], val[i][1]); + } + + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "bootObj", + data: val, + redraw: true + }); + } + } + }; + + // @param serno La is the serial number for la particular request. + // @param key If looking at it as a hash table, la represents the key in the hashArray object where you want to store the val object. + // @param index If looking at it as an array, la represents the position in the array where you want to store the val object. + // @param val La is the object you want to store at the key or index location in the hash table / array. + la.add = function(serno, val, key, index) { + if (key === null || key === undefined) { + key = serno; + } + if (la.checkSerno(serno)) { + var redraw = la._add(key, val, index); + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "add", + index: index, + key: key, + data: val, + redraw: redraw + }); + } + } + }; + + la.modify = function(serno, val, key, index) { + if (key === null || key === undefined) { + key = serno; + } + if (la.checkSerno(serno)) { + la._add(key, val, index); + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "modify", + key: key, + data: val, + index: index + }); + } + } + }; + + la.del = function(serno, key, index) { + if (key === null || key === undefined) { + key = serno; + } + if (la.checkSerno(serno)) { + if (index === null || index < 0 || index === undefined) { + index = la.indexOf(key); + } + var ok = la._del(key); + + if (ok && la.onChange) { + la.onChange(la, { + serno: serno, + action: "del", + key: key, + index: index + }); + } + } + }; + + var eventHandler = function(v, e, la) { + var packet = e.data; + + //console.error("READ:", packet); + + if (packet.name != la.name) { + return; + } + + switch (packet.action) { + + case "init": + la.init(packet.wireSerno, packet.data, packet.hashKey, packet.arrIndex); + break; + + case "bootObj": + la.bootObj(packet.wireSerno, packet.data); + break; + case "add": + la.add(packet.wireSerno, packet.data, packet.hashKey, packet.arrIndex); + break; + + case "modify": + if (! (packet.arrIndex || packet.hashKey)) { + console.error("Invalid Packet", packet); + } else { + la.modify(packet.wireSerno, packet.data, packet.hashKey, packet.arrIndex); + } + break; + case "del": + if (! (packet.arrIndex || packet.hashKey)) { + console.error("Invalid Packet", packet); + } else { + la.del(packet.wireSerno, packet.hashKey, packet.arrIndex); + } + break; + + case "clear": + la.clear(); + break; + + case "reorder": + la.reorder(packet.wireSerno, packet.order); + break; + + default: + if (la.checkSerno(packet.wireSerno)) { + if (la.onChange) { + la.onChange(la, { + serno: packet.wireSerno, + action: packet.action, + data: packet.data + }); + } + } + break; + } + }; + + if (la.context) { + binding = la.verto.subscribe(la.context, { + handler: eventHandler, + userData: la, + subParams: config.subParams + }); + } + + la.destroy = function() { + la._clear(); + la.verto.unsubscribe(binding); + }; + + la.sendCommand = function(cmd, obj) { + var self = la; + self.broadcast(self.context, { + liveArray: { + command: cmd, + context: self.context, + name: self.name, + obj: obj + } + }); + }; + + la.bootstrap = function(obj) { + var self = la; + la.sendCommand("bootstrap", obj); + //self.heartbeat(); + }; + + la.changepage = function(obj) { + var self = la; + self.clear(); + self.broadcast(self.context, { + liveArray: { + command: "changepage", + context: la.context, + name: la.name, + obj: obj + } + }); + }; + + la.heartbeat = function(obj) { + var self = la; + + var callback = function() { + self.heartbeat.call(self, obj); + }; + self.broadcast(self.context, { + liveArray: { + command: "heartbeat", + context: self.context, + name: self.name, + obj: obj + } + }); + self.hb_pid = setTimeout(callback, 30000); + }; + + la.bootstrap(la.user_obj); + }; + + $.verto.liveTable = function(verto, context, name, jq, config) { + var dt; + var la = new $.verto.liveArray(verto, context, name, { + subParams: config.subParams + }); + var lt = this; + + lt.liveArray = la; + lt.dataTable = dt; + lt.verto = verto; + + lt.destroy = function() { + if (dt) { + dt.fnDestroy(); + } + if (la) { + la.destroy(); + } + + dt = null; + la = null; + }; + + la.onErr = function(obj, args) { + console.error("Error: ", obj, args); + }; + + /* back compat so jsonstatus can always be enabled */ + function genRow(data) { + if (typeof(data[4]) === "string" && data[4].indexOf("{") > -1) { + var tmp = $.parseJSON(data[4]); + data[4] = tmp.oldStatus; + data[5] = null; + } + return data; + } + + function genArray(obj) { + var data = obj.asArray(); + + for (var i in data) { + data[i] = genRow(data[i]); + } + + return data; + } + + + la.onChange = function(obj, args) { + var index = 0; + var iserr = 0; + + if (!dt) { + if (!config.aoColumns) { + if (args.action != "init") { + return; + } + + config.aoColumns = []; + + for (var i in args.data) { + config.aoColumns.push({ + "sTitle": args.data[i] + }); + } + } + + dt = jq.dataTable(config); + } + + if (dt && (args.action == "del" || args.action == "modify")) { + index = args.index; + + if (index === undefined && args.key) { + index = la.indexOf(args.key); + } + + if (index === undefined) { + console.error("INVALID PACKET Missing INDEX\n", args); + return; + } + } + + if (config.onChange) { + config.onChange(obj, args); + } + + try { + switch (args.action) { + case "bootObj": + if (!args.data) { + console.error("missing data"); + return; + } + dt.fnClearTable(); + dt.fnAddData(genArray(obj)); + dt.fnAdjustColumnSizing(); + break; + case "add": + if (!args.data) { + console.error("missing data"); + return; + } + if (args.redraw > -1) { + // specific position, more costly + dt.fnClearTable(); + dt.fnAddData(genArray(obj)); + } else { + dt.fnAddData(genRow(args.data)); + } + dt.fnAdjustColumnSizing(); + break; + case "modify": + if (!args.data) { + return; + } + //console.debug(args, index); + dt.fnUpdate(genRow(args.data), index); + dt.fnAdjustColumnSizing(); + break; + case "del": + dt.fnDeleteRow(index); + dt.fnAdjustColumnSizing(); + break; + case "clear": + dt.fnClearTable(); + break; + case "reorder": + // specific position, more costly + dt.fnClearTable(); + dt.fnAddData(genArray(obj)); + break; + case "hide": + jq.hide(); + break; + + case "show": + jq.show(); + break; + + } + } catch(err) { + console.error("ERROR: " + err); + iserr++; + } + + if (iserr) { + obj.errs++; + if (obj.errs < 3) { + obj.bootstrap(obj.user_obj); + } + } else { + obj.errs = 0; + } + + }; + + la.onChange(la, { + action: "init" + }); + + }; + + var CONFMAN_SERNO = 1; + + /* + Conference Manager without jQuery table. + */ + + $.verto.conf = function(verto, params) { + var conf = this; + + conf.params = $.extend({ + dialog: null, + hasVid: false, + laData: null, + onBroadcast: null, + onLaChange: null, + onLaRow: null + }, params); + + conf.verto = verto; + conf.serno = CONFMAN_SERNO++; + + createMainModeratorMethods(); + + verto.subscribe(conf.params.laData.modChannel, { + handler: function(v, e) { + if (conf.params.onBroadcast) { + conf.params.onBroadcast(verto, conf, e.data); + } + } + }); + + verto.subscribe(conf.params.laData.infoChannel, { + handler: function(v, e) { + if (typeof(conf.params.infoCallback) === "function") { + conf.params.infoCallback(v,e); + } + } + }); + + verto.subscribe(conf.params.laData.chatChannel, { + handler: function(v, e) { + if (typeof(conf.params.chatCallback) === "function") { + conf.params.chatCallback(v,e); + } + } + }); + }; + + $.verto.conf.prototype.modCommand = function(cmd, id, value) { + var conf = this; + + conf.verto.rpcClient.call("verto.broadcast", { + "eventChannel": conf.params.laData.modChannel, + "data": { + "application": "conf-control", + "command": cmd, + "id": id, + "value": value + } + }); + }; + + $.verto.conf.prototype.destroy = function() { + var conf = this; + + conf.destroyed = true; + conf.params.onBroadcast(conf.verto, conf, 'destroy'); + + if (conf.params.laData.modChannel) { + conf.verto.unsubscribe(conf.params.laData.modChannel); + } + + if (conf.params.laData.chatChannel) { + conf.verto.unsubscribe(conf.params.laData.chatChannel); + } + + if (conf.params.laData.infoChannel) { + conf.verto.unsubscribe(conf.params.laData.infoChannel); + } + }; + + function createMainModeratorMethods() { + $.verto.conf.prototype.listVideoLayouts = function() { + this.modCommand("list-videoLayouts", null, null); + }; + + $.verto.conf.prototype.play = function(file) { + this.modCommand("play", null, file); + }; + + $.verto.conf.prototype.stop = function() { + this.modCommand("stop", null, "all"); + }; + + $.verto.conf.prototype.deaf = function(memberID) { + this.modCommand("deaf", parseInt(memberID)); + }; + + $.verto.conf.prototype.undeaf = function(memberID) { + this.modCommand("undeaf", parseInt(memberID)); + }; + + $.verto.conf.prototype.record = function(file) { + this.modCommand("recording", null, ["start", file]); + }; + + $.verto.conf.prototype.stopRecord = function() { + this.modCommand("recording", null, ["stop", "all"]); + }; + + $.verto.conf.prototype.snapshot = function(file) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("vid-write-png", null, file); + }; + + $.verto.conf.prototype.setVideoLayout = function(layout, canvasID) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + if (canvasID) { + this.modCommand("vid-layout", null, [layout, canvasID]); + } else { + this.modCommand("vid-layout", null, layout); + } + }; + + $.verto.conf.prototype.kick = function(memberID) { + this.modCommand("kick", parseInt(memberID)); + }; + + $.verto.conf.prototype.muteMic = function(memberID) { + this.modCommand("tmute", parseInt(memberID)); + }; + + $.verto.conf.prototype.muteVideo = function(memberID) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("tvmute", parseInt(memberID)); + }; + + $.verto.conf.prototype.presenter = function(memberID) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("vid-res-id", parseInt(memberID), "presenter"); + }; + + $.verto.conf.prototype.videoFloor = function(memberID) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("vid-floor", parseInt(memberID), "force"); + }; + + $.verto.conf.prototype.banner = function(memberID, text) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("vid-banner", parseInt(memberID), escape(text)); + }; + + $.verto.conf.prototype.volumeDown = function(memberID) { + this.modCommand("volume_out", parseInt(memberID), "down"); + }; + + $.verto.conf.prototype.volumeUp = function(memberID) { + this.modCommand("volume_out", parseInt(memberID), "up"); + }; + + $.verto.conf.prototype.gainDown = function(memberID) { + this.modCommand("volume_in", parseInt(memberID), "down"); + }; + + $.verto.conf.prototype.gainUp = function(memberID) { + this.modCommand("volume_in", parseInt(memberID), "up"); + }; + + $.verto.conf.prototype.transfer = function(memberID, exten) { + this.modCommand("transfer", parseInt(memberID), exten); + }; + + $.verto.conf.prototype.sendChat = function(message, type) { + var conf = this; + conf.verto.rpcClient.call("verto.broadcast", { + "eventChannel": conf.params.laData.chatChannel, + "data": { + "action": "send", + "message": message, + "type": type + } + }); + }; + + } + + $.verto.modfuncs = {}; + + $.verto.confMan = function(verto, params) { + var confMan = this; + + confMan.params = $.extend({ + tableID: null, + statusID: null, + mainModID: null, + dialog: null, + hasVid: false, + laData: null, + onBroadcast: null, + onLaChange: null, + onLaRow: null + }, params); + + confMan.verto = verto; + confMan.serno = CONFMAN_SERNO++; + confMan.canvasCount = confMan.params.laData.canvasCount; + + function genMainMod(jq) { + var play_id = "play_" + confMan.serno; + var stop_id = "stop_" + confMan.serno; + var recording_id = "recording_" + confMan.serno; + var snapshot_id = "snapshot_" + confMan.serno; + var rec_stop_id = "recording_stop" + confMan.serno; + var div_id = "confman_" + confMan.serno; + + var html = "

" + + "" + + "" + + "" + + "" + + (confMan.params.hasVid ? "" : "") + + "

"; + + jq.html(html); + + $.verto.modfuncs.change_video_layout = function(id, canvas_id) { + var val = $("#" + id + " option:selected").text(); + if (val !== "none") { + confMan.modCommand("vid-layout", null, [val, canvas_id]); + } + }; + + if (confMan.params.hasVid) { + for (var j = 0; j < confMan.canvasCount; j++) { + var vlayout_id = "confman_vid_layout_" + j + "_" + confMan.serno; + var vlselect_id = "confman_vl_select_" + j + "_" + confMan.serno; + + + var vlhtml = "

" + + "Video Layout Canvas " + (j+1) + + " " + + "

"; + jq.append(vlhtml); + } + + $("#" + snapshot_id).click(function() { + var file = prompt("Please enter file name", ""); + if (file) { + confMan.modCommand("vid-write-png", null, file); + } + }); + } + + $("#" + play_id).click(function() { + var file = prompt("Please enter file name", ""); + if (file) { + confMan.modCommand("play", null, file); + } + }); + + $("#" + stop_id).click(function() { + confMan.modCommand("stop", null, "all"); + }); + + $("#" + recording_id).click(function() { + var file = prompt("Please enter file name", ""); + if (file) { + confMan.modCommand("recording", null, ["start", file]); + } + }); + + $("#" + rec_stop_id).click(function() { + confMan.modCommand("recording", null, ["stop", "all"]); + }); + + } + + function genControls(jq, rowid) { + var x = parseInt(rowid); + var kick_id = "kick_" + x; + var canvas_in_next_id = "canvas_in_next_" + x; + var canvas_in_prev_id = "canvas_in_prev_" + x; + var canvas_out_next_id = "canvas_out_next_" + x; + var canvas_out_prev_id = "canvas_out_prev_" + x; + + var canvas_in_set_id = "canvas_in_set_" + x; + var canvas_out_set_id = "canvas_out_set_" + x; + + var layer_set_id = "layer_set_" + x; + var layer_next_id = "layer_next_" + x; + var layer_prev_id = "layer_prev_" + x; + + var tmute_id = "tmute_" + x; + var tvmute_id = "tvmute_" + x; + var vbanner_id = "vbanner_" + x; + var tvpresenter_id = "tvpresenter_" + x; + var tvfloor_id = "tvfloor_" + x; + var box_id = "box_" + x; + var gainup_id = "gain_in_up" + x; + var gaindn_id = "gain_in_dn" + x; + var volup_id = "vol_in_up" + x; + var voldn_id = "vol_in_dn" + x; + var transfer_id = "transfer" + x; + + + var html = "
"; + + html += "General Controls
"; + + html += "" + + "" + + "" + + "" + + "" + + "" + + ""; + + if (confMan.params.hasVid) { + html += "

Video Controls
"; + + + html += "" + + "" + + "" + + ""; + + if (confMan.canvasCount > 1) { + html += "

Canvas Controls
" + + "" + + "" + + "" + + + "
" + + + "" + + "" + + ""; + } + + html += "
" + + + "" + + "" + + "" + + + + + "
"; + } + + jq.html(html); + + + if (!jq.data("mouse")) { + $("#" + box_id).hide(); + } + + jq.mouseover(function(e) { + jq.data({"mouse": true}); + $("#" + box_id).show(); + }); + + jq.mouseout(function(e) { + jq.data({"mouse": false}); + $("#" + box_id).hide(); + }); + + $("#" + transfer_id).click(function() { + var xten = prompt("Enter Extension"); + if (xten) { + confMan.modCommand("transfer", x, xten); + } + }); + + $("#" + kick_id).click(function() { + confMan.modCommand("kick", x); + }); + + + $("#" + layer_set_id).click(function() { + var cid = prompt("Please enter layer ID", ""); + if (cid) { + confMan.modCommand("vid-layer", x, cid); + } + }); + + $("#" + layer_next_id).click(function() { + confMan.modCommand("vid-layer", x, "next"); + }); + $("#" + layer_prev_id).click(function() { + confMan.modCommand("vid-layer", x, "prev"); + }); + + $("#" + canvas_in_set_id).click(function() { + var cid = prompt("Please enter canvas ID", ""); + if (cid) { + confMan.modCommand("vid-canvas", x, cid); + } + }); + + $("#" + canvas_out_set_id).click(function() { + var cid = prompt("Please enter canvas ID", ""); + if (cid) { + confMan.modCommand("vid-watching-canvas", x, cid); + } + }); + + $("#" + canvas_in_next_id).click(function() { + confMan.modCommand("vid-canvas", x, "next"); + }); + $("#" + canvas_in_prev_id).click(function() { + confMan.modCommand("vid-canvas", x, "prev"); + }); + + + $("#" + canvas_out_next_id).click(function() { + confMan.modCommand("vid-watching-canvas", x, "next"); + }); + $("#" + canvas_out_prev_id).click(function() { + confMan.modCommand("vid-watching-canvas", x, "prev"); + }); + + $("#" + tmute_id).click(function() { + confMan.modCommand("tmute", x); + }); + + if (confMan.params.hasVid) { + $("#" + tvmute_id).click(function() { + confMan.modCommand("tvmute", x); + }); + $("#" + tvpresenter_id).click(function() { + confMan.modCommand("vid-res-id", x, "presenter"); + }); + $("#" + tvfloor_id).click(function() { + confMan.modCommand("vid-floor", x, "force"); + }); + $("#" + vbanner_id).click(function() { + var text = prompt("Please enter text", ""); + if (text) { + confMan.modCommand("vid-banner", x, escape(text)); + } + }); + } + + $("#" + gainup_id).click(function() { + confMan.modCommand("volume_in", x, "up"); + }); + + $("#" + gaindn_id).click(function() { + confMan.modCommand("volume_in", x, "down"); + }); + + $("#" + volup_id).click(function() { + confMan.modCommand("volume_out", x, "up"); + }); + + $("#" + voldn_id).click(function() { + confMan.modCommand("volume_out", x, "down"); + }); + + return html; + } + + var atitle = ""; + var awidth = 0; + + //$(".jsDataTable").width(confMan.params.hasVid ? "900px" : "800px"); + + verto.subscribe(confMan.params.laData.infoChannel, { + handler: function(v, e) { + if (typeof(confMan.params.infoCallback) === "function") { + confMan.params.infoCallback(v,e); + } + } + }); + + verto.subscribe(confMan.params.laData.chatChannel, { + handler: function(v, e) { + if (typeof(confMan.params.chatCallback) === "function") { + confMan.params.chatCallback(v,e); + } + } + }); + + if (confMan.params.laData.role === "moderator") { + atitle = "Action"; + awidth = 600; + + if (confMan.params.mainModID) { + genMainMod($(confMan.params.mainModID)); + $(confMan.params.displayID).html("Moderator Controls Ready

"); + } else { + $(confMan.params.mainModID).html(""); + } + + verto.subscribe(confMan.params.laData.modChannel, { + handler: function(v, e) { + //console.error("MODDATA:", e.data); + if (confMan.params.onBroadcast) { + confMan.params.onBroadcast(verto, confMan, e.data); + } + + if (e.data["conf-command"] === "list-videoLayouts") { + for (var j = 0; j < confMan.canvasCount; j++) { + var vlselect_id = "#confman_vl_select_" + j + "_" + confMan.serno; + var vlayout_id = "#confman_vid_layout_" + j + "_" + confMan.serno; + + var x = 0; + var options; + + $(vlselect_id).selectmenu({}); + $(vlselect_id).selectmenu("enable"); + $(vlselect_id).empty(); + + $(vlselect_id).append(new Option("Choose a Layout", "none")); + + if (e.data.responseData) { + var rdata = []; + + for (var i in e.data.responseData) { + rdata.push(e.data.responseData[i].name); + } + + options = rdata.sort(function(a, b) { + var ga = a.substring(0, 6) == "group:" ? true : false; + var gb = b.substring(0, 6) == "group:" ? true : false; + + if ((ga || gb) && ga != gb) { + return ga ? -1 : 1; + } + + return ( ( a == b ) ? 0 : ( ( a > b ) ? 1 : -1 ) ); + }); + + for (var i in options) { + $(vlselect_id).append(new Option(options[i], options[i])); + x++; + } + } + + if (x) { + $(vlselect_id).selectmenu('refresh', true); + } else { + $(vlayout_id).hide(); + } + } + } else { + + if (!confMan.destroyed && confMan.params.displayID) { + $(confMan.params.displayID).html(e.data.response + "

"); + if (confMan.lastTimeout) { + clearTimeout(confMan.lastTimeout); + confMan.lastTimeout = 0; + } + confMan.lastTimeout = setTimeout(function() { $(confMan.params.displayID).html(confMan.destroyed ? "" : "Moderator Controls Ready

");}, 4000); + } + } + } + }); + + + if (confMan.params.hasVid) { + confMan.modCommand("list-videoLayouts", null, null); + } + } + + var row_callback = null; + + if (confMan.params.laData.role === "moderator") { + row_callback = function(nRow, aData, iDisplayIndex, iDisplayIndexFull) { + if (!aData[5]) { + var $row = $('td:eq(5)', nRow); + genControls($row, aData); + + if (confMan.params.onLaRow) { + confMan.params.onLaRow(verto, confMan, $row, aData); + } + } + }; + } + + confMan.lt = new $.verto.liveTable(verto, confMan.params.laData.laChannel, confMan.params.laData.laName, $(confMan.params.tableID), { + subParams: { + callID: confMan.params.dialog ? confMan.params.dialog.callID : null + }, + + "onChange": function(obj, args) { + $(confMan.params.statusID).text("Conference Members: " + " (" + obj.arrayLen() + " Total)"); + if (confMan.params.onLaChange) { + confMan.params.onLaChange(verto, confMan, $.verto.enum.confEvent.laChange, obj, args); + } + }, + + "aaData": [], + "aoColumns": [ + { + "sTitle": "ID", + "sWidth": "50" + }, + { + "sTitle": "Number", + "sWidth": "250" + }, + { + "sTitle": "Name", + "sWidth": "250" + }, + { + "sTitle": "Codec", + "sWidth": "100" + }, + { + "sTitle": "Status", + "sWidth": confMan.params.hasVid ? "200px" : "150px" + }, + { + "sTitle": atitle, + "sWidth": awidth, + } + ], + "bAutoWidth": true, + "bDestroy": true, + "bSort": false, + "bInfo": false, + "bFilter": false, + "bLengthChange": false, + "bPaginate": false, + "iDisplayLength": 1400, + + "oLanguage": { + "sEmptyTable": "The Conference is Empty....." + }, + + "fnRowCallback": row_callback + + }); + }; + + $.verto.confMan.prototype.modCommand = function(cmd, id, value) { + var confMan = this; + + confMan.verto.rpcClient.call("verto.broadcast", { + "eventChannel": confMan.params.laData.modChannel, + "data": { + "application": "conf-control", + "command": cmd, + "id": id, + "value": value + } + }); + }; + + $.verto.confMan.prototype.sendChat = function(message, type) { + var confMan = this; + confMan.verto.rpcClient.call("verto.broadcast", { + "eventChannel": confMan.params.laData.chatChannel, + "data": { + "action": "send", + "message": message, + "type": type + } + }); + }; + + + $.verto.confMan.prototype.destroy = function() { + var confMan = this; + + confMan.destroyed = true; + + if (confMan.lt) { + confMan.lt.destroy(); + } + + if (confMan.params.laData.chatChannel) { + confMan.verto.unsubscribe(confMan.params.laData.chatChannel); + } + + if (confMan.params.laData.modChannel) { + confMan.verto.unsubscribe(confMan.params.laData.modChannel); + } + + if (confMan.params.mainModID) { + $(confMan.params.mainModID).html(""); + } + }; + + $.verto.dialog = function(direction, verto, params) { + var dialog = this; + + dialog.params = $.extend({ + useVideo: verto.options.useVideo, + useStereo: verto.options.useStereo, + screenShare: false, + useCamera: false, + useMic: verto.options.deviceParams.useMic, + useSpeak: verto.options.deviceParams.useSpeak, + tag: verto.options.tag, + localTag: verto.options.localTag, + login: verto.options.login, + videoParams: verto.options.videoParams, + useStream: verto.options.useStream, + }, params); + + + if (!dialog.params.screenShare) { + dialog.params.useCamera = verto.options.deviceParams.useCamera; + } + + dialog.verto = verto; + dialog.direction = direction; + dialog.lastState = null; + dialog.state = dialog.lastState = $.verto.enum.state.new; + dialog.callbacks = verto.callbacks; + dialog.answered = false; + dialog.attach = params.attach || false; + dialog.screenShare = params.screenShare || false; + dialog.useCamera = dialog.params.useCamera; + dialog.useMic = dialog.params.useMic; + dialog.useSpeak = dialog.params.useSpeak; + + if (dialog.params.callID) { + dialog.callID = dialog.params.callID; + } else { + dialog.callID = dialog.params.callID = generateGUID(); + } + + if (typeof(dialog.params.tag) === "function") { + dialog.params.tag = dialog.params.tag(); + } + + if (dialog.params.tag) { + dialog.audioStream = document.getElementById(dialog.params.tag); + + if (dialog.params.useVideo) { + dialog.videoStream = dialog.audioStream; + } + } //else conjure one TBD + + if (dialog.params.localTag) { + dialog.localVideo = document.getElementById(dialog.params.localTag); + } + + dialog.verto.dialogs[dialog.callID] = dialog; + + var RTCcallbacks = {}; + + if (dialog.direction == $.verto.enum.direction.inbound) { + if (dialog.params.display_direction === "outbound") { + dialog.params.remote_caller_id_name = dialog.params.caller_id_name; + dialog.params.remote_caller_id_number = dialog.params.caller_id_number; + } else { + dialog.params.remote_caller_id_name = dialog.params.callee_id_name; + dialog.params.remote_caller_id_number = dialog.params.callee_id_number; + } + + if (!dialog.params.remote_caller_id_name) { + dialog.params.remote_caller_id_name = "Nobody"; + } + + if (!dialog.params.remote_caller_id_number) { + dialog.params.remote_caller_id_number = "UNKNOWN"; + } + + RTCcallbacks.onMessage = function(rtc, msg) { + console.debug(msg); + }; + + RTCcallbacks.onAnswerSDP = function(rtc, sdp) { + console.error("answer sdp", sdp); + }; + } else { + dialog.params.remote_caller_id_name = "Outbound Call"; + dialog.params.remote_caller_id_number = dialog.params.destination_number; + } + + RTCcallbacks.onICESDP = function(rtc) { + console.log("RECV " + rtc.type + " SDP", rtc.mediaData.SDP); + + if (dialog.state == $.verto.enum.state.requesting || dialog.state == $.verto.enum.state.answering || dialog.state == $.verto.enum.state.active) { + location.reload(); + return; + } + + if (rtc.type == "offer") { + if (dialog.state == $.verto.enum.state.active) { + dialog.setState($.verto.enum.state.requesting); + dialog.sendMethod("verto.attach", { + sdp: rtc.mediaData.SDP + }); + } else { + dialog.setState($.verto.enum.state.requesting); + + dialog.sendMethod("verto.invite", { + sdp: rtc.mediaData.SDP + }); + } + } else { //answer + dialog.setState($.verto.enum.state.answering); + + dialog.sendMethod(dialog.attach ? "verto.attach" : "verto.answer", { + sdp: dialog.rtc.mediaData.SDP + }); + } + }; + + RTCcallbacks.onICE = function(rtc) { + //console.log("cand", rtc.mediaData.candidate); + if (rtc.type == "offer") { + console.log("offer", rtc.mediaData.candidate); + return; + } + }; + + RTCcallbacks.onStream = function(rtc, stream) { + if (dialog.callbacks.permissionCallback && + typeof dialog.callbacks.permissionCallback.onGranted === 'function') { + dialog.callbacks.permissionCallback.onGranted(stream); + } + else if (dialog.verto.options.permissionCallback && + typeof dialog.verto.options.permissionCallback.onGranted === 'function'){ + dialog.verto.options.permissionCallback.onGranted(stream); + } + console.log("stream started"); + }; + + RTCcallbacks.onRemoteStream = function(rtc, stream) { + if (typeof dialog.callbacks.onRemoteStream === 'function') { + dialog.callbacks.onRemoteStream(stream, dialog); + } + console.log("remote stream started"); + }; + + RTCcallbacks.onError = function(e) { + if (dialog.callbacks.permissionCallback && + typeof dialog.callbacks.permissionCallback.onDenied === 'function') { + dialog.callbacks.permissionCallback.onDenied(); + } + else if (dialog.verto.options.permissionCallback && + typeof dialog.verto.options.permissionCallback.onDenied === 'function'){ + dialog.verto.options.permissionCallback.onDenied(); + } + console.error("ERROR:", e); + dialog.hangup({cause: "Device or Permission Error"}); + }; + + dialog.rtc = new $.FSRTC({ + callbacks: RTCcallbacks, + localVideo: dialog.screenShare ? null : dialog.localVideo, + useVideo: dialog.params.useVideo ? dialog.videoStream : null, + useAudio: dialog.audioStream, + useStereo: dialog.params.useStereo, + videoParams: dialog.params.videoParams, + audioParams: verto.options.audioParams, + iceServers: verto.options.iceServers, + screenShare: dialog.screenShare, + useCamera: dialog.useCamera, + useMic: dialog.useMic, + useSpeak: dialog.useSpeak, + turnServer: verto.options.turnServer, + useStream: dialog.params.useStream + }); + + dialog.rtc.verto = dialog.verto; + + if (dialog.direction == $.verto.enum.direction.inbound) { + if (dialog.attach) { + dialog.answer(); + } else { + dialog.ring(); + } + } + }; + + $.verto.dialog.prototype.invite = function() { + var dialog = this; + dialog.rtc.call(); + }; + + $.verto.dialog.prototype.sendMethod = function(method, obj) { + var dialog = this; + obj.dialogParams = {}; + + for (var i in dialog.params) { + if (i == "sdp" && method != "verto.invite" && method != "verto.attach") { + continue; + } + + if ((obj.noDialogParams && i != "callID")) { + continue; + } + + obj.dialogParams[i] = dialog.params[i]; + } + + delete obj.noDialogParams; + + dialog.verto.rpcClient.call(method, obj, + + function(e) { + /* Success */ + dialog.processReply(method, true, e); + }, + + function(e) { + /* Error */ + dialog.processReply(method, false, e); + }); + }; + + function checkStateChange(oldS, newS) { + + if (newS == $.verto.enum.state.purge || $.verto.enum.states[oldS.name][newS.name]) { + return true; + } + + return false; + } + + + // Attach audio output device to video element using device/sink ID. + function find_name(id) { + for (var i in $.verto.audioOutDevices) { + var source = $.verto.audioOutDevices[i]; + if (source.id === id) { + return(source.label); + } + } + + return id; + } + + $.verto.dialog.prototype.setAudioPlaybackDevice = function(sinkId, callback, arg) { + var dialog = this; + var element = dialog.audioStream; + + if (typeof element.sinkId !== 'undefined') { + var devname = find_name(sinkId); + console.info("Dialog: " + dialog.callID + " Setting speaker:", element, devname); + + element.setSinkId(sinkId) + .then(function() { + console.log("Dialog: " + dialog.callID + ' Success, audio output device attached: ' + sinkId); + if (callback) { + callback(true, devname, arg); + } + }) + .catch(function(error) { + var errorMessage = error; + if (error.name === 'SecurityError') { + errorMessage = "Dialog: " + dialog.callID + ' You need to use HTTPS for selecting audio output ' + + 'device: ' + error; + } + if (callback) { + callback(false, null, arg); + } + console.error(errorMessage); + }); + } else { + console.warn("Dialog: " + dialog.callID + ' Browser does not support output device selection.'); + if (callback) { + callback(false, null, arg); + } + } + } + + $.verto.dialog.prototype.setState = function(state) { + var dialog = this; + + if (dialog.state == $.verto.enum.state.ringing) { + dialog.stopRinging(); + } + + if (dialog.state == state || !checkStateChange(dialog.state, state)) { + console.error("Dialog " + dialog.callID + ": INVALID state change from " + dialog.state.name + " to " + state.name); + dialog.hangup(); + return false; + } + + console.log("Dialog " + dialog.callID + ": state change from " + dialog.state.name + " to " + state.name); + + dialog.lastState = dialog.state; + dialog.state = state; + + if (dialog.callbacks.onDialogState) { + dialog.callbacks.onDialogState(this); + } + + switch (dialog.state) { + + case $.verto.enum.state.early: + case $.verto.enum.state.active: + + var speaker = dialog.useSpeak; + console.info("Using Speaker: ", speaker); + + if (speaker && speaker !== "any" && speaker !== "none") { + setTimeout(function() { + dialog.setAudioPlaybackDevice(speaker); + }, 500); + } + + break; + + case $.verto.enum.state.trying: + setTimeout(function() { + if (dialog.state == $.verto.enum.state.trying) { + dialog.setState($.verto.enum.state.hangup); + } + }, 30000); + break; + case $.verto.enum.state.purge: + dialog.setState($.verto.enum.state.destroy); + break; + case $.verto.enum.state.hangup: + + if (dialog.lastState.val > $.verto.enum.state.requesting.val && dialog.lastState.val < $.verto.enum.state.hangup.val) { + dialog.sendMethod("verto.bye", {}); + } + + dialog.setState($.verto.enum.state.destroy); + break; + case $.verto.enum.state.destroy: + + if (typeof(dialog.verto.options.tag) === "function") { + $('#' + dialog.params.tag).remove(); + } + + delete dialog.verto.dialogs[dialog.callID]; + if (dialog.params.screenShare) { + dialog.rtc.stopPeer(); + } else { + dialog.rtc.stop(); + } + break; + } + + return true; + }; + + $.verto.dialog.prototype.processReply = function(method, success, e) { + var dialog = this; + + //console.log("Response: " + method + " State:" + dialog.state.name, success, e); + + switch (method) { + + case "verto.answer": + case "verto.attach": + if (success) { + dialog.setState($.verto.enum.state.active); + } else { + dialog.hangup(); + } + break; + case "verto.invite": + if (success) { + dialog.setState($.verto.enum.state.trying); + } else { + dialog.setState($.verto.enum.state.destroy); + } + break; + + case "verto.bye": + dialog.hangup(); + break; + + case "verto.modify": + if (e.holdState) { + if (e.holdState == "held") { + if (dialog.state != $.verto.enum.state.held) { + dialog.setState($.verto.enum.state.held); + } + } else if (e.holdState == "active") { + if (dialog.state != $.verto.enum.state.active) { + dialog.setState($.verto.enum.state.active); + } + } + } + + if (success) {} + + break; + + default: + break; + } + + }; + + $.verto.dialog.prototype.hangup = function(params) { + var dialog = this; + + if (params) { + if (params.causeCode) { + dialog.causeCode = params.causeCode; + } + + if (params.cause) { + dialog.cause = params.cause; + } + } + + if (!dialog.cause && !dialog.causeCode) { + dialog.cause = "NORMAL_CLEARING"; + } + + if (dialog.state.val >= $.verto.enum.state.new.val && dialog.state.val < $.verto.enum.state.hangup.val) { + dialog.setState($.verto.enum.state.hangup); + } else if (dialog.state.val < $.verto.enum.state.destroy) { + dialog.setState($.verto.enum.state.destroy); + } + }; + + $.verto.dialog.prototype.stopRinging = function() { + var dialog = this; + if (dialog.verto.ringer) { + dialog.verto.ringer.stop(); + } + }; + + $.verto.dialog.prototype.indicateRing = function() { + var dialog = this; + + if (dialog.verto.ringer) { + dialog.verto.ringer.attr("src", dialog.verto.options.ringFile)[0].play(); + + setTimeout(function() { + dialog.stopRinging(); + if (dialog.state == $.verto.enum.state.ringing) { + dialog.indicateRing(); + } + }, + dialog.verto.options.ringSleep); + } + }; + + $.verto.dialog.prototype.ring = function() { + var dialog = this; + + dialog.setState($.verto.enum.state.ringing); + dialog.indicateRing(); + }; + + $.verto.dialog.prototype.useVideo = function(on) { + var dialog = this; + + dialog.params.useVideo = on; + + if (on) { + dialog.videoStream = dialog.audioStream; + } else { + dialog.videoStream = null; + } + + dialog.rtc.useVideo(dialog.videoStream, dialog.localVideo); + + }; + + $.verto.dialog.prototype.setMute = function(what) { + var dialog = this; + return dialog.rtc.setMute(what); + }; + + $.verto.dialog.prototype.getMute = function() { + var dialog = this; + return dialog.rtc.getMute(); + }; + + $.verto.dialog.prototype.setVideoMute = function(what) { + var dialog = this; + return dialog.rtc.setVideoMute(what); + }; + + $.verto.dialog.prototype.getVideoMute = function() { + var dialog = this; + return dialog.rtc.getVideoMute(); + }; + + $.verto.dialog.prototype.useStereo = function(on) { + var dialog = this; + + dialog.params.useStereo = on; + dialog.rtc.useStereo(on); + }; + + $.verto.dialog.prototype.dtmf = function(digits) { + var dialog = this; + if (digits) { + dialog.sendMethod("verto.info", { + dtmf: digits + }); + } + }; + + $.verto.dialog.prototype.rtt = function(obj) { + var dialog = this; + var pobj = {}; + + if (!obj) { + return false; + } + + pobj.code = obj.code; + pobj.chars = obj.chars; + + + if (pobj.chars || pobj.code) { + dialog.sendMethod("verto.info", { + txt: obj, + noDialogParams: true + }); + } + }; + + $.verto.dialog.prototype.transfer = function(dest, params) { + var dialog = this; + if (dest) { + dialog.sendMethod("verto.modify", { + action: "transfer", + destination: dest, + params: params + }); + } + }; + + $.verto.dialog.prototype.replace = function(replaceCallID, params) { + var dialog = this; + if (replaceCallID) { + dialog.sendMethod("verto.modify", { + action: "replace", + replaceCallID: replaceCallID, + params: params + }); + } + }; + + $.verto.dialog.prototype.hold = function(params) { + var dialog = this; + + dialog.sendMethod("verto.modify", { + action: "hold", + params: params + }); + }; + + $.verto.dialog.prototype.unhold = function(params) { + var dialog = this; + + dialog.sendMethod("verto.modify", { + action: "unhold", + params: params + }); + }; + + $.verto.dialog.prototype.toggleHold = function(params) { + var dialog = this; + + dialog.sendMethod("verto.modify", { + action: "toggleHold", + params: params + }); + }; + + $.verto.dialog.prototype.message = function(msg) { + var dialog = this; + var err = 0; + + msg.from = dialog.params.login; + + if (!msg.to) { + console.error("Missing To"); + err++; + } + + if (!msg.body) { + console.error("Missing Body"); + err++; + } + + if (err) { + return false; + } + + dialog.sendMethod("verto.info", { + msg: msg + }); + + return true; + }; + + $.verto.dialog.prototype.answer = function(params) { + var dialog = this; + + if (!dialog.answered) { + if (!params) { + params = {}; + } + + params.sdp = dialog.params.sdp; + + if (params) { + if (params.useVideo) { + dialog.useVideo(true); + } + dialog.params.callee_id_name = params.callee_id_name; + dialog.params.callee_id_number = params.callee_id_number; + + if (params.useCamera) { + dialog.useCamera = params.useCamera; + } + + if (params.useMic) { + dialog.useMic = params.useMic; + } + + if (params.useSpeak) { + dialog.useSpeak = params.useSpeak; + } + } + + dialog.rtc.createAnswer(params); + dialog.answered = true; + } + }; + + $.verto.dialog.prototype.handleAnswer = function(params) { + var dialog = this; + + dialog.gotAnswer = true; + + if (dialog.state.val >= $.verto.enum.state.active.val) { + return; + } + + if (dialog.state.val >= $.verto.enum.state.early.val) { + dialog.setState($.verto.enum.state.active); + } else { + if (dialog.gotEarly) { + console.log("Dialog " + dialog.callID + " Got answer while still establishing early media, delaying..."); + } else { + console.log("Dialog " + dialog.callID + " Answering Channel"); + dialog.rtc.answer(params.sdp, function() { + dialog.setState($.verto.enum.state.active); + }, function(e) { + console.error(e); + dialog.hangup(); + }); + console.log("Dialog " + dialog.callID + "ANSWER SDP", params.sdp); + } + } + + + }; + + $.verto.dialog.prototype.cidString = function(enc) { + var dialog = this; + var party = dialog.params.remote_caller_id_name + (enc ? " <" : " <") + dialog.params.remote_caller_id_number + (enc ? ">" : ">"); + return party; + }; + + $.verto.dialog.prototype.sendMessage = function(msg, params) { + var dialog = this; + + if (dialog.callbacks.onMessage) { + dialog.callbacks.onMessage(dialog.verto, dialog, msg, params); + } + }; + + $.verto.dialog.prototype.handleInfo = function(params) { + var dialog = this; + + dialog.sendMessage($.verto.enum.message.info, params); + + }; + + $.verto.dialog.prototype.handleDisplay = function(params) { + var dialog = this; + + if (params.display_name) { + dialog.params.remote_caller_id_name = params.display_name; + } + if (params.display_number) { + dialog.params.remote_caller_id_number = params.display_number; + } + + dialog.sendMessage($.verto.enum.message.display, {}); + }; + + $.verto.dialog.prototype.handleMedia = function(params) { + var dialog = this; + + if (dialog.state.val >= $.verto.enum.state.early.val) { + return; + } + + dialog.gotEarly = true; + + dialog.rtc.answer(params.sdp, function() { + console.log("Dialog " + dialog.callID + "Establishing early media"); + dialog.setState($.verto.enum.state.early); + + if (dialog.gotAnswer) { + console.log("Dialog " + dialog.callID + "Answering Channel"); + dialog.setState($.verto.enum.state.active); + } + }, function(e) { + console.error(e); + dialog.hangup(); + }); + console.log("Dialog " + dialog.callID + "EARLY SDP", params.sdp); + }; + + $.verto.ENUM = function(s) { + var i = 0, + o = {}; + s.split(" ").map(function(x) { + o[x] = { + name: x, + val: i++ + }; + }); + return Object.freeze(o); + }; + + $.verto.enum = {}; + + $.verto.enum.states = Object.freeze({ + new: { + requesting: 1, + recovering: 1, + ringing: 1, + destroy: 1, + answering: 1, + hangup: 1 + }, + requesting: { + trying: 1, + hangup: 1, + active: 1 + }, + recovering: { + answering: 1, + hangup: 1 + }, + trying: { + active: 1, + early: 1, + hangup: 1 + }, + ringing: { + answering: 1, + hangup: 1 + }, + answering: { + active: 1, + hangup: 1 + }, + active: { + answering: 1, + requesting: 1, + hangup: 1, + held: 1 + }, + held: { + hangup: 1, + active: 1 + }, + early: { + hangup: 1, + active: 1 + }, + hangup: { + destroy: 1 + }, + destroy: {}, + purge: { + destroy: 1 + } + }); + + $.verto.enum.state = $.verto.ENUM("new requesting trying recovering ringing answering early active held hangup destroy purge"); + $.verto.enum.direction = $.verto.ENUM("inbound outbound"); + $.verto.enum.message = $.verto.ENUM("display info pvtEvent clientReady"); + + $.verto.enum = Object.freeze($.verto.enum); + + $.verto.saved = []; + + $.verto.unloadJobs = []; + + var unloadEventName = 'beforeunload'; + // Hacks for Mobile Safari + var iOS = ['iPad', 'iPhone', 'iPod'].indexOf(navigator.platform) >= 0; + if (iOS) { + unloadEventName = 'pagehide'; + } + + $(window).bind(unloadEventName, function() { + for (var f in $.verto.unloadJobs) { + $.verto.unloadJobs[f](); + } + + if ($.verto.haltClosure) + return $.verto.haltClosure(); + + for (var i in $.verto.saved) { + var verto = $.verto.saved[i]; + if (verto) { + verto.purge(); + verto.logout(); + } + } + + return $.verto.warnOnUnload; + }); + + $.verto.videoDevices = []; + $.verto.audioInDevices = []; + $.verto.audioOutDevices = []; + + var checkDevices = function(runtime) { + console.info("enumerating devices"); + var aud_in = [], aud_out = [], vid = []; + var has_video = 0, has_audio = 0; + var Xstream; + + function gotDevices(deviceInfos) { + // Handles being called several times to update labels. Preserve values. + for (var i = 0; i !== deviceInfos.length; ++i) { + var deviceInfo = deviceInfos[i]; + var text = ""; + + console.log(deviceInfo); + console.log(deviceInfo.kind + ": " + deviceInfo.label + " id = " + deviceInfo.deviceId); + + if (deviceInfo.kind === 'audioinput') { + text = deviceInfo.label || 'microphone ' + (aud_in.length + 1); + aud_in.push({id: deviceInfo.deviceId, kind: "audio_in", label: text}); + } else if (deviceInfo.kind === 'audiooutput') { + text = deviceInfo.label || 'speaker ' + (aud_out.length + 1); + aud_out.push({id: deviceInfo.deviceId, kind: "audio_out", label: text}); + } else if (deviceInfo.kind === 'videoinput') { + text = deviceInfo.label || 'camera ' + (vid.length + 1); + vid.push({id: deviceInfo.deviceId, kind: "video", label: text}); + } else { + console.log('Some other kind of source/device: ', deviceInfo); + } + } + + + $.verto.videoDevices = vid; + $.verto.audioInDevices = aud_in; + $.verto.audioOutDevices = aud_out; + + console.info("Audio IN Devices", $.verto.audioInDevices); + console.info("Audio Out Devices", $.verto.audioOutDevices); + console.info("Video Devices", $.verto.videoDevices); + + if (Xstream) { + Xstream.getTracks().forEach(function(track) {track.stop();}); + } + + if (runtime) { + runtime(true); + } + } + + + + + function handleError(error) { + console.log('device enumeration error: ', error); + if (runtime) runtime(false); + } + + + function checkTypes(devs) { + for (var i = 0; i !== devs.length; ++i) { + + if (devs[i].kind === 'audioinput') { + has_audio++; + } else if (devs[i].kind === 'videoinput') { + has_video++; + } + } + + navigator.getUserMedia({ audio: (has_audio > 0 ? true : false), video: (has_video > 0 ? true : false)}, + function(stream) { + Xstream = stream; + navigator.mediaDevices.enumerateDevices().then(gotDevices).catch(handleError); + }, + function(err) { + console.log("The following error occurred: " + err.name); + } + ); + } + + navigator.mediaDevices.enumerateDevices().then(checkTypes).catch(handleError); + + }; + + $.verto.refreshDevices = function(runtime) { + checkDevices(runtime); + } + + $.verto.init = function(obj, runtime) { + if (!obj) { + obj = {}; + } + + if (!obj.skipPermCheck && !obj.skipDeviceCheck) { + $.FSRTC.checkPerms(function(status) { + checkDevices(runtime); + }, true, true); + } else if (obj.skipPermCheck && !obj.skipDeviceCheck) { + checkDevices(runtime); + } else if (!obj.skipPermCheck && obj.skipDeviceCheck) { + $.FSRTC.checkPerms(function(status) { + runtime(status); + }, true, true); + } else { + runtime(null); + } + + } + + $.verto.genUUID = function () { + return generateGUID(); + } + + +})(jQuery); +(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.adapter = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o= 14393 && + url.indexOf('?transport=udp') === -1; + }); + + delete server.url; + server.urls = isString ? urls[0] : urls; + return !!urls.length; + } + }); +} + +// Determines the intersection of local and remote capabilities. +function getCommonCapabilities(localCapabilities, remoteCapabilities) { + var commonCapabilities = { + codecs: [], + headerExtensions: [], + fecMechanisms: [] + }; + + var findCodecByPayloadType = function(pt, codecs) { + pt = parseInt(pt, 10); + for (var i = 0; i < codecs.length; i++) { + if (codecs[i].payloadType === pt || + codecs[i].preferredPayloadType === pt) { + return codecs[i]; + } + } + }; + + var rtxCapabilityMatches = function(lRtx, rRtx, lCodecs, rCodecs) { + var lCodec = findCodecByPayloadType(lRtx.parameters.apt, lCodecs); + var rCodec = findCodecByPayloadType(rRtx.parameters.apt, rCodecs); + return lCodec && rCodec && + lCodec.name.toLowerCase() === rCodec.name.toLowerCase(); + }; + + localCapabilities.codecs.forEach(function(lCodec) { + for (var i = 0; i < remoteCapabilities.codecs.length; i++) { + var rCodec = remoteCapabilities.codecs[i]; + if (lCodec.name.toLowerCase() === rCodec.name.toLowerCase() && + lCodec.clockRate === rCodec.clockRate) { + if (lCodec.name.toLowerCase() === 'rtx' && + lCodec.parameters && rCodec.parameters.apt) { + // for RTX we need to find the local rtx that has a apt + // which points to the same local codec as the remote one. + if (!rtxCapabilityMatches(lCodec, rCodec, + localCapabilities.codecs, remoteCapabilities.codecs)) { + continue; + } + } + rCodec = JSON.parse(JSON.stringify(rCodec)); // deepcopy + // number of channels is the highest common number of channels + rCodec.numChannels = Math.min(lCodec.numChannels, + rCodec.numChannels); + // push rCodec so we reply with offerer payload type + commonCapabilities.codecs.push(rCodec); + + // determine common feedback mechanisms + rCodec.rtcpFeedback = rCodec.rtcpFeedback.filter(function(fb) { + for (var j = 0; j < lCodec.rtcpFeedback.length; j++) { + if (lCodec.rtcpFeedback[j].type === fb.type && + lCodec.rtcpFeedback[j].parameter === fb.parameter) { + return true; + } + } + return false; + }); + // FIXME: also need to determine .parameters + // see https://github.com/openpeer/ortc/issues/569 + break; + } + } + }); + + localCapabilities.headerExtensions.forEach(function(lHeaderExtension) { + for (var i = 0; i < remoteCapabilities.headerExtensions.length; + i++) { + var rHeaderExtension = remoteCapabilities.headerExtensions[i]; + if (lHeaderExtension.uri === rHeaderExtension.uri) { + commonCapabilities.headerExtensions.push(rHeaderExtension); + break; + } + } + }); + + // FIXME: fecMechanisms + return commonCapabilities; +} + +// is action=setLocalDescription with type allowed in signalingState +function isActionAllowedInSignalingState(action, type, signalingState) { + return { + offer: { + setLocalDescription: ['stable', 'have-local-offer'], + setRemoteDescription: ['stable', 'have-remote-offer'] + }, + answer: { + setLocalDescription: ['have-remote-offer', 'have-local-pranswer'], + setRemoteDescription: ['have-local-offer', 'have-remote-pranswer'] + } + }[type][action].indexOf(signalingState) !== -1; +} + +function maybeAddCandidate(iceTransport, candidate) { + // Edge's internal representation adds some fields therefore + // not all fieldѕ are taken into account. + var alreadyAdded = iceTransport.getRemoteCandidates() + .find(function(remoteCandidate) { + return candidate.foundation === remoteCandidate.foundation && + candidate.ip === remoteCandidate.ip && + candidate.port === remoteCandidate.port && + candidate.priority === remoteCandidate.priority && + candidate.protocol === remoteCandidate.protocol && + candidate.type === remoteCandidate.type; + }); + if (!alreadyAdded) { + iceTransport.addRemoteCandidate(candidate); + } + return !alreadyAdded; +} + + +// https://w3c.github.io/mediacapture-main/#mediastream +// Helper function to add the track to the stream and +// dispatch the event ourselves. +function addTrackToStreamAndFireEvent(track, stream) { + stream.addTrack(track); + var e = new Event('addtrack'); // TODO: MediaStreamTrackEvent + e.track = track; + stream.dispatchEvent(e); +} + +function removeTrackFromStreamAndFireEvent(track, stream) { + stream.removeTrack(track); + var e = new Event('removetrack'); // TODO: MediaStreamTrackEvent + e.track = track; + stream.dispatchEvent(e); +} + +function fireAddTrack(pc, track, receiver, streams) { + var trackEvent = new Event('track'); + trackEvent.track = track; + trackEvent.receiver = receiver; + trackEvent.transceiver = {receiver: receiver}; + trackEvent.streams = streams; + window.setTimeout(function() { + pc._dispatchEvent('track', trackEvent); + }); +} + +function makeError(name, description) { + var e = new Error(description); + e.name = name; + return e; +} + +module.exports = function(window, edgeVersion) { + var RTCPeerConnection = function(config) { + var pc = this; + + var _eventTarget = document.createDocumentFragment(); + ['addEventListener', 'removeEventListener', 'dispatchEvent'] + .forEach(function(method) { + pc[method] = _eventTarget[method].bind(_eventTarget); + }); + + this.canTrickleIceCandidates = null; + + this.needNegotiation = false; + + this.localStreams = []; + this.remoteStreams = []; + + this.localDescription = null; + this.remoteDescription = null; + + this.signalingState = 'stable'; + this.iceConnectionState = 'new'; + this.iceGatheringState = 'new'; + + config = JSON.parse(JSON.stringify(config || {})); + + this.usingBundle = config.bundlePolicy === 'max-bundle'; + if (config.rtcpMuxPolicy === 'negotiate') { + throw(makeError('NotSupportedError', + 'rtcpMuxPolicy \'negotiate\' is not supported')); + } else if (!config.rtcpMuxPolicy) { + config.rtcpMuxPolicy = 'require'; + } + + switch (config.iceTransportPolicy) { + case 'all': + case 'relay': + break; + default: + config.iceTransportPolicy = 'all'; + break; + } + + switch (config.bundlePolicy) { + case 'balanced': + case 'max-compat': + case 'max-bundle': + break; + default: + config.bundlePolicy = 'balanced'; + break; + } + + config.iceServers = filterIceServers(config.iceServers || [], edgeVersion); + + this._iceGatherers = []; + if (config.iceCandidatePoolSize) { + for (var i = config.iceCandidatePoolSize; i > 0; i--) { + this._iceGatherers = new window.RTCIceGatherer({ + iceServers: config.iceServers, + gatherPolicy: config.iceTransportPolicy + }); + } + } else { + config.iceCandidatePoolSize = 0; + } + + this._config = config; + + // per-track iceGathers, iceTransports, dtlsTransports, rtpSenders, ... + // everything that is needed to describe a SDP m-line. + this.transceivers = []; + + this._sdpSessionId = SDPUtils.generateSessionId(); + this._sdpSessionVersion = 0; + + this._dtlsRole = undefined; // role for a=setup to use in answers. + + this._isClosed = false; + }; + + // set up event handlers on prototype + RTCPeerConnection.prototype.onicecandidate = null; + RTCPeerConnection.prototype.onaddstream = null; + RTCPeerConnection.prototype.ontrack = null; + RTCPeerConnection.prototype.onremovestream = null; + RTCPeerConnection.prototype.onsignalingstatechange = null; + RTCPeerConnection.prototype.oniceconnectionstatechange = null; + RTCPeerConnection.prototype.onicegatheringstatechange = null; + RTCPeerConnection.prototype.onnegotiationneeded = null; + RTCPeerConnection.prototype.ondatachannel = null; + + RTCPeerConnection.prototype._dispatchEvent = function(name, event) { + if (this._isClosed) { + return; + } + this.dispatchEvent(event); + if (typeof this['on' + name] === 'function') { + this['on' + name](event); + } + }; + + RTCPeerConnection.prototype._emitGatheringStateChange = function() { + var event = new Event('icegatheringstatechange'); + this._dispatchEvent('icegatheringstatechange', event); + }; + + RTCPeerConnection.prototype.getConfiguration = function() { + return this._config; + }; + + RTCPeerConnection.prototype.getLocalStreams = function() { + return this.localStreams; + }; + + RTCPeerConnection.prototype.getRemoteStreams = function() { + return this.remoteStreams; + }; + + // internal helper to create a transceiver object. + // (whih is not yet the same as the WebRTC 1.0 transceiver) + RTCPeerConnection.prototype._createTransceiver = function(kind) { + var hasBundleTransport = this.transceivers.length > 0; + var transceiver = { + track: null, + iceGatherer: null, + iceTransport: null, + dtlsTransport: null, + localCapabilities: null, + remoteCapabilities: null, + rtpSender: null, + rtpReceiver: null, + kind: kind, + mid: null, + sendEncodingParameters: null, + recvEncodingParameters: null, + stream: null, + associatedRemoteMediaStreams: [], + wantReceive: true + }; + if (this.usingBundle && hasBundleTransport) { + transceiver.iceTransport = this.transceivers[0].iceTransport; + transceiver.dtlsTransport = this.transceivers[0].dtlsTransport; + } else { + var transports = this._createIceAndDtlsTransports(); + transceiver.iceTransport = transports.iceTransport; + transceiver.dtlsTransport = transports.dtlsTransport; + } + this.transceivers.push(transceiver); + return transceiver; + }; + + RTCPeerConnection.prototype.addTrack = function(track, stream) { + var alreadyExists = this.transceivers.find(function(s) { + return s.track === track; + }); + + if (alreadyExists) { + throw makeError('InvalidAccessError', 'Track already exists.'); + } + + if (this.signalingState === 'closed') { + throw makeError('InvalidStateError', + 'Attempted to call addTrack on a closed peerconnection.'); + } + + var transceiver; + for (var i = 0; i < this.transceivers.length; i++) { + if (!this.transceivers[i].track && + this.transceivers[i].kind === track.kind) { + transceiver = this.transceivers[i]; + } + } + if (!transceiver) { + transceiver = this._createTransceiver(track.kind); + } + + this._maybeFireNegotiationNeeded(); + + if (this.localStreams.indexOf(stream) === -1) { + this.localStreams.push(stream); + } + + transceiver.track = track; + transceiver.stream = stream; + transceiver.rtpSender = new window.RTCRtpSender(track, + transceiver.dtlsTransport); + return transceiver.rtpSender; + }; + + RTCPeerConnection.prototype.addStream = function(stream) { + var pc = this; + if (edgeVersion >= 15025) { + stream.getTracks().forEach(function(track) { + pc.addTrack(track, stream); + }); + } else { + // Clone is necessary for local demos mostly, attaching directly + // to two different senders does not work (build 10547). + // Fixed in 15025 (or earlier) + var clonedStream = stream.clone(); + stream.getTracks().forEach(function(track, idx) { + var clonedTrack = clonedStream.getTracks()[idx]; + track.addEventListener('enabled', function(event) { + clonedTrack.enabled = event.enabled; + }); + }); + clonedStream.getTracks().forEach(function(track) { + pc.addTrack(track, clonedStream); + }); + } + }; + + RTCPeerConnection.prototype.removeTrack = function(sender) { + if (!(sender instanceof window.RTCRtpSender)) { + throw new TypeError('Argument 1 of RTCPeerConnection.removeTrack ' + + 'does not implement interface RTCRtpSender.'); + } + + var transceiver = this.transceivers.find(function(t) { + return t.rtpSender === sender; + }); + + if (!transceiver) { + throw makeError('InvalidAccessError', + 'Sender was not created by this connection.'); + } + var stream = transceiver.stream; + + transceiver.rtpSender.stop(); + transceiver.rtpSender = null; + transceiver.track = null; + transceiver.stream = null; + + // remove the stream from the set of local streams + var localStreams = this.transceivers.map(function(t) { + return t.stream; + }); + if (localStreams.indexOf(stream) === -1 && + this.localStreams.indexOf(stream) > -1) { + this.localStreams.splice(this.localStreams.indexOf(stream), 1); + } + + this._maybeFireNegotiationNeeded(); + }; + + RTCPeerConnection.prototype.removeStream = function(stream) { + var pc = this; + stream.getTracks().forEach(function(track) { + var sender = pc.getSenders().find(function(s) { + return s.track === track; + }); + if (sender) { + pc.removeTrack(sender); + } + }); + }; + + RTCPeerConnection.prototype.getSenders = function() { + return this.transceivers.filter(function(transceiver) { + return !!transceiver.rtpSender; + }) + .map(function(transceiver) { + return transceiver.rtpSender; + }); + }; + + RTCPeerConnection.prototype.getReceivers = function() { + return this.transceivers.filter(function(transceiver) { + return !!transceiver.rtpReceiver; + }) + .map(function(transceiver) { + return transceiver.rtpReceiver; + }); + }; + + + RTCPeerConnection.prototype._createIceGatherer = function(sdpMLineIndex, + usingBundle) { + var pc = this; + if (usingBundle && sdpMLineIndex > 0) { + return this.transceivers[0].iceGatherer; + } else if (this._iceGatherers.length) { + return this._iceGatherers.shift(); + } + var iceGatherer = new window.RTCIceGatherer({ + iceServers: this._config.iceServers, + gatherPolicy: this._config.iceTransportPolicy + }); + Object.defineProperty(iceGatherer, 'state', + {value: 'new', writable: true} + ); + + this.transceivers[sdpMLineIndex].candidates = []; + this.transceivers[sdpMLineIndex].bufferCandidates = function(event) { + var end = !event.candidate || Object.keys(event.candidate).length === 0; + // polyfill since RTCIceGatherer.state is not implemented in + // Edge 10547 yet. + iceGatherer.state = end ? 'completed' : 'gathering'; + if (pc.transceivers[sdpMLineIndex].candidates !== null) { + pc.transceivers[sdpMLineIndex].candidates.push(event.candidate); + } + }; + iceGatherer.addEventListener('localcandidate', + this.transceivers[sdpMLineIndex].bufferCandidates); + return iceGatherer; + }; + + // start gathering from an RTCIceGatherer. + RTCPeerConnection.prototype._gather = function(mid, sdpMLineIndex) { + var pc = this; + var iceGatherer = this.transceivers[sdpMLineIndex].iceGatherer; + if (iceGatherer.onlocalcandidate) { + return; + } + var candidates = this.transceivers[sdpMLineIndex].candidates; + this.transceivers[sdpMLineIndex].candidates = null; + iceGatherer.removeEventListener('localcandidate', + this.transceivers[sdpMLineIndex].bufferCandidates); + iceGatherer.onlocalcandidate = function(evt) { + if (pc.usingBundle && sdpMLineIndex > 0) { + // if we know that we use bundle we can drop candidates with + // ѕdpMLineIndex > 0. If we don't do this then our state gets + // confused since we dispose the extra ice gatherer. + return; + } + var event = new Event('icecandidate'); + event.candidate = {sdpMid: mid, sdpMLineIndex: sdpMLineIndex}; + + var cand = evt.candidate; + // Edge emits an empty object for RTCIceCandidateComplete‥ + var end = !cand || Object.keys(cand).length === 0; + if (end) { + // polyfill since RTCIceGatherer.state is not implemented in + // Edge 10547 yet. + if (iceGatherer.state === 'new' || iceGatherer.state === 'gathering') { + iceGatherer.state = 'completed'; + } + } else { + if (iceGatherer.state === 'new') { + iceGatherer.state = 'gathering'; + } + // RTCIceCandidate doesn't have a component, needs to be added + cand.component = 1; + event.candidate.candidate = SDPUtils.writeCandidate(cand); + } + + // update local description. + var sections = SDPUtils.splitSections(pc.localDescription.sdp); + if (!end) { + sections[event.candidate.sdpMLineIndex + 1] += + 'a=' + event.candidate.candidate + '\r\n'; + } else { + sections[event.candidate.sdpMLineIndex + 1] += + 'a=end-of-candidates\r\n'; + } + pc.localDescription.sdp = sections.join(''); + var complete = pc.transceivers.every(function(transceiver) { + return transceiver.iceGatherer && + transceiver.iceGatherer.state === 'completed'; + }); + + if (pc.iceGatheringState !== 'gathering') { + pc.iceGatheringState = 'gathering'; + pc._emitGatheringStateChange(); + } + + // Emit candidate. Also emit null candidate when all gatherers are + // complete. + if (!end) { + pc._dispatchEvent('icecandidate', event); + } + if (complete) { + pc._dispatchEvent('icecandidate', new Event('icecandidate')); + pc.iceGatheringState = 'complete'; + pc._emitGatheringStateChange(); + } + }; + + // emit already gathered candidates. + window.setTimeout(function() { + candidates.forEach(function(candidate) { + var e = new Event('RTCIceGatherEvent'); + e.candidate = candidate; + iceGatherer.onlocalcandidate(e); + }); + }, 0); + }; + + // Create ICE transport and DTLS transport. + RTCPeerConnection.prototype._createIceAndDtlsTransports = function() { + var pc = this; + var iceTransport = new window.RTCIceTransport(null); + iceTransport.onicestatechange = function() { + pc._updateConnectionState(); + }; + + var dtlsTransport = new window.RTCDtlsTransport(iceTransport); + dtlsTransport.ondtlsstatechange = function() { + pc._updateConnectionState(); + }; + dtlsTransport.onerror = function() { + // onerror does not set state to failed by itpc. + Object.defineProperty(dtlsTransport, 'state', + {value: 'failed', writable: true}); + pc._updateConnectionState(); + }; + + return { + iceTransport: iceTransport, + dtlsTransport: dtlsTransport + }; + }; + + // Destroy ICE gatherer, ICE transport and DTLS transport. + // Without triggering the callbacks. + RTCPeerConnection.prototype._disposeIceAndDtlsTransports = function( + sdpMLineIndex) { + var iceGatherer = this.transceivers[sdpMLineIndex].iceGatherer; + if (iceGatherer) { + delete iceGatherer.onlocalcandidate; + delete this.transceivers[sdpMLineIndex].iceGatherer; + } + var iceTransport = this.transceivers[sdpMLineIndex].iceTransport; + if (iceTransport) { + delete iceTransport.onicestatechange; + delete this.transceivers[sdpMLineIndex].iceTransport; + } + var dtlsTransport = this.transceivers[sdpMLineIndex].dtlsTransport; + if (dtlsTransport) { + delete dtlsTransport.ondtlsstatechange; + delete dtlsTransport.onerror; + delete this.transceivers[sdpMLineIndex].dtlsTransport; + } + }; + + // Start the RTP Sender and Receiver for a transceiver. + RTCPeerConnection.prototype._transceive = function(transceiver, + send, recv) { + var params = getCommonCapabilities(transceiver.localCapabilities, + transceiver.remoteCapabilities); + if (send && transceiver.rtpSender) { + params.encodings = transceiver.sendEncodingParameters; + params.rtcp = { + cname: SDPUtils.localCName, + compound: transceiver.rtcpParameters.compound + }; + if (transceiver.recvEncodingParameters.length) { + params.rtcp.ssrc = transceiver.recvEncodingParameters[0].ssrc; + } + transceiver.rtpSender.send(params); + } + if (recv && transceiver.rtpReceiver && params.codecs.length > 0) { + // remove RTX field in Edge 14942 + if (transceiver.kind === 'video' + && transceiver.recvEncodingParameters + && edgeVersion < 15019) { + transceiver.recvEncodingParameters.forEach(function(p) { + delete p.rtx; + }); + } + if (transceiver.recvEncodingParameters.length) { + params.encodings = transceiver.recvEncodingParameters; + } + params.rtcp = { + compound: transceiver.rtcpParameters.compound + }; + if (transceiver.rtcpParameters.cname) { + params.rtcp.cname = transceiver.rtcpParameters.cname; + } + if (transceiver.sendEncodingParameters.length) { + params.rtcp.ssrc = transceiver.sendEncodingParameters[0].ssrc; + } + transceiver.rtpReceiver.receive(params); + } + }; + + RTCPeerConnection.prototype.setLocalDescription = function(description) { + var pc = this; + + if (!isActionAllowedInSignalingState('setLocalDescription', + description.type, this.signalingState) || this._isClosed) { + return Promise.reject(makeError('InvalidStateError', + 'Can not set local ' + description.type + + ' in state ' + pc.signalingState)); + } + + var sections; + var sessionpart; + if (description.type === 'offer') { + // VERY limited support for SDP munging. Limited to: + // * changing the order of codecs + sections = SDPUtils.splitSections(description.sdp); + sessionpart = sections.shift(); + sections.forEach(function(mediaSection, sdpMLineIndex) { + var caps = SDPUtils.parseRtpParameters(mediaSection); + pc.transceivers[sdpMLineIndex].localCapabilities = caps; + }); + + this.transceivers.forEach(function(transceiver, sdpMLineIndex) { + pc._gather(transceiver.mid, sdpMLineIndex); + }); + } else if (description.type === 'answer') { + sections = SDPUtils.splitSections(pc.remoteDescription.sdp); + sessionpart = sections.shift(); + var isIceLite = SDPUtils.matchPrefix(sessionpart, + 'a=ice-lite').length > 0; + sections.forEach(function(mediaSection, sdpMLineIndex) { + var transceiver = pc.transceivers[sdpMLineIndex]; + var iceGatherer = transceiver.iceGatherer; + var iceTransport = transceiver.iceTransport; + var dtlsTransport = transceiver.dtlsTransport; + var localCapabilities = transceiver.localCapabilities; + var remoteCapabilities = transceiver.remoteCapabilities; + + // treat bundle-only as not-rejected. + var rejected = SDPUtils.isRejected(mediaSection) && + SDPUtils.matchPrefix(mediaSection, 'a=bundle-only').length === 0; + + if (!rejected && !transceiver.isDatachannel) { + var remoteIceParameters = SDPUtils.getIceParameters( + mediaSection, sessionpart); + var remoteDtlsParameters = SDPUtils.getDtlsParameters( + mediaSection, sessionpart); + if (isIceLite) { + remoteDtlsParameters.role = 'server'; + } + + if (!pc.usingBundle || sdpMLineIndex === 0) { + pc._gather(transceiver.mid, sdpMLineIndex); + if (iceTransport.state === 'new') { + iceTransport.start(iceGatherer, remoteIceParameters, + isIceLite ? 'controlling' : 'controlled'); + } + if (dtlsTransport.state === 'new') { + dtlsTransport.start(remoteDtlsParameters); + } + } + + // Calculate intersection of capabilities. + var params = getCommonCapabilities(localCapabilities, + remoteCapabilities); + + // Start the RTCRtpSender. The RTCRtpReceiver for this + // transceiver has already been started in setRemoteDescription. + pc._transceive(transceiver, + params.codecs.length > 0, + false); + } + }); + } + + this.localDescription = { + type: description.type, + sdp: description.sdp + }; + switch (description.type) { + case 'offer': + this._updateSignalingState('have-local-offer'); + break; + case 'answer': + this._updateSignalingState('stable'); + break; + default: + throw new TypeError('unsupported type "' + description.type + + '"'); + } + + return Promise.resolve(); + }; + + RTCPeerConnection.prototype.setRemoteDescription = function(description) { + var pc = this; + + if (!isActionAllowedInSignalingState('setRemoteDescription', + description.type, this.signalingState) || this._isClosed) { + return Promise.reject(makeError('InvalidStateError', + 'Can not set remote ' + description.type + + ' in state ' + pc.signalingState)); + } + + var streams = {}; + this.remoteStreams.forEach(function(stream) { + streams[stream.id] = stream; + }); + var receiverList = []; + var sections = SDPUtils.splitSections(description.sdp); + var sessionpart = sections.shift(); + var isIceLite = SDPUtils.matchPrefix(sessionpart, + 'a=ice-lite').length > 0; + var usingBundle = SDPUtils.matchPrefix(sessionpart, + 'a=group:BUNDLE ').length > 0; + this.usingBundle = usingBundle; + var iceOptions = SDPUtils.matchPrefix(sessionpart, + 'a=ice-options:')[0]; + if (iceOptions) { + this.canTrickleIceCandidates = iceOptions.substr(14).split(' ') + .indexOf('trickle') >= 0; + } else { + this.canTrickleIceCandidates = false; + } + + sections.forEach(function(mediaSection, sdpMLineIndex) { + var lines = SDPUtils.splitLines(mediaSection); + var kind = SDPUtils.getKind(mediaSection); + // treat bundle-only as not-rejected. + var rejected = SDPUtils.isRejected(mediaSection) && + SDPUtils.matchPrefix(mediaSection, 'a=bundle-only').length === 0; + var protocol = lines[0].substr(2).split(' ')[2]; + + var direction = SDPUtils.getDirection(mediaSection, sessionpart); + var remoteMsid = SDPUtils.parseMsid(mediaSection); + + var mid = SDPUtils.getMid(mediaSection) || SDPUtils.generateIdentifier(); + + // Reject datachannels which are not implemented yet. + if (kind === 'application' && protocol === 'DTLS/SCTP') { + pc.transceivers[sdpMLineIndex] = { + mid: mid, + isDatachannel: true + }; + return; + } + + var transceiver; + var iceGatherer; + var iceTransport; + var dtlsTransport; + var rtpReceiver; + var sendEncodingParameters; + var recvEncodingParameters; + var localCapabilities; + + var track; + // FIXME: ensure the mediaSection has rtcp-mux set. + var remoteCapabilities = SDPUtils.parseRtpParameters(mediaSection); + var remoteIceParameters; + var remoteDtlsParameters; + if (!rejected) { + remoteIceParameters = SDPUtils.getIceParameters(mediaSection, + sessionpart); + remoteDtlsParameters = SDPUtils.getDtlsParameters(mediaSection, + sessionpart); + remoteDtlsParameters.role = 'client'; + } + recvEncodingParameters = + SDPUtils.parseRtpEncodingParameters(mediaSection); + + var rtcpParameters = SDPUtils.parseRtcpParameters(mediaSection); + + var isComplete = SDPUtils.matchPrefix(mediaSection, + 'a=end-of-candidates', sessionpart).length > 0; + var cands = SDPUtils.matchPrefix(mediaSection, 'a=candidate:') + .map(function(cand) { + return SDPUtils.parseCandidate(cand); + }) + .filter(function(cand) { + return cand.component === 1; + }); + + // Check if we can use BUNDLE and dispose transports. + if ((description.type === 'offer' || description.type === 'answer') && + !rejected && usingBundle && sdpMLineIndex > 0 && + pc.transceivers[sdpMLineIndex]) { + pc._disposeIceAndDtlsTransports(sdpMLineIndex); + pc.transceivers[sdpMLineIndex].iceGatherer = + pc.transceivers[0].iceGatherer; + pc.transceivers[sdpMLineIndex].iceTransport = + pc.transceivers[0].iceTransport; + pc.transceivers[sdpMLineIndex].dtlsTransport = + pc.transceivers[0].dtlsTransport; + if (pc.transceivers[sdpMLineIndex].rtpSender) { + pc.transceivers[sdpMLineIndex].rtpSender.setTransport( + pc.transceivers[0].dtlsTransport); + } + if (pc.transceivers[sdpMLineIndex].rtpReceiver) { + pc.transceivers[sdpMLineIndex].rtpReceiver.setTransport( + pc.transceivers[0].dtlsTransport); + } + } + if (description.type === 'offer' && !rejected) { + transceiver = pc.transceivers[sdpMLineIndex] || + pc._createTransceiver(kind); + transceiver.mid = mid; + + if (!transceiver.iceGatherer) { + transceiver.iceGatherer = pc._createIceGatherer(sdpMLineIndex, + usingBundle); + } + + if (cands.length && transceiver.iceTransport.state === 'new') { + if (isComplete && (!usingBundle || sdpMLineIndex === 0)) { + transceiver.iceTransport.setRemoteCandidates(cands); + } else { + cands.forEach(function(candidate) { + maybeAddCandidate(transceiver.iceTransport, candidate); + }); + } + } + + localCapabilities = window.RTCRtpReceiver.getCapabilities(kind); + + // filter RTX until additional stuff needed for RTX is implemented + // in adapter.js + if (edgeVersion < 15019) { + localCapabilities.codecs = localCapabilities.codecs.filter( + function(codec) { + return codec.name !== 'rtx'; + }); + } + + sendEncodingParameters = transceiver.sendEncodingParameters || [{ + ssrc: (2 * sdpMLineIndex + 2) * 1001 + }]; + + // TODO: rewrite to use http://w3c.github.io/webrtc-pc/#set-associated-remote-streams + var isNewTrack = false; + if (direction === 'sendrecv' || direction === 'sendonly') { + isNewTrack = !transceiver.rtpReceiver; + rtpReceiver = transceiver.rtpReceiver || + new window.RTCRtpReceiver(transceiver.dtlsTransport, kind); + + if (isNewTrack) { + var stream; + track = rtpReceiver.track; + // FIXME: does not work with Plan B. + if (remoteMsid && remoteMsid.stream === '-') { + // no-op. a stream id of '-' means: no associated stream. + } else if (remoteMsid) { + if (!streams[remoteMsid.stream]) { + streams[remoteMsid.stream] = new window.MediaStream(); + Object.defineProperty(streams[remoteMsid.stream], 'id', { + get: function() { + return remoteMsid.stream; + } + }); + } + Object.defineProperty(track, 'id', { + get: function() { + return remoteMsid.track; + } + }); + stream = streams[remoteMsid.stream]; + } else { + if (!streams.default) { + streams.default = new window.MediaStream(); + } + stream = streams.default; + } + if (stream) { + addTrackToStreamAndFireEvent(track, stream); + transceiver.associatedRemoteMediaStreams.push(stream); + } + receiverList.push([track, rtpReceiver, stream]); + } + } else if (transceiver.rtpReceiver && transceiver.rtpReceiver.track) { + transceiver.associatedRemoteMediaStreams.forEach(function(s) { + var nativeTrack = s.getTracks().find(function(t) { + return t.id === transceiver.rtpReceiver.track.id; + }); + if (nativeTrack) { + removeTrackFromStreamAndFireEvent(nativeTrack, s); + } + }); + transceiver.associatedRemoteMediaStreams = []; + } + + transceiver.localCapabilities = localCapabilities; + transceiver.remoteCapabilities = remoteCapabilities; + transceiver.rtpReceiver = rtpReceiver; + transceiver.rtcpParameters = rtcpParameters; + transceiver.sendEncodingParameters = sendEncodingParameters; + transceiver.recvEncodingParameters = recvEncodingParameters; + + // Start the RTCRtpReceiver now. The RTPSender is started in + // setLocalDescription. + pc._transceive(pc.transceivers[sdpMLineIndex], + false, + isNewTrack); + } else if (description.type === 'answer' && !rejected) { + transceiver = pc.transceivers[sdpMLineIndex]; + iceGatherer = transceiver.iceGatherer; + iceTransport = transceiver.iceTransport; + dtlsTransport = transceiver.dtlsTransport; + rtpReceiver = transceiver.rtpReceiver; + sendEncodingParameters = transceiver.sendEncodingParameters; + localCapabilities = transceiver.localCapabilities; + + pc.transceivers[sdpMLineIndex].recvEncodingParameters = + recvEncodingParameters; + pc.transceivers[sdpMLineIndex].remoteCapabilities = + remoteCapabilities; + pc.transceivers[sdpMLineIndex].rtcpParameters = rtcpParameters; + + if (cands.length && iceTransport.state === 'new') { + if ((isIceLite || isComplete) && + (!usingBundle || sdpMLineIndex === 0)) { + iceTransport.setRemoteCandidates(cands); + } else { + cands.forEach(function(candidate) { + maybeAddCandidate(transceiver.iceTransport, candidate); + }); + } + } + + if (!usingBundle || sdpMLineIndex === 0) { + if (iceTransport.state === 'new') { + iceTransport.start(iceGatherer, remoteIceParameters, + 'controlling'); + } + if (dtlsTransport.state === 'new') { + dtlsTransport.start(remoteDtlsParameters); + } + } + + pc._transceive(transceiver, + direction === 'sendrecv' || direction === 'recvonly', + direction === 'sendrecv' || direction === 'sendonly'); + + // TODO: rewrite to use http://w3c.github.io/webrtc-pc/#set-associated-remote-streams + if (rtpReceiver && + (direction === 'sendrecv' || direction === 'sendonly')) { + track = rtpReceiver.track; + if (remoteMsid) { + if (!streams[remoteMsid.stream]) { + streams[remoteMsid.stream] = new window.MediaStream(); + } + addTrackToStreamAndFireEvent(track, streams[remoteMsid.stream]); + receiverList.push([track, rtpReceiver, streams[remoteMsid.stream]]); + } else { + if (!streams.default) { + streams.default = new window.MediaStream(); + } + addTrackToStreamAndFireEvent(track, streams.default); + receiverList.push([track, rtpReceiver, streams.default]); + } + } else { + // FIXME: actually the receiver should be created later. + delete transceiver.rtpReceiver; + } + } + }); + + if (this._dtlsRole === undefined) { + this._dtlsRole = description.type === 'offer' ? 'active' : 'passive'; + } + + this.remoteDescription = { + type: description.type, + sdp: description.sdp + }; + switch (description.type) { + case 'offer': + this._updateSignalingState('have-remote-offer'); + break; + case 'answer': + this._updateSignalingState('stable'); + break; + default: + throw new TypeError('unsupported type "' + description.type + + '"'); + } + Object.keys(streams).forEach(function(sid) { + var stream = streams[sid]; + if (stream.getTracks().length) { + if (pc.remoteStreams.indexOf(stream) === -1) { + pc.remoteStreams.push(stream); + var event = new Event('addstream'); + event.stream = stream; + window.setTimeout(function() { + pc._dispatchEvent('addstream', event); + }); + } + + receiverList.forEach(function(item) { + var track = item[0]; + var receiver = item[1]; + if (stream.id !== item[2].id) { + return; + } + fireAddTrack(pc, track, receiver, [stream]); + }); + } + }); + receiverList.forEach(function(item) { + if (item[2]) { + return; + } + fireAddTrack(pc, item[0], item[1], []); + }); + + // check whether addIceCandidate({}) was called within four seconds after + // setRemoteDescription. + window.setTimeout(function() { + if (!(pc && pc.transceivers)) { + return; + } + pc.transceivers.forEach(function(transceiver) { + if (transceiver.iceTransport && + transceiver.iceTransport.state === 'new' && + transceiver.iceTransport.getRemoteCandidates().length > 0) { + console.warn('Timeout for addRemoteCandidate. Consider sending ' + + 'an end-of-candidates notification'); + transceiver.iceTransport.addRemoteCandidate({}); + } + }); + }, 4000); + + return Promise.resolve(); + }; + + RTCPeerConnection.prototype.close = function() { + this.transceivers.forEach(function(transceiver) { + /* not yet + if (transceiver.iceGatherer) { + transceiver.iceGatherer.close(); + } + */ + if (transceiver.iceTransport) { + transceiver.iceTransport.stop(); + } + if (transceiver.dtlsTransport) { + transceiver.dtlsTransport.stop(); + } + if (transceiver.rtpSender) { + transceiver.rtpSender.stop(); + } + if (transceiver.rtpReceiver) { + transceiver.rtpReceiver.stop(); + } + }); + // FIXME: clean up tracks, local streams, remote streams, etc + this._isClosed = true; + this._updateSignalingState('closed'); + }; + + // Update the signaling state. + RTCPeerConnection.prototype._updateSignalingState = function(newState) { + this.signalingState = newState; + var event = new Event('signalingstatechange'); + this._dispatchEvent('signalingstatechange', event); + }; + + // Determine whether to fire the negotiationneeded event. + RTCPeerConnection.prototype._maybeFireNegotiationNeeded = function() { + var pc = this; + if (this.signalingState !== 'stable' || this.needNegotiation === true) { + return; + } + this.needNegotiation = true; + window.setTimeout(function() { + if (pc.needNegotiation === false) { + return; + } + pc.needNegotiation = false; + var event = new Event('negotiationneeded'); + pc._dispatchEvent('negotiationneeded', event); + }, 0); + }; + + // Update the connection state. + RTCPeerConnection.prototype._updateConnectionState = function() { + var newState; + var states = { + 'new': 0, + closed: 0, + connecting: 0, + checking: 0, + connected: 0, + completed: 0, + disconnected: 0, + failed: 0 + }; + this.transceivers.forEach(function(transceiver) { + states[transceiver.iceTransport.state]++; + states[transceiver.dtlsTransport.state]++; + }); + // ICETransport.completed and connected are the same for this purpose. + states.connected += states.completed; + + newState = 'new'; + if (states.failed > 0) { + newState = 'failed'; + } else if (states.connecting > 0 || states.checking > 0) { + newState = 'connecting'; + } else if (states.disconnected > 0) { + newState = 'disconnected'; + } else if (states.new > 0) { + newState = 'new'; + } else if (states.connected > 0 || states.completed > 0) { + newState = 'connected'; + } + + if (newState !== this.iceConnectionState) { + this.iceConnectionState = newState; + var event = new Event('iceconnectionstatechange'); + this._dispatchEvent('iceconnectionstatechange', event); + } + }; + + RTCPeerConnection.prototype.createOffer = function() { + var pc = this; + + if (this._isClosed) { + return Promise.reject(makeError('InvalidStateError', + 'Can not call createOffer after close')); + } + + var numAudioTracks = this.transceivers.filter(function(t) { + return t.kind === 'audio'; + }).length; + var numVideoTracks = this.transceivers.filter(function(t) { + return t.kind === 'video'; + }).length; + + // Determine number of audio and video tracks we need to send/recv. + var offerOptions = arguments[0]; + if (offerOptions) { + // Reject Chrome legacy constraints. + if (offerOptions.mandatory || offerOptions.optional) { + throw new TypeError( + 'Legacy mandatory/optional constraints not supported.'); + } + if (offerOptions.offerToReceiveAudio !== undefined) { + if (offerOptions.offerToReceiveAudio === true) { + numAudioTracks = 1; + } else if (offerOptions.offerToReceiveAudio === false) { + numAudioTracks = 0; + } else { + numAudioTracks = offerOptions.offerToReceiveAudio; + } + } + if (offerOptions.offerToReceiveVideo !== undefined) { + if (offerOptions.offerToReceiveVideo === true) { + numVideoTracks = 1; + } else if (offerOptions.offerToReceiveVideo === false) { + numVideoTracks = 0; + } else { + numVideoTracks = offerOptions.offerToReceiveVideo; + } + } + } + + this.transceivers.forEach(function(transceiver) { + if (transceiver.kind === 'audio') { + numAudioTracks--; + if (numAudioTracks < 0) { + transceiver.wantReceive = false; + } + } else if (transceiver.kind === 'video') { + numVideoTracks--; + if (numVideoTracks < 0) { + transceiver.wantReceive = false; + } + } + }); + + // Create M-lines for recvonly streams. + while (numAudioTracks > 0 || numVideoTracks > 0) { + if (numAudioTracks > 0) { + this._createTransceiver('audio'); + numAudioTracks--; + } + if (numVideoTracks > 0) { + this._createTransceiver('video'); + numVideoTracks--; + } + } + + var sdp = SDPUtils.writeSessionBoilerplate(this._sdpSessionId, + this._sdpSessionVersion++); + this.transceivers.forEach(function(transceiver, sdpMLineIndex) { + // For each track, create an ice gatherer, ice transport, + // dtls transport, potentially rtpsender and rtpreceiver. + var track = transceiver.track; + var kind = transceiver.kind; + var mid = SDPUtils.generateIdentifier(); + transceiver.mid = mid; + + if (!transceiver.iceGatherer) { + transceiver.iceGatherer = pc._createIceGatherer(sdpMLineIndex, + pc.usingBundle); + } + + var localCapabilities = window.RTCRtpSender.getCapabilities(kind); + // filter RTX until additional stuff needed for RTX is implemented + // in adapter.js + if (edgeVersion < 15019) { + localCapabilities.codecs = localCapabilities.codecs.filter( + function(codec) { + return codec.name !== 'rtx'; + }); + } + localCapabilities.codecs.forEach(function(codec) { + // work around https://bugs.chromium.org/p/webrtc/issues/detail?id=6552 + // by adding level-asymmetry-allowed=1 + if (codec.name === 'H264' && + codec.parameters['level-asymmetry-allowed'] === undefined) { + codec.parameters['level-asymmetry-allowed'] = '1'; + } + }); + + // generate an ssrc now, to be used later in rtpSender.send + var sendEncodingParameters = transceiver.sendEncodingParameters || [{ + ssrc: (2 * sdpMLineIndex + 1) * 1001 + }]; + if (track) { + // add RTX + if (edgeVersion >= 15019 && kind === 'video' && + !sendEncodingParameters[0].rtx) { + sendEncodingParameters[0].rtx = { + ssrc: sendEncodingParameters[0].ssrc + 1 + }; + } + } + + if (transceiver.wantReceive) { + transceiver.rtpReceiver = new window.RTCRtpReceiver( + transceiver.dtlsTransport, kind); + } + + transceiver.localCapabilities = localCapabilities; + transceiver.sendEncodingParameters = sendEncodingParameters; + }); + + // always offer BUNDLE and dispose on return if not supported. + if (this._config.bundlePolicy !== 'max-compat') { + sdp += 'a=group:BUNDLE ' + this.transceivers.map(function(t) { + return t.mid; + }).join(' ') + '\r\n'; + } + sdp += 'a=ice-options:trickle\r\n'; + + this.transceivers.forEach(function(transceiver, sdpMLineIndex) { + sdp += writeMediaSection(transceiver, transceiver.localCapabilities, + 'offer', transceiver.stream, pc._dtlsRole); + sdp += 'a=rtcp-rsize\r\n'; + + if (transceiver.iceGatherer && pc.iceGatheringState !== 'new' && + (sdpMLineIndex === 0 || !pc.usingBundle)) { + transceiver.iceGatherer.getLocalCandidates().forEach(function(cand) { + cand.component = 1; + sdp += 'a=' + SDPUtils.writeCandidate(cand) + '\r\n'; + }); + + if (transceiver.iceGatherer.state === 'completed') { + sdp += 'a=end-of-candidates\r\n'; + } + } + }); + + var desc = new window.RTCSessionDescription({ + type: 'offer', + sdp: sdp + }); + return Promise.resolve(desc); + }; + + RTCPeerConnection.prototype.createAnswer = function() { + var pc = this; + + if (this._isClosed) { + return Promise.reject(makeError('InvalidStateError', + 'Can not call createAnswer after close')); + } + + var sdp = SDPUtils.writeSessionBoilerplate(this._sdpSessionId, + this._sdpSessionVersion++); + if (this.usingBundle) { + sdp += 'a=group:BUNDLE ' + this.transceivers.map(function(t) { + return t.mid; + }).join(' ') + '\r\n'; + } + var mediaSectionsInOffer = SDPUtils.splitSections( + this.remoteDescription.sdp).length - 1; + this.transceivers.forEach(function(transceiver, sdpMLineIndex) { + if (sdpMLineIndex + 1 > mediaSectionsInOffer) { + return; + } + if (transceiver.isDatachannel) { + sdp += 'm=application 0 DTLS/SCTP 5000\r\n' + + 'c=IN IP4 0.0.0.0\r\n' + + 'a=mid:' + transceiver.mid + '\r\n'; + return; + } + + // FIXME: look at direction. + if (transceiver.stream) { + var localTrack; + if (transceiver.kind === 'audio') { + localTrack = transceiver.stream.getAudioTracks()[0]; + } else if (transceiver.kind === 'video') { + localTrack = transceiver.stream.getVideoTracks()[0]; + } + if (localTrack) { + // add RTX + if (edgeVersion >= 15019 && transceiver.kind === 'video' && + !transceiver.sendEncodingParameters[0].rtx) { + transceiver.sendEncodingParameters[0].rtx = { + ssrc: transceiver.sendEncodingParameters[0].ssrc + 1 + }; + } + } + } + + // Calculate intersection of capabilities. + var commonCapabilities = getCommonCapabilities( + transceiver.localCapabilities, + transceiver.remoteCapabilities); + + var hasRtx = commonCapabilities.codecs.filter(function(c) { + return c.name.toLowerCase() === 'rtx'; + }).length; + if (!hasRtx && transceiver.sendEncodingParameters[0].rtx) { + delete transceiver.sendEncodingParameters[0].rtx; + } + + sdp += writeMediaSection(transceiver, commonCapabilities, + 'answer', transceiver.stream, pc._dtlsRole); + if (transceiver.rtcpParameters && + transceiver.rtcpParameters.reducedSize) { + sdp += 'a=rtcp-rsize\r\n'; + } + }); + + var desc = new window.RTCSessionDescription({ + type: 'answer', + sdp: sdp + }); + return Promise.resolve(desc); + }; + + RTCPeerConnection.prototype.addIceCandidate = function(candidate) { + var sections; + if (!candidate || candidate.candidate === '') { + for (var j = 0; j < this.transceivers.length; j++) { + if (this.transceivers[j].isDatachannel) { + continue; + } + this.transceivers[j].iceTransport.addRemoteCandidate({}); + sections = SDPUtils.splitSections(this.remoteDescription.sdp); + sections[j + 1] += 'a=end-of-candidates\r\n'; + this.remoteDescription.sdp = sections.join(''); + if (this.usingBundle) { + break; + } + } + } else if (!(candidate.sdpMLineIndex !== undefined || candidate.sdpMid)) { + throw new TypeError('sdpMLineIndex or sdpMid required'); + } else if (!this.remoteDescription) { + return Promise.reject(makeError('InvalidStateError', + 'Can not add ICE candidate without a remote description')); + } else { + var sdpMLineIndex = candidate.sdpMLineIndex; + if (candidate.sdpMid) { + for (var i = 0; i < this.transceivers.length; i++) { + if (this.transceivers[i].mid === candidate.sdpMid) { + sdpMLineIndex = i; + break; + } + } + } + var transceiver = this.transceivers[sdpMLineIndex]; + if (transceiver) { + if (transceiver.isDatachannel) { + return Promise.resolve(); + } + var cand = Object.keys(candidate.candidate).length > 0 ? + SDPUtils.parseCandidate(candidate.candidate) : {}; + // Ignore Chrome's invalid candidates since Edge does not like them. + if (cand.protocol === 'tcp' && (cand.port === 0 || cand.port === 9)) { + return Promise.resolve(); + } + // Ignore RTCP candidates, we assume RTCP-MUX. + if (cand.component && cand.component !== 1) { + return Promise.resolve(); + } + // when using bundle, avoid adding candidates to the wrong + // ice transport. And avoid adding candidates added in the SDP. + if (sdpMLineIndex === 0 || (sdpMLineIndex > 0 && + transceiver.iceTransport !== this.transceivers[0].iceTransport)) { + if (!maybeAddCandidate(transceiver.iceTransport, cand)) { + return Promise.reject(makeError('OperationError', + 'Can not add ICE candidate')); + } + } + + // update the remoteDescription. + var candidateString = candidate.candidate.trim(); + if (candidateString.indexOf('a=') === 0) { + candidateString = candidateString.substr(2); + } + sections = SDPUtils.splitSections(this.remoteDescription.sdp); + sections[sdpMLineIndex + 1] += 'a=' + + (cand.type ? candidateString : 'end-of-candidates') + + '\r\n'; + this.remoteDescription.sdp = sections.join(''); + } else { + return Promise.reject(makeError('OperationError', + 'Can not add ICE candidate')); + } + } + return Promise.resolve(); + }; + + RTCPeerConnection.prototype.getStats = function() { + var promises = []; + this.transceivers.forEach(function(transceiver) { + ['rtpSender', 'rtpReceiver', 'iceGatherer', 'iceTransport', + 'dtlsTransport'].forEach(function(method) { + if (transceiver[method]) { + promises.push(transceiver[method].getStats()); + } + }); + }); + var fixStatsType = function(stat) { + return { + inboundrtp: 'inbound-rtp', + outboundrtp: 'outbound-rtp', + candidatepair: 'candidate-pair', + localcandidate: 'local-candidate', + remotecandidate: 'remote-candidate' + }[stat.type] || stat.type; + }; + return new Promise(function(resolve) { + // shim getStats with maplike support + var results = new Map(); + Promise.all(promises).then(function(res) { + res.forEach(function(result) { + Object.keys(result).forEach(function(id) { + result[id].type = fixStatsType(result[id]); + results.set(id, result[id]); + }); + }); + resolve(results); + }); + }); + }; + + // legacy callback shims. Should be moved to adapter.js some days. + var methods = ['createOffer', 'createAnswer']; + methods.forEach(function(method) { + var nativeMethod = RTCPeerConnection.prototype[method]; + RTCPeerConnection.prototype[method] = function() { + var args = arguments; + if (typeof args[0] === 'function' || + typeof args[1] === 'function') { // legacy + return nativeMethod.apply(this, [arguments[2]]) + .then(function(description) { + if (typeof args[0] === 'function') { + args[0].apply(null, [description]); + } + }, function(error) { + if (typeof args[1] === 'function') { + args[1].apply(null, [error]); + } + }); + } + return nativeMethod.apply(this, arguments); + }; + }); + + methods = ['setLocalDescription', 'setRemoteDescription', 'addIceCandidate']; + methods.forEach(function(method) { + var nativeMethod = RTCPeerConnection.prototype[method]; + RTCPeerConnection.prototype[method] = function() { + var args = arguments; + if (typeof args[1] === 'function' || + typeof args[2] === 'function') { // legacy + return nativeMethod.apply(this, arguments) + .then(function() { + if (typeof args[1] === 'function') { + args[1].apply(null); + } + }, function(error) { + if (typeof args[2] === 'function') { + args[2].apply(null, [error]); + } + }); + } + return nativeMethod.apply(this, arguments); + }; + }); + + // getStats is special. It doesn't have a spec legacy method yet we support + // getStats(something, cb) without error callbacks. + ['getStats'].forEach(function(method) { + var nativeMethod = RTCPeerConnection.prototype[method]; + RTCPeerConnection.prototype[method] = function() { + var args = arguments; + if (typeof args[1] === 'function') { + return nativeMethod.apply(this, arguments) + .then(function() { + if (typeof args[1] === 'function') { + args[1].apply(null); + } + }); + } + return nativeMethod.apply(this, arguments); + }; + }); + + return RTCPeerConnection; +}; + +},{"sdp":2}],2:[function(require,module,exports){ + /* eslint-env node */ +'use strict'; + +// SDP helpers. +var SDPUtils = {}; + +// Generate an alphanumeric identifier for cname or mids. +// TODO: use UUIDs instead? https://gist.github.com/jed/982883 +SDPUtils.generateIdentifier = function() { + return Math.random().toString(36).substr(2, 10); +}; + +// The RTCP CNAME used by all peerconnections from the same JS. +SDPUtils.localCName = SDPUtils.generateIdentifier(); + +// Splits SDP into lines, dealing with both CRLF and LF. +SDPUtils.splitLines = function(blob) { + return blob.trim().split('\n').map(function(line) { + return line.trim(); + }); +}; +// Splits SDP into sessionpart and mediasections. Ensures CRLF. +SDPUtils.splitSections = function(blob) { + var parts = blob.split('\nm='); + return parts.map(function(part, index) { + return (index > 0 ? 'm=' + part : part).trim() + '\r\n'; + }); +}; + +// Returns lines that start with a certain prefix. +SDPUtils.matchPrefix = function(blob, prefix) { + return SDPUtils.splitLines(blob).filter(function(line) { + return line.indexOf(prefix) === 0; + }); +}; + +// Parses an ICE candidate line. Sample input: +// candidate:702786350 2 udp 41819902 8.8.8.8 60769 typ relay raddr 8.8.8.8 +// rport 55996" +SDPUtils.parseCandidate = function(line) { + var parts; + // Parse both variants. + if (line.indexOf('a=candidate:') === 0) { + parts = line.substring(12).split(' '); + } else { + parts = line.substring(10).split(' '); + } + + var candidate = { + foundation: parts[0], + component: parseInt(parts[1], 10), + protocol: parts[2].toLowerCase(), + priority: parseInt(parts[3], 10), + ip: parts[4], + port: parseInt(parts[5], 10), + // skip parts[6] == 'typ' + type: parts[7] + }; + + for (var i = 8; i < parts.length; i += 2) { + switch (parts[i]) { + case 'raddr': + candidate.relatedAddress = parts[i + 1]; + break; + case 'rport': + candidate.relatedPort = parseInt(parts[i + 1], 10); + break; + case 'tcptype': + candidate.tcpType = parts[i + 1]; + break; + case 'ufrag': + candidate.ufrag = parts[i + 1]; // for backward compability. + candidate.usernameFragment = parts[i + 1]; + break; + default: // extension handling, in particular ufrag + candidate[parts[i]] = parts[i + 1]; + break; + } + } + return candidate; +}; + +// Translates a candidate object into SDP candidate attribute. +SDPUtils.writeCandidate = function(candidate) { + var sdp = []; + sdp.push(candidate.foundation); + sdp.push(candidate.component); + sdp.push(candidate.protocol.toUpperCase()); + sdp.push(candidate.priority); + sdp.push(candidate.ip); + sdp.push(candidate.port); + + var type = candidate.type; + sdp.push('typ'); + sdp.push(type); + if (type !== 'host' && candidate.relatedAddress && + candidate.relatedPort) { + sdp.push('raddr'); + sdp.push(candidate.relatedAddress); // was: relAddr + sdp.push('rport'); + sdp.push(candidate.relatedPort); // was: relPort + } + if (candidate.tcpType && candidate.protocol.toLowerCase() === 'tcp') { + sdp.push('tcptype'); + sdp.push(candidate.tcpType); + } + if (candidate.ufrag) { + sdp.push('ufrag'); + sdp.push(candidate.ufrag); + } + return 'candidate:' + sdp.join(' '); +}; + +// Parses an ice-options line, returns an array of option tags. +// a=ice-options:foo bar +SDPUtils.parseIceOptions = function(line) { + return line.substr(14).split(' '); +} + +// Parses an rtpmap line, returns RTCRtpCoddecParameters. Sample input: +// a=rtpmap:111 opus/48000/2 +SDPUtils.parseRtpMap = function(line) { + var parts = line.substr(9).split(' '); + var parsed = { + payloadType: parseInt(parts.shift(), 10) // was: id + }; + + parts = parts[0].split('/'); + + parsed.name = parts[0]; + parsed.clockRate = parseInt(parts[1], 10); // was: clockrate + // was: channels + parsed.numChannels = parts.length === 3 ? parseInt(parts[2], 10) : 1; + return parsed; +}; + +// Generate an a=rtpmap line from RTCRtpCodecCapability or +// RTCRtpCodecParameters. +SDPUtils.writeRtpMap = function(codec) { + var pt = codec.payloadType; + if (codec.preferredPayloadType !== undefined) { + pt = codec.preferredPayloadType; + } + return 'a=rtpmap:' + pt + ' ' + codec.name + '/' + codec.clockRate + + (codec.numChannels !== 1 ? '/' + codec.numChannels : '') + '\r\n'; +}; + +// Parses an a=extmap line (headerextension from RFC 5285). Sample input: +// a=extmap:2 urn:ietf:params:rtp-hdrext:toffset +// a=extmap:2/sendonly urn:ietf:params:rtp-hdrext:toffset +SDPUtils.parseExtmap = function(line) { + var parts = line.substr(9).split(' '); + return { + id: parseInt(parts[0], 10), + direction: parts[0].indexOf('/') > 0 ? parts[0].split('/')[1] : 'sendrecv', + uri: parts[1] + }; +}; + +// Generates a=extmap line from RTCRtpHeaderExtensionParameters or +// RTCRtpHeaderExtension. +SDPUtils.writeExtmap = function(headerExtension) { + return 'a=extmap:' + (headerExtension.id || headerExtension.preferredId) + + (headerExtension.direction && headerExtension.direction !== 'sendrecv' + ? '/' + headerExtension.direction + : '') + + ' ' + headerExtension.uri + '\r\n'; +}; + +// Parses an ftmp line, returns dictionary. Sample input: +// a=fmtp:96 vbr=on;cng=on +// Also deals with vbr=on; cng=on +SDPUtils.parseFmtp = function(line) { + var parsed = {}; + var kv; + var parts = line.substr(line.indexOf(' ') + 1).split(';'); + for (var j = 0; j < parts.length; j++) { + kv = parts[j].trim().split('='); + parsed[kv[0].trim()] = kv[1]; + } + return parsed; +}; + +// Generates an a=ftmp line from RTCRtpCodecCapability or RTCRtpCodecParameters. +SDPUtils.writeFmtp = function(codec) { + var line = ''; + var pt = codec.payloadType; + if (codec.preferredPayloadType !== undefined) { + pt = codec.preferredPayloadType; + } + if (codec.parameters && Object.keys(codec.parameters).length) { + var params = []; + Object.keys(codec.parameters).forEach(function(param) { + params.push(param + '=' + codec.parameters[param]); + }); + line += 'a=fmtp:' + pt + ' ' + params.join(';') + '\r\n'; + } + return line; +}; + +// Parses an rtcp-fb line, returns RTCPRtcpFeedback object. Sample input: +// a=rtcp-fb:98 nack rpsi +SDPUtils.parseRtcpFb = function(line) { + var parts = line.substr(line.indexOf(' ') + 1).split(' '); + return { + type: parts.shift(), + parameter: parts.join(' ') + }; +}; +// Generate a=rtcp-fb lines from RTCRtpCodecCapability or RTCRtpCodecParameters. +SDPUtils.writeRtcpFb = function(codec) { + var lines = ''; + var pt = codec.payloadType; + if (codec.preferredPayloadType !== undefined) { + pt = codec.preferredPayloadType; + } + if (codec.rtcpFeedback && codec.rtcpFeedback.length) { + // FIXME: special handling for trr-int? + codec.rtcpFeedback.forEach(function(fb) { + lines += 'a=rtcp-fb:' + pt + ' ' + fb.type + + (fb.parameter && fb.parameter.length ? ' ' + fb.parameter : '') + + '\r\n'; + }); + } + return lines; +}; + +// Parses an RFC 5576 ssrc media attribute. Sample input: +// a=ssrc:3735928559 cname:something +SDPUtils.parseSsrcMedia = function(line) { + var sp = line.indexOf(' '); + var parts = { + ssrc: parseInt(line.substr(7, sp - 7), 10) + }; + var colon = line.indexOf(':', sp); + if (colon > -1) { + parts.attribute = line.substr(sp + 1, colon - sp - 1); + parts.value = line.substr(colon + 1); + } else { + parts.attribute = line.substr(sp + 1); + } + return parts; +}; + +// Extracts the MID (RFC 5888) from a media section. +// returns the MID or undefined if no mid line was found. +SDPUtils.getMid = function(mediaSection) { + var mid = SDPUtils.matchPrefix(mediaSection, 'a=mid:')[0]; + if (mid) { + return mid.substr(6); + } +} + +SDPUtils.parseFingerprint = function(line) { + var parts = line.substr(14).split(' '); + return { + algorithm: parts[0].toLowerCase(), // algorithm is case-sensitive in Edge. + value: parts[1] + }; +}; + +// Extracts DTLS parameters from SDP media section or sessionpart. +// FIXME: for consistency with other functions this should only +// get the fingerprint line as input. See also getIceParameters. +SDPUtils.getDtlsParameters = function(mediaSection, sessionpart) { + var lines = SDPUtils.matchPrefix(mediaSection + sessionpart, + 'a=fingerprint:'); + // Note: a=setup line is ignored since we use the 'auto' role. + // Note2: 'algorithm' is not case sensitive except in Edge. + return { + role: 'auto', + fingerprints: lines.map(SDPUtils.parseFingerprint) + }; +}; + +// Serializes DTLS parameters to SDP. +SDPUtils.writeDtlsParameters = function(params, setupType) { + var sdp = 'a=setup:' + setupType + '\r\n'; + params.fingerprints.forEach(function(fp) { + sdp += 'a=fingerprint:' + fp.algorithm + ' ' + fp.value + '\r\n'; + }); + return sdp; +}; +// Parses ICE information from SDP media section or sessionpart. +// FIXME: for consistency with other functions this should only +// get the ice-ufrag and ice-pwd lines as input. +SDPUtils.getIceParameters = function(mediaSection, sessionpart) { + var lines = SDPUtils.splitLines(mediaSection); + // Search in session part, too. + lines = lines.concat(SDPUtils.splitLines(sessionpart)); + var iceParameters = { + usernameFragment: lines.filter(function(line) { + return line.indexOf('a=ice-ufrag:') === 0; + })[0].substr(12), + password: lines.filter(function(line) { + return line.indexOf('a=ice-pwd:') === 0; + })[0].substr(10) + }; + return iceParameters; +}; + +// Serializes ICE parameters to SDP. +SDPUtils.writeIceParameters = function(params) { + return 'a=ice-ufrag:' + params.usernameFragment + '\r\n' + + 'a=ice-pwd:' + params.password + '\r\n'; +}; + +// Parses the SDP media section and returns RTCRtpParameters. +SDPUtils.parseRtpParameters = function(mediaSection) { + var description = { + codecs: [], + headerExtensions: [], + fecMechanisms: [], + rtcp: [] + }; + var lines = SDPUtils.splitLines(mediaSection); + var mline = lines[0].split(' '); + for (var i = 3; i < mline.length; i++) { // find all codecs from mline[3..] + var pt = mline[i]; + var rtpmapline = SDPUtils.matchPrefix( + mediaSection, 'a=rtpmap:' + pt + ' ')[0]; + if (rtpmapline) { + var codec = SDPUtils.parseRtpMap(rtpmapline); + var fmtps = SDPUtils.matchPrefix( + mediaSection, 'a=fmtp:' + pt + ' '); + // Only the first a=fmtp: is considered. + codec.parameters = fmtps.length ? SDPUtils.parseFmtp(fmtps[0]) : {}; + codec.rtcpFeedback = SDPUtils.matchPrefix( + mediaSection, 'a=rtcp-fb:' + pt + ' ') + .map(SDPUtils.parseRtcpFb); + description.codecs.push(codec); + // parse FEC mechanisms from rtpmap lines. + switch (codec.name.toUpperCase()) { + case 'RED': + case 'ULPFEC': + description.fecMechanisms.push(codec.name.toUpperCase()); + break; + default: // only RED and ULPFEC are recognized as FEC mechanisms. + break; + } + } + } + SDPUtils.matchPrefix(mediaSection, 'a=extmap:').forEach(function(line) { + description.headerExtensions.push(SDPUtils.parseExtmap(line)); + }); + // FIXME: parse rtcp. + return description; +}; + +// Generates parts of the SDP media section describing the capabilities / +// parameters. +SDPUtils.writeRtpDescription = function(kind, caps) { + var sdp = ''; + + // Build the mline. + sdp += 'm=' + kind + ' '; + sdp += caps.codecs.length > 0 ? '9' : '0'; // reject if no codecs. + sdp += ' UDP/TLS/RTP/SAVPF '; + sdp += caps.codecs.map(function(codec) { + if (codec.preferredPayloadType !== undefined) { + return codec.preferredPayloadType; + } + return codec.payloadType; + }).join(' ') + '\r\n'; + + sdp += 'c=IN IP4 0.0.0.0\r\n'; + sdp += 'a=rtcp:9 IN IP4 0.0.0.0\r\n'; + + // Add a=rtpmap lines for each codec. Also fmtp and rtcp-fb. + caps.codecs.forEach(function(codec) { + sdp += SDPUtils.writeRtpMap(codec); + sdp += SDPUtils.writeFmtp(codec); + sdp += SDPUtils.writeRtcpFb(codec); + }); + var maxptime = 0; + caps.codecs.forEach(function(codec) { + if (codec.maxptime > maxptime) { + maxptime = codec.maxptime; + } + }); + if (maxptime > 0) { + sdp += 'a=maxptime:' + maxptime + '\r\n'; + } + sdp += 'a=rtcp-mux\r\n'; + + caps.headerExtensions.forEach(function(extension) { + sdp += SDPUtils.writeExtmap(extension); + }); + // FIXME: write fecMechanisms. + return sdp; +}; + +// Parses the SDP media section and returns an array of +// RTCRtpEncodingParameters. +SDPUtils.parseRtpEncodingParameters = function(mediaSection) { + var encodingParameters = []; + var description = SDPUtils.parseRtpParameters(mediaSection); + var hasRed = description.fecMechanisms.indexOf('RED') !== -1; + var hasUlpfec = description.fecMechanisms.indexOf('ULPFEC') !== -1; + + // filter a=ssrc:... cname:, ignore PlanB-msid + var ssrcs = SDPUtils.matchPrefix(mediaSection, 'a=ssrc:') + .map(function(line) { + return SDPUtils.parseSsrcMedia(line); + }) + .filter(function(parts) { + return parts.attribute === 'cname'; + }); + var primarySsrc = ssrcs.length > 0 && ssrcs[0].ssrc; + var secondarySsrc; + + var flows = SDPUtils.matchPrefix(mediaSection, 'a=ssrc-group:FID') + .map(function(line) { + var parts = line.split(' '); + parts.shift(); + return parts.map(function(part) { + return parseInt(part, 10); + }); + }); + if (flows.length > 0 && flows[0].length > 1 && flows[0][0] === primarySsrc) { + secondarySsrc = flows[0][1]; + } + + description.codecs.forEach(function(codec) { + if (codec.name.toUpperCase() === 'RTX' && codec.parameters.apt) { + var encParam = { + ssrc: primarySsrc, + codecPayloadType: parseInt(codec.parameters.apt, 10), + rtx: { + ssrc: secondarySsrc + } + }; + encodingParameters.push(encParam); + if (hasRed) { + encParam = JSON.parse(JSON.stringify(encParam)); + encParam.fec = { + ssrc: secondarySsrc, + mechanism: hasUlpfec ? 'red+ulpfec' : 'red' + }; + encodingParameters.push(encParam); + } + } + }); + if (encodingParameters.length === 0 && primarySsrc) { + encodingParameters.push({ + ssrc: primarySsrc + }); + } + + // we support both b=AS and b=TIAS but interpret AS as TIAS. + var bandwidth = SDPUtils.matchPrefix(mediaSection, 'b='); + if (bandwidth.length) { + if (bandwidth[0].indexOf('b=TIAS:') === 0) { + bandwidth = parseInt(bandwidth[0].substr(7), 10); + } else if (bandwidth[0].indexOf('b=AS:') === 0) { + // use formula from JSEP to convert b=AS to TIAS value. + bandwidth = parseInt(bandwidth[0].substr(5), 10) * 1000 * 0.95 + - (50 * 40 * 8); + } else { + bandwidth = undefined; + } + encodingParameters.forEach(function(params) { + params.maxBitrate = bandwidth; + }); + } + return encodingParameters; +}; + +// parses http://draft.ortc.org/#rtcrtcpparameters* +SDPUtils.parseRtcpParameters = function(mediaSection) { + var rtcpParameters = {}; + + var cname; + // Gets the first SSRC. Note that with RTX there might be multiple + // SSRCs. + var remoteSsrc = SDPUtils.matchPrefix(mediaSection, 'a=ssrc:') + .map(function(line) { + return SDPUtils.parseSsrcMedia(line); + }) + .filter(function(obj) { + return obj.attribute === 'cname'; + })[0]; + if (remoteSsrc) { + rtcpParameters.cname = remoteSsrc.value; + rtcpParameters.ssrc = remoteSsrc.ssrc; + } + + // Edge uses the compound attribute instead of reducedSize + // compound is !reducedSize + var rsize = SDPUtils.matchPrefix(mediaSection, 'a=rtcp-rsize'); + rtcpParameters.reducedSize = rsize.length > 0; + rtcpParameters.compound = rsize.length === 0; + + // parses the rtcp-mux attrіbute. + // Note that Edge does not support unmuxed RTCP. + var mux = SDPUtils.matchPrefix(mediaSection, 'a=rtcp-mux'); + rtcpParameters.mux = mux.length > 0; + + return rtcpParameters; +}; + +// parses either a=msid: or a=ssrc:... msid lines and returns +// the id of the MediaStream and MediaStreamTrack. +SDPUtils.parseMsid = function(mediaSection) { + var parts; + var spec = SDPUtils.matchPrefix(mediaSection, 'a=msid:'); + if (spec.length === 1) { + parts = spec[0].substr(7).split(' '); + return {stream: parts[0], track: parts[1]}; + } + var planB = SDPUtils.matchPrefix(mediaSection, 'a=ssrc:') + .map(function(line) { + return SDPUtils.parseSsrcMedia(line); + }) + .filter(function(parts) { + return parts.attribute === 'msid'; + }); + if (planB.length > 0) { + parts = planB[0].value.split(' '); + return {stream: parts[0], track: parts[1]}; + } +}; + +// Generate a session ID for SDP. +// https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-20#section-5.2.1 +// recommends using a cryptographically random +ve 64-bit value +// but right now this should be acceptable and within the right range +SDPUtils.generateSessionId = function() { + return Math.random().toString().substr(2, 21); +}; + +// Write boilder plate for start of SDP +// sessId argument is optional - if not supplied it will +// be generated randomly +// sessVersion is optional and defaults to 2 +SDPUtils.writeSessionBoilerplate = function(sessId, sessVer) { + var sessionId; + var version = sessVer !== undefined ? sessVer : 2; + if (sessId) { + sessionId = sessId; + } else { + sessionId = SDPUtils.generateSessionId(); + } + // FIXME: sess-id should be an NTP timestamp. + return 'v=0\r\n' + + 'o=thisisadapterortc ' + sessionId + ' ' + version + ' IN IP4 127.0.0.1\r\n' + + 's=-\r\n' + + 't=0 0\r\n'; +}; + +SDPUtils.writeMediaSection = function(transceiver, caps, type, stream) { + var sdp = SDPUtils.writeRtpDescription(transceiver.kind, caps); + + // Map ICE parameters (ufrag, pwd) to SDP. + sdp += SDPUtils.writeIceParameters( + transceiver.iceGatherer.getLocalParameters()); + + // Map DTLS parameters to SDP. + sdp += SDPUtils.writeDtlsParameters( + transceiver.dtlsTransport.getLocalParameters(), + type === 'offer' ? 'actpass' : 'active'); + + sdp += 'a=mid:' + transceiver.mid + '\r\n'; + + if (transceiver.direction) { + sdp += 'a=' + transceiver.direction + '\r\n'; + } else if (transceiver.rtpSender && transceiver.rtpReceiver) { + sdp += 'a=sendrecv\r\n'; + } else if (transceiver.rtpSender) { + sdp += 'a=sendonly\r\n'; + } else if (transceiver.rtpReceiver) { + sdp += 'a=recvonly\r\n'; + } else { + sdp += 'a=inactive\r\n'; + } + + if (transceiver.rtpSender) { + // spec. + var msid = 'msid:' + stream.id + ' ' + + transceiver.rtpSender.track.id + '\r\n'; + sdp += 'a=' + msid; + + // for Chrome. + sdp += 'a=ssrc:' + transceiver.sendEncodingParameters[0].ssrc + + ' ' + msid; + if (transceiver.sendEncodingParameters[0].rtx) { + sdp += 'a=ssrc:' + transceiver.sendEncodingParameters[0].rtx.ssrc + + ' ' + msid; + sdp += 'a=ssrc-group:FID ' + + transceiver.sendEncodingParameters[0].ssrc + ' ' + + transceiver.sendEncodingParameters[0].rtx.ssrc + + '\r\n'; + } + } + // FIXME: this should be written by writeRtpDescription. + sdp += 'a=ssrc:' + transceiver.sendEncodingParameters[0].ssrc + + ' cname:' + SDPUtils.localCName + '\r\n'; + if (transceiver.rtpSender && transceiver.sendEncodingParameters[0].rtx) { + sdp += 'a=ssrc:' + transceiver.sendEncodingParameters[0].rtx.ssrc + + ' cname:' + SDPUtils.localCName + '\r\n'; + } + return sdp; +}; + +// Gets the direction from the mediaSection or the sessionpart. +SDPUtils.getDirection = function(mediaSection, sessionpart) { + // Look for sendrecv, sendonly, recvonly, inactive, default to sendrecv. + var lines = SDPUtils.splitLines(mediaSection); + for (var i = 0; i < lines.length; i++) { + switch (lines[i]) { + case 'a=sendrecv': + case 'a=sendonly': + case 'a=recvonly': + case 'a=inactive': + return lines[i].substr(2); + default: + // FIXME: What should happen here? + } + } + if (sessionpart) { + return SDPUtils.getDirection(sessionpart); + } + return 'sendrecv'; +}; + +SDPUtils.getKind = function(mediaSection) { + var lines = SDPUtils.splitLines(mediaSection); + var mline = lines[0].split(' '); + return mline[0].substr(2); +}; + +SDPUtils.isRejected = function(mediaSection) { + return mediaSection.split(' ', 2)[1] === '0'; +}; + +SDPUtils.parseMLine = function(mediaSection) { + var lines = SDPUtils.splitLines(mediaSection); + var mline = lines[0].split(' '); + return { + kind: mline[0].substr(2), + port: parseInt(mline[1], 10), + protocol: mline[2], + fmt: mline.slice(3).join(' ') + }; +}; + +// Expose public methods. +if (typeof module === 'object') { + module.exports = SDPUtils; +} + +},{}],3:[function(require,module,exports){ +(function (global){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ + +'use strict'; + +var adapterFactory = require('./adapter_factory.js'); +module.exports = adapterFactory({window: global.window}); + +}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{"./adapter_factory.js":4}],4:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ + +'use strict'; + +var utils = require('./utils'); +// Shimming starts here. +module.exports = function(dependencies, opts) { + var window = dependencies && dependencies.window; + + var options = { + shimChrome: true, + shimFirefox: true, + shimEdge: true, + shimSafari: true, + }; + + for (var key in opts) { + if (hasOwnProperty.call(opts, key)) { + options[key] = opts[key]; + } + } + + // Utils. + var logging = utils.log; + var browserDetails = utils.detectBrowser(window); + + // Uncomment the line below if you want logging to occur, including logging + // for the switch statement below. Can also be turned on in the browser via + // adapter.disableLog(false), but then logging from the switch statement below + // will not appear. + // require('./utils').disableLog(false); + + // Browser shims. + var chromeShim = require('./chrome/chrome_shim') || null; + var edgeShim = require('./edge/edge_shim') || null; + var firefoxShim = require('./firefox/firefox_shim') || null; + var safariShim = require('./safari/safari_shim') || null; + var commonShim = require('./common_shim') || null; + + // Export to the adapter global object visible in the browser. + var adapter = { + browserDetails: browserDetails, + commonShim: commonShim, + extractVersion: utils.extractVersion, + disableLog: utils.disableLog, + disableWarnings: utils.disableWarnings + }; + + // Shim browser if found. + switch (browserDetails.browser) { + case 'chrome': + if (!chromeShim || !chromeShim.shimPeerConnection || + !options.shimChrome) { + logging('Chrome shim is not included in this adapter release.'); + return adapter; + } + logging('adapter.js shimming chrome.'); + // Export to the adapter global object visible in the browser. + adapter.browserShim = chromeShim; + commonShim.shimCreateObjectURL(window); + + chromeShim.shimGetUserMedia(window); + chromeShim.shimMediaStream(window); + chromeShim.shimSourceObject(window); + chromeShim.shimPeerConnection(window); + chromeShim.shimOnTrack(window); + chromeShim.shimAddTrackRemoveTrack(window); + chromeShim.shimGetSendersWithDtmf(window); + + commonShim.shimRTCIceCandidate(window); + commonShim.shimMaxMessageSize(window); + commonShim.shimSendThrowTypeError(window); + break; + case 'firefox': + if (!firefoxShim || !firefoxShim.shimPeerConnection || + !options.shimFirefox) { + logging('Firefox shim is not included in this adapter release.'); + return adapter; + } + logging('adapter.js shimming firefox.'); + // Export to the adapter global object visible in the browser. + adapter.browserShim = firefoxShim; + commonShim.shimCreateObjectURL(window); + + firefoxShim.shimGetUserMedia(window); + firefoxShim.shimSourceObject(window); + firefoxShim.shimPeerConnection(window); + firefoxShim.shimOnTrack(window); + firefoxShim.shimRemoveStream(window); + + commonShim.shimRTCIceCandidate(window); + commonShim.shimMaxMessageSize(window); + commonShim.shimSendThrowTypeError(window); + break; + case 'edge': + if (!edgeShim || !edgeShim.shimPeerConnection || !options.shimEdge) { + logging('MS edge shim is not included in this adapter release.'); + return adapter; + } + logging('adapter.js shimming edge.'); + // Export to the adapter global object visible in the browser. + adapter.browserShim = edgeShim; + commonShim.shimCreateObjectURL(window); + + edgeShim.shimGetUserMedia(window); + edgeShim.shimPeerConnection(window); + edgeShim.shimReplaceTrack(window); + + // the edge shim implements the full RTCIceCandidate object. + + commonShim.shimMaxMessageSize(window); + commonShim.shimSendThrowTypeError(window); + break; + case 'safari': + if (!safariShim || !options.shimSafari) { + logging('Safari shim is not included in this adapter release.'); + return adapter; + } + logging('adapter.js shimming safari.'); + // Export to the adapter global object visible in the browser. + adapter.browserShim = safariShim; + commonShim.shimCreateObjectURL(window); + + safariShim.shimRTCIceServerUrls(window); + safariShim.shimCallbacksAPI(window); + safariShim.shimLocalStreamsAPI(window); + safariShim.shimRemoteStreamsAPI(window); + safariShim.shimTrackEventTransceiver(window); + safariShim.shimGetUserMedia(window); + safariShim.shimCreateOfferLegacy(window); + + commonShim.shimRTCIceCandidate(window); + commonShim.shimMaxMessageSize(window); + commonShim.shimSendThrowTypeError(window); + break; + default: + logging('Unsupported browser!'); + break; + } + + return adapter; +}; + +},{"./chrome/chrome_shim":5,"./common_shim":7,"./edge/edge_shim":8,"./firefox/firefox_shim":10,"./safari/safari_shim":12,"./utils":13}],5:[function(require,module,exports){ + +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; +var utils = require('../utils.js'); +var logging = utils.log; + +module.exports = { + shimGetUserMedia: require('./getusermedia'), + shimMediaStream: function(window) { + window.MediaStream = window.MediaStream || window.webkitMediaStream; + }, + + shimOnTrack: function(window) { + if (typeof window === 'object' && window.RTCPeerConnection && !('ontrack' in + window.RTCPeerConnection.prototype)) { + Object.defineProperty(window.RTCPeerConnection.prototype, 'ontrack', { + get: function() { + return this._ontrack; + }, + set: function(f) { + if (this._ontrack) { + this.removeEventListener('track', this._ontrack); + } + this.addEventListener('track', this._ontrack = f); + } + }); + var origSetRemoteDescription = + window.RTCPeerConnection.prototype.setRemoteDescription; + window.RTCPeerConnection.prototype.setRemoteDescription = function() { + var pc = this; + if (!pc._ontrackpoly) { + pc._ontrackpoly = function(e) { + // onaddstream does not fire when a track is added to an existing + // stream. But stream.onaddtrack is implemented so we use that. + e.stream.addEventListener('addtrack', function(te) { + var receiver; + if (window.RTCPeerConnection.prototype.getReceivers) { + receiver = pc.getReceivers().find(function(r) { + return r.track && r.track.id === te.track.id; + }); + } else { + receiver = {track: te.track}; + } + + var event = new Event('track'); + event.track = te.track; + event.receiver = receiver; + event.transceiver = {receiver: receiver}; + event.streams = [e.stream]; + pc.dispatchEvent(event); + }); + e.stream.getTracks().forEach(function(track) { + var receiver; + if (window.RTCPeerConnection.prototype.getReceivers) { + receiver = pc.getReceivers().find(function(r) { + return r.track && r.track.id === track.id; + }); + } else { + receiver = {track: track}; + } + var event = new Event('track'); + event.track = track; + event.receiver = receiver; + event.transceiver = {receiver: receiver}; + event.streams = [e.stream]; + pc.dispatchEvent(event); + }); + }; + pc.addEventListener('addstream', pc._ontrackpoly); + } + return origSetRemoteDescription.apply(pc, arguments); + }; + } else if (!('RTCRtpTransceiver' in window)) { + utils.wrapPeerConnectionEvent(window, 'track', function(e) { + if (!e.transceiver) { + e.transceiver = {receiver: e.receiver}; + } + return e; + }); + } + }, + + shimGetSendersWithDtmf: function(window) { + // Overrides addTrack/removeTrack, depends on shimAddTrackRemoveTrack. + if (typeof window === 'object' && window.RTCPeerConnection && + !('getSenders' in window.RTCPeerConnection.prototype) && + 'createDTMFSender' in window.RTCPeerConnection.prototype) { + var shimSenderWithDtmf = function(pc, track) { + return { + track: track, + get dtmf() { + if (this._dtmf === undefined) { + if (track.kind === 'audio') { + this._dtmf = pc.createDTMFSender(track); + } else { + this._dtmf = null; + } + } + return this._dtmf; + }, + _pc: pc + }; + }; + + // augment addTrack when getSenders is not available. + if (!window.RTCPeerConnection.prototype.getSenders) { + window.RTCPeerConnection.prototype.getSenders = function() { + this._senders = this._senders || []; + return this._senders.slice(); // return a copy of the internal state. + }; + var origAddTrack = window.RTCPeerConnection.prototype.addTrack; + window.RTCPeerConnection.prototype.addTrack = function(track, stream) { + var pc = this; + var sender = origAddTrack.apply(pc, arguments); + if (!sender) { + sender = shimSenderWithDtmf(pc, track); + pc._senders.push(sender); + } + return sender; + }; + + var origRemoveTrack = window.RTCPeerConnection.prototype.removeTrack; + window.RTCPeerConnection.prototype.removeTrack = function(sender) { + var pc = this; + origRemoveTrack.apply(pc, arguments); + var idx = pc._senders.indexOf(sender); + if (idx !== -1) { + pc._senders.splice(idx, 1); + } + }; + } + var origAddStream = window.RTCPeerConnection.prototype.addStream; + window.RTCPeerConnection.prototype.addStream = function(stream) { + var pc = this; + pc._senders = pc._senders || []; + origAddStream.apply(pc, [stream]); + stream.getTracks().forEach(function(track) { + pc._senders.push(shimSenderWithDtmf(pc, track)); + }); + }; + + var origRemoveStream = window.RTCPeerConnection.prototype.removeStream; + window.RTCPeerConnection.prototype.removeStream = function(stream) { + var pc = this; + pc._senders = pc._senders || []; + origRemoveStream.apply(pc, [stream]); + + stream.getTracks().forEach(function(track) { + var sender = pc._senders.find(function(s) { + return s.track === track; + }); + if (sender) { + pc._senders.splice(pc._senders.indexOf(sender), 1); // remove sender + } + }); + }; + } else if (typeof window === 'object' && window.RTCPeerConnection && + 'getSenders' in window.RTCPeerConnection.prototype && + 'createDTMFSender' in window.RTCPeerConnection.prototype && + window.RTCRtpSender && + !('dtmf' in window.RTCRtpSender.prototype)) { + var origGetSenders = window.RTCPeerConnection.prototype.getSenders; + window.RTCPeerConnection.prototype.getSenders = function() { + var pc = this; + var senders = origGetSenders.apply(pc, []); + senders.forEach(function(sender) { + sender._pc = pc; + }); + return senders; + }; + + Object.defineProperty(window.RTCRtpSender.prototype, 'dtmf', { + get: function() { + if (this._dtmf === undefined) { + if (this.track.kind === 'audio') { + this._dtmf = this._pc.createDTMFSender(this.track); + } else { + this._dtmf = null; + } + } + return this._dtmf; + } + }); + } + }, + + shimSourceObject: function(window) { + var URL = window && window.URL; + + if (typeof window === 'object') { + if (window.HTMLMediaElement && + !('srcObject' in window.HTMLMediaElement.prototype)) { + // Shim the srcObject property, once, when HTMLMediaElement is found. + Object.defineProperty(window.HTMLMediaElement.prototype, 'srcObject', { + get: function() { + return this._srcObject; + }, + set: function(stream) { + var self = this; + // Use _srcObject as a private property for this shim + this._srcObject = stream; + if (this.src) { + URL.revokeObjectURL(this.src); + } + + if (!stream) { + this.src = ''; + return undefined; + } + this.src = URL.createObjectURL(stream); + // We need to recreate the blob url when a track is added or + // removed. Doing it manually since we want to avoid a recursion. + stream.addEventListener('addtrack', function() { + if (self.src) { + URL.revokeObjectURL(self.src); + } + self.src = URL.createObjectURL(stream); + }); + stream.addEventListener('removetrack', function() { + if (self.src) { + URL.revokeObjectURL(self.src); + } + self.src = URL.createObjectURL(stream); + }); + } + }); + } + } + }, + + shimAddTrackRemoveTrackWithNative: function(window) { + // shim addTrack/removeTrack with native variants in order to make + // the interactions with legacy getLocalStreams behave as in other browsers. + // Keeps a mapping stream.id => [stream, rtpsenders...] + window.RTCPeerConnection.prototype.getLocalStreams = function() { + var pc = this; + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + return Object.keys(this._shimmedLocalStreams).map(function(streamId) { + return pc._shimmedLocalStreams[streamId][0]; + }); + }; + + var origAddTrack = window.RTCPeerConnection.prototype.addTrack; + window.RTCPeerConnection.prototype.addTrack = function(track, stream) { + if (!stream) { + return origAddTrack.apply(this, arguments); + } + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + + var sender = origAddTrack.apply(this, arguments); + if (!this._shimmedLocalStreams[stream.id]) { + this._shimmedLocalStreams[stream.id] = [stream, sender]; + } else if (this._shimmedLocalStreams[stream.id].indexOf(sender) === -1) { + this._shimmedLocalStreams[stream.id].push(sender); + } + return sender; + }; + + var origAddStream = window.RTCPeerConnection.prototype.addStream; + window.RTCPeerConnection.prototype.addStream = function(stream) { + var pc = this; + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + + stream.getTracks().forEach(function(track) { + var alreadyExists = pc.getSenders().find(function(s) { + return s.track === track; + }); + if (alreadyExists) { + throw new DOMException('Track already exists.', + 'InvalidAccessError'); + } + }); + var existingSenders = pc.getSenders(); + origAddStream.apply(this, arguments); + var newSenders = pc.getSenders().filter(function(newSender) { + return existingSenders.indexOf(newSender) === -1; + }); + this._shimmedLocalStreams[stream.id] = [stream].concat(newSenders); + }; + + var origRemoveStream = window.RTCPeerConnection.prototype.removeStream; + window.RTCPeerConnection.prototype.removeStream = function(stream) { + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + delete this._shimmedLocalStreams[stream.id]; + return origRemoveStream.apply(this, arguments); + }; + + var origRemoveTrack = window.RTCPeerConnection.prototype.removeTrack; + window.RTCPeerConnection.prototype.removeTrack = function(sender) { + var pc = this; + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + if (sender) { + Object.keys(this._shimmedLocalStreams).forEach(function(streamId) { + var idx = pc._shimmedLocalStreams[streamId].indexOf(sender); + if (idx !== -1) { + pc._shimmedLocalStreams[streamId].splice(idx, 1); + } + if (pc._shimmedLocalStreams[streamId].length === 1) { + delete pc._shimmedLocalStreams[streamId]; + } + }); + } + return origRemoveTrack.apply(this, arguments); + }; + }, + + shimAddTrackRemoveTrack: function(window) { + var browserDetails = utils.detectBrowser(window); + // shim addTrack and removeTrack. + if (window.RTCPeerConnection.prototype.addTrack && + browserDetails.version >= 65) { + return this.shimAddTrackRemoveTrackWithNative(window); + } + + // also shim pc.getLocalStreams when addTrack is shimmed + // to return the original streams. + var origGetLocalStreams = window.RTCPeerConnection.prototype + .getLocalStreams; + window.RTCPeerConnection.prototype.getLocalStreams = function() { + var pc = this; + var nativeStreams = origGetLocalStreams.apply(this); + pc._reverseStreams = pc._reverseStreams || {}; + return nativeStreams.map(function(stream) { + return pc._reverseStreams[stream.id]; + }); + }; + + var origAddStream = window.RTCPeerConnection.prototype.addStream; + window.RTCPeerConnection.prototype.addStream = function(stream) { + var pc = this; + pc._streams = pc._streams || {}; + pc._reverseStreams = pc._reverseStreams || {}; + + stream.getTracks().forEach(function(track) { + var alreadyExists = pc.getSenders().find(function(s) { + return s.track === track; + }); + if (alreadyExists) { + throw new DOMException('Track already exists.', + 'InvalidAccessError'); + } + }); + // Add identity mapping for consistency with addTrack. + // Unless this is being used with a stream from addTrack. + if (!pc._reverseStreams[stream.id]) { + var newStream = new window.MediaStream(stream.getTracks()); + pc._streams[stream.id] = newStream; + pc._reverseStreams[newStream.id] = stream; + stream = newStream; + } + origAddStream.apply(pc, [stream]); + }; + + var origRemoveStream = window.RTCPeerConnection.prototype.removeStream; + window.RTCPeerConnection.prototype.removeStream = function(stream) { + var pc = this; + pc._streams = pc._streams || {}; + pc._reverseStreams = pc._reverseStreams || {}; + + origRemoveStream.apply(pc, [(pc._streams[stream.id] || stream)]); + delete pc._reverseStreams[(pc._streams[stream.id] ? + pc._streams[stream.id].id : stream.id)]; + delete pc._streams[stream.id]; + }; + + window.RTCPeerConnection.prototype.addTrack = function(track, stream) { + var pc = this; + if (pc.signalingState === 'closed') { + throw new DOMException( + 'The RTCPeerConnection\'s signalingState is \'closed\'.', + 'InvalidStateError'); + } + var streams = [].slice.call(arguments, 1); + if (streams.length !== 1 || + !streams[0].getTracks().find(function(t) { + return t === track; + })) { + // this is not fully correct but all we can manage without + // [[associated MediaStreams]] internal slot. + throw new DOMException( + 'The adapter.js addTrack polyfill only supports a single ' + + ' stream which is associated with the specified track.', + 'NotSupportedError'); + } + + var alreadyExists = pc.getSenders().find(function(s) { + return s.track === track; + }); + if (alreadyExists) { + throw new DOMException('Track already exists.', + 'InvalidAccessError'); + } + + pc._streams = pc._streams || {}; + pc._reverseStreams = pc._reverseStreams || {}; + var oldStream = pc._streams[stream.id]; + if (oldStream) { + // this is using odd Chrome behaviour, use with caution: + // https://bugs.chromium.org/p/webrtc/issues/detail?id=7815 + // Note: we rely on the high-level addTrack/dtmf shim to + // create the sender with a dtmf sender. + oldStream.addTrack(track); + + // Trigger ONN async. + Promise.resolve().then(function() { + pc.dispatchEvent(new Event('negotiationneeded')); + }); + } else { + var newStream = new window.MediaStream([track]); + pc._streams[stream.id] = newStream; + pc._reverseStreams[newStream.id] = stream; + pc.addStream(newStream); + } + return pc.getSenders().find(function(s) { + return s.track === track; + }); + }; + + // replace the internal stream id with the external one and + // vice versa. + function replaceInternalStreamId(pc, description) { + var sdp = description.sdp; + Object.keys(pc._reverseStreams || []).forEach(function(internalId) { + var externalStream = pc._reverseStreams[internalId]; + var internalStream = pc._streams[externalStream.id]; + sdp = sdp.replace(new RegExp(internalStream.id, 'g'), + externalStream.id); + }); + return new RTCSessionDescription({ + type: description.type, + sdp: sdp + }); + } + function replaceExternalStreamId(pc, description) { + var sdp = description.sdp; + Object.keys(pc._reverseStreams || []).forEach(function(internalId) { + var externalStream = pc._reverseStreams[internalId]; + var internalStream = pc._streams[externalStream.id]; + sdp = sdp.replace(new RegExp(externalStream.id, 'g'), + internalStream.id); + }); + return new RTCSessionDescription({ + type: description.type, + sdp: sdp + }); + } + ['createOffer', 'createAnswer'].forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + var pc = this; + var args = arguments; + var isLegacyCall = arguments.length && + typeof arguments[0] === 'function'; + if (isLegacyCall) { + return nativeMethod.apply(pc, [ + function(description) { + var desc = replaceInternalStreamId(pc, description); + args[0].apply(null, [desc]); + }, + function(err) { + if (args[1]) { + args[1].apply(null, err); + } + }, arguments[2] + ]); + } + return nativeMethod.apply(pc, arguments) + .then(function(description) { + return replaceInternalStreamId(pc, description); + }); + }; + }); + + var origSetLocalDescription = + window.RTCPeerConnection.prototype.setLocalDescription; + window.RTCPeerConnection.prototype.setLocalDescription = function() { + var pc = this; + if (!arguments.length || !arguments[0].type) { + return origSetLocalDescription.apply(pc, arguments); + } + arguments[0] = replaceExternalStreamId(pc, arguments[0]); + return origSetLocalDescription.apply(pc, arguments); + }; + + // TODO: mangle getStats: https://w3c.github.io/webrtc-stats/#dom-rtcmediastreamstats-streamidentifier + + var origLocalDescription = Object.getOwnPropertyDescriptor( + window.RTCPeerConnection.prototype, 'localDescription'); + Object.defineProperty(window.RTCPeerConnection.prototype, + 'localDescription', { + get: function() { + var pc = this; + var description = origLocalDescription.get.apply(this); + if (description.type === '') { + return description; + } + return replaceInternalStreamId(pc, description); + } + }); + + window.RTCPeerConnection.prototype.removeTrack = function(sender) { + var pc = this; + if (pc.signalingState === 'closed') { + throw new DOMException( + 'The RTCPeerConnection\'s signalingState is \'closed\'.', + 'InvalidStateError'); + } + // We can not yet check for sender instanceof RTCRtpSender + // since we shim RTPSender. So we check if sender._pc is set. + if (!sender._pc) { + throw new DOMException('Argument 1 of RTCPeerConnection.removeTrack ' + + 'does not implement interface RTCRtpSender.', 'TypeError'); + } + var isLocal = sender._pc === pc; + if (!isLocal) { + throw new DOMException('Sender was not created by this connection.', + 'InvalidAccessError'); + } + + // Search for the native stream the senders track belongs to. + pc._streams = pc._streams || {}; + var stream; + Object.keys(pc._streams).forEach(function(streamid) { + var hasTrack = pc._streams[streamid].getTracks().find(function(track) { + return sender.track === track; + }); + if (hasTrack) { + stream = pc._streams[streamid]; + } + }); + + if (stream) { + if (stream.getTracks().length === 1) { + // if this is the last track of the stream, remove the stream. This + // takes care of any shimmed _senders. + pc.removeStream(pc._reverseStreams[stream.id]); + } else { + // relying on the same odd chrome behaviour as above. + stream.removeTrack(sender.track); + } + pc.dispatchEvent(new Event('negotiationneeded')); + } + }; + }, + + shimPeerConnection: function(window) { + var browserDetails = utils.detectBrowser(window); + + // The RTCPeerConnection object. + if (!window.RTCPeerConnection && window.webkitRTCPeerConnection) { + window.RTCPeerConnection = function(pcConfig, pcConstraints) { + // Translate iceTransportPolicy to iceTransports, + // see https://code.google.com/p/webrtc/issues/detail?id=4869 + // this was fixed in M56 along with unprefixing RTCPeerConnection. + logging('PeerConnection'); + if (pcConfig && pcConfig.iceTransportPolicy) { + pcConfig.iceTransports = pcConfig.iceTransportPolicy; + } + + return new window.webkitRTCPeerConnection(pcConfig, pcConstraints); + }; + window.RTCPeerConnection.prototype = + window.webkitRTCPeerConnection.prototype; + // wrap static methods. Currently just generateCertificate. + if (window.webkitRTCPeerConnection.generateCertificate) { + Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { + get: function() { + return window.webkitRTCPeerConnection.generateCertificate; + } + }); + } + } else { + // migrate from non-spec RTCIceServer.url to RTCIceServer.urls + var OrigPeerConnection = window.RTCPeerConnection; + window.RTCPeerConnection = function(pcConfig, pcConstraints) { + if (pcConfig && pcConfig.iceServers) { + var newIceServers = []; + for (var i = 0; i < pcConfig.iceServers.length; i++) { + var server = pcConfig.iceServers[i]; + if (!server.hasOwnProperty('urls') && + server.hasOwnProperty('url')) { + utils.deprecated('RTCIceServer.url', 'RTCIceServer.urls'); + server = JSON.parse(JSON.stringify(server)); + server.urls = server.url; + newIceServers.push(server); + } else { + newIceServers.push(pcConfig.iceServers[i]); + } + } + pcConfig.iceServers = newIceServers; + } + return new OrigPeerConnection(pcConfig, pcConstraints); + }; + window.RTCPeerConnection.prototype = OrigPeerConnection.prototype; + // wrap static methods. Currently just generateCertificate. + Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { + get: function() { + return OrigPeerConnection.generateCertificate; + } + }); + } + + var origGetStats = window.RTCPeerConnection.prototype.getStats; + window.RTCPeerConnection.prototype.getStats = function(selector, + successCallback, errorCallback) { + var pc = this; + var args = arguments; + + // If selector is a function then we are in the old style stats so just + // pass back the original getStats format to avoid breaking old users. + if (arguments.length > 0 && typeof selector === 'function') { + return origGetStats.apply(this, arguments); + } + + // When spec-style getStats is supported, return those when called with + // either no arguments or the selector argument is null. + if (origGetStats.length === 0 && (arguments.length === 0 || + typeof arguments[0] !== 'function')) { + return origGetStats.apply(this, []); + } + + var fixChromeStats_ = function(response) { + var standardReport = {}; + var reports = response.result(); + reports.forEach(function(report) { + var standardStats = { + id: report.id, + timestamp: report.timestamp, + type: { + localcandidate: 'local-candidate', + remotecandidate: 'remote-candidate' + }[report.type] || report.type + }; + report.names().forEach(function(name) { + standardStats[name] = report.stat(name); + }); + standardReport[standardStats.id] = standardStats; + }); + + return standardReport; + }; + + // shim getStats with maplike support + var makeMapStats = function(stats) { + return new Map(Object.keys(stats).map(function(key) { + return [key, stats[key]]; + })); + }; + + if (arguments.length >= 2) { + var successCallbackWrapper_ = function(response) { + args[1](makeMapStats(fixChromeStats_(response))); + }; + + return origGetStats.apply(this, [successCallbackWrapper_, + arguments[0]]); + } + + // promise-support + return new Promise(function(resolve, reject) { + origGetStats.apply(pc, [ + function(response) { + resolve(makeMapStats(fixChromeStats_(response))); + }, reject]); + }).then(successCallback, errorCallback); + }; + + // add promise support -- natively available in Chrome 51 + if (browserDetails.version < 51) { + ['setLocalDescription', 'setRemoteDescription', 'addIceCandidate'] + .forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + var args = arguments; + var pc = this; + var promise = new Promise(function(resolve, reject) { + nativeMethod.apply(pc, [args[0], resolve, reject]); + }); + if (args.length < 2) { + return promise; + } + return promise.then(function() { + args[1].apply(null, []); + }, + function(err) { + if (args.length >= 3) { + args[2].apply(null, [err]); + } + }); + }; + }); + } + + // promise support for createOffer and createAnswer. Available (without + // bugs) since M52: crbug/619289 + if (browserDetails.version < 52) { + ['createOffer', 'createAnswer'].forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + var pc = this; + if (arguments.length < 1 || (arguments.length === 1 && + typeof arguments[0] === 'object')) { + var opts = arguments.length === 1 ? arguments[0] : undefined; + return new Promise(function(resolve, reject) { + nativeMethod.apply(pc, [resolve, reject, opts]); + }); + } + return nativeMethod.apply(this, arguments); + }; + }); + } + + // shim implicit creation of RTCSessionDescription/RTCIceCandidate + ['setLocalDescription', 'setRemoteDescription', 'addIceCandidate'] + .forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + arguments[0] = new ((method === 'addIceCandidate') ? + window.RTCIceCandidate : + window.RTCSessionDescription)(arguments[0]); + return nativeMethod.apply(this, arguments); + }; + }); + + // support for addIceCandidate(null or undefined) + var nativeAddIceCandidate = + window.RTCPeerConnection.prototype.addIceCandidate; + window.RTCPeerConnection.prototype.addIceCandidate = function() { + if (!arguments[0]) { + if (arguments[1]) { + arguments[1].apply(null); + } + return Promise.resolve(); + } + return nativeAddIceCandidate.apply(this, arguments); + }; + } +}; + +},{"../utils.js":13,"./getusermedia":6}],6:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; +var utils = require('../utils.js'); +var logging = utils.log; + +// Expose public methods. +module.exports = function(window) { + var browserDetails = utils.detectBrowser(window); + var navigator = window && window.navigator; + + var constraintsToChrome_ = function(c) { + if (typeof c !== 'object' || c.mandatory || c.optional) { + return c; + } + var cc = {}; + Object.keys(c).forEach(function(key) { + if (key === 'require' || key === 'advanced' || key === 'mediaSource') { + return; + } + var r = (typeof c[key] === 'object') ? c[key] : {ideal: c[key]}; + if (r.exact !== undefined && typeof r.exact === 'number') { + r.min = r.max = r.exact; + } + var oldname_ = function(prefix, name) { + if (prefix) { + return prefix + name.charAt(0).toUpperCase() + name.slice(1); + } + return (name === 'deviceId') ? 'sourceId' : name; + }; + if (r.ideal !== undefined) { + cc.optional = cc.optional || []; + var oc = {}; + if (typeof r.ideal === 'number') { + oc[oldname_('min', key)] = r.ideal; + cc.optional.push(oc); + oc = {}; + oc[oldname_('max', key)] = r.ideal; + cc.optional.push(oc); + } else { + oc[oldname_('', key)] = r.ideal; + cc.optional.push(oc); + } + } + if (r.exact !== undefined && typeof r.exact !== 'number') { + cc.mandatory = cc.mandatory || {}; + cc.mandatory[oldname_('', key)] = r.exact; + } else { + ['min', 'max'].forEach(function(mix) { + if (r[mix] !== undefined) { + cc.mandatory = cc.mandatory || {}; + cc.mandatory[oldname_(mix, key)] = r[mix]; + } + }); + } + }); + if (c.advanced) { + cc.optional = (cc.optional || []).concat(c.advanced); + } + return cc; + }; + + var shimConstraints_ = function(constraints, func) { + if (browserDetails.version >= 61) { + return func(constraints); + } + constraints = JSON.parse(JSON.stringify(constraints)); + if (constraints && typeof constraints.audio === 'object') { + var remap = function(obj, a, b) { + if (a in obj && !(b in obj)) { + obj[b] = obj[a]; + delete obj[a]; + } + }; + constraints = JSON.parse(JSON.stringify(constraints)); + remap(constraints.audio, 'autoGainControl', 'googAutoGainControl'); + remap(constraints.audio, 'noiseSuppression', 'googNoiseSuppression'); + constraints.audio = constraintsToChrome_(constraints.audio); + } + if (constraints && typeof constraints.video === 'object') { + // Shim facingMode for mobile & surface pro. + var face = constraints.video.facingMode; + face = face && ((typeof face === 'object') ? face : {ideal: face}); + var getSupportedFacingModeLies = browserDetails.version < 66; + + if ((face && (face.exact === 'user' || face.exact === 'environment' || + face.ideal === 'user' || face.ideal === 'environment')) && + !(navigator.mediaDevices.getSupportedConstraints && + navigator.mediaDevices.getSupportedConstraints().facingMode && + !getSupportedFacingModeLies)) { + delete constraints.video.facingMode; + var matches; + if (face.exact === 'environment' || face.ideal === 'environment') { + matches = ['back', 'rear']; + } else if (face.exact === 'user' || face.ideal === 'user') { + matches = ['front']; + } + if (matches) { + // Look for matches in label, or use last cam for back (typical). + return navigator.mediaDevices.enumerateDevices() + .then(function(devices) { + devices = devices.filter(function(d) { + return d.kind === 'videoinput'; + }); + var dev = devices.find(function(d) { + return matches.some(function(match) { + return d.label.toLowerCase().indexOf(match) !== -1; + }); + }); + if (!dev && devices.length && matches.indexOf('back') !== -1) { + dev = devices[devices.length - 1]; // more likely the back cam + } + if (dev) { + constraints.video.deviceId = face.exact ? {exact: dev.deviceId} : + {ideal: dev.deviceId}; + } + constraints.video = constraintsToChrome_(constraints.video); + logging('chrome: ' + JSON.stringify(constraints)); + return func(constraints); + }); + } + } + constraints.video = constraintsToChrome_(constraints.video); + } + logging('chrome: ' + JSON.stringify(constraints)); + return func(constraints); + }; + + var shimError_ = function(e) { + return { + name: { + PermissionDeniedError: 'NotAllowedError', + InvalidStateError: 'NotReadableError', + DevicesNotFoundError: 'NotFoundError', + ConstraintNotSatisfiedError: 'OverconstrainedError', + TrackStartError: 'NotReadableError', + MediaDeviceFailedDueToShutdown: 'NotReadableError', + MediaDeviceKillSwitchOn: 'NotReadableError' + }[e.name] || e.name, + message: e.message, + constraint: e.constraintName, + toString: function() { + return this.name + (this.message && ': ') + this.message; + } + }; + }; + + var getUserMedia_ = function(constraints, onSuccess, onError) { + shimConstraints_(constraints, function(c) { + navigator.webkitGetUserMedia(c, onSuccess, function(e) { + if (onError) { + onError(shimError_(e)); + } + }); + }); + }; + + navigator.getUserMedia = getUserMedia_; + + // Returns the result of getUserMedia as a Promise. + var getUserMediaPromise_ = function(constraints) { + return new Promise(function(resolve, reject) { + navigator.getUserMedia(constraints, resolve, reject); + }); + }; + + if (!navigator.mediaDevices) { + navigator.mediaDevices = { + getUserMedia: getUserMediaPromise_, + enumerateDevices: function() { + return new Promise(function(resolve) { + var kinds = {audio: 'audioinput', video: 'videoinput'}; + return window.MediaStreamTrack.getSources(function(devices) { + resolve(devices.map(function(device) { + return {label: device.label, + kind: kinds[device.kind], + deviceId: device.id, + groupId: ''}; + })); + }); + }); + }, + getSupportedConstraints: function() { + return { + deviceId: true, echoCancellation: true, facingMode: true, + frameRate: true, height: true, width: true + }; + } + }; + } + + // A shim for getUserMedia method on the mediaDevices object. + // TODO(KaptenJansson) remove once implemented in Chrome stable. + if (!navigator.mediaDevices.getUserMedia) { + navigator.mediaDevices.getUserMedia = function(constraints) { + return getUserMediaPromise_(constraints); + }; + } else { + // Even though Chrome 45 has navigator.mediaDevices and a getUserMedia + // function which returns a Promise, it does not accept spec-style + // constraints. + var origGetUserMedia = navigator.mediaDevices.getUserMedia. + bind(navigator.mediaDevices); + navigator.mediaDevices.getUserMedia = function(cs) { + return shimConstraints_(cs, function(c) { + return origGetUserMedia(c).then(function(stream) { + if (c.audio && !stream.getAudioTracks().length || + c.video && !stream.getVideoTracks().length) { + stream.getTracks().forEach(function(track) { + track.stop(); + }); + throw new DOMException('', 'NotFoundError'); + } + return stream; + }, function(e) { + return Promise.reject(shimError_(e)); + }); + }); + }; + } + + // Dummy devicechange event methods. + // TODO(KaptenJansson) remove once implemented in Chrome stable. + if (typeof navigator.mediaDevices.addEventListener === 'undefined') { + navigator.mediaDevices.addEventListener = function() { + logging('Dummy mediaDevices.addEventListener called.'); + }; + } + if (typeof navigator.mediaDevices.removeEventListener === 'undefined') { + navigator.mediaDevices.removeEventListener = function() { + logging('Dummy mediaDevices.removeEventListener called.'); + }; + } +}; + +},{"../utils.js":13}],7:[function(require,module,exports){ +/* + * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var SDPUtils = require('sdp'); +var utils = require('./utils'); + +module.exports = { + shimRTCIceCandidate: function(window) { + // foundation is arbitrarily chosen as an indicator for full support for + // https://w3c.github.io/webrtc-pc/#rtcicecandidate-interface + if (window.RTCIceCandidate && 'foundation' in + window.RTCIceCandidate.prototype) { + return; + } + + var NativeRTCIceCandidate = window.RTCIceCandidate; + window.RTCIceCandidate = function(args) { + // Remove the a= which shouldn't be part of the candidate string. + if (typeof args === 'object' && args.candidate && + args.candidate.indexOf('a=') === 0) { + args = JSON.parse(JSON.stringify(args)); + args.candidate = args.candidate.substr(2); + } + + // Augment the native candidate with the parsed fields. + var nativeCandidate = new NativeRTCIceCandidate(args); + var parsedCandidate = SDPUtils.parseCandidate(args.candidate); + var augmentedCandidate = Object.assign(nativeCandidate, + parsedCandidate); + + // Add a serializer that does not serialize the extra attributes. + augmentedCandidate.toJSON = function() { + return { + candidate: augmentedCandidate.candidate, + sdpMid: augmentedCandidate.sdpMid, + sdpMLineIndex: augmentedCandidate.sdpMLineIndex, + usernameFragment: augmentedCandidate.usernameFragment, + }; + }; + return augmentedCandidate; + }; + + // Hook up the augmented candidate in onicecandidate and + // addEventListener('icecandidate', ...) + utils.wrapPeerConnectionEvent(window, 'icecandidate', function(e) { + if (e.candidate) { + Object.defineProperty(e, 'candidate', { + value: new window.RTCIceCandidate(e.candidate), + writable: 'false' + }); + } + return e; + }); + }, + + // shimCreateObjectURL must be called before shimSourceObject to avoid loop. + + shimCreateObjectURL: function(window) { + var URL = window && window.URL; + + if (!(typeof window === 'object' && window.HTMLMediaElement && + 'srcObject' in window.HTMLMediaElement.prototype && + URL.createObjectURL && URL.revokeObjectURL)) { + // Only shim CreateObjectURL using srcObject if srcObject exists. + return undefined; + } + + var nativeCreateObjectURL = URL.createObjectURL.bind(URL); + var nativeRevokeObjectURL = URL.revokeObjectURL.bind(URL); + var streams = new Map(), newId = 0; + + URL.createObjectURL = function(stream) { + if ('getTracks' in stream) { + var url = 'polyblob:' + (++newId); + streams.set(url, stream); + utils.deprecated('URL.createObjectURL(stream)', + 'elem.srcObject = stream'); + return url; + } + return nativeCreateObjectURL(stream); + }; + URL.revokeObjectURL = function(url) { + nativeRevokeObjectURL(url); + streams.delete(url); + }; + + var dsc = Object.getOwnPropertyDescriptor(window.HTMLMediaElement.prototype, + 'src'); + Object.defineProperty(window.HTMLMediaElement.prototype, 'src', { + get: function() { + return dsc.get.apply(this); + }, + set: function(url) { + this.srcObject = streams.get(url) || null; + return dsc.set.apply(this, [url]); + } + }); + + var nativeSetAttribute = window.HTMLMediaElement.prototype.setAttribute; + window.HTMLMediaElement.prototype.setAttribute = function() { + if (arguments.length === 2 && + ('' + arguments[0]).toLowerCase() === 'src') { + this.srcObject = streams.get(arguments[1]) || null; + } + return nativeSetAttribute.apply(this, arguments); + }; + }, + + shimMaxMessageSize: function(window) { + if (window.RTCSctpTransport || !window.RTCPeerConnection) { + return; + } + var browserDetails = utils.detectBrowser(window); + + if (!('sctp' in window.RTCPeerConnection.prototype)) { + Object.defineProperty(window.RTCPeerConnection.prototype, 'sctp', { + get: function() { + return typeof this._sctp === 'undefined' ? null : this._sctp; + } + }); + } + + var sctpInDescription = function(description) { + var sections = SDPUtils.splitSections(description.sdp); + sections.shift(); + return sections.some(function(mediaSection) { + var mLine = SDPUtils.parseMLine(mediaSection); + return mLine && mLine.kind === 'application' + && mLine.protocol.indexOf('SCTP') !== -1; + }); + }; + + var getRemoteFirefoxVersion = function(description) { + // TODO: Is there a better solution for detecting Firefox? + var match = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/); + if (match === null || match.length < 2) { + return -1; + } + var version = parseInt(match[1], 10); + // Test for NaN (yes, this is ugly) + return version !== version ? -1 : version; + }; + + var getCanSendMaxMessageSize = function(remoteIsFirefox) { + // Every implementation we know can send at least 64 KiB. + // Note: Although Chrome is technically able to send up to 256 KiB, the + // data does not reach the other peer reliably. + // See: https://bugs.chromium.org/p/webrtc/issues/detail?id=8419 + var canSendMaxMessageSize = 65536; + if (browserDetails.browser === 'firefox') { + if (browserDetails.version < 57) { + if (remoteIsFirefox === -1) { + // FF < 57 will send in 16 KiB chunks using the deprecated PPID + // fragmentation. + canSendMaxMessageSize = 16384; + } else { + // However, other FF (and RAWRTC) can reassemble PPID-fragmented + // messages. Thus, supporting ~2 GiB when sending. + canSendMaxMessageSize = 2147483637; + } + } else { + // Currently, all FF >= 57 will reset the remote maximum message size + // to the default value when a data channel is created at a later + // stage. :( + // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1426831 + canSendMaxMessageSize = + browserDetails.version === 57 ? 65535 : 65536; + } + } + return canSendMaxMessageSize; + }; + + var getMaxMessageSize = function(description, remoteIsFirefox) { + // Note: 65536 bytes is the default value from the SDP spec. Also, + // every implementation we know supports receiving 65536 bytes. + var maxMessageSize = 65536; + + // FF 57 has a slightly incorrect default remote max message size, so + // we need to adjust it here to avoid a failure when sending. + // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1425697 + if (browserDetails.browser === 'firefox' + && browserDetails.version === 57) { + maxMessageSize = 65535; + } + + var match = SDPUtils.matchPrefix(description.sdp, 'a=max-message-size:'); + if (match.length > 0) { + maxMessageSize = parseInt(match[0].substr(19), 10); + } else if (browserDetails.browser === 'firefox' && + remoteIsFirefox !== -1) { + // If the maximum message size is not present in the remote SDP and + // both local and remote are Firefox, the remote peer can receive + // ~2 GiB. + maxMessageSize = 2147483637; + } + return maxMessageSize; + }; + + var origSetRemoteDescription = + window.RTCPeerConnection.prototype.setRemoteDescription; + window.RTCPeerConnection.prototype.setRemoteDescription = function() { + var pc = this; + pc._sctp = null; + + if (sctpInDescription(arguments[0])) { + // Check if the remote is FF. + var isFirefox = getRemoteFirefoxVersion(arguments[0]); + + // Get the maximum message size the local peer is capable of sending + var canSendMMS = getCanSendMaxMessageSize(isFirefox); + + // Get the maximum message size of the remote peer. + var remoteMMS = getMaxMessageSize(arguments[0], isFirefox); + + // Determine final maximum message size + var maxMessageSize; + if (canSendMMS === 0 && remoteMMS === 0) { + maxMessageSize = Number.POSITIVE_INFINITY; + } else if (canSendMMS === 0 || remoteMMS === 0) { + maxMessageSize = Math.max(canSendMMS, remoteMMS); + } else { + maxMessageSize = Math.min(canSendMMS, remoteMMS); + } + + // Create a dummy RTCSctpTransport object and the 'maxMessageSize' + // attribute. + var sctp = {}; + Object.defineProperty(sctp, 'maxMessageSize', { + get: function() { + return maxMessageSize; + } + }); + pc._sctp = sctp; + } + + return origSetRemoteDescription.apply(pc, arguments); + }; + }, + + shimSendThrowTypeError: function(window) { + // Note: Although Firefox >= 57 has a native implementation, the maximum + // message size can be reset for all data channels at a later stage. + // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1426831 + + var origCreateDataChannel = + window.RTCPeerConnection.prototype.createDataChannel; + window.RTCPeerConnection.prototype.createDataChannel = function() { + var pc = this; + var dataChannel = origCreateDataChannel.apply(pc, arguments); + var origDataChannelSend = dataChannel.send; + + // Patch 'send' method + dataChannel.send = function() { + var dc = this; + var data = arguments[0]; + var length = data.length || data.size || data.byteLength; + if (length > pc.sctp.maxMessageSize) { + throw new DOMException('Message too large (can send a maximum of ' + + pc.sctp.maxMessageSize + ' bytes)', 'TypeError'); + } + return origDataChannelSend.apply(dc, arguments); + }; + + return dataChannel; + }; + } +}; + +},{"./utils":13,"sdp":2}],8:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var utils = require('../utils'); +var shimRTCPeerConnection = require('rtcpeerconnection-shim'); + +module.exports = { + shimGetUserMedia: require('./getusermedia'), + shimPeerConnection: function(window) { + var browserDetails = utils.detectBrowser(window); + + if (window.RTCIceGatherer) { + // ORTC defines an RTCIceCandidate object but no constructor. + // Not implemented in Edge. + if (!window.RTCIceCandidate) { + window.RTCIceCandidate = function(args) { + return args; + }; + } + // ORTC does not have a session description object but + // other browsers (i.e. Chrome) that will support both PC and ORTC + // in the future might have this defined already. + if (!window.RTCSessionDescription) { + window.RTCSessionDescription = function(args) { + return args; + }; + } + // this adds an additional event listener to MediaStrackTrack that signals + // when a tracks enabled property was changed. Workaround for a bug in + // addStream, see below. No longer required in 15025+ + if (browserDetails.version < 15025) { + var origMSTEnabled = Object.getOwnPropertyDescriptor( + window.MediaStreamTrack.prototype, 'enabled'); + Object.defineProperty(window.MediaStreamTrack.prototype, 'enabled', { + set: function(value) { + origMSTEnabled.set.call(this, value); + var ev = new Event('enabled'); + ev.enabled = value; + this.dispatchEvent(ev); + } + }); + } + } + + // ORTC defines the DTMF sender a bit different. + // https://github.com/w3c/ortc/issues/714 + if (window.RTCRtpSender && !('dtmf' in window.RTCRtpSender.prototype)) { + Object.defineProperty(window.RTCRtpSender.prototype, 'dtmf', { + get: function() { + if (this._dtmf === undefined) { + if (this.track.kind === 'audio') { + this._dtmf = new window.RTCDtmfSender(this); + } else if (this.track.kind === 'video') { + this._dtmf = null; + } + } + return this._dtmf; + } + }); + } + + window.RTCPeerConnection = + shimRTCPeerConnection(window, browserDetails.version); + }, + shimReplaceTrack: function(window) { + // ORTC has replaceTrack -- https://github.com/w3c/ortc/issues/614 + if (window.RTCRtpSender && + !('replaceTrack' in window.RTCRtpSender.prototype)) { + window.RTCRtpSender.prototype.replaceTrack = + window.RTCRtpSender.prototype.setTrack; + } + } +}; + +},{"../utils":13,"./getusermedia":9,"rtcpeerconnection-shim":1}],9:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +// Expose public methods. +module.exports = function(window) { + var navigator = window && window.navigator; + + var shimError_ = function(e) { + return { + name: {PermissionDeniedError: 'NotAllowedError'}[e.name] || e.name, + message: e.message, + constraint: e.constraint, + toString: function() { + return this.name; + } + }; + }; + + // getUserMedia error shim. + var origGetUserMedia = navigator.mediaDevices.getUserMedia. + bind(navigator.mediaDevices); + navigator.mediaDevices.getUserMedia = function(c) { + return origGetUserMedia(c).catch(function(e) { + return Promise.reject(shimError_(e)); + }); + }; +}; + +},{}],10:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var utils = require('../utils'); + +module.exports = { + shimGetUserMedia: require('./getusermedia'), + shimOnTrack: function(window) { + if (typeof window === 'object' && window.RTCPeerConnection && !('ontrack' in + window.RTCPeerConnection.prototype)) { + Object.defineProperty(window.RTCPeerConnection.prototype, 'ontrack', { + get: function() { + return this._ontrack; + }, + set: function(f) { + if (this._ontrack) { + this.removeEventListener('track', this._ontrack); + this.removeEventListener('addstream', this._ontrackpoly); + } + this.addEventListener('track', this._ontrack = f); + this.addEventListener('addstream', this._ontrackpoly = function(e) { + e.stream.getTracks().forEach(function(track) { + var event = new Event('track'); + event.track = track; + event.receiver = {track: track}; + event.transceiver = {receiver: event.receiver}; + event.streams = [e.stream]; + this.dispatchEvent(event); + }.bind(this)); + }.bind(this)); + } + }); + } + if (typeof window === 'object' && window.RTCTrackEvent && + ('receiver' in window.RTCTrackEvent.prototype) && + !('transceiver' in window.RTCTrackEvent.prototype)) { + Object.defineProperty(window.RTCTrackEvent.prototype, 'transceiver', { + get: function() { + return {receiver: this.receiver}; + } + }); + } + }, + + shimSourceObject: function(window) { + // Firefox has supported mozSrcObject since FF22, unprefixed in 42. + if (typeof window === 'object') { + if (window.HTMLMediaElement && + !('srcObject' in window.HTMLMediaElement.prototype)) { + // Shim the srcObject property, once, when HTMLMediaElement is found. + Object.defineProperty(window.HTMLMediaElement.prototype, 'srcObject', { + get: function() { + return this.mozSrcObject; + }, + set: function(stream) { + this.mozSrcObject = stream; + } + }); + } + } + }, + + shimPeerConnection: function(window) { + var browserDetails = utils.detectBrowser(window); + + if (typeof window !== 'object' || !(window.RTCPeerConnection || + window.mozRTCPeerConnection)) { + return; // probably media.peerconnection.enabled=false in about:config + } + // The RTCPeerConnection object. + if (!window.RTCPeerConnection) { + window.RTCPeerConnection = function(pcConfig, pcConstraints) { + if (browserDetails.version < 38) { + // .urls is not supported in FF < 38. + // create RTCIceServers with a single url. + if (pcConfig && pcConfig.iceServers) { + var newIceServers = []; + for (var i = 0; i < pcConfig.iceServers.length; i++) { + var server = pcConfig.iceServers[i]; + if (server.hasOwnProperty('urls')) { + for (var j = 0; j < server.urls.length; j++) { + var newServer = { + url: server.urls[j] + }; + if (server.urls[j].indexOf('turn') === 0) { + newServer.username = server.username; + newServer.credential = server.credential; + } + newIceServers.push(newServer); + } + } else { + newIceServers.push(pcConfig.iceServers[i]); + } + } + pcConfig.iceServers = newIceServers; + } + } + return new window.mozRTCPeerConnection(pcConfig, pcConstraints); + }; + window.RTCPeerConnection.prototype = + window.mozRTCPeerConnection.prototype; + + // wrap static methods. Currently just generateCertificate. + if (window.mozRTCPeerConnection.generateCertificate) { + Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { + get: function() { + return window.mozRTCPeerConnection.generateCertificate; + } + }); + } + + window.RTCSessionDescription = window.mozRTCSessionDescription; + window.RTCIceCandidate = window.mozRTCIceCandidate; + } + + // shim away need for obsolete RTCIceCandidate/RTCSessionDescription. + ['setLocalDescription', 'setRemoteDescription', 'addIceCandidate'] + .forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + arguments[0] = new ((method === 'addIceCandidate') ? + window.RTCIceCandidate : + window.RTCSessionDescription)(arguments[0]); + return nativeMethod.apply(this, arguments); + }; + }); + + // support for addIceCandidate(null or undefined) + var nativeAddIceCandidate = + window.RTCPeerConnection.prototype.addIceCandidate; + window.RTCPeerConnection.prototype.addIceCandidate = function() { + if (!arguments[0]) { + if (arguments[1]) { + arguments[1].apply(null); + } + return Promise.resolve(); + } + return nativeAddIceCandidate.apply(this, arguments); + }; + + // shim getStats with maplike support + var makeMapStats = function(stats) { + var map = new Map(); + Object.keys(stats).forEach(function(key) { + map.set(key, stats[key]); + map[key] = stats[key]; + }); + return map; + }; + + var modernStatsTypes = { + inboundrtp: 'inbound-rtp', + outboundrtp: 'outbound-rtp', + candidatepair: 'candidate-pair', + localcandidate: 'local-candidate', + remotecandidate: 'remote-candidate' + }; + + var nativeGetStats = window.RTCPeerConnection.prototype.getStats; + window.RTCPeerConnection.prototype.getStats = function( + selector, + onSucc, + onErr + ) { + return nativeGetStats.apply(this, [selector || null]) + .then(function(stats) { + if (browserDetails.version < 48) { + stats = makeMapStats(stats); + } + if (browserDetails.version < 53 && !onSucc) { + // Shim only promise getStats with spec-hyphens in type names + // Leave callback version alone; misc old uses of forEach before Map + try { + stats.forEach(function(stat) { + stat.type = modernStatsTypes[stat.type] || stat.type; + }); + } catch (e) { + if (e.name !== 'TypeError') { + throw e; + } + // Avoid TypeError: "type" is read-only, in old versions. 34-43ish + stats.forEach(function(stat, i) { + stats.set(i, Object.assign({}, stat, { + type: modernStatsTypes[stat.type] || stat.type + })); + }); + } + } + return stats; + }) + .then(onSucc, onErr); + }; + }, + + shimRemoveStream: function(window) { + if (!window.RTCPeerConnection || + 'removeStream' in window.RTCPeerConnection.prototype) { + return; + } + window.RTCPeerConnection.prototype.removeStream = function(stream) { + var pc = this; + utils.deprecated('removeStream', 'removeTrack'); + this.getSenders().forEach(function(sender) { + if (sender.track && stream.getTracks().indexOf(sender.track) !== -1) { + pc.removeTrack(sender); + } + }); + }; + } +}; + +},{"../utils":13,"./getusermedia":11}],11:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var utils = require('../utils'); +var logging = utils.log; + +// Expose public methods. +module.exports = function(window) { + var browserDetails = utils.detectBrowser(window); + var navigator = window && window.navigator; + var MediaStreamTrack = window && window.MediaStreamTrack; + + var shimError_ = function(e) { + return { + name: { + InternalError: 'NotReadableError', + NotSupportedError: 'TypeError', + PermissionDeniedError: 'NotAllowedError', + SecurityError: 'NotAllowedError' + }[e.name] || e.name, + message: { + 'The operation is insecure.': 'The request is not allowed by the ' + + 'user agent or the platform in the current context.' + }[e.message] || e.message, + constraint: e.constraint, + toString: function() { + return this.name + (this.message && ': ') + this.message; + } + }; + }; + + // getUserMedia constraints shim. + var getUserMedia_ = function(constraints, onSuccess, onError) { + var constraintsToFF37_ = function(c) { + if (typeof c !== 'object' || c.require) { + return c; + } + var require = []; + Object.keys(c).forEach(function(key) { + if (key === 'require' || key === 'advanced' || key === 'mediaSource') { + return; + } + var r = c[key] = (typeof c[key] === 'object') ? + c[key] : {ideal: c[key]}; + if (r.min !== undefined || + r.max !== undefined || r.exact !== undefined) { + require.push(key); + } + if (r.exact !== undefined) { + if (typeof r.exact === 'number') { + r. min = r.max = r.exact; + } else { + c[key] = r.exact; + } + delete r.exact; + } + if (r.ideal !== undefined) { + c.advanced = c.advanced || []; + var oc = {}; + if (typeof r.ideal === 'number') { + oc[key] = {min: r.ideal, max: r.ideal}; + } else { + oc[key] = r.ideal; + } + c.advanced.push(oc); + delete r.ideal; + if (!Object.keys(r).length) { + delete c[key]; + } + } + }); + if (require.length) { + c.require = require; + } + return c; + }; + constraints = JSON.parse(JSON.stringify(constraints)); + if (browserDetails.version < 38) { + logging('spec: ' + JSON.stringify(constraints)); + if (constraints.audio) { + constraints.audio = constraintsToFF37_(constraints.audio); + } + if (constraints.video) { + constraints.video = constraintsToFF37_(constraints.video); + } + logging('ff37: ' + JSON.stringify(constraints)); + } + return navigator.mozGetUserMedia(constraints, onSuccess, function(e) { + onError(shimError_(e)); + }); + }; + + // Returns the result of getUserMedia as a Promise. + var getUserMediaPromise_ = function(constraints) { + return new Promise(function(resolve, reject) { + getUserMedia_(constraints, resolve, reject); + }); + }; + + // Shim for mediaDevices on older versions. + if (!navigator.mediaDevices) { + navigator.mediaDevices = {getUserMedia: getUserMediaPromise_, + addEventListener: function() { }, + removeEventListener: function() { } + }; + } + navigator.mediaDevices.enumerateDevices = + navigator.mediaDevices.enumerateDevices || function() { + return new Promise(function(resolve) { + var infos = [ + {kind: 'audioinput', deviceId: 'default', label: '', groupId: ''}, + {kind: 'videoinput', deviceId: 'default', label: '', groupId: ''} + ]; + resolve(infos); + }); + }; + + if (browserDetails.version < 41) { + // Work around http://bugzil.la/1169665 + var orgEnumerateDevices = + navigator.mediaDevices.enumerateDevices.bind(navigator.mediaDevices); + navigator.mediaDevices.enumerateDevices = function() { + return orgEnumerateDevices().then(undefined, function(e) { + if (e.name === 'NotFoundError') { + return []; + } + throw e; + }); + }; + } + if (browserDetails.version < 49) { + var origGetUserMedia = navigator.mediaDevices.getUserMedia. + bind(navigator.mediaDevices); + navigator.mediaDevices.getUserMedia = function(c) { + return origGetUserMedia(c).then(function(stream) { + // Work around https://bugzil.la/802326 + if (c.audio && !stream.getAudioTracks().length || + c.video && !stream.getVideoTracks().length) { + stream.getTracks().forEach(function(track) { + track.stop(); + }); + throw new DOMException('The object can not be found here.', + 'NotFoundError'); + } + return stream; + }, function(e) { + return Promise.reject(shimError_(e)); + }); + }; + } + if (!(browserDetails.version > 55 && + 'autoGainControl' in navigator.mediaDevices.getSupportedConstraints())) { + var remap = function(obj, a, b) { + if (a in obj && !(b in obj)) { + obj[b] = obj[a]; + delete obj[a]; + } + }; + + var nativeGetUserMedia = navigator.mediaDevices.getUserMedia. + bind(navigator.mediaDevices); + navigator.mediaDevices.getUserMedia = function(c) { + if (typeof c === 'object' && typeof c.audio === 'object') { + c = JSON.parse(JSON.stringify(c)); + remap(c.audio, 'autoGainControl', 'mozAutoGainControl'); + remap(c.audio, 'noiseSuppression', 'mozNoiseSuppression'); + } + return nativeGetUserMedia(c); + }; + + if (MediaStreamTrack && MediaStreamTrack.prototype.getSettings) { + var nativeGetSettings = MediaStreamTrack.prototype.getSettings; + MediaStreamTrack.prototype.getSettings = function() { + var obj = nativeGetSettings.apply(this, arguments); + remap(obj, 'mozAutoGainControl', 'autoGainControl'); + remap(obj, 'mozNoiseSuppression', 'noiseSuppression'); + return obj; + }; + } + + if (MediaStreamTrack && MediaStreamTrack.prototype.applyConstraints) { + var nativeApplyConstraints = MediaStreamTrack.prototype.applyConstraints; + MediaStreamTrack.prototype.applyConstraints = function(c) { + if (this.kind === 'audio' && typeof c === 'object') { + c = JSON.parse(JSON.stringify(c)); + remap(c, 'autoGainControl', 'mozAutoGainControl'); + remap(c, 'noiseSuppression', 'mozNoiseSuppression'); + } + return nativeApplyConstraints.apply(this, [c]); + }; + } + } + navigator.getUserMedia = function(constraints, onSuccess, onError) { + if (browserDetails.version < 44) { + return getUserMedia_(constraints, onSuccess, onError); + } + // Replace Firefox 44+'s deprecation warning with unprefixed version. + utils.deprecated('navigator.getUserMedia', + 'navigator.mediaDevices.getUserMedia'); + navigator.mediaDevices.getUserMedia(constraints).then(onSuccess, onError); + }; +}; + +},{"../utils":13}],12:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ +'use strict'; +var utils = require('../utils'); + +module.exports = { + shimLocalStreamsAPI: function(window) { + if (typeof window !== 'object' || !window.RTCPeerConnection) { + return; + } + if (!('getLocalStreams' in window.RTCPeerConnection.prototype)) { + window.RTCPeerConnection.prototype.getLocalStreams = function() { + if (!this._localStreams) { + this._localStreams = []; + } + return this._localStreams; + }; + } + if (!('getStreamById' in window.RTCPeerConnection.prototype)) { + window.RTCPeerConnection.prototype.getStreamById = function(id) { + var result = null; + if (this._localStreams) { + this._localStreams.forEach(function(stream) { + if (stream.id === id) { + result = stream; + } + }); + } + if (this._remoteStreams) { + this._remoteStreams.forEach(function(stream) { + if (stream.id === id) { + result = stream; + } + }); + } + return result; + }; + } + if (!('addStream' in window.RTCPeerConnection.prototype)) { + var _addTrack = window.RTCPeerConnection.prototype.addTrack; + window.RTCPeerConnection.prototype.addStream = function(stream) { + if (!this._localStreams) { + this._localStreams = []; + } + if (this._localStreams.indexOf(stream) === -1) { + this._localStreams.push(stream); + } + var pc = this; + stream.getTracks().forEach(function(track) { + _addTrack.call(pc, track, stream); + }); + }; + + window.RTCPeerConnection.prototype.addTrack = function(track, stream) { + if (stream) { + if (!this._localStreams) { + this._localStreams = [stream]; + } else if (this._localStreams.indexOf(stream) === -1) { + this._localStreams.push(stream); + } + } + return _addTrack.call(this, track, stream); + }; + } + if (!('removeStream' in window.RTCPeerConnection.prototype)) { + window.RTCPeerConnection.prototype.removeStream = function(stream) { + if (!this._localStreams) { + this._localStreams = []; + } + var index = this._localStreams.indexOf(stream); + if (index === -1) { + return; + } + this._localStreams.splice(index, 1); + var pc = this; + var tracks = stream.getTracks(); + this.getSenders().forEach(function(sender) { + if (tracks.indexOf(sender.track) !== -1) { + pc.removeTrack(sender); + } + }); + }; + } + }, + shimRemoteStreamsAPI: function(window) { + if (typeof window !== 'object' || !window.RTCPeerConnection) { + return; + } + if (!('getRemoteStreams' in window.RTCPeerConnection.prototype)) { + window.RTCPeerConnection.prototype.getRemoteStreams = function() { + return this._remoteStreams ? this._remoteStreams : []; + }; + } + if (!('onaddstream' in window.RTCPeerConnection.prototype)) { + Object.defineProperty(window.RTCPeerConnection.prototype, 'onaddstream', { + get: function() { + return this._onaddstream; + }, + set: function(f) { + var pc = this; + if (this._onaddstream) { + this.removeEventListener('addstream', this._onaddstream); + this.removeEventListener('track', this._onaddstreampoly); + } + this.addEventListener('addstream', this._onaddstream = f); + this.addEventListener('track', this._onaddstreampoly = function(e) { + e.streams.forEach(function(stream) { + if (!pc._remoteStreams) { + pc._remoteStreams = []; + } + if (pc._remoteStreams.indexOf(stream) >= 0) { + return; + } + pc._remoteStreams.push(stream); + var event = new Event('addstream'); + event.stream = stream; + pc.dispatchEvent(event); + }); + }); + } + }); + } + }, + shimCallbacksAPI: function(window) { + if (typeof window !== 'object' || !window.RTCPeerConnection) { + return; + } + var prototype = window.RTCPeerConnection.prototype; + var createOffer = prototype.createOffer; + var createAnswer = prototype.createAnswer; + var setLocalDescription = prototype.setLocalDescription; + var setRemoteDescription = prototype.setRemoteDescription; + var addIceCandidate = prototype.addIceCandidate; + + prototype.createOffer = function(successCallback, failureCallback) { + var options = (arguments.length >= 2) ? arguments[2] : arguments[0]; + var promise = createOffer.apply(this, [options]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + + prototype.createAnswer = function(successCallback, failureCallback) { + var options = (arguments.length >= 2) ? arguments[2] : arguments[0]; + var promise = createAnswer.apply(this, [options]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + + var withCallback = function(description, successCallback, failureCallback) { + var promise = setLocalDescription.apply(this, [description]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + prototype.setLocalDescription = withCallback; + + withCallback = function(description, successCallback, failureCallback) { + var promise = setRemoteDescription.apply(this, [description]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + prototype.setRemoteDescription = withCallback; + + withCallback = function(candidate, successCallback, failureCallback) { + var promise = addIceCandidate.apply(this, [candidate]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + prototype.addIceCandidate = withCallback; + }, + shimGetUserMedia: function(window) { + var navigator = window && window.navigator; + + if (!navigator.getUserMedia) { + if (navigator.webkitGetUserMedia) { + navigator.getUserMedia = navigator.webkitGetUserMedia.bind(navigator); + } else if (navigator.mediaDevices && + navigator.mediaDevices.getUserMedia) { + navigator.getUserMedia = function(constraints, cb, errcb) { + navigator.mediaDevices.getUserMedia(constraints) + .then(cb, errcb); + }.bind(navigator); + } + } + }, + shimRTCIceServerUrls: function(window) { + // migrate from non-spec RTCIceServer.url to RTCIceServer.urls + var OrigPeerConnection = window.RTCPeerConnection; + window.RTCPeerConnection = function(pcConfig, pcConstraints) { + if (pcConfig && pcConfig.iceServers) { + var newIceServers = []; + for (var i = 0; i < pcConfig.iceServers.length; i++) { + var server = pcConfig.iceServers[i]; + if (!server.hasOwnProperty('urls') && + server.hasOwnProperty('url')) { + utils.deprecated('RTCIceServer.url', 'RTCIceServer.urls'); + server = JSON.parse(JSON.stringify(server)); + server.urls = server.url; + delete server.url; + newIceServers.push(server); + } else { + newIceServers.push(pcConfig.iceServers[i]); + } + } + pcConfig.iceServers = newIceServers; + } + return new OrigPeerConnection(pcConfig, pcConstraints); + }; + window.RTCPeerConnection.prototype = OrigPeerConnection.prototype; + // wrap static methods. Currently just generateCertificate. + if ('generateCertificate' in window.RTCPeerConnection) { + Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { + get: function() { + return OrigPeerConnection.generateCertificate; + } + }); + } + }, + shimTrackEventTransceiver: function(window) { + // Add event.transceiver member over deprecated event.receiver + if (typeof window === 'object' && window.RTCPeerConnection && + ('receiver' in window.RTCTrackEvent.prototype) && + // can't check 'transceiver' in window.RTCTrackEvent.prototype, as it is + // defined for some reason even when window.RTCTransceiver is not. + !window.RTCTransceiver) { + Object.defineProperty(window.RTCTrackEvent.prototype, 'transceiver', { + get: function() { + return {receiver: this.receiver}; + } + }); + } + }, + + shimCreateOfferLegacy: function(window) { + var origCreateOffer = window.RTCPeerConnection.prototype.createOffer; + window.RTCPeerConnection.prototype.createOffer = function(offerOptions) { + var pc = this; + if (offerOptions) { + var audioTransceiver = pc.getTransceivers().find(function(transceiver) { + return transceiver.sender.track && + transceiver.sender.track.kind === 'audio'; + }); + if (offerOptions.offerToReceiveAudio === false && audioTransceiver) { + if (audioTransceiver.direction === 'sendrecv') { + if (audioTransceiver.setDirection) { + audioTransceiver.setDirection('sendonly'); + } else { + audioTransceiver.direction = 'sendonly'; + } + } else if (audioTransceiver.direction === 'recvonly') { + if (audioTransceiver.setDirection) { + audioTransceiver.setDirection('inactive'); + } else { + audioTransceiver.direction = 'inactive'; + } + } + } else if (offerOptions.offerToReceiveAudio === true && + !audioTransceiver) { + pc.addTransceiver('audio'); + } + + var videoTransceiver = pc.getTransceivers().find(function(transceiver) { + return transceiver.sender.track && + transceiver.sender.track.kind === 'video'; + }); + if (offerOptions.offerToReceiveVideo === false && videoTransceiver) { + if (videoTransceiver.direction === 'sendrecv') { + videoTransceiver.setDirection('sendonly'); + } else if (videoTransceiver.direction === 'recvonly') { + videoTransceiver.setDirection('inactive'); + } + } else if (offerOptions.offerToReceiveVideo === true && + !videoTransceiver) { + pc.addTransceiver('video'); + } + } + return origCreateOffer.apply(pc, arguments); + }; + } +}; + +},{"../utils":13}],13:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var logDisabled_ = true; +var deprecationWarnings_ = true; + +/** + * Extract browser version out of the provided user agent string. + * + * @param {!string} uastring userAgent string. + * @param {!string} expr Regular expression used as match criteria. + * @param {!number} pos position in the version string to be returned. + * @return {!number} browser version. + */ +function extractVersion(uastring, expr, pos) { + var match = uastring.match(expr); + return match && match.length >= pos && parseInt(match[pos], 10); +} + +// Wraps the peerconnection event eventNameToWrap in a function +// which returns the modified event object. +function wrapPeerConnectionEvent(window, eventNameToWrap, wrapper) { + if (!window.RTCPeerConnection) { + return; + } + var proto = window.RTCPeerConnection.prototype; + var nativeAddEventListener = proto.addEventListener; + proto.addEventListener = function(nativeEventName, cb) { + if (nativeEventName !== eventNameToWrap) { + return nativeAddEventListener.apply(this, arguments); + } + var wrappedCallback = function(e) { + cb(wrapper(e)); + }; + this._eventMap = this._eventMap || {}; + this._eventMap[cb] = wrappedCallback; + return nativeAddEventListener.apply(this, [nativeEventName, + wrappedCallback]); + }; + + var nativeRemoveEventListener = proto.removeEventListener; + proto.removeEventListener = function(nativeEventName, cb) { + if (nativeEventName !== eventNameToWrap || !this._eventMap + || !this._eventMap[cb]) { + return nativeRemoveEventListener.apply(this, arguments); + } + var unwrappedCb = this._eventMap[cb]; + delete this._eventMap[cb]; + return nativeRemoveEventListener.apply(this, [nativeEventName, + unwrappedCb]); + }; + + Object.defineProperty(proto, 'on' + eventNameToWrap, { + get: function() { + return this['_on' + eventNameToWrap]; + }, + set: function(cb) { + if (this['_on' + eventNameToWrap]) { + this.removeEventListener(eventNameToWrap, + this['_on' + eventNameToWrap]); + delete this['_on' + eventNameToWrap]; + } + if (cb) { + this.addEventListener(eventNameToWrap, + this['_on' + eventNameToWrap] = cb); + } + } + }); +} + +// Utility methods. +module.exports = { + extractVersion: extractVersion, + wrapPeerConnectionEvent: wrapPeerConnectionEvent, + disableLog: function(bool) { + if (typeof bool !== 'boolean') { + return new Error('Argument type: ' + typeof bool + + '. Please use a boolean.'); + } + logDisabled_ = bool; + return (bool) ? 'adapter.js logging disabled' : + 'adapter.js logging enabled'; + }, + + /** + * Disable or enable deprecation warnings + * @param {!boolean} bool set to true to disable warnings. + */ + disableWarnings: function(bool) { + if (typeof bool !== 'boolean') { + return new Error('Argument type: ' + typeof bool + + '. Please use a boolean.'); + } + deprecationWarnings_ = !bool; + return 'adapter.js deprecation warnings ' + (bool ? 'disabled' : 'enabled'); + }, + + log: function() { + if (typeof window === 'object') { + if (logDisabled_) { + return; + } + if (typeof console !== 'undefined' && typeof console.log === 'function') { + console.log.apply(console, arguments); + } + } + }, + + /** + * Shows a deprecation warning suggesting the modern and spec-compatible API. + */ + deprecated: function(oldMethod, newMethod) { + if (!deprecationWarnings_) { + return; + } + console.warn(oldMethod + ' is deprecated, please use ' + newMethod + + ' instead.'); + }, + + /** + * Browser detector. + * + * @return {object} result containing browser and version + * properties. + */ + detectBrowser: function(window) { + var navigator = window && window.navigator; + + // Returned result object. + var result = {}; + result.browser = null; + result.version = null; + + // Fail early if it's not a browser + if (typeof window === 'undefined' || !window.navigator) { + result.browser = 'Not a browser.'; + return result; + } + + if (navigator.mozGetUserMedia) { // Firefox. + result.browser = 'firefox'; + result.version = extractVersion(navigator.userAgent, + /Firefox\/(\d+)\./, 1); + } else if (navigator.webkitGetUserMedia) { + // Chrome, Chromium, Webview, Opera. + // Version matches Chrome/WebRTC version. + result.browser = 'chrome'; + result.version = extractVersion(navigator.userAgent, + /Chrom(e|ium)\/(\d+)\./, 2); + } else if (navigator.mediaDevices && + navigator.userAgent.match(/Edge\/(\d+).(\d+)$/)) { // Edge. + result.browser = 'edge'; + result.version = extractVersion(navigator.userAgent, + /Edge\/(\d+).(\d+)$/, 2); + } else if (navigator.mediaDevices && + navigator.userAgent.match(/AppleWebKit\/(\d+)\./)) { // Safari. + result.browser = 'safari'; + result.version = extractVersion(navigator.userAgent, + /AppleWebKit\/(\d+)\./, 1); + } else { // Default fallthrough: not supported. + result.browser = 'Not a supported browser.'; + return result; + } + + return result; + } +}; + +},{}]},{},[3])(3) +}); \ No newline at end of file diff --git a/html5/verto/js/src/jquery.FSRTC.js b/html5/verto/js/src/jquery.FSRTC.js index c2ea803d0b..661442f0b4 100644 --- a/html5/verto/js/src/jquery.FSRTC.js +++ b/html5/verto/js/src/jquery.FSRTC.js @@ -88,6 +88,7 @@ onICE: function() {}, onOfferSDP: function() {} }, + useStream: null, }, options); this.audioEnabled = true; @@ -189,6 +190,11 @@ doCallback(self, "onStream", stream); } + function onRemoteStreamSuccess(self, stream) { + console.log("Remote Stream Success"); + doCallback(self, "onRemoteStream", stream); + } + function onICE(self, candidate) { self.mediaData.candidate = candidate; self.mediaData.candidateList.push(self.mediaData.candidate); @@ -246,7 +252,6 @@ if (iOS) { self.options.useVideo.setAttribute("playsinline", true); - self.options.useVideo.setAttribute("controls", true); } } @@ -259,6 +264,7 @@ //self.options.useAudio.play(); self.remoteStream = stream; + onRemoteStreamSuccess(self, stream); } function onOfferSDP(self, sdp) { @@ -290,7 +296,7 @@ self.options.useVideo['src'] = ''; } - if (self.localStream) { + if (self.localStream && !self.options.useStream) { if(typeof self.localStream.stop == 'function') { self.localStream.stop(); } else { @@ -307,11 +313,10 @@ } if (self.options.localVideo) { - self.options.localVideo.style.display = 'none'; - self.options.localVideo['src'] = ''; + deactivateLocalVideo(self.options.localVideo); } - if (self.options.localVideoStream) { + if (self.options.localVideoStream && !self.options.useStream) { if(typeof self.options.localVideoStream.stop == 'function') { self.options.localVideoStream.stop(); } else { @@ -444,7 +449,7 @@ console.log("Audio constraints", mediaParams.audio); console.log("Video constraints", mediaParams.video); - if (self.options.useVideo && self.options.localVideo) { + if (self.options.useVideo && self.options.localVideo && !self.options.useStream) { getUserMedia({ constraints: { audio: false, @@ -456,17 +461,26 @@ }); } - getUserMedia({ - constraints: { - audio: mediaParams.audio, - video: mediaParams.video - }, - video: mediaParams.useVideo, - onsuccess: onSuccess, - onerror: onError - }); - - + if (self.options.useStream) { + if (self.options.useVideo) { + self.options.localVideoStream = self.options.useStream; + if (self.options.localVideo) { + activateLocalVideo(self.options.localVideo, self.options.useStream); + } + } + onSuccess(self.options.useStream); + } + else { + getUserMedia({ + constraints: { + audio: mediaParams.audio, + video: mediaParams.video + }, + video: mediaParams.useVideo, + onsuccess: onSuccess, + onerror: onError + }); + } }; @@ -494,7 +508,7 @@ } } - if (obj.options.useVideo && obj.options.localVideo) { + if (obj.options.useVideo && obj.options.localVideo && !obj.options.useStream) { getUserMedia({ constraints: { audio: false, @@ -536,6 +550,11 @@ mandatory: obj.options.videoParams, optional: opt }; + // NOTE: This is a workaround for + // https://bugs.chromium.org/p/chromium/issues/detail?id=862325 + if (!!navigator.userAgent.match(/Android/i)) { + delete video.frameRate.min; + } } } else { @@ -557,7 +576,9 @@ if (obj.options.useCamera !== "any") { //video.optional.push({sourceId: obj.options.useCamera}); - video.deviceId = obj.options.useCamera; + video.deviceId = { + exact: obj.options.useCamera, + }; } if (bestFrameRate) { @@ -635,7 +656,16 @@ console.log("Audio constraints", mediaParams.audio); console.log("Video constraints", mediaParams.video); - if (mediaParams.audio || mediaParams.video) { + if (self.options.useStream) { + if (self.options.useVideo) { + self.options.localVideoStream = self.options.useStream; + if (self.options.localVideo) { + activateLocalVideo(self.options.localVideo, self.options.useStream); + } + } + onSuccess(self.options.useStream); + } + else if (mediaParams.audio || mediaParams.video) { getUserMedia({ constraints: { @@ -941,6 +971,16 @@ //optional: [] }; + function activateLocalVideo(el, stream) { + el.srcObject = stream; + el.style.display = 'block'; + } + + function deactivateLocalVideo(el) { + el.srcObject = null; + el.style.display = 'none'; + } + function getUserMedia(options) { var n = navigator, media; @@ -956,8 +996,7 @@ function streaming(stream) { if (options.localVideo) { - options.localVideo['srcObject'] = stream; - options.localVideo.style.display = 'block'; + activateLocalVideo(options.localVideo, stream); } if (options.onsuccess) { @@ -1011,29 +1050,21 @@ return; } - var video = { - //mandatory: {}, - //optional: [] - } - //FIXME - if (cam) { - //video.optional = [{sourceId: cam}]; - video.deviceId = {exact: cam}; - } - w = resList[resI][0]; h = resList[resI][1]; resI++; - video = { + var video = { width: {exact: w}, height: {exact: h} - //"minWidth": w, - //"minHeight": h, - //"maxWidth": w, - //"maxHeight": h }; + if (cam !== "any") { + video.deviceId = { + exact: cam, + }; + } + getUserMedia({ constraints: { audio: ttl++ == 0, diff --git a/html5/verto/js/src/jquery.jsonrpcclient.js b/html5/verto/js/src/jquery.jsonrpcclient.js index 5beb85fc50..4b0b71019e 100644 --- a/html5/verto/js/src/jquery.jsonrpcclient.js +++ b/html5/verto/js/src/jquery.jsonrpcclient.js @@ -429,8 +429,14 @@ var down_kps = (((this.speedBytes * 8) / (this.down_dur / 1000)) / 1024).toFixed(0); console.info("Speed Test: Up: " + up_kps + " Down: " + down_kps); - this.speedCB(event, { upDur: this.up_dur, downDur: this.down_dur, upKPS: up_kps, downKPS: down_kps }); + var cb = this.speedCB; this.speedCB = null; + cb(event, { + upDur: this.up_dur, + downDur: this.down_dur, + upKPS: up_kps, + downKPS: down_kps + }); } return; diff --git a/html5/verto/js/src/jquery.verto.js b/html5/verto/js/src/jquery.verto.js index c913ca4140..6a4219fd56 100644 --- a/html5/verto/js/src/jquery.verto.js +++ b/html5/verto/js/src/jquery.verto.js @@ -80,7 +80,8 @@ userVariables: {}, iceServers: false, ringSleep: 6000, - sessid: null + sessid: null, + useStream: null }, options); if (verto.options.deviceParams.useCamera) { @@ -465,12 +466,12 @@ var dialog = new $.verto.dialog($.verto.enum.direction.outbound, this, args); - dialog.invite(); - if (callbacks) { dialog.callbacks = callbacks; } + dialog.invite(); + return dialog; }; @@ -613,7 +614,9 @@ break; case 'verto.clientReady': - verto.callbacks.onMessage(verto, null, $.verto.enum.message.clientReady, data.params); + if (verto.callbacks.onMessage) { + verto.callbacks.onMessage(verto, null, $.verto.enum.message.clientReady, data.params); + } console.debug("CLIENT READY", data.params); break; @@ -1939,7 +1942,8 @@ tag: verto.options.tag, localTag: verto.options.localTag, login: verto.options.login, - videoParams: verto.options.videoParams + videoParams: verto.options.videoParams, + useStream: verto.options.useStream, }, params); @@ -2053,15 +2057,30 @@ }; RTCcallbacks.onStream = function(rtc, stream) { - if (dialog.verto.options.permissionCallback && + if (dialog.callbacks.permissionCallback && + typeof dialog.callbacks.permissionCallback.onGranted === 'function') { + dialog.callbacks.permissionCallback.onGranted(stream); + } + else if (dialog.verto.options.permissionCallback && typeof dialog.verto.options.permissionCallback.onGranted === 'function'){ dialog.verto.options.permissionCallback.onGranted(stream); } console.log("stream started"); }; + RTCcallbacks.onRemoteStream = function(rtc, stream) { + if (typeof dialog.callbacks.onRemoteStream === 'function') { + dialog.callbacks.onRemoteStream(stream, dialog); + } + console.log("remote stream started"); + }; + RTCcallbacks.onError = function(e) { - if (dialog.verto.options.permissionCallback && + if (dialog.callbacks.permissionCallback && + typeof dialog.callbacks.permissionCallback.onDenied === 'function') { + dialog.callbacks.permissionCallback.onDenied(); + } + else if (dialog.verto.options.permissionCallback && typeof dialog.verto.options.permissionCallback.onDenied === 'function'){ dialog.verto.options.permissionCallback.onDenied(); } @@ -2082,7 +2101,8 @@ useCamera: dialog.useCamera, useMic: dialog.useMic, useSpeak: dialog.useSpeak, - turnServer: verto.options.turnServer + turnServer: verto.options.turnServer, + useStream: dialog.params.useStream }); dialog.rtc.verto = dialog.verto; @@ -2713,10 +2733,17 @@ $.verto.unloadJobs = []; - $(window).bind('beforeunload', function() { - for (var f in $.verto.unloadJobs) { - $.verto.unloadJobs[f](); - } + var unloadEventName = 'beforeunload'; + // Hacks for Mobile Safari + var iOS = ['iPad', 'iPhone', 'iPod'].indexOf(navigator.platform) >= 0; + if (iOS) { + unloadEventName = 'pagehide'; + } + + $(window).bind(unloadEventName, function() { + for (var f in $.verto.unloadJobs) { + $.verto.unloadJobs[f](); + } if ($.verto.haltClosure) return $.verto.haltClosure(); diff --git a/html5/verto/video_demo-live_canvas/js/verto-min.js b/html5/verto/video_demo-live_canvas/js/verto-min.js index 78f8bc450e..2ac8e89e7e 100644 --- a/html5/verto/video_demo-live_canvas/js/verto-min.js +++ b/html5/verto/video_demo-live_canvas/js/verto-min.js @@ -1,630 +1,9508 @@ +/* + * Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * Copyright (C) 2005-2014, Anthony Minessale II + * + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * + * The Initial Developer of the Original Code is + * Anthony Minessale II + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Anthony Minessale II + * + * jquery.FSRTC.js - WebRTC Glue code + * + */ -(function($){function findLine(sdpLines,prefix,substr){return findLineInRange(sdpLines,0,-1,prefix,substr);} -function findLineInRange(sdpLines,startLine,endLine,prefix,substr){var realEndLine=(endLine!=-1)?endLine:sdpLines.length;for(var i=startLine;i=0;if(iOS){self.options.useVideo.setAttribute("playsinline",true);self.options.useVideo.setAttribute("controls",true);}} -var element=self.options.useAudio;console.log("REMOTE STREAM",stream,element);FSRTCattachMediaStream(element,stream);self.remoteStream=stream;} -function onOfferSDP(self,sdp){self.mediaData.SDP=self.stereoHack(sdp.sdp);console.log("Offer SDP");doCallback(self,"onOfferSDP");} -$.FSRTC.prototype.answer=function(sdp,onSuccess,onError){this.peer.addAnswerSDP({type:"answer",sdp:sdp},onSuccess,onError);};$.FSRTC.prototype.stopPeer=function(){if(self.peer){console.log("stopping peer");self.peer.stop();}} -$.FSRTC.prototype.stop=function(){var self=this;if(self.options.useVideo){self.options.useVideo.style.display='none';self.options.useVideo['src']='';} -if(self.localStream){if(typeof self.localStream.stop=='function'){self.localStream.stop();}else{if(self.localStream.active){var tracks=self.localStream.getTracks();console.log(tracks);tracks.forEach(function(track,index){console.log(track);track.stop();})}} -self.localStream=null;} -if(self.options.localVideo){self.options.localVideo.style.display='none';self.options.localVideo['src']='';} -if(self.options.localVideoStream){if(typeof self.options.localVideoStream.stop=='function'){self.options.localVideoStream.stop();}else{if(self.options.localVideoStream.active){var tracks=self.options.localVideoStream.getTracks();console.log(tracks);tracks.forEach(function(track,index){console.log(track);track.stop();})}}} -if(self.peer){console.log("stopping peer");self.peer.stop();}};$.FSRTC.prototype.getMute=function(){var self=this;return self.audioEnabled;} -$.FSRTC.prototype.setMute=function(what){var self=this;var audioTracks=self.localStream.getAudioTracks();for(var i=0,len=audioTracks.length;i=w&&$.FSRTC.validRes[i][1]>=h){w=$.FSRTC.validRes[i][0];h=$.FSRTC.validRes[i][1];}} -return[w,h];} -var resList=[[160,120],[320,180],[320,240],[640,360],[640,480],[1280,720],[1920,1080]];var resI=0;var ttl=0;var checkRes=function(cam,func){if(resI>=resList.length){var res={'validRes':$.FSRTC.validRes,'bestResSupported':$.FSRTC.bestResSupported()};localStorage.setItem("res_"+cam,$.toJSON(res));if(func)return func(res);return;} -var video={} -if(cam){video.deviceId={exact:cam};} -w=resList[resI][0];h=resList[resI][1];resI++;video={width:{exact:w},height:{exact:h}};getUserMedia({constraints:{audio:ttl++==0,video:video},onsuccess:function(e){e.getTracks().forEach(function(track){track.stop();});console.info(w+"x"+h+" supported.");$.FSRTC.validRes.push([w,h]);checkRes(cam,func);},onerror:function(e){console.warn(w+"x"+h+" not supported.");checkRes(cam,func);}});} -$.FSRTC.getValidRes=function(cam,func){var used=[];var cached=localStorage.getItem("res_"+cam);if(cached){var cache=$.parseJSON(cached);if(cache){$.FSRTC.validRes=cache.validRes;console.log("CACHED RES FOR CAM "+cam,cache);}else{console.error("INVALID CACHE");} -return func?func(cache):null;} -$.FSRTC.validRes=[];resI=0;checkRes(cam,func);} -$.FSRTC.checkPerms=function(runtime,check_audio,check_video){getUserMedia({constraints:{audio:check_audio,video:check_video,},onsuccess:function(e){e.getTracks().forEach(function(track){track.stop();});console.info("media perm init complete");if(runtime){setTimeout(runtime,100,true);}},onerror:function(e){if(check_video&&check_audio){console.error("error, retesting with audio params only");return $.FSRTC.checkPerms(runtime,check_audio,false);} -console.error("media perm init error");if(runtime){runtime(false)}}});}})(jQuery);(function($){$.JsonRpcClient=function(options){var self=this;this.options=$.extend({ajaxUrl:null,socketUrl:null,onmessage:null,login:null,passwd:null,sessid:null,loginParams:null,userVariables:null,getSocket:function(onmessage_cb){return self._getSocket(onmessage_cb);}},options);self.ws_cnt=0;this.wsOnMessage=function(event){self._wsOnMessage(event);};};$.JsonRpcClient.prototype._ws_socket=null;$.JsonRpcClient.prototype._ws_callbacks={};$.JsonRpcClient.prototype._current_id=1;$.JsonRpcClient.prototype.speedTest=function(bytes,cb){var socket=this.options.getSocket(this.wsOnMessage);if(socket!==null){this.speedCB=cb;this.speedBytes=bytes;socket.send("#SPU "+bytes);var loops=bytes/1024;var rem=bytes%1024;var i;var data=new Array(1024).join(".");for(i=0;i1){return false;} -return true;};$.JsonRpcClient.prototype.closeSocket=function(){var self=this;if(self.socketReady()){self._ws_socket.onclose=function(w){console.log("Closing Socket");};self._ws_socket.close();}};$.JsonRpcClient.prototype.loginData=function(params){var self=this;self.options.login=params.login;self.options.passwd=params.passwd;self.options.loginParams=params.loginParams;self.options.userVariables=params.userVariables;};$.JsonRpcClient.prototype.connectSocket=function(onmessage_cb){var self=this;if(self.to){clearTimeout(self.to);} -if(!self.socketReady()){self.authing=false;if(self._ws_socket){delete self._ws_socket;} -self._ws_socket=new WebSocket(self.options.socketUrl);if(self._ws_socket){self._ws_socket.onmessage=onmessage_cb;self._ws_socket.onclose=function(w){if(!self.ws_sleep){self.ws_sleep=1000;} -if(self.options.onWSClose){self.options.onWSClose(self);} -console.error("Websocket Lost "+self.ws_cnt+" sleep: "+self.ws_sleep+"msec");self.to=setTimeout(function(){console.log("Attempting Reconnection....");self.connectSocket(onmessage_cb);},self.ws_sleep);self.ws_cnt++;if(self.ws_sleep<3000&&(self.ws_cnt%10)===0){self.ws_sleep+=1000;}};self._ws_socket.onopen=function(){if(self.to){clearTimeout(self.to);} -self.ws_sleep=1000;self.ws_cnt=0;if(self.options.onWSConnect){self.options.onWSConnect(self);} -var req;while((req=$.JsonRpcClient.q.pop())){self._ws_socket.send(req);}};}} -return self._ws_socket?true:false;};$.JsonRpcClient.prototype.stopRetrying=function(){if(self.to) -clearTimeout(self.to);} -$.JsonRpcClient.prototype._getSocket=function(onmessage_cb){if(this.options.socketUrl===null||!("WebSocket"in window))return null;this.connectSocket(onmessage_cb);return this._ws_socket;};$.JsonRpcClient.q=[];$.JsonRpcClient.prototype._wsCall=function(socket,request,success_cb,error_cb){var request_json=$.toJSON(request);if(socket.readyState<1){self=this;$.JsonRpcClient.q.push(request_json);}else{socket.send(request_json);} -if('id'in request&&typeof success_cb!=='undefined'){this._ws_callbacks[request.id]={request:request_json,request_obj:request,success_cb:success_cb,error_cb:error_cb};}};$.JsonRpcClient.prototype._wsOnMessage=function(event){var response;if(event.data[0]=="#"&&event.data[1]=="S"&&event.data[2]=="P"){if(event.data[3]=="U"){this.up_dur=parseInt(event.data.substring(4));}else if(this.speedCB&&event.data[3]=="D"){this.down_dur=parseInt(event.data.substring(4));var up_kps=(((this.speedBytes*8)/(this.up_dur/1000))/1024).toFixed(0);var down_kps=(((this.speedBytes*8)/(this.down_dur/1000))/1024).toFixed(0);console.info("Speed Test: Up: "+up_kps+" Down: "+down_kps);this.speedCB(event,{upDur:this.up_dur,downDur:this.down_dur,upKPS:up_kps,downKPS:down_kps});this.speedCB=null;} -return;} -try{response=$.parseJSON(event.data);if(typeof response==='object'&&'jsonrpc'in response&&response.jsonrpc==='2.0'){if('result'in response&&this._ws_callbacks[response.id]){var success_cb=this._ws_callbacks[response.id].success_cb;delete this._ws_callbacks[response.id];success_cb(response.result,this);return;}else if('error'in response&&this._ws_callbacks[response.id]){var error_cb=this._ws_callbacks[response.id].error_cb;var orig_req=this._ws_callbacks[response.id].request;if(!self.authing&&response.error.code==-32000&&self.options.login&&self.options.passwd){self.authing=true;this.call("login",{login:self.options.login,passwd:self.options.passwd,loginParams:self.options.loginParams,userVariables:self.options.userVariables},this._ws_callbacks[response.id].request_obj.method=="login"?function(e){self.authing=false;console.log("logged in");delete self._ws_callbacks[response.id];if(self.options.onWSLogin){self.options.onWSLogin(true,self);}}:function(e){self.authing=false;console.log("logged in, resending request id: "+response.id);var socket=self.options.getSocket(self.wsOnMessage);if(socket!==null){socket.send(orig_req);} -if(self.options.onWSLogin){self.options.onWSLogin(true,self);}},function(e){console.log("error logging in, request id:",response.id);delete self._ws_callbacks[response.id];error_cb(response.error,this);if(self.options.onWSLogin){self.options.onWSLogin(false,self);}});return;} -delete this._ws_callbacks[response.id];error_cb(response.error,this);return;}}}catch(err){console.log("ERROR: "+err);return;} -if(typeof this.options.onmessage==='function'){event.eventData=response;if(!event.eventData){event.eventData={};} -var reply=this.options.onmessage(event);if(reply&&typeof reply==="object"&&event.eventData.id){var msg={jsonrpc:"2.0",id:event.eventData.id,result:reply};var socket=self.options.getSocket(self.wsOnMessage);if(socket!==null){socket.send($.toJSON(msg));}}}};$.JsonRpcClient._batchObject=function(jsonrpcclient,all_done_cb,error_cb){this._requests=[];this.jsonrpcclient=jsonrpcclient;this.all_done_cb=all_done_cb;this.error_cb=typeof error_cb==='function'?error_cb:function(){};};$.JsonRpcClient._batchObject.prototype.call=function(method,params,success_cb,error_cb){if(!params){params={};} -if(this.options.sessid){params.sessid=this.options.sessid;} -if(!success_cb){success_cb=function(e){console.log("Success: ",e);};} -if(!error_cb){error_cb=function(e){console.log("Error: ",e);};} -this._requests.push({request:{jsonrpc:'2.0',method:method,params:params,id:this.jsonrpcclient._current_id++},success_cb:success_cb,error_cb:error_cb});};$.JsonRpcClient._batchObject.prototype.notify=function(method,params){if(this.options.sessid){params.sessid=this.options.sessid;} -this._requests.push({request:{jsonrpc:'2.0',method:method,params:params}});};$.JsonRpcClient._batchObject.prototype._execute=function(){var self=this;if(this._requests.length===0)return;var batch_request=[];var handlers={};var i=0;var call;var success_cb;var error_cb;var socket=self.jsonrpcclient.options.getSocket(self.jsonrpcclient.wsOnMessage);if(socket!==null){for(i=0;i0){data.params.useVideo=true;} -if(data.params.sdp&&data.params.sdp.indexOf("stereo=1")>0){data.params.useStereo=true;} -dialog=new $.verto.dialog($.verto.enum.direction.inbound,verto,data.params);dialog.setState($.verto.enum.state.recovering);break;case'verto.invite':if(data.params.sdp&&data.params.sdp.indexOf("m=video")>0){data.params.wantVideo=true;} -if(data.params.sdp&&data.params.sdp.indexOf("stereo=1")>0){data.params.useStereo=true;} -dialog=new $.verto.dialog($.verto.enum.direction.inbound,verto,data.params);break;default:console.debug("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED");break;}} -return{method:data.method};}else{switch(data.method){case'verto.punt':verto.purge();verto.logout();break;case'verto.event':var list=null;var key=null;if(data.params){key=data.params.eventChannel;} -if(key){list=verto.eventSUBS[key];if(!list){list=verto.eventSUBS[key.split(".")[0]];}} -if(!list&&key&&key===verto.sessid){if(verto.callbacks.onMessage){verto.callbacks.onMessage(verto,null,$.verto.enum.message.pvtEvent,data.params);}}else if(!list&&key&&verto.dialogs[key]){verto.dialogs[key].sendMessage($.verto.enum.message.pvtEvent,data.params);}else if(!list){if(!key){key="UNDEFINED";} -console.error("UNSUBBED or invalid EVENT "+key+" IGNORED");}else{for(var i in list){var sub=list[i];if(!sub||!sub.ready){console.error("invalid EVENT for "+key+" IGNORED");}else if(sub.handler){sub.handler(verto,data.params,sub.userData);}else if(verto.callbacks.onEvent){verto.callbacks.onEvent(verto,data.params,sub.userData);}else{console.log("EVENT:",data.params);}}} -break;case"verto.info":if(verto.callbacks.onMessage){verto.callbacks.onMessage(verto,null,$.verto.enum.message.info,data.params.msg);} -console.debug("MESSAGE from: "+data.params.msg.from,data.params.msg.body);break;case'verto.clientReady':verto.callbacks.onMessage(verto,null,$.verto.enum.message.clientReady,data.params);console.debug("CLIENT READY",data.params);break;default:console.error("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED",data.method);break;}}};var del_array=function(array,name){var r=[];var len=array.length;for(var i=0;i=array.length){array.push(name);}else{var x=0;var n=[];var len=array.length;for(var i=0;i":"\n");});return str;};};$.verto.liveArray=function(verto,context,name,config){var la=this;var lastSerno=0;var binding=null;var user_obj=config.userObj;var local=false;hashArray.call(la);la._add=la.add;la._del=la.del;la._reorder=la.reorder;la._clear=la.clear;la.context=context;la.name=name;la.user_obj=user_obj;la.verto=verto;la.broadcast=function(channel,obj){verto.broadcast(channel,obj);};la.errs=0;la.clear=function(){la._clear();lastSerno=0;if(la.onChange){la.onChange(la,{action:"clear"});}};la.checkSerno=function(serno){if(serno<0){return true;} -if(lastSerno>0&&serno!=(lastSerno+1)){if(la.onErr){la.onErr(la,{lastSerno:lastSerno,serno:serno});} -la.errs++;console.debug(la.errs);if(la.errs<3){la.bootstrap(la.user_obj);} -return false;}else{lastSerno=serno;return true;}};la.reorder=function(serno,a){if(la.checkSerno(serno)){la._reorder(a);if(la.onChange){la.onChange(la,{serno:serno,action:"reorder"});}}};la.init=function(serno,val,key,index){if(key===null||key===undefined){key=serno;} -if(la.checkSerno(serno)){if(la.onChange){la.onChange(la,{serno:serno,action:"init",index:index,key:key,data:val});}}};la.bootObj=function(serno,val){if(la.checkSerno(serno)){for(var i in val){la._add(val[i][0],val[i][1]);} -if(la.onChange){la.onChange(la,{serno:serno,action:"bootObj",data:val,redraw:true});}}};la.add=function(serno,val,key,index){if(key===null||key===undefined){key=serno;} -if(la.checkSerno(serno)){var redraw=la._add(key,val,index);if(la.onChange){la.onChange(la,{serno:serno,action:"add",index:index,key:key,data:val,redraw:redraw});}}};la.modify=function(serno,val,key,index){if(key===null||key===undefined){key=serno;} -if(la.checkSerno(serno)){la._add(key,val,index);if(la.onChange){la.onChange(la,{serno:serno,action:"modify",key:key,data:val,index:index});}}};la.del=function(serno,key,index){if(key===null||key===undefined){key=serno;} -if(la.checkSerno(serno)){if(index===null||index<0||index===undefined){index=la.indexOf(key);} -var ok=la._del(key);if(ok&&la.onChange){la.onChange(la,{serno:serno,action:"del",key:key,index:index});}}};var eventHandler=function(v,e,la){var packet=e.data;if(packet.name!=la.name){return;} -switch(packet.action){case"init":la.init(packet.wireSerno,packet.data,packet.hashKey,packet.arrIndex);break;case"bootObj":la.bootObj(packet.wireSerno,packet.data);break;case"add":la.add(packet.wireSerno,packet.data,packet.hashKey,packet.arrIndex);break;case"modify":if(!(packet.arrIndex||packet.hashKey)){console.error("Invalid Packet",packet);}else{la.modify(packet.wireSerno,packet.data,packet.hashKey,packet.arrIndex);} -break;case"del":if(!(packet.arrIndex||packet.hashKey)){console.error("Invalid Packet",packet);}else{la.del(packet.wireSerno,packet.hashKey,packet.arrIndex);} -break;case"clear":la.clear();break;case"reorder":la.reorder(packet.wireSerno,packet.order);break;default:if(la.checkSerno(packet.wireSerno)){if(la.onChange){la.onChange(la,{serno:packet.wireSerno,action:packet.action,data:packet.data});}} -break;}};if(la.context){binding=la.verto.subscribe(la.context,{handler:eventHandler,userData:la,subParams:config.subParams});} -la.destroy=function(){la._clear();la.verto.unsubscribe(binding);};la.sendCommand=function(cmd,obj){var self=la;self.broadcast(self.context,{liveArray:{command:cmd,context:self.context,name:self.name,obj:obj}});};la.bootstrap=function(obj){var self=la;la.sendCommand("bootstrap",obj);};la.changepage=function(obj){var self=la;self.clear();self.broadcast(self.context,{liveArray:{command:"changepage",context:la.context,name:la.name,obj:obj}});};la.heartbeat=function(obj){var self=la;var callback=function(){self.heartbeat.call(self,obj);};self.broadcast(self.context,{liveArray:{command:"heartbeat",context:self.context,name:self.name,obj:obj}});self.hb_pid=setTimeout(callback,30000);};la.bootstrap(la.user_obj);};$.verto.liveTable=function(verto,context,name,jq,config){var dt;var la=new $.verto.liveArray(verto,context,name,{subParams:config.subParams});var lt=this;lt.liveArray=la;lt.dataTable=dt;lt.verto=verto;lt.destroy=function(){if(dt){dt.fnDestroy();} -if(la){la.destroy();} -dt=null;la=null;};la.onErr=function(obj,args){console.error("Error: ",obj,args);};function genRow(data){if(typeof(data[4])==="string"&&data[4].indexOf("{")>-1){var tmp=$.parseJSON(data[4]);data[4]=tmp.oldStatus;data[5]=null;} -return data;} -function genArray(obj){var data=obj.asArray();for(var i in data){data[i]=genRow(data[i]);} -return data;} -la.onChange=function(obj,args){var index=0;var iserr=0;if(!dt){if(!config.aoColumns){if(args.action!="init"){return;} -config.aoColumns=[];for(var i in args.data){config.aoColumns.push({"sTitle":args.data[i]});}} -dt=jq.dataTable(config);} -if(dt&&(args.action=="del"||args.action=="modify")){index=args.index;if(index===undefined&&args.key){index=la.indexOf(args.key);} -if(index===undefined){console.error("INVALID PACKET Missing INDEX\n",args);return;}} -if(config.onChange){config.onChange(obj,args);} -try{switch(args.action){case"bootObj":if(!args.data){console.error("missing data");return;} -dt.fnClearTable();dt.fnAddData(genArray(obj));dt.fnAdjustColumnSizing();break;case"add":if(!args.data){console.error("missing data");return;} -if(args.redraw>-1){dt.fnClearTable();dt.fnAddData(genArray(obj));}else{dt.fnAddData(genRow(args.data));} -dt.fnAdjustColumnSizing();break;case"modify":if(!args.data){return;} -dt.fnUpdate(genRow(args.data),index);dt.fnAdjustColumnSizing();break;case"del":dt.fnDeleteRow(index);dt.fnAdjustColumnSizing();break;case"clear":dt.fnClearTable();break;case"reorder":dt.fnClearTable();dt.fnAddData(genArray(obj));break;case"hide":jq.hide();break;case"show":jq.show();break;}}catch(err){console.error("ERROR: "+err);iserr++;} -if(iserr){obj.errs++;if(obj.errs<3){obj.bootstrap(obj.user_obj);}}else{obj.errs=0;}};la.onChange(la,{action:"init"});};var CONFMAN_SERNO=1;$.verto.conf=function(verto,params){var conf=this;conf.params=$.extend({dialog:null,hasVid:false,laData:null,onBroadcast:null,onLaChange:null,onLaRow:null},params);conf.verto=verto;conf.serno=CONFMAN_SERNO++;createMainModeratorMethods();verto.subscribe(conf.params.laData.modChannel,{handler:function(v,e){if(conf.params.onBroadcast){conf.params.onBroadcast(verto,conf,e.data);}}});verto.subscribe(conf.params.laData.infoChannel,{handler:function(v,e){if(typeof(conf.params.infoCallback)==="function"){conf.params.infoCallback(v,e);}}});verto.subscribe(conf.params.laData.chatChannel,{handler:function(v,e){if(typeof(conf.params.chatCallback)==="function"){conf.params.chatCallback(v,e);}}});};$.verto.conf.prototype.modCommand=function(cmd,id,value){var conf=this;conf.verto.rpcClient.call("verto.broadcast",{"eventChannel":conf.params.laData.modChannel,"data":{"application":"conf-control","command":cmd,"id":id,"value":value}});};$.verto.conf.prototype.destroy=function(){var conf=this;conf.destroyed=true;conf.params.onBroadcast(conf.verto,conf,'destroy');if(conf.params.laData.modChannel){conf.verto.unsubscribe(conf.params.laData.modChannel);} -if(conf.params.laData.chatChannel){conf.verto.unsubscribe(conf.params.laData.chatChannel);} -if(conf.params.laData.infoChannel){conf.verto.unsubscribe(conf.params.laData.infoChannel);}};function createMainModeratorMethods(){$.verto.conf.prototype.listVideoLayouts=function(){this.modCommand("list-videoLayouts",null,null);};$.verto.conf.prototype.play=function(file){this.modCommand("play",null,file);};$.verto.conf.prototype.stop=function(){this.modCommand("stop",null,"all");};$.verto.conf.prototype.deaf=function(memberID){this.modCommand("deaf",parseInt(memberID));};$.verto.conf.prototype.undeaf=function(memberID){this.modCommand("undeaf",parseInt(memberID));};$.verto.conf.prototype.record=function(file){this.modCommand("recording",null,["start",file]);};$.verto.conf.prototype.stopRecord=function(){this.modCommand("recording",null,["stop","all"]);};$.verto.conf.prototype.snapshot=function(file){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("vid-write-png",null,file);};$.verto.conf.prototype.setVideoLayout=function(layout,canvasID){if(!this.params.hasVid){throw'Conference has no video';} -if(canvasID){this.modCommand("vid-layout",null,[layout,canvasID]);}else{this.modCommand("vid-layout",null,layout);}};$.verto.conf.prototype.kick=function(memberID){this.modCommand("kick",parseInt(memberID));};$.verto.conf.prototype.muteMic=function(memberID){this.modCommand("tmute",parseInt(memberID));};$.verto.conf.prototype.muteVideo=function(memberID){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("tvmute",parseInt(memberID));};$.verto.conf.prototype.presenter=function(memberID){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("vid-res-id",parseInt(memberID),"presenter");};$.verto.conf.prototype.videoFloor=function(memberID){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("vid-floor",parseInt(memberID),"force");};$.verto.conf.prototype.banner=function(memberID,text){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("vid-banner",parseInt(memberID),escape(text));};$.verto.conf.prototype.volumeDown=function(memberID){this.modCommand("volume_out",parseInt(memberID),"down");};$.verto.conf.prototype.volumeUp=function(memberID){this.modCommand("volume_out",parseInt(memberID),"up");};$.verto.conf.prototype.gainDown=function(memberID){this.modCommand("volume_in",parseInt(memberID),"down");};$.verto.conf.prototype.gainUp=function(memberID){this.modCommand("volume_in",parseInt(memberID),"up");};$.verto.conf.prototype.transfer=function(memberID,exten){this.modCommand("transfer",parseInt(memberID),exten);};$.verto.conf.prototype.sendChat=function(message,type){var conf=this;conf.verto.rpcClient.call("verto.broadcast",{"eventChannel":conf.params.laData.chatChannel,"data":{"action":"send","message":message,"type":type}});};} -$.verto.modfuncs={};$.verto.confMan=function(verto,params){var confMan=this;confMan.params=$.extend({tableID:null,statusID:null,mainModID:null,dialog:null,hasVid:false,laData:null,onBroadcast:null,onLaChange:null,onLaRow:null},params);confMan.verto=verto;confMan.serno=CONFMAN_SERNO++;confMan.canvasCount=confMan.params.laData.canvasCount;function genMainMod(jq){var play_id="play_"+confMan.serno;var stop_id="stop_"+confMan.serno;var recording_id="recording_"+confMan.serno;var snapshot_id="snapshot_"+confMan.serno;var rec_stop_id="recording_stop"+confMan.serno;var div_id="confman_"+confMan.serno;var html="

"+""+""+""+""+ -(confMan.params.hasVid?"":"")+"

";jq.html(html);$.verto.modfuncs.change_video_layout=function(id,canvas_id){var val=$("#"+id+" option:selected").text();if(val!=="none"){confMan.modCommand("vid-layout",null,[val,canvas_id]);}};if(confMan.params.hasVid){for(var j=0;j
"+"Video Layout Canvas "+(j+1)+" "+"

";jq.append(vlhtml);} -$("#"+snapshot_id).click(function(){var file=prompt("Please enter file name","");if(file){confMan.modCommand("vid-write-png",null,file);}});} -$("#"+play_id).click(function(){var file=prompt("Please enter file name","");if(file){confMan.modCommand("play",null,file);}});$("#"+stop_id).click(function(){confMan.modCommand("stop",null,"all");});$("#"+recording_id).click(function(){var file=prompt("Please enter file name","");if(file){confMan.modCommand("recording",null,["start",file]);}});$("#"+rec_stop_id).click(function(){confMan.modCommand("recording",null,["stop","all"]);});} -function genControls(jq,rowid){var x=parseInt(rowid);var kick_id="kick_"+x;var canvas_in_next_id="canvas_in_next_"+x;var canvas_in_prev_id="canvas_in_prev_"+x;var canvas_out_next_id="canvas_out_next_"+x;var canvas_out_prev_id="canvas_out_prev_"+x;var canvas_in_set_id="canvas_in_set_"+x;var canvas_out_set_id="canvas_out_set_"+x;var layer_set_id="layer_set_"+x;var layer_next_id="layer_next_"+x;var layer_prev_id="layer_prev_"+x;var tmute_id="tmute_"+x;var tvmute_id="tvmute_"+x;var vbanner_id="vbanner_"+x;var tvpresenter_id="tvpresenter_"+x;var tvfloor_id="tvfloor_"+x;var box_id="box_"+x;var gainup_id="gain_in_up"+x;var gaindn_id="gain_in_dn"+x;var volup_id="vol_in_up"+x;var voldn_id="vol_in_dn"+x;var transfer_id="transfer"+x;var html="
";html+="General Controls
";html+=""+""+""+""+""+""+"";if(confMan.params.hasVid){html+="

Video Controls
";html+=""+""+""+"";if(confMan.canvasCount>1){html+="

Canvas Controls
"+""+""+""+"
"+""+""+"";} -html+="
"+""+""+""+"
";} -jq.html(html);if(!jq.data("mouse")){$("#"+box_id).hide();} -jq.mouseover(function(e){jq.data({"mouse":true});$("#"+box_id).show();});jq.mouseout(function(e){jq.data({"mouse":false});$("#"+box_id).hide();});$("#"+transfer_id).click(function(){var xten=prompt("Enter Extension");if(xten){confMan.modCommand("transfer",x,xten);}});$("#"+kick_id).click(function(){confMan.modCommand("kick",x);});$("#"+layer_set_id).click(function(){var cid=prompt("Please enter layer ID","");if(cid){confMan.modCommand("vid-layer",x,cid);}});$("#"+layer_next_id).click(function(){confMan.modCommand("vid-layer",x,"next");});$("#"+layer_prev_id).click(function(){confMan.modCommand("vid-layer",x,"prev");});$("#"+canvas_in_set_id).click(function(){var cid=prompt("Please enter canvas ID","");if(cid){confMan.modCommand("vid-canvas",x,cid);}});$("#"+canvas_out_set_id).click(function(){var cid=prompt("Please enter canvas ID","");if(cid){confMan.modCommand("vid-watching-canvas",x,cid);}});$("#"+canvas_in_next_id).click(function(){confMan.modCommand("vid-canvas",x,"next");});$("#"+canvas_in_prev_id).click(function(){confMan.modCommand("vid-canvas",x,"prev");});$("#"+canvas_out_next_id).click(function(){confMan.modCommand("vid-watching-canvas",x,"next");});$("#"+canvas_out_prev_id).click(function(){confMan.modCommand("vid-watching-canvas",x,"prev");});$("#"+tmute_id).click(function(){confMan.modCommand("tmute",x);});if(confMan.params.hasVid){$("#"+tvmute_id).click(function(){confMan.modCommand("tvmute",x);});$("#"+tvpresenter_id).click(function(){confMan.modCommand("vid-res-id",x,"presenter");});$("#"+tvfloor_id).click(function(){confMan.modCommand("vid-floor",x,"force");});$("#"+vbanner_id).click(function(){var text=prompt("Please enter text","");if(text){confMan.modCommand("vid-banner",x,escape(text));}});} -$("#"+gainup_id).click(function(){confMan.modCommand("volume_in",x,"up");});$("#"+gaindn_id).click(function(){confMan.modCommand("volume_in",x,"down");});$("#"+volup_id).click(function(){confMan.modCommand("volume_out",x,"up");});$("#"+voldn_id).click(function(){confMan.modCommand("volume_out",x,"down");});return html;} -var atitle="";var awidth=0;verto.subscribe(confMan.params.laData.infoChannel,{handler:function(v,e){if(typeof(confMan.params.infoCallback)==="function"){confMan.params.infoCallback(v,e);}}});verto.subscribe(confMan.params.laData.chatChannel,{handler:function(v,e){if(typeof(confMan.params.chatCallback)==="function"){confMan.params.chatCallback(v,e);}}});if(confMan.params.laData.role==="moderator"){atitle="Action";awidth=600;if(confMan.params.mainModID){genMainMod($(confMan.params.mainModID));$(confMan.params.displayID).html("Moderator Controls Ready

");}else{$(confMan.params.mainModID).html("");} -verto.subscribe(confMan.params.laData.modChannel,{handler:function(v,e){if(confMan.params.onBroadcast){confMan.params.onBroadcast(verto,confMan,e.data);} -if(e.data["conf-command"]==="list-videoLayouts"){for(var j=0;jb)?1:-1));});for(var i in options){$(vlselect_id).append(new Option(options[i],options[i]));x++;}} -if(x){$(vlselect_id).selectmenu('refresh',true);}else{$(vlayout_id).hide();}}}else{if(!confMan.destroyed&&confMan.params.displayID){$(confMan.params.displayID).html(e.data.response+"

");if(confMan.lastTimeout){clearTimeout(confMan.lastTimeout);confMan.lastTimeout=0;} -confMan.lastTimeout=setTimeout(function(){$(confMan.params.displayID).html(confMan.destroyed?"":"Moderator Controls Ready

");},4000);}}}});if(confMan.params.hasVid){confMan.modCommand("list-videoLayouts",null,null);}} -var row_callback=null;if(confMan.params.laData.role==="moderator"){row_callback=function(nRow,aData,iDisplayIndex,iDisplayIndexFull){if(!aData[5]){var $row=$('td:eq(5)',nRow);genControls($row,aData);if(confMan.params.onLaRow){confMan.params.onLaRow(verto,confMan,$row,aData);}}};} -confMan.lt=new $.verto.liveTable(verto,confMan.params.laData.laChannel,confMan.params.laData.laName,$(confMan.params.tableID),{subParams:{callID:confMan.params.dialog?confMan.params.dialog.callID:null},"onChange":function(obj,args){$(confMan.params.statusID).text("Conference Members: "+" ("+obj.arrayLen()+" Total)");if(confMan.params.onLaChange){confMan.params.onLaChange(verto,confMan,$.verto.enum.confEvent.laChange,obj,args);}},"aaData":[],"aoColumns":[{"sTitle":"ID","sWidth":"50"},{"sTitle":"Number","sWidth":"250"},{"sTitle":"Name","sWidth":"250"},{"sTitle":"Codec","sWidth":"100"},{"sTitle":"Status","sWidth":confMan.params.hasVid?"200px":"150px"},{"sTitle":atitle,"sWidth":awidth,}],"bAutoWidth":true,"bDestroy":true,"bSort":false,"bInfo":false,"bFilter":false,"bLengthChange":false,"bPaginate":false,"iDisplayLength":1400,"oLanguage":{"sEmptyTable":"The Conference is Empty....."},"fnRowCallback":row_callback});};$.verto.confMan.prototype.modCommand=function(cmd,id,value){var confMan=this;confMan.verto.rpcClient.call("verto.broadcast",{"eventChannel":confMan.params.laData.modChannel,"data":{"application":"conf-control","command":cmd,"id":id,"value":value}});};$.verto.confMan.prototype.sendChat=function(message,type){var confMan=this;confMan.verto.rpcClient.call("verto.broadcast",{"eventChannel":confMan.params.laData.chatChannel,"data":{"action":"send","message":message,"type":type}});};$.verto.confMan.prototype.destroy=function(){var confMan=this;confMan.destroyed=true;if(confMan.lt){confMan.lt.destroy();} -if(confMan.params.laData.chatChannel){confMan.verto.unsubscribe(confMan.params.laData.chatChannel);} -if(confMan.params.laData.modChannel){confMan.verto.unsubscribe(confMan.params.laData.modChannel);} -if(confMan.params.mainModID){$(confMan.params.mainModID).html("");}};$.verto.dialog=function(direction,verto,params){var dialog=this;dialog.params=$.extend({useVideo:verto.options.useVideo,useStereo:verto.options.useStereo,screenShare:false,useCamera:false,useMic:verto.options.deviceParams.useMic,useSpeak:verto.options.deviceParams.useSpeak,tag:verto.options.tag,localTag:verto.options.localTag,login:verto.options.login,videoParams:verto.options.videoParams},params);if(!dialog.params.screenShare){dialog.params.useCamera=verto.options.deviceParams.useCamera;} -dialog.verto=verto;dialog.direction=direction;dialog.lastState=null;dialog.state=dialog.lastState=$.verto.enum.state.new;dialog.callbacks=verto.callbacks;dialog.answered=false;dialog.attach=params.attach||false;dialog.screenShare=params.screenShare||false;dialog.useCamera=dialog.params.useCamera;dialog.useMic=dialog.params.useMic;dialog.useSpeak=dialog.params.useSpeak;if(dialog.params.callID){dialog.callID=dialog.params.callID;}else{dialog.callID=dialog.params.callID=generateGUID();} -if(typeof(dialog.params.tag)==="function"){dialog.params.tag=dialog.params.tag();} -if(dialog.params.tag){dialog.audioStream=document.getElementById(dialog.params.tag);if(dialog.params.useVideo){dialog.videoStream=dialog.audioStream;}} -if(dialog.params.localTag){dialog.localVideo=document.getElementById(dialog.params.localTag);} -dialog.verto.dialogs[dialog.callID]=dialog;var RTCcallbacks={};if(dialog.direction==$.verto.enum.direction.inbound){if(dialog.params.display_direction==="outbound"){dialog.params.remote_caller_id_name=dialog.params.caller_id_name;dialog.params.remote_caller_id_number=dialog.params.caller_id_number;}else{dialog.params.remote_caller_id_name=dialog.params.callee_id_name;dialog.params.remote_caller_id_number=dialog.params.callee_id_number;} -if(!dialog.params.remote_caller_id_name){dialog.params.remote_caller_id_name="Nobody";} -if(!dialog.params.remote_caller_id_number){dialog.params.remote_caller_id_number="UNKNOWN";} -RTCcallbacks.onMessage=function(rtc,msg){console.debug(msg);};RTCcallbacks.onAnswerSDP=function(rtc,sdp){console.error("answer sdp",sdp);};}else{dialog.params.remote_caller_id_name="Outbound Call";dialog.params.remote_caller_id_number=dialog.params.destination_number;} -RTCcallbacks.onICESDP=function(rtc){console.log("RECV "+rtc.type+" SDP",rtc.mediaData.SDP);if(dialog.state==$.verto.enum.state.requesting||dialog.state==$.verto.enum.state.answering||dialog.state==$.verto.enum.state.active){location.reload();return;} -if(rtc.type=="offer"){if(dialog.state==$.verto.enum.state.active){dialog.setState($.verto.enum.state.requesting);dialog.sendMethod("verto.attach",{sdp:rtc.mediaData.SDP});}else{dialog.setState($.verto.enum.state.requesting);dialog.sendMethod("verto.invite",{sdp:rtc.mediaData.SDP});}}else{dialog.setState($.verto.enum.state.answering);dialog.sendMethod(dialog.attach?"verto.attach":"verto.answer",{sdp:dialog.rtc.mediaData.SDP});}};RTCcallbacks.onICE=function(rtc){if(rtc.type=="offer"){console.log("offer",rtc.mediaData.candidate);return;}};RTCcallbacks.onStream=function(rtc,stream){if(dialog.verto.options.permissionCallback&&typeof dialog.verto.options.permissionCallback.onGranted==='function'){dialog.verto.options.permissionCallback.onGranted(stream);} -console.log("stream started");};RTCcallbacks.onError=function(e){if(dialog.verto.options.permissionCallback&&typeof dialog.verto.options.permissionCallback.onDenied==='function'){dialog.verto.options.permissionCallback.onDenied();} -console.error("ERROR:",e);dialog.hangup({cause:"Device or Permission Error"});};dialog.rtc=new $.FSRTC({callbacks:RTCcallbacks,localVideo:dialog.screenShare?null:dialog.localVideo,useVideo:dialog.params.useVideo?dialog.videoStream:null,useAudio:dialog.audioStream,useStereo:dialog.params.useStereo,videoParams:dialog.params.videoParams,audioParams:verto.options.audioParams,iceServers:verto.options.iceServers,screenShare:dialog.screenShare,useCamera:dialog.useCamera,useMic:dialog.useMic,useSpeak:dialog.useSpeak});dialog.rtc.verto=dialog.verto;if(dialog.direction==$.verto.enum.direction.inbound){if(dialog.attach){dialog.answer();}else{dialog.ring();}}};$.verto.dialog.prototype.invite=function(){var dialog=this;dialog.rtc.call();};$.verto.dialog.prototype.sendMethod=function(method,obj){var dialog=this;obj.dialogParams={};for(var i in dialog.params){if(i=="sdp"&&method!="verto.invite"&&method!="verto.attach"){continue;} -if((obj.noDialogParams&&i!="callID")){continue;} -obj.dialogParams[i]=dialog.params[i];} -delete obj.noDialogParams;dialog.verto.rpcClient.call(method,obj,function(e){dialog.processReply(method,true,e);},function(e){dialog.processReply(method,false,e);});};function checkStateChange(oldS,newS){if(newS==$.verto.enum.state.purge||$.verto.enum.states[oldS.name][newS.name]){return true;} -return false;} -function find_name(id){for(var i in $.verto.audioOutDevices){var source=$.verto.audioOutDevices[i];if(source.id===id){return(source.label);}} -return id;} -$.verto.dialog.prototype.setAudioPlaybackDevice=function(sinkId,callback,arg){var dialog=this;var element=dialog.audioStream;if(typeof element.sinkId!=='undefined'){var devname=find_name(sinkId);console.info("Dialog: "+dialog.callID+" Setting speaker:",element,devname);element.setSinkId(sinkId).then(function(){console.log("Dialog: "+dialog.callID+' Success, audio output device attached: '+sinkId);if(callback){callback(true,devname,arg);}}).catch(function(error){var errorMessage=error;if(error.name==='SecurityError'){errorMessage="Dialog: "+dialog.callID+' You need to use HTTPS for selecting audio output '+'device: '+error;} -if(callback){callback(false,null,arg);} -console.error(errorMessage);});}else{console.warn("Dialog: "+dialog.callID+' Browser does not support output device selection.');if(callback){callback(false,null,arg);}}} -$.verto.dialog.prototype.setState=function(state){var dialog=this;if(dialog.state==$.verto.enum.state.ringing){dialog.stopRinging();} -if(dialog.state==state||!checkStateChange(dialog.state,state)){console.error("Dialog "+dialog.callID+": INVALID state change from "+dialog.state.name+" to "+state.name);dialog.hangup();return false;} -console.log("Dialog "+dialog.callID+": state change from "+dialog.state.name+" to "+state.name);dialog.lastState=dialog.state;dialog.state=state;if(dialog.callbacks.onDialogState){dialog.callbacks.onDialogState(this);} -switch(dialog.state){case $.verto.enum.state.early:case $.verto.enum.state.active:var speaker=dialog.useSpeak;console.info("Using Speaker: ",speaker);if(speaker&&speaker!=="any"&&speaker!=="none"){setTimeout(function(){dialog.setAudioPlaybackDevice(speaker);},500);} -break;case $.verto.enum.state.trying:setTimeout(function(){if(dialog.state==$.verto.enum.state.trying){dialog.setState($.verto.enum.state.hangup);}},30000);break;case $.verto.enum.state.purge:dialog.setState($.verto.enum.state.destroy);break;case $.verto.enum.state.hangup:if(dialog.lastState.val>$.verto.enum.state.requesting.val&&dialog.lastState.val<$.verto.enum.state.hangup.val){dialog.sendMethod("verto.bye",{});} -dialog.setState($.verto.enum.state.destroy);break;case $.verto.enum.state.destroy:if(typeof(dialog.verto.options.tag)==="function"){$('#'+dialog.params.tag).remove();} -delete dialog.verto.dialogs[dialog.callID];if(dialog.params.screenShare){dialog.rtc.stopPeer();}else{dialog.rtc.stop();} -break;} -return true;};$.verto.dialog.prototype.processReply=function(method,success,e){var dialog=this;switch(method){case"verto.answer":case"verto.attach":if(success){dialog.setState($.verto.enum.state.active);}else{dialog.hangup();} -break;case"verto.invite":if(success){dialog.setState($.verto.enum.state.trying);}else{dialog.setState($.verto.enum.state.destroy);} -break;case"verto.bye":dialog.hangup();break;case"verto.modify":if(e.holdState){if(e.holdState=="held"){if(dialog.state!=$.verto.enum.state.held){dialog.setState($.verto.enum.state.held);}}else if(e.holdState=="active"){if(dialog.state!=$.verto.enum.state.active){dialog.setState($.verto.enum.state.active);}}} -if(success){} -break;default:break;}};$.verto.dialog.prototype.hangup=function(params){var dialog=this;if(params){if(params.causeCode){dialog.causeCode=params.causeCode;} -if(params.cause){dialog.cause=params.cause;}} -if(!dialog.cause&&!dialog.causeCode){dialog.cause="NORMAL_CLEARING";} -if(dialog.state.val>=$.verto.enum.state.new.val&&dialog.state.val<$.verto.enum.state.hangup.val){dialog.setState($.verto.enum.state.hangup);}else if(dialog.state.val<$.verto.enum.state.destroy){dialog.setState($.verto.enum.state.destroy);}};$.verto.dialog.prototype.stopRinging=function(){var dialog=this;if(dialog.verto.ringer){dialog.verto.ringer.stop();}};$.verto.dialog.prototype.indicateRing=function(){var dialog=this;if(dialog.verto.ringer){dialog.verto.ringer.attr("src",dialog.verto.options.ringFile)[0].play();setTimeout(function(){dialog.stopRinging();if(dialog.state==$.verto.enum.state.ringing){dialog.indicateRing();}},dialog.verto.options.ringSleep);}};$.verto.dialog.prototype.ring=function(){var dialog=this;dialog.setState($.verto.enum.state.ringing);dialog.indicateRing();};$.verto.dialog.prototype.useVideo=function(on){var dialog=this;dialog.params.useVideo=on;if(on){dialog.videoStream=dialog.audioStream;}else{dialog.videoStream=null;} -dialog.rtc.useVideo(dialog.videoStream,dialog.localVideo);};$.verto.dialog.prototype.setMute=function(what){var dialog=this;return dialog.rtc.setMute(what);};$.verto.dialog.prototype.getMute=function(){var dialog=this;return dialog.rtc.getMute();};$.verto.dialog.prototype.setVideoMute=function(what){var dialog=this;return dialog.rtc.setVideoMute(what);};$.verto.dialog.prototype.getVideoMute=function(){var dialog=this;return dialog.rtc.getVideoMute();};$.verto.dialog.prototype.useStereo=function(on){var dialog=this;dialog.params.useStereo=on;dialog.rtc.useStereo(on);};$.verto.dialog.prototype.dtmf=function(digits){var dialog=this;if(digits){dialog.sendMethod("verto.info",{dtmf:digits});}};$.verto.dialog.prototype.rtt=function(obj){var dialog=this;var pobj={};if(!obj){return false;} -pobj.code=obj.code;pobj.chars=obj.chars;if(pobj.chars||pobj.code){dialog.sendMethod("verto.info",{txt:obj,noDialogParams:true});}};$.verto.dialog.prototype.transfer=function(dest,params){var dialog=this;if(dest){dialog.sendMethod("verto.modify",{action:"transfer",destination:dest,params:params});}};$.verto.dialog.prototype.replace=function(replaceCallID,params){var dialog=this;if(replaceCallID){dialog.sendMethod("verto.modify",{action:"replace",replaceCallID:replaceCallID,params:params});}};$.verto.dialog.prototype.hold=function(params){var dialog=this;dialog.sendMethod("verto.modify",{action:"hold",params:params});};$.verto.dialog.prototype.unhold=function(params){var dialog=this;dialog.sendMethod("verto.modify",{action:"unhold",params:params});};$.verto.dialog.prototype.toggleHold=function(params){var dialog=this;dialog.sendMethod("verto.modify",{action:"toggleHold",params:params});};$.verto.dialog.prototype.message=function(msg){var dialog=this;var err=0;msg.from=dialog.params.login;if(!msg.to){console.error("Missing To");err++;} -if(!msg.body){console.error("Missing Body");err++;} -if(err){return false;} -dialog.sendMethod("verto.info",{msg:msg});return true;};$.verto.dialog.prototype.answer=function(params){var dialog=this;if(!dialog.answered){if(!params){params={};} -params.sdp=dialog.params.sdp;if(params){if(params.useVideo){dialog.useVideo(true);} -dialog.params.callee_id_name=params.callee_id_name;dialog.params.callee_id_number=params.callee_id_number;if(params.useCamera){dialog.useCamera=params.useCamera;} -if(params.useMic){dialog.useMic=params.useMic;} -if(params.useSpeak){dialog.useSpeak=params.useSpeak;}} -dialog.rtc.createAnswer(params);dialog.answered=true;}};$.verto.dialog.prototype.handleAnswer=function(params){var dialog=this;dialog.gotAnswer=true;if(dialog.state.val>=$.verto.enum.state.active.val){return;} -if(dialog.state.val>=$.verto.enum.state.early.val){dialog.setState($.verto.enum.state.active);}else{if(dialog.gotEarly){console.log("Dialog "+dialog.callID+" Got answer while still establishing early media, delaying...");}else{console.log("Dialog "+dialog.callID+" Answering Channel");dialog.rtc.answer(params.sdp,function(){dialog.setState($.verto.enum.state.active);},function(e){console.error(e);dialog.hangup();});console.log("Dialog "+dialog.callID+"ANSWER SDP",params.sdp);}}};$.verto.dialog.prototype.cidString=function(enc){var dialog=this;var party=dialog.params.remote_caller_id_name+(enc?" <":" <")+dialog.params.remote_caller_id_number+(enc?">":">");return party;};$.verto.dialog.prototype.sendMessage=function(msg,params){var dialog=this;if(dialog.callbacks.onMessage){dialog.callbacks.onMessage(dialog.verto,dialog,msg,params);}};$.verto.dialog.prototype.handleInfo=function(params){var dialog=this;dialog.sendMessage($.verto.enum.message.info,params);};$.verto.dialog.prototype.handleDisplay=function(params){var dialog=this;if(params.display_name){dialog.params.remote_caller_id_name=params.display_name;} -if(params.display_number){dialog.params.remote_caller_id_number=params.display_number;} -dialog.sendMessage($.verto.enum.message.display,{});};$.verto.dialog.prototype.handleMedia=function(params){var dialog=this;if(dialog.state.val>=$.verto.enum.state.early.val){return;} -dialog.gotEarly=true;dialog.rtc.answer(params.sdp,function(){console.log("Dialog "+dialog.callID+"Establishing early media");dialog.setState($.verto.enum.state.early);if(dialog.gotAnswer){console.log("Dialog "+dialog.callID+"Answering Channel");dialog.setState($.verto.enum.state.active);}},function(e){console.error(e);dialog.hangup();});console.log("Dialog "+dialog.callID+"EARLY SDP",params.sdp);};$.verto.ENUM=function(s){var i=0,o={};s.split(" ").map(function(x){o[x]={name:x,val:i++};});return Object.freeze(o);};$.verto.enum={};$.verto.enum.states=Object.freeze({new:{requesting:1,recovering:1,ringing:1,destroy:1,answering:1,hangup:1},requesting:{trying:1,hangup:1,active:1},recovering:{answering:1,hangup:1},trying:{active:1,early:1,hangup:1},ringing:{answering:1,hangup:1},answering:{active:1,hangup:1},active:{answering:1,requesting:1,hangup:1,held:1},held:{hangup:1,active:1},early:{hangup:1,active:1},hangup:{destroy:1},destroy:{},purge:{destroy:1}});$.verto.enum.state=$.verto.ENUM("new requesting trying recovering ringing answering early active held hangup destroy purge");$.verto.enum.direction=$.verto.ENUM("inbound outbound");$.verto.enum.message=$.verto.ENUM("display info pvtEvent clientReady");$.verto.enum=Object.freeze($.verto.enum);$.verto.saved=[];$.verto.unloadJobs=[];$(window).bind('beforeunload',function(){for(var f in $.verto.unloadJobs){$.verto.unloadJobs[f]();} -if($.verto.haltClosure) -return $.verto.haltClosure();for(var i in $.verto.saved){var verto=$.verto.saved[i];if(verto){verto.purge();verto.logout();}} -return $.verto.warnOnUnload;});$.verto.videoDevices=[];$.verto.audioInDevices=[];$.verto.audioOutDevices=[];var checkDevices=function(runtime){console.info("enumerating devices");var aud_in=[],aud_out=[],vid=[];var has_video=0,has_audio=0;var Xstream;function gotDevices(deviceInfos){for(var i=0;i!==deviceInfos.length;++i){var deviceInfo=deviceInfos[i];var text="";console.log(deviceInfo);console.log(deviceInfo.kind+": "+deviceInfo.label+" id = "+deviceInfo.deviceId);if(deviceInfo.kind==='audioinput'){text=deviceInfo.label||'microphone '+(aud_in.length+1);aud_in.push({id:deviceInfo.deviceId,kind:"audio_in",label:text});}else if(deviceInfo.kind==='audiooutput'){text=deviceInfo.label||'speaker '+(aud_out.length+1);aud_out.push({id:deviceInfo.deviceId,kind:"audio_out",label:text});}else if(deviceInfo.kind==='videoinput'){text=deviceInfo.label||'camera '+(vid.length+1);vid.push({id:deviceInfo.deviceId,kind:"video",label:text});}else{console.log('Some other kind of source/device: ',deviceInfo);}} -$.verto.videoDevices=vid;$.verto.audioInDevices=aud_in;$.verto.audioOutDevices=aud_out;console.info("Audio IN Devices",$.verto.audioInDevices);console.info("Audio Out Devices",$.verto.audioOutDevices);console.info("Video Devices",$.verto.videoDevices);if(Xstream){Xstream.getTracks().forEach(function(track){track.stop();});} -if(runtime){runtime(true);}} -function handleError(error){console.log('device enumeration error: ',error);if(runtime)runtime(false);} -function checkTypes(devs){for(var i=0;i!==devs.length;++i){if(devs[i].kind==='audioinput'){has_audio++;}else if(devs[i].kind==='videoinput'){has_video++;}} -navigator.getUserMedia({audio:(has_audio>0?true:false),video:(has_video>0?true:false)},function(stream){Xstream=stream;navigator.mediaDevices.enumerateDevices().then(gotDevices).catch(handleError);},function(err){console.log("The following error occurred: "+err.name);});} -navigator.mediaDevices.enumerateDevices().then(checkTypes).catch(handleError);};$.verto.refreshDevices=function(runtime){checkDevices(runtime);} -$.verto.init=function(obj,runtime){if(!obj){obj={};} -if(!obj.skipPermCheck&&!obj.skipDeviceCheck){$.FSRTC.checkPerms(function(status){checkDevices(runtime);},true,true);}else if(obj.skipPermCheck&&!obj.skipDeviceCheck){checkDevices(runtime);}else if(!obj.skipPermCheck&&obj.skipDeviceCheck){$.FSRTC.checkPerms(function(status){runtime(status);},true,true);}else{runtime(null);}} -$.verto.genUUID=function(){return generateGUID();}})(jQuery);(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.adapter=f()}})(function(){var define,module,exports;return(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o=14393&&url.indexOf('?transport=udp')===-1;});delete server.url;server.urls=isString?urls[0]:urls;return!!urls.length;}});} -function getCommonCapabilities(localCapabilities,remoteCapabilities){var commonCapabilities={codecs:[],headerExtensions:[],fecMechanisms:[]};var findCodecByPayloadType=function(pt,codecs){pt=parseInt(pt,10);for(var i=0;i0;i--){this._iceGatherers=new window.RTCIceGatherer({iceServers:config.iceServers,gatherPolicy:config.iceTransportPolicy});}}else{config.iceCandidatePoolSize=0;} -this._config=config;this.transceivers=[];this._sdpSessionId=SDPUtils.generateSessionId();this._sdpSessionVersion=0;this._dtlsRole=undefined;this._isClosed=false;};RTCPeerConnection.prototype.onicecandidate=null;RTCPeerConnection.prototype.onaddstream=null;RTCPeerConnection.prototype.ontrack=null;RTCPeerConnection.prototype.onremovestream=null;RTCPeerConnection.prototype.onsignalingstatechange=null;RTCPeerConnection.prototype.oniceconnectionstatechange=null;RTCPeerConnection.prototype.onicegatheringstatechange=null;RTCPeerConnection.prototype.onnegotiationneeded=null;RTCPeerConnection.prototype.ondatachannel=null;RTCPeerConnection.prototype._dispatchEvent=function(name,event){if(this._isClosed){return;} -this.dispatchEvent(event);if(typeof this['on'+name]==='function'){this['on'+name](event);}};RTCPeerConnection.prototype._emitGatheringStateChange=function(){var event=new Event('icegatheringstatechange');this._dispatchEvent('icegatheringstatechange',event);};RTCPeerConnection.prototype.getConfiguration=function(){return this._config;};RTCPeerConnection.prototype.getLocalStreams=function(){return this.localStreams;};RTCPeerConnection.prototype.getRemoteStreams=function(){return this.remoteStreams;};RTCPeerConnection.prototype._createTransceiver=function(kind){var hasBundleTransport=this.transceivers.length>0;var transceiver={track:null,iceGatherer:null,iceTransport:null,dtlsTransport:null,localCapabilities:null,remoteCapabilities:null,rtpSender:null,rtpReceiver:null,kind:kind,mid:null,sendEncodingParameters:null,recvEncodingParameters:null,stream:null,associatedRemoteMediaStreams:[],wantReceive:true};if(this.usingBundle&&hasBundleTransport){transceiver.iceTransport=this.transceivers[0].iceTransport;transceiver.dtlsTransport=this.transceivers[0].dtlsTransport;}else{var transports=this._createIceAndDtlsTransports();transceiver.iceTransport=transports.iceTransport;transceiver.dtlsTransport=transports.dtlsTransport;} -this.transceivers.push(transceiver);return transceiver;};RTCPeerConnection.prototype.addTrack=function(track,stream){var alreadyExists=this.transceivers.find(function(s){return s.track===track;});if(alreadyExists){throw makeError('InvalidAccessError','Track already exists.');} -if(this.signalingState==='closed'){throw makeError('InvalidStateError','Attempted to call addTrack on a closed peerconnection.');} -var transceiver;for(var i=0;i=15025){stream.getTracks().forEach(function(track){pc.addTrack(track,stream);});}else{var clonedStream=stream.clone();stream.getTracks().forEach(function(track,idx){var clonedTrack=clonedStream.getTracks()[idx];track.addEventListener('enabled',function(event){clonedTrack.enabled=event.enabled;});});clonedStream.getTracks().forEach(function(track){pc.addTrack(track,clonedStream);});}};RTCPeerConnection.prototype.removeTrack=function(sender){if(!(sender instanceof window.RTCRtpSender)){throw new TypeError('Argument 1 of RTCPeerConnection.removeTrack '+'does not implement interface RTCRtpSender.');} -var transceiver=this.transceivers.find(function(t){return t.rtpSender===sender;});if(!transceiver){throw makeError('InvalidAccessError','Sender was not created by this connection.');} -var stream=transceiver.stream;transceiver.rtpSender.stop();transceiver.rtpSender=null;transceiver.track=null;transceiver.stream=null;var localStreams=this.transceivers.map(function(t){return t.stream;});if(localStreams.indexOf(stream)===-1&&this.localStreams.indexOf(stream)>-1){this.localStreams.splice(this.localStreams.indexOf(stream),1);} -this._maybeFireNegotiationNeeded();};RTCPeerConnection.prototype.removeStream=function(stream){var pc=this;stream.getTracks().forEach(function(track){var sender=pc.getSenders().find(function(s){return s.track===track;});if(sender){pc.removeTrack(sender);}});};RTCPeerConnection.prototype.getSenders=function(){return this.transceivers.filter(function(transceiver){return!!transceiver.rtpSender;}).map(function(transceiver){return transceiver.rtpSender;});};RTCPeerConnection.prototype.getReceivers=function(){return this.transceivers.filter(function(transceiver){return!!transceiver.rtpReceiver;}).map(function(transceiver){return transceiver.rtpReceiver;});};RTCPeerConnection.prototype._createIceGatherer=function(sdpMLineIndex,usingBundle){var pc=this;if(usingBundle&&sdpMLineIndex>0){return this.transceivers[0].iceGatherer;}else if(this._iceGatherers.length){return this._iceGatherers.shift();} -var iceGatherer=new window.RTCIceGatherer({iceServers:this._config.iceServers,gatherPolicy:this._config.iceTransportPolicy});Object.defineProperty(iceGatherer,'state',{value:'new',writable:true});this.transceivers[sdpMLineIndex].candidates=[];this.transceivers[sdpMLineIndex].bufferCandidates=function(event){var end=!event.candidate||Object.keys(event.candidate).length===0;iceGatherer.state=end?'completed':'gathering';if(pc.transceivers[sdpMLineIndex].candidates!==null){pc.transceivers[sdpMLineIndex].candidates.push(event.candidate);}};iceGatherer.addEventListener('localcandidate',this.transceivers[sdpMLineIndex].bufferCandidates);return iceGatherer;};RTCPeerConnection.prototype._gather=function(mid,sdpMLineIndex){var pc=this;var iceGatherer=this.transceivers[sdpMLineIndex].iceGatherer;if(iceGatherer.onlocalcandidate){return;} -var candidates=this.transceivers[sdpMLineIndex].candidates;this.transceivers[sdpMLineIndex].candidates=null;iceGatherer.removeEventListener('localcandidate',this.transceivers[sdpMLineIndex].bufferCandidates);iceGatherer.onlocalcandidate=function(evt){if(pc.usingBundle&&sdpMLineIndex>0){return;} -var event=new Event('icecandidate');event.candidate={sdpMid:mid,sdpMLineIndex:sdpMLineIndex};var cand=evt.candidate;var end=!cand||Object.keys(cand).length===0;if(end){if(iceGatherer.state==='new'||iceGatherer.state==='gathering'){iceGatherer.state='completed';}}else{if(iceGatherer.state==='new'){iceGatherer.state='gathering';} -cand.component=1;event.candidate.candidate=SDPUtils.writeCandidate(cand);} -var sections=SDPUtils.splitSections(pc.localDescription.sdp);if(!end){sections[event.candidate.sdpMLineIndex+1]+='a='+event.candidate.candidate+'\r\n';}else{sections[event.candidate.sdpMLineIndex+1]+='a=end-of-candidates\r\n';} -pc.localDescription.sdp=sections.join('');var complete=pc.transceivers.every(function(transceiver){return transceiver.iceGatherer&&transceiver.iceGatherer.state==='completed';});if(pc.iceGatheringState!=='gathering'){pc.iceGatheringState='gathering';pc._emitGatheringStateChange();} -if(!end){pc._dispatchEvent('icecandidate',event);} -if(complete){pc._dispatchEvent('icecandidate',new Event('icecandidate'));pc.iceGatheringState='complete';pc._emitGatheringStateChange();}};window.setTimeout(function(){candidates.forEach(function(candidate){var e=new Event('RTCIceGatherEvent');e.candidate=candidate;iceGatherer.onlocalcandidate(e);});},0);};RTCPeerConnection.prototype._createIceAndDtlsTransports=function(){var pc=this;var iceTransport=new window.RTCIceTransport(null);iceTransport.onicestatechange=function(){pc._updateConnectionState();};var dtlsTransport=new window.RTCDtlsTransport(iceTransport);dtlsTransport.ondtlsstatechange=function(){pc._updateConnectionState();};dtlsTransport.onerror=function(){Object.defineProperty(dtlsTransport,'state',{value:'failed',writable:true});pc._updateConnectionState();};return{iceTransport:iceTransport,dtlsTransport:dtlsTransport};};RTCPeerConnection.prototype._disposeIceAndDtlsTransports=function(sdpMLineIndex){var iceGatherer=this.transceivers[sdpMLineIndex].iceGatherer;if(iceGatherer){delete iceGatherer.onlocalcandidate;delete this.transceivers[sdpMLineIndex].iceGatherer;} -var iceTransport=this.transceivers[sdpMLineIndex].iceTransport;if(iceTransport){delete iceTransport.onicestatechange;delete this.transceivers[sdpMLineIndex].iceTransport;} -var dtlsTransport=this.transceivers[sdpMLineIndex].dtlsTransport;if(dtlsTransport){delete dtlsTransport.ondtlsstatechange;delete dtlsTransport.onerror;delete this.transceivers[sdpMLineIndex].dtlsTransport;}};RTCPeerConnection.prototype._transceive=function(transceiver,send,recv){var params=getCommonCapabilities(transceiver.localCapabilities,transceiver.remoteCapabilities);if(send&&transceiver.rtpSender){params.encodings=transceiver.sendEncodingParameters;params.rtcp={cname:SDPUtils.localCName,compound:transceiver.rtcpParameters.compound};if(transceiver.recvEncodingParameters.length){params.rtcp.ssrc=transceiver.recvEncodingParameters[0].ssrc;} -transceiver.rtpSender.send(params);} -if(recv&&transceiver.rtpReceiver&¶ms.codecs.length>0){if(transceiver.kind==='video'&&transceiver.recvEncodingParameters&&edgeVersion<15019){transceiver.recvEncodingParameters.forEach(function(p){delete p.rtx;});} -if(transceiver.recvEncodingParameters.length){params.encodings=transceiver.recvEncodingParameters;} -params.rtcp={compound:transceiver.rtcpParameters.compound};if(transceiver.rtcpParameters.cname){params.rtcp.cname=transceiver.rtcpParameters.cname;} -if(transceiver.sendEncodingParameters.length){params.rtcp.ssrc=transceiver.sendEncodingParameters[0].ssrc;} -transceiver.rtpReceiver.receive(params);}};RTCPeerConnection.prototype.setLocalDescription=function(description){var pc=this;if(!isActionAllowedInSignalingState('setLocalDescription',description.type,this.signalingState)||this._isClosed){return Promise.reject(makeError('InvalidStateError','Can not set local '+description.type+' in state '+pc.signalingState));} -var sections;var sessionpart;if(description.type==='offer'){sections=SDPUtils.splitSections(description.sdp);sessionpart=sections.shift();sections.forEach(function(mediaSection,sdpMLineIndex){var caps=SDPUtils.parseRtpParameters(mediaSection);pc.transceivers[sdpMLineIndex].localCapabilities=caps;});this.transceivers.forEach(function(transceiver,sdpMLineIndex){pc._gather(transceiver.mid,sdpMLineIndex);});}else if(description.type==='answer'){sections=SDPUtils.splitSections(pc.remoteDescription.sdp);sessionpart=sections.shift();var isIceLite=SDPUtils.matchPrefix(sessionpart,'a=ice-lite').length>0;sections.forEach(function(mediaSection,sdpMLineIndex){var transceiver=pc.transceivers[sdpMLineIndex];var iceGatherer=transceiver.iceGatherer;var iceTransport=transceiver.iceTransport;var dtlsTransport=transceiver.dtlsTransport;var localCapabilities=transceiver.localCapabilities;var remoteCapabilities=transceiver.remoteCapabilities;var rejected=SDPUtils.isRejected(mediaSection)&&SDPUtils.matchPrefix(mediaSection,'a=bundle-only').length===0;if(!rejected&&!transceiver.isDatachannel){var remoteIceParameters=SDPUtils.getIceParameters(mediaSection,sessionpart);var remoteDtlsParameters=SDPUtils.getDtlsParameters(mediaSection,sessionpart);if(isIceLite){remoteDtlsParameters.role='server';} -if(!pc.usingBundle||sdpMLineIndex===0){pc._gather(transceiver.mid,sdpMLineIndex);if(iceTransport.state==='new'){iceTransport.start(iceGatherer,remoteIceParameters,isIceLite?'controlling':'controlled');} -if(dtlsTransport.state==='new'){dtlsTransport.start(remoteDtlsParameters);}} -var params=getCommonCapabilities(localCapabilities,remoteCapabilities);pc._transceive(transceiver,params.codecs.length>0,false);}});} -this.localDescription={type:description.type,sdp:description.sdp};switch(description.type){case'offer':this._updateSignalingState('have-local-offer');break;case'answer':this._updateSignalingState('stable');break;default:throw new TypeError('unsupported type "'+description.type+'"');} -return Promise.resolve();};RTCPeerConnection.prototype.setRemoteDescription=function(description){var pc=this;if(!isActionAllowedInSignalingState('setRemoteDescription',description.type,this.signalingState)||this._isClosed){return Promise.reject(makeError('InvalidStateError','Can not set remote '+description.type+' in state '+pc.signalingState));} -var streams={};this.remoteStreams.forEach(function(stream){streams[stream.id]=stream;});var receiverList=[];var sections=SDPUtils.splitSections(description.sdp);var sessionpart=sections.shift();var isIceLite=SDPUtils.matchPrefix(sessionpart,'a=ice-lite').length>0;var usingBundle=SDPUtils.matchPrefix(sessionpart,'a=group:BUNDLE ').length>0;this.usingBundle=usingBundle;var iceOptions=SDPUtils.matchPrefix(sessionpart,'a=ice-options:')[0];if(iceOptions){this.canTrickleIceCandidates=iceOptions.substr(14).split(' ').indexOf('trickle')>=0;}else{this.canTrickleIceCandidates=false;} -sections.forEach(function(mediaSection,sdpMLineIndex){var lines=SDPUtils.splitLines(mediaSection);var kind=SDPUtils.getKind(mediaSection);var rejected=SDPUtils.isRejected(mediaSection)&&SDPUtils.matchPrefix(mediaSection,'a=bundle-only').length===0;var protocol=lines[0].substr(2).split(' ')[2];var direction=SDPUtils.getDirection(mediaSection,sessionpart);var remoteMsid=SDPUtils.parseMsid(mediaSection);var mid=SDPUtils.getMid(mediaSection)||SDPUtils.generateIdentifier();if(kind==='application'&&protocol==='DTLS/SCTP'){pc.transceivers[sdpMLineIndex]={mid:mid,isDatachannel:true};return;} -var transceiver;var iceGatherer;var iceTransport;var dtlsTransport;var rtpReceiver;var sendEncodingParameters;var recvEncodingParameters;var localCapabilities;var track;var remoteCapabilities=SDPUtils.parseRtpParameters(mediaSection);var remoteIceParameters;var remoteDtlsParameters;if(!rejected){remoteIceParameters=SDPUtils.getIceParameters(mediaSection,sessionpart);remoteDtlsParameters=SDPUtils.getDtlsParameters(mediaSection,sessionpart);remoteDtlsParameters.role='client';} -recvEncodingParameters=SDPUtils.parseRtpEncodingParameters(mediaSection);var rtcpParameters=SDPUtils.parseRtcpParameters(mediaSection);var isComplete=SDPUtils.matchPrefix(mediaSection,'a=end-of-candidates',sessionpart).length>0;var cands=SDPUtils.matchPrefix(mediaSection,'a=candidate:').map(function(cand){return SDPUtils.parseCandidate(cand);}).filter(function(cand){return cand.component===1;});if((description.type==='offer'||description.type==='answer')&&!rejected&&usingBundle&&sdpMLineIndex>0&&pc.transceivers[sdpMLineIndex]){pc._disposeIceAndDtlsTransports(sdpMLineIndex);pc.transceivers[sdpMLineIndex].iceGatherer=pc.transceivers[0].iceGatherer;pc.transceivers[sdpMLineIndex].iceTransport=pc.transceivers[0].iceTransport;pc.transceivers[sdpMLineIndex].dtlsTransport=pc.transceivers[0].dtlsTransport;if(pc.transceivers[sdpMLineIndex].rtpSender){pc.transceivers[sdpMLineIndex].rtpSender.setTransport(pc.transceivers[0].dtlsTransport);} -if(pc.transceivers[sdpMLineIndex].rtpReceiver){pc.transceivers[sdpMLineIndex].rtpReceiver.setTransport(pc.transceivers[0].dtlsTransport);}} -if(description.type==='offer'&&!rejected){transceiver=pc.transceivers[sdpMLineIndex]||pc._createTransceiver(kind);transceiver.mid=mid;if(!transceiver.iceGatherer){transceiver.iceGatherer=pc._createIceGatherer(sdpMLineIndex,usingBundle);} -if(cands.length&&transceiver.iceTransport.state==='new'){if(isComplete&&(!usingBundle||sdpMLineIndex===0)){transceiver.iceTransport.setRemoteCandidates(cands);}else{cands.forEach(function(candidate){maybeAddCandidate(transceiver.iceTransport,candidate);});}} -localCapabilities=window.RTCRtpReceiver.getCapabilities(kind);if(edgeVersion<15019){localCapabilities.codecs=localCapabilities.codecs.filter(function(codec){return codec.name!=='rtx';});} -sendEncodingParameters=transceiver.sendEncodingParameters||[{ssrc:(2*sdpMLineIndex+2)*1001}];var isNewTrack=false;if(direction==='sendrecv'||direction==='sendonly'){isNewTrack=!transceiver.rtpReceiver;rtpReceiver=transceiver.rtpReceiver||new window.RTCRtpReceiver(transceiver.dtlsTransport,kind);if(isNewTrack){var stream;track=rtpReceiver.track;if(remoteMsid&&remoteMsid.stream==='-'){}else if(remoteMsid){if(!streams[remoteMsid.stream]){streams[remoteMsid.stream]=new window.MediaStream();Object.defineProperty(streams[remoteMsid.stream],'id',{get:function(){return remoteMsid.stream;}});} -Object.defineProperty(track,'id',{get:function(){return remoteMsid.track;}});stream=streams[remoteMsid.stream];}else{if(!streams.default){streams.default=new window.MediaStream();} -stream=streams.default;} -if(stream){addTrackToStreamAndFireEvent(track,stream);transceiver.associatedRemoteMediaStreams.push(stream);} -receiverList.push([track,rtpReceiver,stream]);}}else if(transceiver.rtpReceiver&&transceiver.rtpReceiver.track){transceiver.associatedRemoteMediaStreams.forEach(function(s){var nativeTrack=s.getTracks().find(function(t){return t.id===transceiver.rtpReceiver.track.id;});if(nativeTrack){removeTrackFromStreamAndFireEvent(nativeTrack,s);}});transceiver.associatedRemoteMediaStreams=[];} -transceiver.localCapabilities=localCapabilities;transceiver.remoteCapabilities=remoteCapabilities;transceiver.rtpReceiver=rtpReceiver;transceiver.rtcpParameters=rtcpParameters;transceiver.sendEncodingParameters=sendEncodingParameters;transceiver.recvEncodingParameters=recvEncodingParameters;pc._transceive(pc.transceivers[sdpMLineIndex],false,isNewTrack);}else if(description.type==='answer'&&!rejected){transceiver=pc.transceivers[sdpMLineIndex];iceGatherer=transceiver.iceGatherer;iceTransport=transceiver.iceTransport;dtlsTransport=transceiver.dtlsTransport;rtpReceiver=transceiver.rtpReceiver;sendEncodingParameters=transceiver.sendEncodingParameters;localCapabilities=transceiver.localCapabilities;pc.transceivers[sdpMLineIndex].recvEncodingParameters=recvEncodingParameters;pc.transceivers[sdpMLineIndex].remoteCapabilities=remoteCapabilities;pc.transceivers[sdpMLineIndex].rtcpParameters=rtcpParameters;if(cands.length&&iceTransport.state==='new'){if((isIceLite||isComplete)&&(!usingBundle||sdpMLineIndex===0)){iceTransport.setRemoteCandidates(cands);}else{cands.forEach(function(candidate){maybeAddCandidate(transceiver.iceTransport,candidate);});}} -if(!usingBundle||sdpMLineIndex===0){if(iceTransport.state==='new'){iceTransport.start(iceGatherer,remoteIceParameters,'controlling');} -if(dtlsTransport.state==='new'){dtlsTransport.start(remoteDtlsParameters);}} -pc._transceive(transceiver,direction==='sendrecv'||direction==='recvonly',direction==='sendrecv'||direction==='sendonly');if(rtpReceiver&&(direction==='sendrecv'||direction==='sendonly')){track=rtpReceiver.track;if(remoteMsid){if(!streams[remoteMsid.stream]){streams[remoteMsid.stream]=new window.MediaStream();} -addTrackToStreamAndFireEvent(track,streams[remoteMsid.stream]);receiverList.push([track,rtpReceiver,streams[remoteMsid.stream]]);}else{if(!streams.default){streams.default=new window.MediaStream();} -addTrackToStreamAndFireEvent(track,streams.default);receiverList.push([track,rtpReceiver,streams.default]);}}else{delete transceiver.rtpReceiver;}}});if(this._dtlsRole===undefined){this._dtlsRole=description.type==='offer'?'active':'passive';} -this.remoteDescription={type:description.type,sdp:description.sdp};switch(description.type){case'offer':this._updateSignalingState('have-remote-offer');break;case'answer':this._updateSignalingState('stable');break;default:throw new TypeError('unsupported type "'+description.type+'"');} -Object.keys(streams).forEach(function(sid){var stream=streams[sid];if(stream.getTracks().length){if(pc.remoteStreams.indexOf(stream)===-1){pc.remoteStreams.push(stream);var event=new Event('addstream');event.stream=stream;window.setTimeout(function(){pc._dispatchEvent('addstream',event);});} -receiverList.forEach(function(item){var track=item[0];var receiver=item[1];if(stream.id!==item[2].id){return;} -fireAddTrack(pc,track,receiver,[stream]);});}});receiverList.forEach(function(item){if(item[2]){return;} -fireAddTrack(pc,item[0],item[1],[]);});window.setTimeout(function(){if(!(pc&&pc.transceivers)){return;} -pc.transceivers.forEach(function(transceiver){if(transceiver.iceTransport&&transceiver.iceTransport.state==='new'&&transceiver.iceTransport.getRemoteCandidates().length>0){console.warn('Timeout for addRemoteCandidate. Consider sending '+'an end-of-candidates notification');transceiver.iceTransport.addRemoteCandidate({});}});},4000);return Promise.resolve();};RTCPeerConnection.prototype.close=function(){this.transceivers.forEach(function(transceiver){if(transceiver.iceTransport){transceiver.iceTransport.stop();} -if(transceiver.dtlsTransport){transceiver.dtlsTransport.stop();} -if(transceiver.rtpSender){transceiver.rtpSender.stop();} -if(transceiver.rtpReceiver){transceiver.rtpReceiver.stop();}});this._isClosed=true;this._updateSignalingState('closed');};RTCPeerConnection.prototype._updateSignalingState=function(newState){this.signalingState=newState;var event=new Event('signalingstatechange');this._dispatchEvent('signalingstatechange',event);};RTCPeerConnection.prototype._maybeFireNegotiationNeeded=function(){var pc=this;if(this.signalingState!=='stable'||this.needNegotiation===true){return;} -this.needNegotiation=true;window.setTimeout(function(){if(pc.needNegotiation===false){return;} -pc.needNegotiation=false;var event=new Event('negotiationneeded');pc._dispatchEvent('negotiationneeded',event);},0);};RTCPeerConnection.prototype._updateConnectionState=function(){var newState;var states={'new':0,closed:0,connecting:0,checking:0,connected:0,completed:0,disconnected:0,failed:0};this.transceivers.forEach(function(transceiver){states[transceiver.iceTransport.state]++;states[transceiver.dtlsTransport.state]++;});states.connected+=states.completed;newState='new';if(states.failed>0){newState='failed';}else if(states.connecting>0||states.checking>0){newState='connecting';}else if(states.disconnected>0){newState='disconnected';}else if(states.new>0){newState='new';}else if(states.connected>0||states.completed>0){newState='connected';} -if(newState!==this.iceConnectionState){this.iceConnectionState=newState;var event=new Event('iceconnectionstatechange');this._dispatchEvent('iceconnectionstatechange',event);}};RTCPeerConnection.prototype.createOffer=function(){var pc=this;if(this._isClosed){return Promise.reject(makeError('InvalidStateError','Can not call createOffer after close'));} -var numAudioTracks=this.transceivers.filter(function(t){return t.kind==='audio';}).length;var numVideoTracks=this.transceivers.filter(function(t){return t.kind==='video';}).length;var offerOptions=arguments[0];if(offerOptions){if(offerOptions.mandatory||offerOptions.optional){throw new TypeError('Legacy mandatory/optional constraints not supported.');} -if(offerOptions.offerToReceiveAudio!==undefined){if(offerOptions.offerToReceiveAudio===true){numAudioTracks=1;}else if(offerOptions.offerToReceiveAudio===false){numAudioTracks=0;}else{numAudioTracks=offerOptions.offerToReceiveAudio;}} -if(offerOptions.offerToReceiveVideo!==undefined){if(offerOptions.offerToReceiveVideo===true){numVideoTracks=1;}else if(offerOptions.offerToReceiveVideo===false){numVideoTracks=0;}else{numVideoTracks=offerOptions.offerToReceiveVideo;}}} -this.transceivers.forEach(function(transceiver){if(transceiver.kind==='audio'){numAudioTracks--;if(numAudioTracks<0){transceiver.wantReceive=false;}}else if(transceiver.kind==='video'){numVideoTracks--;if(numVideoTracks<0){transceiver.wantReceive=false;}}});while(numAudioTracks>0||numVideoTracks>0){if(numAudioTracks>0){this._createTransceiver('audio');numAudioTracks--;} -if(numVideoTracks>0){this._createTransceiver('video');numVideoTracks--;}} -var sdp=SDPUtils.writeSessionBoilerplate(this._sdpSessionId,this._sdpSessionVersion++);this.transceivers.forEach(function(transceiver,sdpMLineIndex){var track=transceiver.track;var kind=transceiver.kind;var mid=SDPUtils.generateIdentifier();transceiver.mid=mid;if(!transceiver.iceGatherer){transceiver.iceGatherer=pc._createIceGatherer(sdpMLineIndex,pc.usingBundle);} -var localCapabilities=window.RTCRtpSender.getCapabilities(kind);if(edgeVersion<15019){localCapabilities.codecs=localCapabilities.codecs.filter(function(codec){return codec.name!=='rtx';});} -localCapabilities.codecs.forEach(function(codec){if(codec.name==='H264'&&codec.parameters['level-asymmetry-allowed']===undefined){codec.parameters['level-asymmetry-allowed']='1';}});var sendEncodingParameters=transceiver.sendEncodingParameters||[{ssrc:(2*sdpMLineIndex+1)*1001}];if(track){if(edgeVersion>=15019&&kind==='video'&&!sendEncodingParameters[0].rtx){sendEncodingParameters[0].rtx={ssrc:sendEncodingParameters[0].ssrc+1};}} -if(transceiver.wantReceive){transceiver.rtpReceiver=new window.RTCRtpReceiver(transceiver.dtlsTransport,kind);} -transceiver.localCapabilities=localCapabilities;transceiver.sendEncodingParameters=sendEncodingParameters;});if(this._config.bundlePolicy!=='max-compat'){sdp+='a=group:BUNDLE '+this.transceivers.map(function(t){return t.mid;}).join(' ')+'\r\n';} -sdp+='a=ice-options:trickle\r\n';this.transceivers.forEach(function(transceiver,sdpMLineIndex){sdp+=writeMediaSection(transceiver,transceiver.localCapabilities,'offer',transceiver.stream,pc._dtlsRole);sdp+='a=rtcp-rsize\r\n';if(transceiver.iceGatherer&&pc.iceGatheringState!=='new'&&(sdpMLineIndex===0||!pc.usingBundle)){transceiver.iceGatherer.getLocalCandidates().forEach(function(cand){cand.component=1;sdp+='a='+SDPUtils.writeCandidate(cand)+'\r\n';});if(transceiver.iceGatherer.state==='completed'){sdp+='a=end-of-candidates\r\n';}}});var desc=new window.RTCSessionDescription({type:'offer',sdp:sdp});return Promise.resolve(desc);};RTCPeerConnection.prototype.createAnswer=function(){var pc=this;if(this._isClosed){return Promise.reject(makeError('InvalidStateError','Can not call createAnswer after close'));} -var sdp=SDPUtils.writeSessionBoilerplate(this._sdpSessionId,this._sdpSessionVersion++);if(this.usingBundle){sdp+='a=group:BUNDLE '+this.transceivers.map(function(t){return t.mid;}).join(' ')+'\r\n';} -var mediaSectionsInOffer=SDPUtils.splitSections(this.remoteDescription.sdp).length-1;this.transceivers.forEach(function(transceiver,sdpMLineIndex){if(sdpMLineIndex+1>mediaSectionsInOffer){return;} -if(transceiver.isDatachannel){sdp+='m=application 0 DTLS/SCTP 5000\r\n'+'c=IN IP4 0.0.0.0\r\n'+'a=mid:'+transceiver.mid+'\r\n';return;} -if(transceiver.stream){var localTrack;if(transceiver.kind==='audio'){localTrack=transceiver.stream.getAudioTracks()[0];}else if(transceiver.kind==='video'){localTrack=transceiver.stream.getVideoTracks()[0];} -if(localTrack){if(edgeVersion>=15019&&transceiver.kind==='video'&&!transceiver.sendEncodingParameters[0].rtx){transceiver.sendEncodingParameters[0].rtx={ssrc:transceiver.sendEncodingParameters[0].ssrc+1};}}} -var commonCapabilities=getCommonCapabilities(transceiver.localCapabilities,transceiver.remoteCapabilities);var hasRtx=commonCapabilities.codecs.filter(function(c){return c.name.toLowerCase()==='rtx';}).length;if(!hasRtx&&transceiver.sendEncodingParameters[0].rtx){delete transceiver.sendEncodingParameters[0].rtx;} -sdp+=writeMediaSection(transceiver,commonCapabilities,'answer',transceiver.stream,pc._dtlsRole);if(transceiver.rtcpParameters&&transceiver.rtcpParameters.reducedSize){sdp+='a=rtcp-rsize\r\n';}});var desc=new window.RTCSessionDescription({type:'answer',sdp:sdp});return Promise.resolve(desc);};RTCPeerConnection.prototype.addIceCandidate=function(candidate){var sections;if(!candidate||candidate.candidate===''){for(var j=0;j0?SDPUtils.parseCandidate(candidate.candidate):{};if(cand.protocol==='tcp'&&(cand.port===0||cand.port===9)){return Promise.resolve();} -if(cand.component&&cand.component!==1){return Promise.resolve();} -if(sdpMLineIndex===0||(sdpMLineIndex>0&&transceiver.iceTransport!==this.transceivers[0].iceTransport)){if(!maybeAddCandidate(transceiver.iceTransport,cand)){return Promise.reject(makeError('OperationError','Can not add ICE candidate'));}} -var candidateString=candidate.candidate.trim();if(candidateString.indexOf('a=')===0){candidateString=candidateString.substr(2);} -sections=SDPUtils.splitSections(this.remoteDescription.sdp);sections[sdpMLineIndex+1]+='a='+ -(cand.type?candidateString:'end-of-candidates') -+'\r\n';this.remoteDescription.sdp=sections.join('');}else{return Promise.reject(makeError('OperationError','Can not add ICE candidate'));}} -return Promise.resolve();};RTCPeerConnection.prototype.getStats=function(){var promises=[];this.transceivers.forEach(function(transceiver){['rtpSender','rtpReceiver','iceGatherer','iceTransport','dtlsTransport'].forEach(function(method){if(transceiver[method]){promises.push(transceiver[method].getStats());}});});var fixStatsType=function(stat){return{inboundrtp:'inbound-rtp',outboundrtp:'outbound-rtp',candidatepair:'candidate-pair',localcandidate:'local-candidate',remotecandidate:'remote-candidate'}[stat.type]||stat.type;};return new Promise(function(resolve){var results=new Map();Promise.all(promises).then(function(res){res.forEach(function(result){Object.keys(result).forEach(function(id){result[id].type=fixStatsType(result[id]);results.set(id,result[id]);});});resolve(results);});});};var methods=['createOffer','createAnswer'];methods.forEach(function(method){var nativeMethod=RTCPeerConnection.prototype[method];RTCPeerConnection.prototype[method]=function(){var args=arguments;if(typeof args[0]==='function'||typeof args[1]==='function'){return nativeMethod.apply(this,[arguments[2]]).then(function(description){if(typeof args[0]==='function'){args[0].apply(null,[description]);}},function(error){if(typeof args[1]==='function'){args[1].apply(null,[error]);}});} -return nativeMethod.apply(this,arguments);};});methods=['setLocalDescription','setRemoteDescription','addIceCandidate'];methods.forEach(function(method){var nativeMethod=RTCPeerConnection.prototype[method];RTCPeerConnection.prototype[method]=function(){var args=arguments;if(typeof args[1]==='function'||typeof args[2]==='function'){return nativeMethod.apply(this,arguments).then(function(){if(typeof args[1]==='function'){args[1].apply(null);}},function(error){if(typeof args[2]==='function'){args[2].apply(null,[error]);}});} -return nativeMethod.apply(this,arguments);};});['getStats'].forEach(function(method){var nativeMethod=RTCPeerConnection.prototype[method];RTCPeerConnection.prototype[method]=function(){var args=arguments;if(typeof args[1]==='function'){return nativeMethod.apply(this,arguments).then(function(){if(typeof args[1]==='function'){args[1].apply(null);}});} -return nativeMethod.apply(this,arguments);};});return RTCPeerConnection;};},{"sdp":2}],2:[function(require,module,exports){'use strict';var SDPUtils={};SDPUtils.generateIdentifier=function(){return Math.random().toString(36).substr(2,10);};SDPUtils.localCName=SDPUtils.generateIdentifier();SDPUtils.splitLines=function(blob){return blob.trim().split('\n').map(function(line){return line.trim();});};SDPUtils.splitSections=function(blob){var parts=blob.split('\nm=');return parts.map(function(part,index){return(index>0?'m='+part:part).trim()+'\r\n';});};SDPUtils.matchPrefix=function(blob,prefix){return SDPUtils.splitLines(blob).filter(function(line){return line.indexOf(prefix)===0;});};SDPUtils.parseCandidate=function(line){var parts;if(line.indexOf('a=candidate:')===0){parts=line.substring(12).split(' ');}else{parts=line.substring(10).split(' ');} -var candidate={foundation:parts[0],component:parseInt(parts[1],10),protocol:parts[2].toLowerCase(),priority:parseInt(parts[3],10),ip:parts[4],port:parseInt(parts[5],10),type:parts[7]};for(var i=8;i0?parts[0].split('/')[1]:'sendrecv',uri:parts[1]};};SDPUtils.writeExtmap=function(headerExtension){return'a=extmap:'+(headerExtension.id||headerExtension.preferredId)+ -(headerExtension.direction&&headerExtension.direction!=='sendrecv'?'/'+headerExtension.direction:'')+' '+headerExtension.uri+'\r\n';};SDPUtils.parseFmtp=function(line){var parsed={};var kv;var parts=line.substr(line.indexOf(' ')+1).split(';');for(var j=0;j-1){parts.attribute=line.substr(sp+1,colon-sp-1);parts.value=line.substr(colon+1);}else{parts.attribute=line.substr(sp+1);} -return parts;};SDPUtils.getMid=function(mediaSection){var mid=SDPUtils.matchPrefix(mediaSection,'a=mid:')[0];if(mid){return mid.substr(6);}} -SDPUtils.parseFingerprint=function(line){var parts=line.substr(14).split(' ');return{algorithm:parts[0].toLowerCase(),value:parts[1]};};SDPUtils.getDtlsParameters=function(mediaSection,sessionpart){var lines=SDPUtils.matchPrefix(mediaSection+sessionpart,'a=fingerprint:');return{role:'auto',fingerprints:lines.map(SDPUtils.parseFingerprint)};};SDPUtils.writeDtlsParameters=function(params,setupType){var sdp='a=setup:'+setupType+'\r\n';params.fingerprints.forEach(function(fp){sdp+='a=fingerprint:'+fp.algorithm+' '+fp.value+'\r\n';});return sdp;};SDPUtils.getIceParameters=function(mediaSection,sessionpart){var lines=SDPUtils.splitLines(mediaSection);lines=lines.concat(SDPUtils.splitLines(sessionpart));var iceParameters={usernameFragment:lines.filter(function(line){return line.indexOf('a=ice-ufrag:')===0;})[0].substr(12),password:lines.filter(function(line){return line.indexOf('a=ice-pwd:')===0;})[0].substr(10)};return iceParameters;};SDPUtils.writeIceParameters=function(params){return'a=ice-ufrag:'+params.usernameFragment+'\r\n'+'a=ice-pwd:'+params.password+'\r\n';};SDPUtils.parseRtpParameters=function(mediaSection){var description={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]};var lines=SDPUtils.splitLines(mediaSection);var mline=lines[0].split(' ');for(var i=3;i0?'9':'0';sdp+=' UDP/TLS/RTP/SAVPF ';sdp+=caps.codecs.map(function(codec){if(codec.preferredPayloadType!==undefined){return codec.preferredPayloadType;} -return codec.payloadType;}).join(' ')+'\r\n';sdp+='c=IN IP4 0.0.0.0\r\n';sdp+='a=rtcp:9 IN IP4 0.0.0.0\r\n';caps.codecs.forEach(function(codec){sdp+=SDPUtils.writeRtpMap(codec);sdp+=SDPUtils.writeFmtp(codec);sdp+=SDPUtils.writeRtcpFb(codec);});var maxptime=0;caps.codecs.forEach(function(codec){if(codec.maxptime>maxptime){maxptime=codec.maxptime;}});if(maxptime>0){sdp+='a=maxptime:'+maxptime+'\r\n';} -sdp+='a=rtcp-mux\r\n';caps.headerExtensions.forEach(function(extension){sdp+=SDPUtils.writeExtmap(extension);});return sdp;};SDPUtils.parseRtpEncodingParameters=function(mediaSection){var encodingParameters=[];var description=SDPUtils.parseRtpParameters(mediaSection);var hasRed=description.fecMechanisms.indexOf('RED')!==-1;var hasUlpfec=description.fecMechanisms.indexOf('ULPFEC')!==-1;var ssrcs=SDPUtils.matchPrefix(mediaSection,'a=ssrc:').map(function(line){return SDPUtils.parseSsrcMedia(line);}).filter(function(parts){return parts.attribute==='cname';});var primarySsrc=ssrcs.length>0&&ssrcs[0].ssrc;var secondarySsrc;var flows=SDPUtils.matchPrefix(mediaSection,'a=ssrc-group:FID').map(function(line){var parts=line.split(' ');parts.shift();return parts.map(function(part){return parseInt(part,10);});});if(flows.length>0&&flows[0].length>1&&flows[0][0]===primarySsrc){secondarySsrc=flows[0][1];} -description.codecs.forEach(function(codec){if(codec.name.toUpperCase()==='RTX'&&codec.parameters.apt){var encParam={ssrc:primarySsrc,codecPayloadType:parseInt(codec.parameters.apt,10),rtx:{ssrc:secondarySsrc}};encodingParameters.push(encParam);if(hasRed){encParam=JSON.parse(JSON.stringify(encParam));encParam.fec={ssrc:secondarySsrc,mechanism:hasUlpfec?'red+ulpfec':'red'};encodingParameters.push(encParam);}}});if(encodingParameters.length===0&&primarySsrc){encodingParameters.push({ssrc:primarySsrc});} -var bandwidth=SDPUtils.matchPrefix(mediaSection,'b=');if(bandwidth.length){if(bandwidth[0].indexOf('b=TIAS:')===0){bandwidth=parseInt(bandwidth[0].substr(7),10);}else if(bandwidth[0].indexOf('b=AS:')===0){bandwidth=parseInt(bandwidth[0].substr(5),10)*1000*0.95 --(50*40*8);}else{bandwidth=undefined;} -encodingParameters.forEach(function(params){params.maxBitrate=bandwidth;});} -return encodingParameters;};SDPUtils.parseRtcpParameters=function(mediaSection){var rtcpParameters={};var cname;var remoteSsrc=SDPUtils.matchPrefix(mediaSection,'a=ssrc:').map(function(line){return SDPUtils.parseSsrcMedia(line);}).filter(function(obj){return obj.attribute==='cname';})[0];if(remoteSsrc){rtcpParameters.cname=remoteSsrc.value;rtcpParameters.ssrc=remoteSsrc.ssrc;} -var rsize=SDPUtils.matchPrefix(mediaSection,'a=rtcp-rsize');rtcpParameters.reducedSize=rsize.length>0;rtcpParameters.compound=rsize.length===0;var mux=SDPUtils.matchPrefix(mediaSection,'a=rtcp-mux');rtcpParameters.mux=mux.length>0;return rtcpParameters;};SDPUtils.parseMsid=function(mediaSection){var parts;var spec=SDPUtils.matchPrefix(mediaSection,'a=msid:');if(spec.length===1){parts=spec[0].substr(7).split(' ');return{stream:parts[0],track:parts[1]};} -var planB=SDPUtils.matchPrefix(mediaSection,'a=ssrc:').map(function(line){return SDPUtils.parseSsrcMedia(line);}).filter(function(parts){return parts.attribute==='msid';});if(planB.length>0){parts=planB[0].value.split(' ');return{stream:parts[0],track:parts[1]};}};SDPUtils.generateSessionId=function(){return Math.random().toString().substr(2,21);};SDPUtils.writeSessionBoilerplate=function(sessId,sessVer){var sessionId;var version=sessVer!==undefined?sessVer:2;if(sessId){sessionId=sessId;}else{sessionId=SDPUtils.generateSessionId();} -return'v=0\r\n'+'o=thisisadapterortc '+sessionId+' '+version+' IN IP4 127.0.0.1\r\n'+'s=-\r\n'+'t=0 0\r\n';};SDPUtils.writeMediaSection=function(transceiver,caps,type,stream){var sdp=SDPUtils.writeRtpDescription(transceiver.kind,caps);sdp+=SDPUtils.writeIceParameters(transceiver.iceGatherer.getLocalParameters());sdp+=SDPUtils.writeDtlsParameters(transceiver.dtlsTransport.getLocalParameters(),type==='offer'?'actpass':'active');sdp+='a=mid:'+transceiver.mid+'\r\n';if(transceiver.direction){sdp+='a='+transceiver.direction+'\r\n';}else if(transceiver.rtpSender&&transceiver.rtpReceiver){sdp+='a=sendrecv\r\n';}else if(transceiver.rtpSender){sdp+='a=sendonly\r\n';}else if(transceiver.rtpReceiver){sdp+='a=recvonly\r\n';}else{sdp+='a=inactive\r\n';} -if(transceiver.rtpSender){var msid='msid:'+stream.id+' '+ -transceiver.rtpSender.track.id+'\r\n';sdp+='a='+msid;sdp+='a=ssrc:'+transceiver.sendEncodingParameters[0].ssrc+' '+msid;if(transceiver.sendEncodingParameters[0].rtx){sdp+='a=ssrc:'+transceiver.sendEncodingParameters[0].rtx.ssrc+' '+msid;sdp+='a=ssrc-group:FID '+ -transceiver.sendEncodingParameters[0].ssrc+' '+ -transceiver.sendEncodingParameters[0].rtx.ssrc+'\r\n';}} -sdp+='a=ssrc:'+transceiver.sendEncodingParameters[0].ssrc+' cname:'+SDPUtils.localCName+'\r\n';if(transceiver.rtpSender&&transceiver.sendEncodingParameters[0].rtx){sdp+='a=ssrc:'+transceiver.sendEncodingParameters[0].rtx.ssrc+' cname:'+SDPUtils.localCName+'\r\n';} -return sdp;};SDPUtils.getDirection=function(mediaSection,sessionpart){var lines=SDPUtils.splitLines(mediaSection);for(var i=0;i=65){return this.shimAddTrackRemoveTrackWithNative(window);} -var origGetLocalStreams=window.RTCPeerConnection.prototype.getLocalStreams;window.RTCPeerConnection.prototype.getLocalStreams=function(){var pc=this;var nativeStreams=origGetLocalStreams.apply(this);pc._reverseStreams=pc._reverseStreams||{};return nativeStreams.map(function(stream){return pc._reverseStreams[stream.id];});};var origAddStream=window.RTCPeerConnection.prototype.addStream;window.RTCPeerConnection.prototype.addStream=function(stream){var pc=this;pc._streams=pc._streams||{};pc._reverseStreams=pc._reverseStreams||{};stream.getTracks().forEach(function(track){var alreadyExists=pc.getSenders().find(function(s){return s.track===track;});if(alreadyExists){throw new DOMException('Track already exists.','InvalidAccessError');}});if(!pc._reverseStreams[stream.id]){var newStream=new window.MediaStream(stream.getTracks());pc._streams[stream.id]=newStream;pc._reverseStreams[newStream.id]=stream;stream=newStream;} -origAddStream.apply(pc,[stream]);};var origRemoveStream=window.RTCPeerConnection.prototype.removeStream;window.RTCPeerConnection.prototype.removeStream=function(stream){var pc=this;pc._streams=pc._streams||{};pc._reverseStreams=pc._reverseStreams||{};origRemoveStream.apply(pc,[(pc._streams[stream.id]||stream)]);delete pc._reverseStreams[(pc._streams[stream.id]?pc._streams[stream.id].id:stream.id)];delete pc._streams[stream.id];};window.RTCPeerConnection.prototype.addTrack=function(track,stream){var pc=this;if(pc.signalingState==='closed'){throw new DOMException('The RTCPeerConnection\'s signalingState is \'closed\'.','InvalidStateError');} -var streams=[].slice.call(arguments,1);if(streams.length!==1||!streams[0].getTracks().find(function(t){return t===track;})){throw new DOMException('The adapter.js addTrack polyfill only supports a single '+' stream which is associated with the specified track.','NotSupportedError');} -var alreadyExists=pc.getSenders().find(function(s){return s.track===track;});if(alreadyExists){throw new DOMException('Track already exists.','InvalidAccessError');} -pc._streams=pc._streams||{};pc._reverseStreams=pc._reverseStreams||{};var oldStream=pc._streams[stream.id];if(oldStream){oldStream.addTrack(track);Promise.resolve().then(function(){pc.dispatchEvent(new Event('negotiationneeded'));});}else{var newStream=new window.MediaStream([track]);pc._streams[stream.id]=newStream;pc._reverseStreams[newStream.id]=stream;pc.addStream(newStream);} -return pc.getSenders().find(function(s){return s.track===track;});};function replaceInternalStreamId(pc,description){var sdp=description.sdp;Object.keys(pc._reverseStreams||[]).forEach(function(internalId){var externalStream=pc._reverseStreams[internalId];var internalStream=pc._streams[externalStream.id];sdp=sdp.replace(new RegExp(internalStream.id,'g'),externalStream.id);});return new RTCSessionDescription({type:description.type,sdp:sdp});} -function replaceExternalStreamId(pc,description){var sdp=description.sdp;Object.keys(pc._reverseStreams||[]).forEach(function(internalId){var externalStream=pc._reverseStreams[internalId];var internalStream=pc._streams[externalStream.id];sdp=sdp.replace(new RegExp(externalStream.id,'g'),internalStream.id);});return new RTCSessionDescription({type:description.type,sdp:sdp});} -['createOffer','createAnswer'].forEach(function(method){var nativeMethod=window.RTCPeerConnection.prototype[method];window.RTCPeerConnection.prototype[method]=function(){var pc=this;var args=arguments;var isLegacyCall=arguments.length&&typeof arguments[0]==='function';if(isLegacyCall){return nativeMethod.apply(pc,[function(description){var desc=replaceInternalStreamId(pc,description);args[0].apply(null,[desc]);},function(err){if(args[1]){args[1].apply(null,err);}},arguments[2]]);} -return nativeMethod.apply(pc,arguments).then(function(description){return replaceInternalStreamId(pc,description);});};});var origSetLocalDescription=window.RTCPeerConnection.prototype.setLocalDescription;window.RTCPeerConnection.prototype.setLocalDescription=function(){var pc=this;if(!arguments.length||!arguments[0].type){return origSetLocalDescription.apply(pc,arguments);} -arguments[0]=replaceExternalStreamId(pc,arguments[0]);return origSetLocalDescription.apply(pc,arguments);};var origLocalDescription=Object.getOwnPropertyDescriptor(window.RTCPeerConnection.prototype,'localDescription');Object.defineProperty(window.RTCPeerConnection.prototype,'localDescription',{get:function(){var pc=this;var description=origLocalDescription.get.apply(this);if(description.type===''){return description;} -return replaceInternalStreamId(pc,description);}});window.RTCPeerConnection.prototype.removeTrack=function(sender){var pc=this;if(pc.signalingState==='closed'){throw new DOMException('The RTCPeerConnection\'s signalingState is \'closed\'.','InvalidStateError');} -if(!sender._pc){throw new DOMException('Argument 1 of RTCPeerConnection.removeTrack '+'does not implement interface RTCRtpSender.','TypeError');} -var isLocal=sender._pc===pc;if(!isLocal){throw new DOMException('Sender was not created by this connection.','InvalidAccessError');} -pc._streams=pc._streams||{};var stream;Object.keys(pc._streams).forEach(function(streamid){var hasTrack=pc._streams[streamid].getTracks().find(function(track){return sender.track===track;});if(hasTrack){stream=pc._streams[streamid];}});if(stream){if(stream.getTracks().length===1){pc.removeStream(pc._reverseStreams[stream.id]);}else{stream.removeTrack(sender.track);} -pc.dispatchEvent(new Event('negotiationneeded'));}};},shimPeerConnection:function(window){var browserDetails=utils.detectBrowser(window);if(!window.RTCPeerConnection&&window.webkitRTCPeerConnection){window.RTCPeerConnection=function(pcConfig,pcConstraints){logging('PeerConnection');if(pcConfig&&pcConfig.iceTransportPolicy){pcConfig.iceTransports=pcConfig.iceTransportPolicy;} -return new window.webkitRTCPeerConnection(pcConfig,pcConstraints);};window.RTCPeerConnection.prototype=window.webkitRTCPeerConnection.prototype;if(window.webkitRTCPeerConnection.generateCertificate){Object.defineProperty(window.RTCPeerConnection,'generateCertificate',{get:function(){return window.webkitRTCPeerConnection.generateCertificate;}});}}else{var OrigPeerConnection=window.RTCPeerConnection;window.RTCPeerConnection=function(pcConfig,pcConstraints){if(pcConfig&&pcConfig.iceServers){var newIceServers=[];for(var i=0;i0&&typeof selector==='function'){return origGetStats.apply(this,arguments);} -if(origGetStats.length===0&&(arguments.length===0||typeof arguments[0]!=='function')){return origGetStats.apply(this,[]);} -var fixChromeStats_=function(response){var standardReport={};var reports=response.result();reports.forEach(function(report){var standardStats={id:report.id,timestamp:report.timestamp,type:{localcandidate:'local-candidate',remotecandidate:'remote-candidate'}[report.type]||report.type};report.names().forEach(function(name){standardStats[name]=report.stat(name);});standardReport[standardStats.id]=standardStats;});return standardReport;};var makeMapStats=function(stats){return new Map(Object.keys(stats).map(function(key){return[key,stats[key]];}));};if(arguments.length>=2){var successCallbackWrapper_=function(response){args[1](makeMapStats(fixChromeStats_(response)));};return origGetStats.apply(this,[successCallbackWrapper_,arguments[0]]);} -return new Promise(function(resolve,reject){origGetStats.apply(pc,[function(response){resolve(makeMapStats(fixChromeStats_(response)));},reject]);}).then(successCallback,errorCallback);};if(browserDetails.version<51){['setLocalDescription','setRemoteDescription','addIceCandidate'].forEach(function(method){var nativeMethod=window.RTCPeerConnection.prototype[method];window.RTCPeerConnection.prototype[method]=function(){var args=arguments;var pc=this;var promise=new Promise(function(resolve,reject){nativeMethod.apply(pc,[args[0],resolve,reject]);});if(args.length<2){return promise;} -return promise.then(function(){args[1].apply(null,[]);},function(err){if(args.length>=3){args[2].apply(null,[err]);}});};});} -if(browserDetails.version<52){['createOffer','createAnswer'].forEach(function(method){var nativeMethod=window.RTCPeerConnection.prototype[method];window.RTCPeerConnection.prototype[method]=function(){var pc=this;if(arguments.length<1||(arguments.length===1&&typeof arguments[0]==='object')){var opts=arguments.length===1?arguments[0]:undefined;return new Promise(function(resolve,reject){nativeMethod.apply(pc,[resolve,reject,opts]);});} -return nativeMethod.apply(this,arguments);};});} -['setLocalDescription','setRemoteDescription','addIceCandidate'].forEach(function(method){var nativeMethod=window.RTCPeerConnection.prototype[method];window.RTCPeerConnection.prototype[method]=function(){arguments[0]=new((method==='addIceCandidate')?window.RTCIceCandidate:window.RTCSessionDescription)(arguments[0]);return nativeMethod.apply(this,arguments);};});var nativeAddIceCandidate=window.RTCPeerConnection.prototype.addIceCandidate;window.RTCPeerConnection.prototype.addIceCandidate=function(){if(!arguments[0]){if(arguments[1]){arguments[1].apply(null);} -return Promise.resolve();} -return nativeAddIceCandidate.apply(this,arguments);};}};},{"../utils.js":13,"./getusermedia":6}],6:[function(require,module,exports){'use strict';var utils=require('../utils.js');var logging=utils.log;module.exports=function(window){var browserDetails=utils.detectBrowser(window);var navigator=window&&window.navigator;var constraintsToChrome_=function(c){if(typeof c!=='object'||c.mandatory||c.optional){return c;} -var cc={};Object.keys(c).forEach(function(key){if(key==='require'||key==='advanced'||key==='mediaSource'){return;} -var r=(typeof c[key]==='object')?c[key]:{ideal:c[key]};if(r.exact!==undefined&&typeof r.exact==='number'){r.min=r.max=r.exact;} -var oldname_=function(prefix,name){if(prefix){return prefix+name.charAt(0).toUpperCase()+name.slice(1);} -return(name==='deviceId')?'sourceId':name;};if(r.ideal!==undefined){cc.optional=cc.optional||[];var oc={};if(typeof r.ideal==='number'){oc[oldname_('min',key)]=r.ideal;cc.optional.push(oc);oc={};oc[oldname_('max',key)]=r.ideal;cc.optional.push(oc);}else{oc[oldname_('',key)]=r.ideal;cc.optional.push(oc);}} -if(r.exact!==undefined&&typeof r.exact!=='number'){cc.mandatory=cc.mandatory||{};cc.mandatory[oldname_('',key)]=r.exact;}else{['min','max'].forEach(function(mix){if(r[mix]!==undefined){cc.mandatory=cc.mandatory||{};cc.mandatory[oldname_(mix,key)]=r[mix];}});}});if(c.advanced){cc.optional=(cc.optional||[]).concat(c.advanced);} -return cc;};var shimConstraints_=function(constraints,func){if(browserDetails.version>=61){return func(constraints);} -constraints=JSON.parse(JSON.stringify(constraints));if(constraints&&typeof constraints.audio==='object'){var remap=function(obj,a,b){if(a in obj&&!(b in obj)){obj[b]=obj[a];delete obj[a];}};constraints=JSON.parse(JSON.stringify(constraints));remap(constraints.audio,'autoGainControl','googAutoGainControl');remap(constraints.audio,'noiseSuppression','googNoiseSuppression');constraints.audio=constraintsToChrome_(constraints.audio);} -if(constraints&&typeof constraints.video==='object'){var face=constraints.video.facingMode;face=face&&((typeof face==='object')?face:{ideal:face});var getSupportedFacingModeLies=browserDetails.version<66;if((face&&(face.exact==='user'||face.exact==='environment'||face.ideal==='user'||face.ideal==='environment'))&&!(navigator.mediaDevices.getSupportedConstraints&&navigator.mediaDevices.getSupportedConstraints().facingMode&&!getSupportedFacingModeLies)){delete constraints.video.facingMode;var matches;if(face.exact==='environment'||face.ideal==='environment'){matches=['back','rear'];}else if(face.exact==='user'||face.ideal==='user'){matches=['front'];} -if(matches){return navigator.mediaDevices.enumerateDevices().then(function(devices){devices=devices.filter(function(d){return d.kind==='videoinput';});var dev=devices.find(function(d){return matches.some(function(match){return d.label.toLowerCase().indexOf(match)!==-1;});});if(!dev&&devices.length&&matches.indexOf('back')!==-1){dev=devices[devices.length-1];} -if(dev){constraints.video.deviceId=face.exact?{exact:dev.deviceId}:{ideal:dev.deviceId};} -constraints.video=constraintsToChrome_(constraints.video);logging('chrome: '+JSON.stringify(constraints));return func(constraints);});}} -constraints.video=constraintsToChrome_(constraints.video);} -logging('chrome: '+JSON.stringify(constraints));return func(constraints);};var shimError_=function(e){return{name:{PermissionDeniedError:'NotAllowedError',InvalidStateError:'NotReadableError',DevicesNotFoundError:'NotFoundError',ConstraintNotSatisfiedError:'OverconstrainedError',TrackStartError:'NotReadableError',MediaDeviceFailedDueToShutdown:'NotReadableError',MediaDeviceKillSwitchOn:'NotReadableError'}[e.name]||e.name,message:e.message,constraint:e.constraintName,toString:function(){return this.name+(this.message&&': ')+this.message;}};};var getUserMedia_=function(constraints,onSuccess,onError){shimConstraints_(constraints,function(c){navigator.webkitGetUserMedia(c,onSuccess,function(e){if(onError){onError(shimError_(e));}});});};navigator.getUserMedia=getUserMedia_;var getUserMediaPromise_=function(constraints){return new Promise(function(resolve,reject){navigator.getUserMedia(constraints,resolve,reject);});};if(!navigator.mediaDevices){navigator.mediaDevices={getUserMedia:getUserMediaPromise_,enumerateDevices:function(){return new Promise(function(resolve){var kinds={audio:'audioinput',video:'videoinput'};return window.MediaStreamTrack.getSources(function(devices){resolve(devices.map(function(device){return{label:device.label,kind:kinds[device.kind],deviceId:device.id,groupId:''};}));});});},getSupportedConstraints:function(){return{deviceId:true,echoCancellation:true,facingMode:true,frameRate:true,height:true,width:true};}};} -if(!navigator.mediaDevices.getUserMedia){navigator.mediaDevices.getUserMedia=function(constraints){return getUserMediaPromise_(constraints);};}else{var origGetUserMedia=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(cs){return shimConstraints_(cs,function(c){return origGetUserMedia(c).then(function(stream){if(c.audio&&!stream.getAudioTracks().length||c.video&&!stream.getVideoTracks().length){stream.getTracks().forEach(function(track){track.stop();});throw new DOMException('','NotFoundError');} -return stream;},function(e){return Promise.reject(shimError_(e));});});};} -if(typeof navigator.mediaDevices.addEventListener==='undefined'){navigator.mediaDevices.addEventListener=function(){logging('Dummy mediaDevices.addEventListener called.');};} -if(typeof navigator.mediaDevices.removeEventListener==='undefined'){navigator.mediaDevices.removeEventListener=function(){logging('Dummy mediaDevices.removeEventListener called.');};}};},{"../utils.js":13}],7:[function(require,module,exports){'use strict';var SDPUtils=require('sdp');var utils=require('./utils');module.exports={shimRTCIceCandidate:function(window){if(window.RTCIceCandidate&&'foundation'in -window.RTCIceCandidate.prototype){return;} -var NativeRTCIceCandidate=window.RTCIceCandidate;window.RTCIceCandidate=function(args){if(typeof args==='object'&&args.candidate&&args.candidate.indexOf('a=')===0){args=JSON.parse(JSON.stringify(args));args.candidate=args.candidate.substr(2);} -var nativeCandidate=new NativeRTCIceCandidate(args);var parsedCandidate=SDPUtils.parseCandidate(args.candidate);var augmentedCandidate=Object.assign(nativeCandidate,parsedCandidate);augmentedCandidate.toJSON=function(){return{candidate:augmentedCandidate.candidate,sdpMid:augmentedCandidate.sdpMid,sdpMLineIndex:augmentedCandidate.sdpMLineIndex,usernameFragment:augmentedCandidate.usernameFragment,};};return augmentedCandidate;};utils.wrapPeerConnectionEvent(window,'icecandidate',function(e){if(e.candidate){Object.defineProperty(e,'candidate',{value:new window.RTCIceCandidate(e.candidate),writable:'false'});} -return e;});},shimCreateObjectURL:function(window){var URL=window&&window.URL;if(!(typeof window==='object'&&window.HTMLMediaElement&&'srcObject'in window.HTMLMediaElement.prototype&&URL.createObjectURL&&URL.revokeObjectURL)){return undefined;} -var nativeCreateObjectURL=URL.createObjectURL.bind(URL);var nativeRevokeObjectURL=URL.revokeObjectURL.bind(URL);var streams=new Map(),newId=0;URL.createObjectURL=function(stream){if('getTracks'in stream){var url='polyblob:'+(++newId);streams.set(url,stream);utils.deprecated('URL.createObjectURL(stream)','elem.srcObject = stream');return url;} -return nativeCreateObjectURL(stream);};URL.revokeObjectURL=function(url){nativeRevokeObjectURL(url);streams.delete(url);};var dsc=Object.getOwnPropertyDescriptor(window.HTMLMediaElement.prototype,'src');Object.defineProperty(window.HTMLMediaElement.prototype,'src',{get:function(){return dsc.get.apply(this);},set:function(url){this.srcObject=streams.get(url)||null;return dsc.set.apply(this,[url]);}});var nativeSetAttribute=window.HTMLMediaElement.prototype.setAttribute;window.HTMLMediaElement.prototype.setAttribute=function(){if(arguments.length===2&&(''+arguments[0]).toLowerCase()==='src'){this.srcObject=streams.get(arguments[1])||null;} -return nativeSetAttribute.apply(this,arguments);};},shimMaxMessageSize:function(window){if(window.RTCSctpTransport||!window.RTCPeerConnection){return;} -var browserDetails=utils.detectBrowser(window);if(!('sctp'in window.RTCPeerConnection.prototype)){Object.defineProperty(window.RTCPeerConnection.prototype,'sctp',{get:function(){return typeof this._sctp==='undefined'?null:this._sctp;}});} -var sctpInDescription=function(description){var sections=SDPUtils.splitSections(description.sdp);sections.shift();return sections.some(function(mediaSection){var mLine=SDPUtils.parseMLine(mediaSection);return mLine&&mLine.kind==='application'&&mLine.protocol.indexOf('SCTP')!==-1;});};var getRemoteFirefoxVersion=function(description){var match=description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(match===null||match.length<2){return-1;} -var version=parseInt(match[1],10);return version!==version?-1:version;};var getCanSendMaxMessageSize=function(remoteIsFirefox){var canSendMaxMessageSize=65536;if(browserDetails.browser==='firefox'){if(browserDetails.version<57){if(remoteIsFirefox===-1){canSendMaxMessageSize=16384;}else{canSendMaxMessageSize=2147483637;}}else{canSendMaxMessageSize=browserDetails.version===57?65535:65536;}} -return canSendMaxMessageSize;};var getMaxMessageSize=function(description,remoteIsFirefox){var maxMessageSize=65536;if(browserDetails.browser==='firefox'&&browserDetails.version===57){maxMessageSize=65535;} -var match=SDPUtils.matchPrefix(description.sdp,'a=max-message-size:');if(match.length>0){maxMessageSize=parseInt(match[0].substr(19),10);}else if(browserDetails.browser==='firefox'&&remoteIsFirefox!==-1){maxMessageSize=2147483637;} -return maxMessageSize;};var origSetRemoteDescription=window.RTCPeerConnection.prototype.setRemoteDescription;window.RTCPeerConnection.prototype.setRemoteDescription=function(){var pc=this;pc._sctp=null;if(sctpInDescription(arguments[0])){var isFirefox=getRemoteFirefoxVersion(arguments[0]);var canSendMMS=getCanSendMaxMessageSize(isFirefox);var remoteMMS=getMaxMessageSize(arguments[0],isFirefox);var maxMessageSize;if(canSendMMS===0&&remoteMMS===0){maxMessageSize=Number.POSITIVE_INFINITY;}else if(canSendMMS===0||remoteMMS===0){maxMessageSize=Math.max(canSendMMS,remoteMMS);}else{maxMessageSize=Math.min(canSendMMS,remoteMMS);} -var sctp={};Object.defineProperty(sctp,'maxMessageSize',{get:function(){return maxMessageSize;}});pc._sctp=sctp;} -return origSetRemoteDescription.apply(pc,arguments);};},shimSendThrowTypeError:function(window){var origCreateDataChannel=window.RTCPeerConnection.prototype.createDataChannel;window.RTCPeerConnection.prototype.createDataChannel=function(){var pc=this;var dataChannel=origCreateDataChannel.apply(pc,arguments);var origDataChannelSend=dataChannel.send;dataChannel.send=function(){var dc=this;var data=arguments[0];var length=data.length||data.size||data.byteLength;if(length>pc.sctp.maxMessageSize){throw new DOMException('Message too large (can send a maximum of '+ -pc.sctp.maxMessageSize+' bytes)','TypeError');} -return origDataChannelSend.apply(dc,arguments);};return dataChannel;};}};},{"./utils":13,"sdp":2}],8:[function(require,module,exports){'use strict';var utils=require('../utils');var shimRTCPeerConnection=require('rtcpeerconnection-shim');module.exports={shimGetUserMedia:require('./getusermedia'),shimPeerConnection:function(window){var browserDetails=utils.detectBrowser(window);if(window.RTCIceGatherer){if(!window.RTCIceCandidate){window.RTCIceCandidate=function(args){return args;};} -if(!window.RTCSessionDescription){window.RTCSessionDescription=function(args){return args;};} -if(browserDetails.version<15025){var origMSTEnabled=Object.getOwnPropertyDescriptor(window.MediaStreamTrack.prototype,'enabled');Object.defineProperty(window.MediaStreamTrack.prototype,'enabled',{set:function(value){origMSTEnabled.set.call(this,value);var ev=new Event('enabled');ev.enabled=value;this.dispatchEvent(ev);}});}} -if(window.RTCRtpSender&&!('dtmf'in window.RTCRtpSender.prototype)){Object.defineProperty(window.RTCRtpSender.prototype,'dtmf',{get:function(){if(this._dtmf===undefined){if(this.track.kind==='audio'){this._dtmf=new window.RTCDtmfSender(this);}else if(this.track.kind==='video'){this._dtmf=null;}} -return this._dtmf;}});} -window.RTCPeerConnection=shimRTCPeerConnection(window,browserDetails.version);},shimReplaceTrack:function(window){if(window.RTCRtpSender&&!('replaceTrack'in window.RTCRtpSender.prototype)){window.RTCRtpSender.prototype.replaceTrack=window.RTCRtpSender.prototype.setTrack;}}};},{"../utils":13,"./getusermedia":9,"rtcpeerconnection-shim":1}],9:[function(require,module,exports){'use strict';module.exports=function(window){var navigator=window&&window.navigator;var shimError_=function(e){return{name:{PermissionDeniedError:'NotAllowedError'}[e.name]||e.name,message:e.message,constraint:e.constraint,toString:function(){return this.name;}};};var origGetUserMedia=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(c){return origGetUserMedia(c).catch(function(e){return Promise.reject(shimError_(e));});};};},{}],10:[function(require,module,exports){'use strict';var utils=require('../utils');module.exports={shimGetUserMedia:require('./getusermedia'),shimOnTrack:function(window){if(typeof window==='object'&&window.RTCPeerConnection&&!('ontrack'in -window.RTCPeerConnection.prototype)){Object.defineProperty(window.RTCPeerConnection.prototype,'ontrack',{get:function(){return this._ontrack;},set:function(f){if(this._ontrack){this.removeEventListener('track',this._ontrack);this.removeEventListener('addstream',this._ontrackpoly);} -this.addEventListener('track',this._ontrack=f);this.addEventListener('addstream',this._ontrackpoly=function(e){e.stream.getTracks().forEach(function(track){var event=new Event('track');event.track=track;event.receiver={track:track};event.transceiver={receiver:event.receiver};event.streams=[e.stream];this.dispatchEvent(event);}.bind(this));}.bind(this));}});} -if(typeof window==='object'&&window.RTCTrackEvent&&('receiver'in window.RTCTrackEvent.prototype)&&!('transceiver'in window.RTCTrackEvent.prototype)){Object.defineProperty(window.RTCTrackEvent.prototype,'transceiver',{get:function(){return{receiver:this.receiver};}});}},shimSourceObject:function(window){if(typeof window==='object'){if(window.HTMLMediaElement&&!('srcObject'in window.HTMLMediaElement.prototype)){Object.defineProperty(window.HTMLMediaElement.prototype,'srcObject',{get:function(){return this.mozSrcObject;},set:function(stream){this.mozSrcObject=stream;}});}}},shimPeerConnection:function(window){var browserDetails=utils.detectBrowser(window);if(typeof window!=='object'||!(window.RTCPeerConnection||window.mozRTCPeerConnection)){return;} -if(!window.RTCPeerConnection){window.RTCPeerConnection=function(pcConfig,pcConstraints){if(browserDetails.version<38){if(pcConfig&&pcConfig.iceServers){var newIceServers=[];for(var i=0;i55&&'autoGainControl'in navigator.mediaDevices.getSupportedConstraints())){var remap=function(obj,a,b){if(a in obj&&!(b in obj)){obj[b]=obj[a];delete obj[a];}};var nativeGetUserMedia=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(c){if(typeof c==='object'&&typeof c.audio==='object'){c=JSON.parse(JSON.stringify(c));remap(c.audio,'autoGainControl','mozAutoGainControl');remap(c.audio,'noiseSuppression','mozNoiseSuppression');} -return nativeGetUserMedia(c);};if(MediaStreamTrack&&MediaStreamTrack.prototype.getSettings){var nativeGetSettings=MediaStreamTrack.prototype.getSettings;MediaStreamTrack.prototype.getSettings=function(){var obj=nativeGetSettings.apply(this,arguments);remap(obj,'mozAutoGainControl','autoGainControl');remap(obj,'mozNoiseSuppression','noiseSuppression');return obj;};} -if(MediaStreamTrack&&MediaStreamTrack.prototype.applyConstraints){var nativeApplyConstraints=MediaStreamTrack.prototype.applyConstraints;MediaStreamTrack.prototype.applyConstraints=function(c){if(this.kind==='audio'&&typeof c==='object'){c=JSON.parse(JSON.stringify(c));remap(c,'autoGainControl','mozAutoGainControl');remap(c,'noiseSuppression','mozNoiseSuppression');} -return nativeApplyConstraints.apply(this,[c]);};}} -navigator.getUserMedia=function(constraints,onSuccess,onError){if(browserDetails.version<44){return getUserMedia_(constraints,onSuccess,onError);} -utils.deprecated('navigator.getUserMedia','navigator.mediaDevices.getUserMedia');navigator.mediaDevices.getUserMedia(constraints).then(onSuccess,onError);};};},{"../utils":13}],12:[function(require,module,exports){'use strict';var utils=require('../utils');module.exports={shimLocalStreamsAPI:function(window){if(typeof window!=='object'||!window.RTCPeerConnection){return;} -if(!('getLocalStreams'in window.RTCPeerConnection.prototype)){window.RTCPeerConnection.prototype.getLocalStreams=function(){if(!this._localStreams){this._localStreams=[];} -return this._localStreams;};} -if(!('getStreamById'in window.RTCPeerConnection.prototype)){window.RTCPeerConnection.prototype.getStreamById=function(id){var result=null;if(this._localStreams){this._localStreams.forEach(function(stream){if(stream.id===id){result=stream;}});} -if(this._remoteStreams){this._remoteStreams.forEach(function(stream){if(stream.id===id){result=stream;}});} -return result;};} -if(!('addStream'in window.RTCPeerConnection.prototype)){var _addTrack=window.RTCPeerConnection.prototype.addTrack;window.RTCPeerConnection.prototype.addStream=function(stream){if(!this._localStreams){this._localStreams=[];} -if(this._localStreams.indexOf(stream)===-1){this._localStreams.push(stream);} -var pc=this;stream.getTracks().forEach(function(track){_addTrack.call(pc,track,stream);});};window.RTCPeerConnection.prototype.addTrack=function(track,stream){if(stream){if(!this._localStreams){this._localStreams=[stream];}else if(this._localStreams.indexOf(stream)===-1){this._localStreams.push(stream);}} -return _addTrack.call(this,track,stream);};} -if(!('removeStream'in window.RTCPeerConnection.prototype)){window.RTCPeerConnection.prototype.removeStream=function(stream){if(!this._localStreams){this._localStreams=[];} -var index=this._localStreams.indexOf(stream);if(index===-1){return;} -this._localStreams.splice(index,1);var pc=this;var tracks=stream.getTracks();this.getSenders().forEach(function(sender){if(tracks.indexOf(sender.track)!==-1){pc.removeTrack(sender);}});};}},shimRemoteStreamsAPI:function(window){if(typeof window!=='object'||!window.RTCPeerConnection){return;} -if(!('getRemoteStreams'in window.RTCPeerConnection.prototype)){window.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[];};} -if(!('onaddstream'in window.RTCPeerConnection.prototype)){Object.defineProperty(window.RTCPeerConnection.prototype,'onaddstream',{get:function(){return this._onaddstream;},set:function(f){var pc=this;if(this._onaddstream){this.removeEventListener('addstream',this._onaddstream);this.removeEventListener('track',this._onaddstreampoly);} -this.addEventListener('addstream',this._onaddstream=f);this.addEventListener('track',this._onaddstreampoly=function(e){e.streams.forEach(function(stream){if(!pc._remoteStreams){pc._remoteStreams=[];} -if(pc._remoteStreams.indexOf(stream)>=0){return;} -pc._remoteStreams.push(stream);var event=new Event('addstream');event.stream=stream;pc.dispatchEvent(event);});});}});}},shimCallbacksAPI:function(window){if(typeof window!=='object'||!window.RTCPeerConnection){return;} -var prototype=window.RTCPeerConnection.prototype;var createOffer=prototype.createOffer;var createAnswer=prototype.createAnswer;var setLocalDescription=prototype.setLocalDescription;var setRemoteDescription=prototype.setRemoteDescription;var addIceCandidate=prototype.addIceCandidate;prototype.createOffer=function(successCallback,failureCallback){var options=(arguments.length>=2)?arguments[2]:arguments[0];var promise=createOffer.apply(this,[options]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};prototype.createAnswer=function(successCallback,failureCallback){var options=(arguments.length>=2)?arguments[2]:arguments[0];var promise=createAnswer.apply(this,[options]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};var withCallback=function(description,successCallback,failureCallback){var promise=setLocalDescription.apply(this,[description]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};prototype.setLocalDescription=withCallback;withCallback=function(description,successCallback,failureCallback){var promise=setRemoteDescription.apply(this,[description]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};prototype.setRemoteDescription=withCallback;withCallback=function(candidate,successCallback,failureCallback){var promise=addIceCandidate.apply(this,[candidate]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};prototype.addIceCandidate=withCallback;},shimGetUserMedia:function(window){var navigator=window&&window.navigator;if(!navigator.getUserMedia){if(navigator.webkitGetUserMedia){navigator.getUserMedia=navigator.webkitGetUserMedia.bind(navigator);}else if(navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){navigator.getUserMedia=function(constraints,cb,errcb){navigator.mediaDevices.getUserMedia(constraints).then(cb,errcb);}.bind(navigator);}}},shimRTCIceServerUrls:function(window){var OrigPeerConnection=window.RTCPeerConnection;window.RTCPeerConnection=function(pcConfig,pcConstraints){if(pcConfig&&pcConfig.iceServers){var newIceServers=[];for(var i=0;i=pos&&parseInt(match[pos],10);} -function wrapPeerConnectionEvent(window,eventNameToWrap,wrapper){if(!window.RTCPeerConnection){return;} -var proto=window.RTCPeerConnection.prototype;var nativeAddEventListener=proto.addEventListener;proto.addEventListener=function(nativeEventName,cb){if(nativeEventName!==eventNameToWrap){return nativeAddEventListener.apply(this,arguments);} -var wrappedCallback=function(e){cb(wrapper(e));};this._eventMap=this._eventMap||{};this._eventMap[cb]=wrappedCallback;return nativeAddEventListener.apply(this,[nativeEventName,wrappedCallback]);};var nativeRemoveEventListener=proto.removeEventListener;proto.removeEventListener=function(nativeEventName,cb){if(nativeEventName!==eventNameToWrap||!this._eventMap||!this._eventMap[cb]){return nativeRemoveEventListener.apply(this,arguments);} -var unwrappedCb=this._eventMap[cb];delete this._eventMap[cb];return nativeRemoveEventListener.apply(this,[nativeEventName,unwrappedCb]);};Object.defineProperty(proto,'on'+eventNameToWrap,{get:function(){return this['_on'+eventNameToWrap];},set:function(cb){if(this['_on'+eventNameToWrap]){this.removeEventListener(eventNameToWrap,this['_on'+eventNameToWrap]);delete this['_on'+eventNameToWrap];} -if(cb){this.addEventListener(eventNameToWrap,this['_on'+eventNameToWrap]=cb);}}});} -module.exports={extractVersion:extractVersion,wrapPeerConnectionEvent:wrapPeerConnectionEvent,disableLog:function(bool){if(typeof bool!=='boolean'){return new Error('Argument type: '+typeof bool+'. Please use a boolean.');} -logDisabled_=bool;return(bool)?'adapter.js logging disabled':'adapter.js logging enabled';},disableWarnings:function(bool){if(typeof bool!=='boolean'){return new Error('Argument type: '+typeof bool+'. Please use a boolean.');} -deprecationWarnings_=!bool;return'adapter.js deprecation warnings '+(bool?'disabled':'enabled');},log:function(){if(typeof window==='object'){if(logDisabled_){return;} -if(typeof console!=='undefined'&&typeof console.log==='function'){console.log.apply(console,arguments);}}},deprecated:function(oldMethod,newMethod){if(!deprecationWarnings_){return;} -console.warn(oldMethod+' is deprecated, please use '+newMethod+' instead.');},detectBrowser:function(window){var navigator=window&&window.navigator;var result={};result.browser=null;result.version=null;if(typeof window==='undefined'||!window.navigator){result.browser='Not a browser.';return result;} -if(navigator.mozGetUserMedia){result.browser='firefox';result.version=extractVersion(navigator.userAgent,/Firefox\/(\d+)\./,1);}else if(navigator.webkitGetUserMedia){result.browser='chrome';result.version=extractVersion(navigator.userAgent,/Chrom(e|ium)\/(\d+)\./,2);}else if(navigator.mediaDevices&&navigator.userAgent.match(/Edge\/(\d+).(\d+)$/)){result.browser='edge';result.version=extractVersion(navigator.userAgent,/Edge\/(\d+).(\d+)$/,2);}else if(navigator.mediaDevices&&navigator.userAgent.match(/AppleWebKit\/(\d+)\./)){result.browser='safari';result.version=extractVersion(navigator.userAgent,/AppleWebKit\/(\d+)\./,1);}else{result.browser='Not a supported browser.';return result;} -return result;}};},{}]},{},[3])(3)}); \ No newline at end of file +(function($) { + + // Find the line in sdpLines that starts with |prefix|, and, if specified, + // contains |substr| (case-insensitive search). + function findLine(sdpLines, prefix, substr) { + return findLineInRange(sdpLines, 0, -1, prefix, substr); + } + + // Find the line in sdpLines[startLine...endLine - 1] that starts with |prefix| + // and, if specified, contains |substr| (case-insensitive search). + function findLineInRange(sdpLines, startLine, endLine, prefix, substr) { + var realEndLine = (endLine != -1) ? endLine : sdpLines.length; + for (var i = startLine; i < realEndLine; ++i) { + if (sdpLines[i].indexOf(prefix) === 0) { + if (!substr || sdpLines[i].toLowerCase().indexOf(substr.toLowerCase()) !== -1) { + return i; + } + } + } + return null; + } + + // Gets the codec payload type from an a=rtpmap:X line. + function getCodecPayloadType(sdpLine) { + var pattern = new RegExp('a=rtpmap:(\\d+) \\w+\\/\\d+'); + var result = sdpLine.match(pattern); + return (result && result.length == 2) ? result[1] : null; + } + + // Returns a new m= line with the specified codec as the first one. + function setDefaultCodec(mLine, payload) { + var elements = mLine.split(' '); + var newLine = []; + var index = 0; + for (var i = 0; i < elements.length; i++) { + if (index === 3) { // Format of media starts from the fourth. + newLine[index++] = payload; // Put target payload to the first. + } + if (elements[i] !== payload) newLine[index++] = elements[i]; + } + return newLine.join(' '); + } + + $.FSRTC = function(options) { + this.options = $.extend({ + useVideo: null, + useStereo: false, + userData: null, + localVideo: null, + screenShare: false, + useCamera: "any", + iceServers: false, + videoParams: {}, + audioParams: {}, + callbacks: { + onICEComplete: function() {}, + onICE: function() {}, + onOfferSDP: function() {} + }, + useStream: null, + }, options); + + this.audioEnabled = true; + this.videoEnabled = true; + + + this.mediaData = { + SDP: null, + profile: {}, + candidateList: [] + }; + + this.constraints = { + offerToReceiveAudio: this.options.useSpeak === "none" ? false : true, + offerToReceiveVideo: this.options.useVideo ? true : false, + }; + + if (self.options.useVideo) { + self.options.useVideo.style.display = 'none'; + } + + setCompat(); + checkCompat(); + }; + + $.FSRTC.validRes = []; + + $.FSRTC.prototype.useVideo = function(obj, local) { + var self = this; + + if (obj) { + self.options.useVideo = obj; + self.options.localVideo = local; + self.constraints.offerToReceiveVideo = true; + } else { + self.options.useVideo = null; + self.options.localVideo = null; + self.constraints.offerToReceiveVideo = false; + } + + if (self.options.useVideo) { + self.options.useVideo.style.display = 'none'; + } + }; + + $.FSRTC.prototype.useStereo = function(on) { + var self = this; + self.options.useStereo = on; + }; + + // Sets Opus in stereo if stereo is enabled, by adding the stereo=1 fmtp param. + $.FSRTC.prototype.stereoHack = function(sdp) { + var self = this; + + if (!self.options.useStereo) { + return sdp; + } + + var sdpLines = sdp.split('\r\n'); + + // Find opus payload. + var opusIndex = findLine(sdpLines, 'a=rtpmap', 'opus/48000'), opusPayload; + + if (!opusIndex) { + return sdp; + } else { + opusPayload = getCodecPayloadType(sdpLines[opusIndex]); + } + + // Find the payload in fmtp line. + var fmtpLineIndex = findLine(sdpLines, 'a=fmtp:' + opusPayload.toString()); + + if (fmtpLineIndex === null) { + // create an fmtp line + sdpLines[opusIndex] = sdpLines[opusIndex] + '\r\na=fmtp:' + opusPayload.toString() + " stereo=1; sprop-stereo=1" + } else { + // Append stereo=1 to fmtp line. + sdpLines[fmtpLineIndex] = sdpLines[fmtpLineIndex].concat('; stereo=1; sprop-stereo=1'); + } + + sdp = sdpLines.join('\r\n'); + return sdp; + }; + + function setCompat() { + } + + function checkCompat() { + return true; + } + + function onStreamError(self, e) { + console.log('There has been a problem retrieving the streams - did you allow access? Check Device Resolution', e); + doCallback(self, "onError", e); + } + + function onStreamSuccess(self, stream) { + console.log("Stream Success"); + doCallback(self, "onStream", stream); + } + + function onRemoteStreamSuccess(self, stream) { + console.log("Remote Stream Success"); + doCallback(self, "onRemoteStream", stream); + } + + function onICE(self, candidate) { + self.mediaData.candidate = candidate; + self.mediaData.candidateList.push(self.mediaData.candidate); + + doCallback(self, "onICE"); + } + + function doCallback(self, func, arg) { + if (func in self.options.callbacks) { + self.options.callbacks[func](self, arg); + } + } + + function onICEComplete(self, candidate) { + console.log("ICE Complete"); + doCallback(self, "onICEComplete"); + } + + function onChannelError(self, e) { + console.error("Channel Error", e); + doCallback(self, "onError", e); + } + + function onICESDP(self, sdp) { + self.mediaData.SDP = self.stereoHack(sdp.sdp); + console.log("ICE SDP"); + doCallback(self, "onICESDP"); + } + + function onAnswerSDP(self, sdp) { + self.answer.SDP = self.stereoHack(sdp.sdp); + console.log("ICE ANSWER SDP"); + doCallback(self, "onAnswerSDP", self.answer.SDP); + } + + function onMessage(self, msg) { + console.log("Message"); + doCallback(self, "onICESDP", msg); + } + + FSRTCattachMediaStream = function(element, stream) { + if (typeof element.srcObject !== 'undefined') { + element.srcObject = stream; + } else { + console.error('Error attaching stream to element.'); + } + } + + function onRemoteStream(self, stream) { + if (self.options.useVideo) { + self.options.useVideo.style.display = 'block'; + + // Hacks for Mobile Safari + var iOS = ['iPad', 'iPhone', 'iPod'].indexOf(navigator.platform) >= 0; + + if (iOS) { + self.options.useVideo.setAttribute("playsinline", true); + } + } + + var element = self.options.useAudio; + console.log("REMOTE STREAM", stream, element); + + FSRTCattachMediaStream(element, stream); + + + + //self.options.useAudio.play(); + self.remoteStream = stream; + onRemoteStreamSuccess(self, stream); + } + + function onOfferSDP(self, sdp) { + self.mediaData.SDP = self.stereoHack(sdp.sdp); + console.log("Offer SDP"); + doCallback(self, "onOfferSDP"); + } + + $.FSRTC.prototype.answer = function(sdp, onSuccess, onError) { + this.peer.addAnswerSDP({ + type: "answer", + sdp: sdp + }, + onSuccess, onError); + }; + + $.FSRTC.prototype.stopPeer = function() { + if (self.peer) { + console.log("stopping peer"); + self.peer.stop(); + } + } + + $.FSRTC.prototype.stop = function() { + var self = this; + + if (self.options.useVideo) { + self.options.useVideo.style.display = 'none'; + self.options.useVideo['src'] = ''; + } + + if (self.localStream && !self.options.useStream) { + if(typeof self.localStream.stop == 'function') { + self.localStream.stop(); + } else { + if (self.localStream.active){ + var tracks = self.localStream.getTracks(); + console.log(tracks); + tracks.forEach(function(track, index){ + console.log(track); + track.stop(); + }) + } + } + self.localStream = null; + } + + if (self.options.localVideo) { + deactivateLocalVideo(self.options.localVideo); + } + + if (self.options.localVideoStream && !self.options.useStream) { + if(typeof self.options.localVideoStream.stop == 'function') { + self.options.localVideoStream.stop(); + } else { + if (self.options.localVideoStream.active){ + var tracks = self.options.localVideoStream.getTracks(); + console.log(tracks); + tracks.forEach(function(track, index){ + console.log(track); + track.stop(); + }) + } + } + } + + if (self.peer) { + console.log("stopping peer"); + self.peer.stop(); + } + }; + + $.FSRTC.prototype.getMute = function() { + var self = this; + return self.audioEnabled; + } + + $.FSRTC.prototype.setMute = function(what) { + var self = this; + if (!self.localStream) { + return false; + } + var audioTracks = self.localStream.getAudioTracks(); + + for (var i = 0, len = audioTracks.length; i < len; i++ ) { + switch(what) { + case "on": + audioTracks[i].enabled = true; + break; + case "off": + audioTracks[i].enabled = false; + break; + case "toggle": + audioTracks[i].enabled = !audioTracks[i].enabled; + default: + break; + } + + self.audioEnabled = audioTracks[i].enabled; + } + + return !self.audioEnabled; + } + + $.FSRTC.prototype.getVideoMute = function() { + var self = this; + return self.videoEnabled; + } + + $.FSRTC.prototype.setVideoMute = function(what) { + var self = this; + if (!self.localStream) { + return false; + } + var videoTracks = self.localStream.getVideoTracks(); + + for (var i = 0, len = videoTracks.length; i < len; i++ ) { + switch(what) { + case "on": + videoTracks[i].enabled = true; + break; + case "off": + videoTracks[i].enabled = false; + break; + case "toggle": + videoTracks[i].enabled = !videoTracks[i].enabled; + default: + break; + } + + self.videoEnabled = videoTracks[i].enabled; + } + + return !self.videoEnabled; + } + + $.FSRTC.prototype.createAnswer = function(params) { + var self = this; + self.type = "answer"; + self.remoteSDP = params.sdp; + console.debug("inbound sdp: ", params.sdp); + + function onSuccess(stream) { + self.localStream = stream; + + self.peer = FSRTCPeerConnection({ + type: self.type, + attachStream: self.localStream, + onICE: function(candidate) { + return onICE(self, candidate); + }, + onICEComplete: function() { + return onICEComplete(self); + }, + onRemoteStream: function(stream) { + return onRemoteStream(self, stream); + }, + onICESDP: function(sdp) { + return onICESDP(self, sdp); + }, + onChannelError: function(e) { + return onChannelError(self, e); + }, + constraints: self.constraints, + iceServers: self.options.iceServers, + offerSDP: { + type: "offer", + sdp: self.remoteSDP + }, + turnServer: self.options.turnServer + }); + + onStreamSuccess(self, stream); + } + + function onError(e) { + onStreamError(self, e); + } + + var mediaParams = getMediaParams(self); + + console.log("Audio constraints", mediaParams.audio); + console.log("Video constraints", mediaParams.video); + + if (self.options.useVideo && self.options.localVideo && !self.options.useStream) { + getUserMedia({ + constraints: { + audio: false, + video: { deviceId: params.useCamera }, + }, + localVideo: self.options.localVideo, + onsuccess: function(e) {self.options.localVideoStream = e; console.log("local video ready");}, + onerror: function(e) {console.error("local video error!");} + }); + } + + if (self.options.useStream) { + if (self.options.useVideo) { + self.options.localVideoStream = self.options.useStream; + if (self.options.localVideo) { + activateLocalVideo(self.options.localVideo, self.options.useStream); + } + } + onSuccess(self.options.useStream); + } + else { + getUserMedia({ + constraints: { + audio: mediaParams.audio, + video: mediaParams.video + }, + video: mediaParams.useVideo, + onsuccess: onSuccess, + onerror: onError + }); + } + + }; + + function getMediaParams(obj) { + + var audio; + + if (obj.options.useMic && obj.options.useMic === "none") { + console.log("Microphone Disabled"); + audio = false; + } else if (obj.options.videoParams && obj.options.screenShare) {//obj.options.videoParams.chromeMediaSource == 'desktop') { + console.error("SCREEN SHARE", obj.options.videoParams); + audio = false; + } else { + audio = { + }; + + if (obj.options.audioParams) { + audio = obj.options.audioParams; + } + + if (obj.options.useMic !== "any") { + //audio.optional = [{sourceId: obj.options.useMic}]; + audio.deviceId = {exact: obj.options.useMic}; + } + } + + if (obj.options.useVideo && obj.options.localVideo && !obj.options.useStream) { + getUserMedia({ + constraints: { + audio: false, + video: { deviceId: obj.options.useCamera }, + }, + localVideo: obj.options.localVideo, + onsuccess: function(e) {obj.options.localVideoStream = e; console.log("local video ready");}, + onerror: function(e) {console.error("local video error!");} + }); + } + + var video = {}; + var bestFrameRate = obj.options.videoParams.vertoBestFrameRate; + var minFrameRate = obj.options.videoParams.minFrameRate || 15; + delete obj.options.videoParams.vertoBestFrameRate; + + if (obj.options.screenShare) { + if (!obj.options.useCamera && !!navigator.mozGetUserMedia) { + //This is an issue, only FireFox needs to ask this additional question if its screen or window we need a better way + var dowin = window.confirm("Do you want to share an application window? If not you can share an entire screen."); + + video = { + width: {min: obj.options.videoParams.minWidth, max: obj.options.videoParams.maxWidth}, + height: {min: obj.options.videoParams.minHeight, max: obj.options.videoParams.maxHeight}, + mediaSource: dowin ? "window" : "screen" + } + } else { + var opt = []; + if (obj.options.useCamera) { + opt.push({sourceId: obj.options.useCamera}); + } + + if (bestFrameRate) { + opt.push({minFrameRate: bestFrameRate}); + opt.push({maxFrameRate: bestFrameRate}); + } + + video = { + mandatory: obj.options.videoParams, + optional: opt + }; + // NOTE: This is a workaround for + // https://bugs.chromium.org/p/chromium/issues/detail?id=862325 + if (!!navigator.userAgent.match(/Android/i)) { + delete video.frameRate.min; + } + } + } else { + + video = { + //mandatory: obj.options.videoParams, + width: {min: obj.options.videoParams.minWidth, max: obj.options.videoParams.maxWidth}, + height: {min: obj.options.videoParams.minHeight, max: obj.options.videoParams.maxHeight} + }; + + + + var useVideo = obj.options.useVideo; + + if (useVideo && obj.options.useCamera && obj.options.useCamera !== "none") { + //if (!video.optional) { + //video.optional = []; + //} + + + if (obj.options.useCamera !== "any") { + //video.optional.push({sourceId: obj.options.useCamera}); + video.deviceId = { + exact: obj.options.useCamera, + }; + } + + if (bestFrameRate) { + //video.optional.push({minFrameRate: bestFrameRate}); + //video.optional.push({maxFrameRate: bestFrameRate}); + video.frameRate = {ideal: bestFrameRate, min: minFrameRate, max: 30}; + } + + } else { + console.log("Camera Disabled"); + video = false; + useVideo = false; + } + } + + return {audio: audio, video: video, useVideo: useVideo}; + } + + $.FSRTC.prototype.call = function(profile) { + checkCompat(); + + var self = this; + var screen = false; + + self.type = "offer"; + + if (self.options.videoParams && self.options.screenShare) { //self.options.videoParams.chromeMediaSource == 'desktop') { + screen = true; + } + + function onSuccess(stream) { + self.localStream = stream; + + if (screen) { + self.constraints.offerToReceiveVideo = false; + self.constraints.offerToReceiveAudio = false; + self.constraints.offerToSendAudio = false; + } + + self.peer = FSRTCPeerConnection({ + type: self.type, + attachStream: self.localStream, + onICE: function(candidate) { + return onICE(self, candidate); + }, + onICEComplete: function() { + return onICEComplete(self); + }, + onRemoteStream: screen ? function(stream) {} : function(stream) { + return onRemoteStream(self, stream); + }, + onOfferSDP: function(sdp) { + return onOfferSDP(self, sdp); + }, + onICESDP: function(sdp) { + return onICESDP(self, sdp); + }, + onChannelError: function(e) { + return onChannelError(self, e); + }, + constraints: self.constraints, + iceServers: self.options.iceServers, + turnServer: self.options.turnServer + }); + + onStreamSuccess(self, stream); + } + + function onError(e) { + onStreamError(self, e); + } + + var mediaParams = getMediaParams(self); + + console.log("Audio constraints", mediaParams.audio); + console.log("Video constraints", mediaParams.video); + + if (self.options.useStream) { + if (self.options.useVideo) { + self.options.localVideoStream = self.options.useStream; + if (self.options.localVideo) { + activateLocalVideo(self.options.localVideo, self.options.useStream); + } + } + onSuccess(self.options.useStream); + } + else if (mediaParams.audio || mediaParams.video) { + + getUserMedia({ + constraints: { + audio: mediaParams.audio, + video: mediaParams.video + }, + video: mediaParams.useVideo, + onsuccess: onSuccess, + onerror: onError + }); + + } else { + onSuccess(null); + } + + + + /* + navigator.getUserMedia({ + video: self.options.useVideo, + audio: true + }, onSuccess, onError); + */ + + }; + + // DERIVED from RTCPeerConnection-v1.5 + // 2013, @muazkh - github.com/muaz-khan + // MIT License - https://www.webrtc-experiment.com/licence/ + // Documentation - https://github.com/muaz-khan/WebRTC-Experiment/tree/master/RTCPeerConnection + + function FSRTCPeerConnection(options) { + var gathering = false, done = false; + var config = {}; + var default_ice = [{ urls: ['stun:stun.l.google.com:19302'] }]; + + if (self.options.turnServer) { + default_ice.push(self.options.turnServer) + } + + if (options.iceServers) { + if (typeof(options.iceServers) === "boolean") { + config.iceServers = default_ice; + } else { + config.iceServers = options.iceServers; + } + } + + config.bundlePolicy = "max-compat"; + + var peer = new window.RTCPeerConnection(config); + + openOffererChannel(); + var x = 0; + + function ice_handler() { + + done = true; + gathering = null; + + if (options.onICEComplete) { + options.onICEComplete(); + } + + if (options.type == "offer") { + options.onICESDP(peer.localDescription); + } else { + if (!x && options.onICESDP) { + options.onICESDP(peer.localDescription); + } + } + } + + peer.onicecandidate = function(event) { + + if (done) { + return; + } + + if (!gathering) { + gathering = setTimeout(ice_handler, 1000); + } + + if (event) { + if (event.candidate) { + options.onICE(event.candidate); + } + } else { + done = true; + + if (gathering) { + clearTimeout(gathering); + gathering = null; + } + + ice_handler(); + } + }; + + // attachStream = MediaStream; + if (options.attachStream) peer.addStream(options.attachStream); + + // attachStreams[0] = audio-stream; + // attachStreams[1] = video-stream; + // attachStreams[2] = screen-capturing-stream; + if (options.attachStreams && options.attachStream.length) { + var streams = options.attachStreams; + for (var i = 0; i < streams.length; i++) { + peer.addStream(streams[i]); + } + } + + peer.onaddstream = function(event) { + var remoteMediaStream = event.stream; + + // onRemoteStreamEnded(MediaStream) + remoteMediaStream.oninactive = function () { + if (options.onRemoteStreamEnded) options.onRemoteStreamEnded(remoteMediaStream); + }; + + // onRemoteStream(MediaStream) + if (options.onRemoteStream) options.onRemoteStream(remoteMediaStream); + + //console.debug('on:add:stream', remoteMediaStream); + }; + + //var constraints = options.constraints || { + // offerToReceiveAudio: true, + //offerToReceiveVideo: true + //}; + + // onOfferSDP(RTCSessionDescription) + function createOffer() { + if (!options.onOfferSDP) return; + + peer.createOffer(function(sessionDescription) { + sessionDescription.sdp = serializeSdp(sessionDescription.sdp); + peer.setLocalDescription(sessionDescription); + options.onOfferSDP(sessionDescription); + }, + onSdpError, options.constraints); + } + + // onAnswerSDP(RTCSessionDescription) + function createAnswer() { + if (options.type != "answer") return; + + //options.offerSDP.sdp = addStereo(options.offerSDP.sdp); + peer.setRemoteDescription(new window.RTCSessionDescription(options.offerSDP), onSdpSuccess, onSdpError); + peer.createAnswer(function(sessionDescription) { + sessionDescription.sdp = serializeSdp(sessionDescription.sdp); + peer.setLocalDescription(sessionDescription); + if (options.onAnswerSDP) { + options.onAnswerSDP(sessionDescription); + } + }, + onSdpError); + } + + + if ((options.onChannelMessage) || !options.onChannelMessage) { + createOffer(); + createAnswer(); + } + + // DataChannel Bandwidth + function setBandwidth(sdp) { + // remove existing bandwidth lines + sdp = sdp.replace(/b=AS([^\r\n]+\r\n)/g, ''); + sdp = sdp.replace(/a=mid:data\r\n/g, 'a=mid:data\r\nb=AS:1638400\r\n'); + + return sdp; + } + + // old: FF<>Chrome interoperability management + function getInteropSDP(sdp) { + var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split(''), + extractedChars = ''; + + function getChars() { + extractedChars += chars[parseInt(Math.random() * 40)] || ''; + if (extractedChars.length < 40) getChars(); + + return extractedChars; + } + + // usually audio-only streaming failure occurs out of audio-specific crypto line + // a=crypto:1 AES_CM_128_HMAC_SHA1_32 --------- kAttributeCryptoVoice + if (options.onAnswerSDP) sdp = sdp.replace(/(a=crypto:0 AES_CM_128_HMAC_SHA1_32)(.*?)(\r\n)/g, ''); + + // video-specific crypto line i.e. SHA1_80 + // a=crypto:1 AES_CM_128_HMAC_SHA1_80 --------- kAttributeCryptoVideo + var inline = getChars() + '\r\n' + (extractedChars = ''); + sdp = sdp.indexOf('a=crypto') == -1 ? sdp.replace(/c=IN/g, 'a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:' + inline + 'c=IN') : sdp; + + return sdp; + } + + function serializeSdp(sdp) { + return sdp; + } + + // DataChannel management + var channel; + + function openOffererChannel() { + if (!options.onChannelMessage) return; + + _openOffererChannel(); + + return; + } + + function _openOffererChannel() { + channel = peer.createDataChannel(options.channel || 'RTCDataChannel', { + reliable: false + }); + + setChannelEvents(); + } + + function setChannelEvents() { + channel.onmessage = function(event) { + if (options.onChannelMessage) options.onChannelMessage(event); + }; + + channel.onopen = function() { + if (options.onChannelOpened) options.onChannelOpened(channel); + }; + channel.onclose = function(event) { + if (options.onChannelClosed) options.onChannelClosed(event); + + console.warn('WebRTC DataChannel closed', event); + }; + channel.onerror = function(event) { + if (options.onChannelError) options.onChannelError(event); + + console.error('WebRTC DataChannel error', event); + }; + } + + function openAnswererChannel() { + peer.ondatachannel = function(event) { + channel = event.channel; + channel.binaryType = 'blob'; + setChannelEvents(); + }; + + return; + } + + // fake:true is also available on chrome under a flag! + function useless() { + log('Error in fake:true'); + } + + function onSdpSuccess() {} + + function onSdpError(e) { + if (options.onChannelError) { + options.onChannelError(e); + } + console.error('sdp error:', e); + } + + return { + addAnswerSDP: function(sdp, cbSuccess, cbError) { + + peer.setRemoteDescription(new window.RTCSessionDescription(sdp), cbSuccess ? cbSuccess : onSdpSuccess, cbError ? cbError : onSdpError); + }, + addICE: function(candidate) { + peer.addIceCandidate(new window.RTCIceCandidate({ + sdpMLineIndex: candidate.sdpMLineIndex, + candidate: candidate.candidate + })); + }, + + peer: peer, + channel: channel, + sendData: function(message) { + if (channel) { + channel.send(message); + } + }, + + stop: function() { + peer.close(); + if (options.attachStream) { + if(typeof options.attachStream.stop == 'function') { + options.attachStream.stop(); + } else { + options.attachStream.active = false; + } + } + } + + }; + } + + // getUserMedia + var video_constraints = { + //mandatory: {}, + //optional: [] + }; + + function activateLocalVideo(el, stream) { + el.srcObject = stream; + el.style.display = 'block'; + } + + function deactivateLocalVideo(el) { + el.srcObject = null; + el.style.display = 'none'; + } + + function getUserMedia(options) { + var n = navigator, + media; + n.getMedia = n.getUserMedia; + n.getMedia(options.constraints || { + audio: true, + video: video_constraints + }, + streaming, options.onerror || + function(e) { + console.error(e); + }); + + function streaming(stream) { + if (options.localVideo) { + activateLocalVideo(options.localVideo, stream); + } + + if (options.onsuccess) { + options.onsuccess(stream); + } + + media = stream; + } + + return media; + } + + $.FSRTC.resSupported = function(w, h) { + for (var i in $.FSRTC.validRes) { + if ($.FSRTC.validRes[i][0] == w && $.FSRTC.validRes[i][1] == h) { + return true; + } + } + + return false; + } + + $.FSRTC.bestResSupported = function() { + var w = 0, h = 0; + + for (var i in $.FSRTC.validRes) { + if ($.FSRTC.validRes[i][0] >= w && $.FSRTC.validRes[i][1] >= h) { + w = $.FSRTC.validRes[i][0]; + h = $.FSRTC.validRes[i][1]; + } + } + + return [w, h]; + } + + var resList = [[160, 120], [320, 180], [320, 240], [640, 360], [640, 480], [1280, 720], [1920, 1080]]; + var resI = 0; + var ttl = 0; + + var checkRes = function (cam, func) { + + if (resI >= resList.length) { + var res = { + 'validRes': $.FSRTC.validRes, + 'bestResSupported': $.FSRTC.bestResSupported() + }; + + localStorage.setItem("res_" + cam, $.toJSON(res)); + + if (func) return func(res); + return; + } + + w = resList[resI][0]; + h = resList[resI][1]; + resI++; + + var video = { + width: {exact: w}, + height: {exact: h} + }; + + if (cam !== "any") { + video.deviceId = { + exact: cam, + }; + } + + getUserMedia({ + constraints: { + audio: ttl++ == 0, + video: video + }, + onsuccess: function(e) { + e.getTracks().forEach(function(track) {track.stop();}); + console.info(w + "x" + h + " supported."); $.FSRTC.validRes.push([w, h]); checkRes(cam, func);}, + onerror: function(e) {console.warn( w + "x" + h + " not supported."); checkRes(cam, func);} + }); + } + + + $.FSRTC.getValidRes = function (cam, func) { + var used = []; + var cached = localStorage.getItem("res_" + cam); + + if (cached) { + var cache = $.parseJSON(cached); + + if (cache) { + $.FSRTC.validRes = cache.validRes; + console.log("CACHED RES FOR CAM " + cam, cache); + } else { + console.error("INVALID CACHE"); + } + return func ? func(cache) : null; + } + + + $.FSRTC.validRes = []; + resI = 0; + + checkRes(cam, func); + } + + $.FSRTC.checkPerms = function (runtime, check_audio, check_video) { + getUserMedia({ + constraints: { + audio: check_audio, + video: check_video, + }, + onsuccess: function(e) { + + e.getTracks().forEach(function(track) {track.stop();}); + + console.info("media perm init complete"); + if (runtime) { + setTimeout(runtime, 100, true); + } + }, + onerror: function(e) { + if (check_video && check_audio) { + console.error("error, retesting with audio params only"); + return $.FSRTC.checkPerms(runtime, check_audio, false); + } + + console.error("media perm init error"); + + if (runtime) { + runtime(false) + } + } + }); + } + +})(jQuery); +/* + * Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * Copyright (C) 2005-2014, Anthony Minessale II + * + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is jquery.jsonrpclient.js modified for Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * + * The Initial Developer of the Original Code is + * Textalk AB http://textalk.se/ + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Anthony Minessale II + * + * jquery.jsonrpclient.js - JSON RPC client code + * + */ +/** + * This plugin requires jquery.json.js to be available, or at least the methods $.toJSON and + * $.parseJSON. + * + * The plan is to make use of websockets if they are available, but work just as well with only + * http if not. + * + * Usage example: + * + * var foo = new $.JsonRpcClient({ ajaxUrl: '/backend/jsonrpc' }); + * foo.call( + * 'bar', [ 'A parameter', 'B parameter' ], + * function(result) { alert('Foo bar answered: ' + result.my_answer); }, + * function(error) { console.log('There was an error', error); } + * ); + * + * More examples are available in README.md + */ +(function($) { + /** + * @fn new + * @memberof $.JsonRpcClient + * + * @param options An object stating the backends: + * ajaxUrl A url (relative or absolute) to a http(s) backend. + * socketUrl A url (relative of absolute) to a ws(s) backend. + * onmessage A socket message handler for other messages (non-responses). + * getSocket A function returning a WebSocket or null. + * It must take an onmessage_cb and bind it to the onmessage event + * (or chain it before/after some other onmessage handler). + * Or, it could return null if no socket is available. + * The returned instance must have readyState <= 1, and if less than 1, + * react to onopen binding. + */ + $.JsonRpcClient = function(options) { + var self = this; + this.options = $.extend({ + ajaxUrl : null, + socketUrl : null, ///< The ws-url for default getSocket. + onmessage : null, ///< Other onmessage-handler. + login : null, /// auth login + passwd : null, /// auth passwd + sessid : null, + loginParams : null, + userVariables : null, + getSocket : function(onmessage_cb) { return self._getSocket(onmessage_cb); } + }, options); + + self.ws_cnt = 0; + + // Declare an instance version of the onmessage callback to wrap 'this'. + this.wsOnMessage = function(event) { self._wsOnMessage(event); }; + }; + + /// Holding the WebSocket on default getsocket. + $.JsonRpcClient.prototype._ws_socket = null; + + /// Object : { success_cb: cb, error_cb: cb } + $.JsonRpcClient.prototype._ws_callbacks = {}; + + /// The next JSON-RPC request id. + $.JsonRpcClient.prototype._current_id = 1; + + + $.JsonRpcClient.prototype.speedTest = function (bytes, cb) { + var socket = this.options.getSocket(this.wsOnMessage); + if (socket !== null) { + this.speedCB = cb; + this.speedBytes = bytes; + socket.send("#SPU " + bytes); + + var loops = bytes / 1024; + var rem = bytes % 1024; + var i; + var data = new Array(1024).join("."); + for (i = 0; i < loops; i++) { + socket.send("#SPB " + data); + } + + if (rem) { + socket.send("#SPB " + data); + } + + socket.send("#SPE"); + } + }; + + + + /** + * @fn call + * @memberof $.JsonRpcClient + * + * @param method The method to run on JSON-RPC server. + * @param params The params; an array or object. + * @param success_cb A callback for successful request. + * @param error_cb A callback for error. + */ + $.JsonRpcClient.prototype.call = function(method, params, success_cb, error_cb) { + // Construct the JSON-RPC 2.0 request. + + if (!params) { + params = {}; + } + + if (this.options.sessid) { + params.sessid = this.options.sessid; + } + + var request = { + jsonrpc : '2.0', + method : method, + params : params, + id : this._current_id++ // Increase the id counter to match request/response + }; + + if (!success_cb) { + success_cb = function(e){console.log("Success: ", e);}; + } + + if (!error_cb) { + error_cb = function(e){console.log("Error: ", e);}; + } + + // Try making a WebSocket call. + var socket = this.options.getSocket(this.wsOnMessage); + if (socket !== null) { + this._wsCall(socket, request, success_cb, error_cb); + return; + } + + // No WebSocket, and no HTTP backend? This won't work. + if (this.options.ajaxUrl === null) { + throw "$.JsonRpcClient.call used with no websocket and no http endpoint."; + } + + $.ajax({ + type : 'POST', + url : this.options.ajaxUrl, + data : $.toJSON(request), + dataType : 'json', + cache : false, + + success : function(data) { + if ('error' in data) error_cb(data.error, this); + success_cb(data.result, this); + }, + + // JSON-RPC Server could return non-200 on error + error : function(jqXHR, textStatus, errorThrown) { + try { + var response = $.parseJSON(jqXHR.responseText); + + if ('console' in window) console.log(response); + + error_cb(response.error, this); + } catch (err) { + // Perhaps the responseText wasn't really a jsonrpc-error. + error_cb({ error: jqXHR.responseText }, this); + } + } + }); + }; + + /** + * Notify sends a command to the server that won't need a response. In http, there is probably + * an empty response - that will be dropped, but in ws there should be no response at all. + * + * This is very similar to call, but has no id and no handling of callbacks. + * + * @fn notify + * @memberof $.JsonRpcClient + * + * @param method The method to run on JSON-RPC server. + * @param params The params; an array or object. + */ + $.JsonRpcClient.prototype.notify = function(method, params) { + // Construct the JSON-RPC 2.0 request. + + if (this.options.sessid) { + params.sessid = this.options.sessid; + } + + var request = { + jsonrpc: '2.0', + method: method, + params: params + }; + + // Try making a WebSocket call. + var socket = this.options.getSocket(this.wsOnMessage); + if (socket !== null) { + this._wsCall(socket, request); + return; + } + + // No WebSocket, and no HTTP backend? This won't work. + if (this.options.ajaxUrl === null) { + throw "$.JsonRpcClient.notify used with no websocket and no http endpoint."; + } + + $.ajax({ + type : 'POST', + url : this.options.ajaxUrl, + data : $.toJSON(request), + dataType : 'json', + cache : false + }); + }; + + /** + * Make a batch-call by using a callback. + * + * The callback will get an object "batch" as only argument. On batch, you can call the methods + * "call" and "notify" just as if it was a normal $.JsonRpcClient object, and all calls will be + * sent as a batch call then the callback is done. + * + * @fn batch + * @memberof $.JsonRpcClient + * + * @param callback The main function which will get a batch handler to run call and notify on. + * @param all_done_cb A callback function to call after all results have been handled. + * @param error_cb A callback function to call if there is an error from the server. + * Note, that batch calls should always get an overall success, and the + * only error + */ + $.JsonRpcClient.prototype.batch = function(callback, all_done_cb, error_cb) { + var batch = new $.JsonRpcClient._batchObject(this, all_done_cb, error_cb); + callback(batch); + batch._execute(); + }; + + /** + * The default getSocket handler. + * + * @param onmessage_cb The callback to be bound to onmessage events on the socket. + * + * @fn _getSocket + * @memberof $.JsonRpcClient + */ + + $.JsonRpcClient.prototype.socketReady = function() { + if (this._ws_socket === null || this._ws_socket.readyState > 1) { + return false; + } + + return true; + }; + + $.JsonRpcClient.prototype.closeSocket = function() { + var self = this; + if (self.socketReady()) { + self._ws_socket.onclose = function (w) {console.log("Closing Socket");}; + self._ws_socket.close(); + } + }; + + $.JsonRpcClient.prototype.loginData = function(params) { + var self = this; + self.options.login = params.login; + self.options.passwd = params.passwd; + self.options.loginParams = params.loginParams; + self.options.userVariables = params.userVariables; + }; + + $.JsonRpcClient.prototype.connectSocket = function(onmessage_cb) { + var self = this; + + if (self.to) { + clearTimeout(self.to); + } + + if (!self.socketReady()) { + self.authing = false; + + if (self._ws_socket) { + delete self._ws_socket; + } + + // No socket, or dying socket, let's get a new one. + self._ws_socket = new WebSocket(self.options.socketUrl); + + if (self._ws_socket) { + // Set up onmessage handler. + self._ws_socket.onmessage = onmessage_cb; + self._ws_socket.onclose = function (w) { + if (!self.ws_sleep) { + self.ws_sleep = 1000; + } + + if (self.options.onWSClose) { + self.options.onWSClose(self); + } + + if (self.ws_cnt > 10 && self.options.wsFallbackURL) { + self.options.socketUrl = self.options.wsFallbackURL; + } + + console.error("Websocket Lost " + self.ws_cnt + " sleep: " + self.ws_sleep + "msec"); + + self.to = setTimeout(function() { + console.log("Attempting Reconnection...."); + self.connectSocket(onmessage_cb); + }, self.ws_sleep); + + self.ws_cnt++; + + if (self.ws_sleep < 3000 && (self.ws_cnt % 10) === 0) { + self.ws_sleep += 1000; + } + }; + + // Set up sending of message for when the socket is open. + self._ws_socket.onopen = function() { + if (self.to) { + clearTimeout(self.to); + } + self.ws_sleep = 1000; + self.ws_cnt = 0; + if (self.options.onWSConnect) { + self.options.onWSConnect(self); + } + + var req; + // Send the requests. + while ((req = $.JsonRpcClient.q.pop())) { + self._ws_socket.send(req); + } + }; + } + } + + return self._ws_socket ? true : false; + }; + + $.JsonRpcClient.prototype.stopRetrying = function() { + if (self.to) + clearTimeout(self.to); + } + + $.JsonRpcClient.prototype._getSocket = function(onmessage_cb) { + // If there is no ws url set, we don't have a socket. + // Likewise, if there is no window.WebSocket. + if (this.options.socketUrl === null || !("WebSocket" in window)) return null; + + this.connectSocket(onmessage_cb); + + return this._ws_socket; + }; + + /** + * Queue to save messages delivered when websocket is not ready + */ + $.JsonRpcClient.q = []; + + /** + * Internal handler to dispatch a JRON-RPC request through a websocket. + * + * @fn _wsCall + * @memberof $.JsonRpcClient + */ + $.JsonRpcClient.prototype._wsCall = function(socket, request, success_cb, error_cb) { + var request_json = $.toJSON(request); + + if (socket.readyState < 1) { + // The websocket is not open yet; we have to set sending of the message in onopen. + self = this; // In closure below, this is set to the WebSocket. Use self instead. + $.JsonRpcClient.q.push(request_json); + } else { + // We have a socket and it should be ready to send on. + socket.send(request_json); + } + + // Setup callbacks. If there is an id, this is a call and not a notify. + if ('id' in request && typeof success_cb !== 'undefined') { + this._ws_callbacks[request.id] = { request: request_json, request_obj: request, success_cb: success_cb, error_cb: error_cb }; + } + }; + + /** + * Internal handler for the websocket messages. It determines if the message is a JSON-RPC + * response, and if so, tries to couple it with a given callback. Otherwise, it falls back to + * given external onmessage-handler, if any. + * + * @param event The websocket onmessage-event. + */ + $.JsonRpcClient.prototype._wsOnMessage = function(event) { + // Check if this could be a JSON RPC message. + var response; + + // Special sub proto + if (event.data[0] == "#" && event.data[1] == "S" && event.data[2] == "P") { + if (event.data[3] == "U") { + this.up_dur = parseInt(event.data.substring(4)); + } else if (this.speedCB && event.data[3] == "D") { + this.down_dur = parseInt(event.data.substring(4)); + + var up_kps = (((this.speedBytes * 8) / (this.up_dur / 1000)) / 1024).toFixed(0); + var down_kps = (((this.speedBytes * 8) / (this.down_dur / 1000)) / 1024).toFixed(0); + + console.info("Speed Test: Up: " + up_kps + " Down: " + down_kps); + var cb = this.speedCB; + this.speedCB = null; + cb(event, { + upDur: this.up_dur, + downDur: this.down_dur, + upKPS: up_kps, + downKPS: down_kps + }); + } + + return; + } + + + try { + response = $.parseJSON(event.data); + + /// @todo Make using the jsonrcp 2.0 check optional, to use this on JSON-RPC 1 backends. + + if (typeof response === 'object' && + 'jsonrpc' in response && + response.jsonrpc === '2.0') { + + /// @todo Handle bad response (without id). + + // If this is an object with result, it is a response. + if ('result' in response && this._ws_callbacks[response.id]) { + // Get the success callback. + var success_cb = this._ws_callbacks[response.id].success_cb; + + /* + // set the sessid if present + if ('sessid' in response.result && !this.options.sessid || (this.options.sessid != response.result.sessid)) { + this.options.sessid = response.result.sessid; + if (this.options.sessid) { + console.log("setting session UUID to: " + this.options.sessid); + } + } + */ + // Delete the callback from the storage. + delete this._ws_callbacks[response.id]; + + // Run callback with result as parameter. + success_cb(response.result, this); + return; + } else if ('error' in response && this._ws_callbacks[response.id]) { + // If this is an object with error, it is an error response. + + // Get the error callback. + var error_cb = this._ws_callbacks[response.id].error_cb; + var orig_req = this._ws_callbacks[response.id].request; + + // if this is an auth request, send the credentials and resend the failed request + if (!self.authing && response.error.code == -32000 && self.options.login && self.options.passwd) { + self.authing = true; + + this.call("login", { login: self.options.login, passwd: self.options.passwd, loginParams: self.options.loginParams, + userVariables: self.options.userVariables}, + this._ws_callbacks[response.id].request_obj.method == "login" ? + function(e) { + self.authing = false; + console.log("logged in"); + delete self._ws_callbacks[response.id]; + + if (self.options.onWSLogin) { + self.options.onWSLogin(true, self); + } + } + + : + + function(e) { + self.authing = false; + console.log("logged in, resending request id: " + response.id); + var socket = self.options.getSocket(self.wsOnMessage); + if (socket !== null) { + socket.send(orig_req); + } + if (self.options.onWSLogin) { + self.options.onWSLogin(true, self); + } + }, + + function(e) { + console.log("error logging in, request id:", response.id); + delete self._ws_callbacks[response.id]; + error_cb(response.error, this); + if (self.options.onWSLogin) { + self.options.onWSLogin(false, self); + } + }); + return; + } + + // Delete the callback from the storage. + delete this._ws_callbacks[response.id]; + + // Run callback with the error object as parameter. + error_cb(response.error, this); + return; + } + } + } catch (err) { + // Probably an error while parsing a non json-string as json. All real JSON-RPC cases are + // handled above, and the fallback method is called below. + console.log("ERROR: "+ err); + return; + } + + // This is not a JSON-RPC response. Call the fallback message handler, if given. + if (typeof this.options.onmessage === 'function') { + event.eventData = response; + if (!event.eventData) { + event.eventData = {}; + } + + var reply = this.options.onmessage(event); + + if (reply && typeof reply === "object" && event.eventData.id) { + var msg = { + jsonrpc: "2.0", + id: event.eventData.id, + result: reply + }; + + var socket = self.options.getSocket(self.wsOnMessage); + if (socket !== null) { + socket.send($.toJSON(msg)); + } + } + } + }; + + + /************************************************************************************************ + * Batch object with methods + ************************************************************************************************/ + + /** + * Handling object for batch calls. + */ + $.JsonRpcClient._batchObject = function(jsonrpcclient, all_done_cb, error_cb) { + // Array of objects to hold the call and notify requests. Each objects will have the request + // object, and unless it is a notify, success_cb and error_cb. + this._requests = []; + + this.jsonrpcclient = jsonrpcclient; + this.all_done_cb = all_done_cb; + this.error_cb = typeof error_cb === 'function' ? error_cb : function() {}; + + }; + + /** + * @sa $.JsonRpcClient.prototype.call + */ + $.JsonRpcClient._batchObject.prototype.call = function(method, params, success_cb, error_cb) { + + if (!params) { + params = {}; + } + + if (this.options.sessid) { + params.sessid = this.options.sessid; + } + + if (!success_cb) { + success_cb = function(e){console.log("Success: ", e);}; + } + + if (!error_cb) { + error_cb = function(e){console.log("Error: ", e);}; + } + + this._requests.push({ + request : { + jsonrpc : '2.0', + method : method, + params : params, + id : this.jsonrpcclient._current_id++ // Use the client's id series. + }, + success_cb : success_cb, + error_cb : error_cb + }); + }; + + /** + * @sa $.JsonRpcClient.prototype.notify + */ + $.JsonRpcClient._batchObject.prototype.notify = function(method, params) { + if (this.options.sessid) { + params.sessid = this.options.sessid; + } + + this._requests.push({ + request : { + jsonrpc : '2.0', + method : method, + params : params + } + }); + }; + + /** + * Executes the batched up calls. + */ + $.JsonRpcClient._batchObject.prototype._execute = function() { + var self = this; + + if (this._requests.length === 0) return; // All done :P + + // Collect all request data and sort handlers by request id. + var batch_request = []; + var handlers = {}; + var i = 0; + var call; + var success_cb; + var error_cb; + + // If we have a WebSocket, just send the requests individually like normal calls. + var socket = self.jsonrpcclient.options.getSocket(self.jsonrpcclient.wsOnMessage); + if (socket !== null) { + for (i = 0; i < this._requests.length; i++) { + call = this._requests[i]; + success_cb = ('success_cb' in call) ? call.success_cb : undefined; + error_cb = ('error_cb' in call) ? call.error_cb : undefined; + self.jsonrpcclient._wsCall(socket, call.request, success_cb, error_cb); + } + + if (typeof all_done_cb === 'function') all_done_cb(result); + return; + } + + for (i = 0; i < this._requests.length; i++) { + call = this._requests[i]; + batch_request.push(call.request); + + // If the request has an id, it should handle returns (otherwise it's a notify). + if ('id' in call.request) { + handlers[call.request.id] = { + success_cb : call.success_cb, + error_cb : call.error_cb + }; + } + } + + success_cb = function(data) { self._batchCb(data, handlers, self.all_done_cb); }; + + // No WebSocket, and no HTTP backend? This won't work. + if (self.jsonrpcclient.options.ajaxUrl === null) { + throw "$.JsonRpcClient.batch used with no websocket and no http endpoint."; + } + + // Send request + $.ajax({ + url : self.jsonrpcclient.options.ajaxUrl, + data : $.toJSON(batch_request), + dataType : 'json', + cache : false, + type : 'POST', + + // Batch-requests should always return 200 + error : function(jqXHR, textStatus, errorThrown) { + self.error_cb(jqXHR, textStatus, errorThrown); + }, + success : success_cb + }); + }; + + /** + * Internal helper to match the result array from a batch call to their respective callbacks. + * + * @fn _batchCb + * @memberof $.JsonRpcClient + */ + $.JsonRpcClient._batchObject.prototype._batchCb = function(result, handlers, all_done_cb) { + for (var i = 0; i < result.length; i++) { + var response = result[i]; + + // Handle error + if ('error' in response) { + if (response.id === null || !(response.id in handlers)) { + // An error on a notify? Just log it to the console. + if ('console' in window) console.log(response); + } else { + handlers[response.id].error_cb(response.error, this); + } + } else { + // Here we should always have a correct id and no error. + if (!(response.id in handlers) && 'console' in window) { + console.log(response); + } else { + handlers[response.id].success_cb(response.result, this); + } + } + } + + if (typeof all_done_cb === 'function') all_done_cb(result); + }; + +})(jQuery); + +/* + * Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * Copyright (C) 2005-2014, Anthony Minessale II + * + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * + * The Initial Developer of the Original Code is + * Anthony Minessale II + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Anthony Minessale II + * + * jquery.verto.js - Main interface + * + */ + +(function($) { + var sources = []; + + var generateGUID = (typeof(window.crypto) !== 'undefined' && typeof(window.crypto.getRandomValues) !== 'undefined') ? + function() { + // If we have a cryptographically secure PRNG, use that + // http://stackoverflow.com/questions/6906916/collisions-when-generating-uuids-in-javascript + var buf = new Uint16Array(8); + window.crypto.getRandomValues(buf); + var S4 = function(num) { + var ret = num.toString(16); + while (ret.length < 4) { + ret = "0" + ret; + } + return ret; + }; + return (S4(buf[0]) + S4(buf[1]) + "-" + S4(buf[2]) + "-" + S4(buf[3]) + "-" + S4(buf[4]) + "-" + S4(buf[5]) + S4(buf[6]) + S4(buf[7])); + } + + : + + function() { + // Otherwise, just use Math.random + // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523 + return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { + var r = Math.random() * 16 | 0, + v = c == 'x' ? r : (r & 0x3 | 0x8); + return v.toString(16); + }); + }; + + /// MASTER OBJ + $.verto = function(options, callbacks) { + var verto = this; + + $.verto.saved.push(verto); + + verto.options = $.extend({ + login: null, + passwd: null, + socketUrl: null, + tag: null, + localTag: null, + videoParams: {}, + audioParams: {}, + loginParams: {}, + deviceParams: {onResCheck: null}, + userVariables: {}, + iceServers: false, + ringSleep: 6000, + sessid: null, + useStream: null + }, options); + + if (verto.options.deviceParams.useCamera) { + $.FSRTC.getValidRes(verto.options.deviceParams.useCamera, verto.options.deviceParams.onResCheck); + } + + if (!verto.options.deviceParams.useMic) { + verto.options.deviceParams.useMic = "any"; + } + + if (!verto.options.deviceParams.useSpeak) { + verto.options.deviceParams.useSpeak = "any"; + } + + if (verto.options.sessid) { + verto.sessid = verto.options.sessid; + } else { + verto.sessid = localStorage.getItem("verto_session_uuid") || generateGUID(); + localStorage.setItem("verto_session_uuid", verto.sessid); + } + + verto.dialogs = {}; + verto.callbacks = callbacks || {}; + verto.eventSUBS = {}; + + verto.rpcClient = new $.JsonRpcClient({ + login: verto.options.login, + passwd: verto.options.passwd, + socketUrl: verto.options.socketUrl, + wsFallbackURL: verto.options.wsFallbackURL, + turnServer: verto.options.turnServer, + loginParams: verto.options.loginParams, + userVariables: verto.options.userVariables, + sessid: verto.sessid, + onmessage: function(e) { + return verto.handleMessage(e.eventData); + }, + onWSConnect: function(o) { + o.call('login', {}); + }, + onWSLogin: function(success) { + if (verto.callbacks.onWSLogin) { + verto.callbacks.onWSLogin(verto, success); + } + }, + onWSClose: function(success) { + if (verto.callbacks.onWSClose) { + verto.callbacks.onWSClose(verto, success); + } + verto.purge(); + } + }); + + var tag = verto.options.tag; + if (typeof(tag) === "function") { + tag = tag(); + } + + if (verto.options.ringFile && verto.options.tag) { + verto.ringer = $("#" + tag); + } + + verto.rpcClient.call('login', {}); + + }; + + + $.verto.prototype.deviceParams = function(obj) { + var verto = this; + + for (var i in obj) { + verto.options.deviceParams[i] = obj[i]; + } + + if (obj.useCamera) { + $.FSRTC.getValidRes(verto.options.deviceParams.useCamera, obj ? obj.onResCheck : undefined); + } + }; + + $.verto.prototype.videoParams = function(obj) { + var verto = this; + + for (var i in obj) { + verto.options.videoParams[i] = obj[i]; + } + }; + + $.verto.prototype.iceServers = function(obj) { + var verto = this; + verto.options.iceServers = obj; + }; + + $.verto.prototype.loginData = function(params) { + var verto = this; + verto.options.login = params.login; + verto.options.passwd = params.passwd; + verto.rpcClient.loginData(params); + }; + + $.verto.prototype.logout = function(msg) { + var verto = this; + verto.rpcClient.closeSocket(); + if (verto.callbacks.onWSClose) { + verto.callbacks.onWSClose(verto, false); + } + verto.purge(); + }; + + $.verto.prototype.login = function(msg) { + var verto = this; + verto.logout(); + verto.rpcClient.call('login', {}); + }; + + $.verto.prototype.message = function(msg) { + var verto = this; + var err = 0; + + if (!msg.to) { + console.error("Missing To"); + err++; + } + + if (!msg.body) { + console.error("Missing Body"); + err++; + } + + if (err) { + return false; + } + + verto.sendMethod("verto.info", { + msg: msg + }); + + return true; + }; + + $.verto.prototype.processReply = function(method, success, e) { + var verto = this; + var i; + + //console.log("Response: " + method, success, e); + + switch (method) { + case "verto.subscribe": + for (i in e.unauthorizedChannels) { + drop_bad(verto, e.unauthorizedChannels[i]); + } + for (i in e.subscribedChannels) { + mark_ready(verto, e.subscribedChannels[i]); + } + + break; + case "verto.unsubscribe": + //console.error(e); + break; + } + }; + + $.verto.prototype.sendMethod = function(method, params) { + var verto = this; + + verto.rpcClient.call(method, params, + + function(e) { + /* Success */ + verto.processReply(method, true, e); + }, + + function(e) { + /* Error */ + verto.processReply(method, false, e); + }); + }; + + function do_sub(verto, channel, obj) { + + } + + function drop_bad(verto, channel) { + console.error("drop unauthorized channel: " + channel); + delete verto.eventSUBS[channel]; + } + + function mark_ready(verto, channel) { + for (var j in verto.eventSUBS[channel]) { + verto.eventSUBS[channel][j].ready = true; + console.log("subscribed to channel: " + channel); + if (verto.eventSUBS[channel][j].readyHandler) { + verto.eventSUBS[channel][j].readyHandler(verto, channel); + } + } + } + + var SERNO = 1; + + function do_subscribe(verto, channel, subChannels, sparams) { + var params = sparams || {}; + + var local = params.local; + + var obj = { + eventChannel: channel, + userData: params.userData, + handler: params.handler, + ready: false, + readyHandler: params.readyHandler, + serno: SERNO++ + }; + + var isnew = false; + + if (!verto.eventSUBS[channel]) { + verto.eventSUBS[channel] = []; + subChannels.push(channel); + isnew = true; + } + + verto.eventSUBS[channel].push(obj); + + if (local) { + obj.ready = true; + obj.local = true; + } + + if (!isnew && verto.eventSUBS[channel][0].ready) { + obj.ready = true; + if (obj.readyHandler) { + obj.readyHandler(verto, channel); + } + } + + return { + serno: obj.serno, + eventChannel: channel + }; + + } + + $.verto.prototype.subscribe = function(channel, sparams) { + var verto = this; + var r = []; + var subChannels = []; + var params = sparams || {}; + + if (typeof(channel) === "string") { + r.push(do_subscribe(verto, channel, subChannels, params)); + } else { + for (var i in channel) { + r.push(do_subscribe(verto, channel, subChannels, params)); + } + } + + if (subChannels.length) { + verto.sendMethod("verto.subscribe", { + eventChannel: subChannels.length == 1 ? subChannels[0] : subChannels, + subParams: params.subParams + }); + } + + return r; + }; + + $.verto.prototype.unsubscribe = function(handle) { + var verto = this; + var i; + + if (!handle) { + for (i in verto.eventSUBS) { + if (verto.eventSUBS[i]) { + verto.unsubscribe(verto.eventSUBS[i]); + } + } + } else { + var unsubChannels = {}; + var sendChannels = []; + var channel; + + if (typeof(handle) == "string") { + delete verto.eventSUBS[handle]; + unsubChannels[handle]++; + } else { + for (i in handle) { + if (typeof(handle[i]) == "string") { + channel = handle[i]; + delete verto.eventSUBS[channel]; + unsubChannels[channel]++; + } else { + var repl = []; + channel = handle[i].eventChannel; + + for (var j in verto.eventSUBS[channel]) { + if (verto.eventSUBS[channel][j].serno == handle[i].serno) {} else { + repl.push(verto.eventSUBS[channel][j]); + } + } + + verto.eventSUBS[channel] = repl; + + if (verto.eventSUBS[channel].length === 0) { + delete verto.eventSUBS[channel]; + unsubChannels[channel]++; + } + } + } + } + + for (var u in unsubChannels) { + console.log("Sending Unsubscribe for: ", u); + sendChannels.push(u); + } + + if (sendChannels.length) { + verto.sendMethod("verto.unsubscribe", { + eventChannel: sendChannels.length == 1 ? sendChannels[0] : sendChannels + }); + } + } + }; + + $.verto.prototype.broadcast = function(channel, params) { + var verto = this; + var msg = { + eventChannel: channel, + data: {} + }; + for (var i in params) { + msg.data[i] = params[i]; + } + verto.sendMethod("verto.broadcast", msg); + }; + + $.verto.prototype.purge = function(callID) { + var verto = this; + var x = 0; + var i; + + for (i in verto.dialogs) { + if (!x) { + console.log("purging dialogs"); + } + x++; + verto.dialogs[i].setState($.verto.enum.state.purge); + } + + for (i in verto.eventSUBS) { + if (verto.eventSUBS[i]) { + console.log("purging subscription: " + i); + delete verto.eventSUBS[i]; + } + } + }; + + $.verto.prototype.hangup = function(callID) { + var verto = this; + if (callID) { + var dialog = verto.dialogs[callID]; + + if (dialog) { + dialog.hangup(); + } + } else { + for (var i in verto.dialogs) { + verto.dialogs[i].hangup(); + } + } + }; + + $.verto.prototype.newCall = function(args, callbacks) { + var verto = this; + + if (!verto.rpcClient.socketReady()) { + console.error("Not Connected..."); + return; + } + + if (args["useCamera"]) { + verto.options.deviceParams["useCamera"] = args["useCamera"]; + } + + var dialog = new $.verto.dialog($.verto.enum.direction.outbound, this, args); + + if (callbacks) { + dialog.callbacks = callbacks; + } + + dialog.invite(); + + return dialog; + }; + + $.verto.prototype.handleMessage = function(data) { + var verto = this; + + if (!(data && data.method)) { + console.error("Invalid Data", data); + return; + } + + if (data.params.callID) { + var dialog = verto.dialogs[data.params.callID]; + + if (data.method === "verto.attach" && dialog) { + delete dialog.verto.dialogs[dialog.callID]; + dialog.rtc.stop(); + dialog = null; + } + + if (dialog) { + + switch (data.method) { + case 'verto.bye': + dialog.hangup(data.params); + break; + case 'verto.answer': + dialog.handleAnswer(data.params); + break; + case 'verto.media': + dialog.handleMedia(data.params); + break; + case 'verto.display': + dialog.handleDisplay(data.params); + break; + case 'verto.info': + dialog.handleInfo(data.params); + break; + default: + console.debug("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED", dialog, data.method); + break; + } + } else { + + switch (data.method) { + case 'verto.attach': + data.params.attach = true; + + if (data.params.sdp && data.params.sdp.indexOf("m=video") > 0) { + data.params.useVideo = true; + } + + if (data.params.sdp && data.params.sdp.indexOf("stereo=1") > 0) { + data.params.useStereo = true; + } + + dialog = new $.verto.dialog($.verto.enum.direction.inbound, verto, data.params); + dialog.setState($.verto.enum.state.recovering); + + break; + case 'verto.invite': + + if (data.params.sdp && data.params.sdp.indexOf("m=video") > 0) { + data.params.wantVideo = true; + } + + if (data.params.sdp && data.params.sdp.indexOf("stereo=1") > 0) { + data.params.useStereo = true; + } + + dialog = new $.verto.dialog($.verto.enum.direction.inbound, verto, data.params); + break; + default: + console.debug("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED"); + break; + } + } + + return { + method: data.method + }; + } else { + switch (data.method) { + case 'verto.punt': + verto.purge(); + verto.logout(); + break; + case 'verto.event': + var list = null; + var key = null; + + if (data.params) { + key = data.params.eventChannel; + } + + if (key) { + list = verto.eventSUBS[key]; + + if (!list) { + list = verto.eventSUBS[key.split(".")[0]]; + } + } + + if (!list && key && key === verto.sessid) { + if (verto.callbacks.onMessage) { + verto.callbacks.onMessage(verto, null, $.verto.enum.message.pvtEvent, data.params); + } + } else if (!list && key && verto.dialogs[key]) { + verto.dialogs[key].sendMessage($.verto.enum.message.pvtEvent, data.params); + } else if (!list) { + if (!key) { + key = "UNDEFINED"; + } + console.error("UNSUBBED or invalid EVENT " + key + " IGNORED"); + } else { + for (var i in list) { + var sub = list[i]; + + if (!sub || !sub.ready) { + console.error("invalid EVENT for " + key + " IGNORED"); + } else if (sub.handler) { + sub.handler(verto, data.params, sub.userData); + } else if (verto.callbacks.onEvent) { + verto.callbacks.onEvent(verto, data.params, sub.userData); + } else { + console.log("EVENT:", data.params); + } + } + } + + break; + + case "verto.info": + if (verto.callbacks.onMessage) { + verto.callbacks.onMessage(verto, null, $.verto.enum.message.info, data.params.msg); + } + //console.error(data); + console.debug("MESSAGE from: " + data.params.msg.from, data.params.msg.body); + + break; + + case 'verto.clientReady': + if (verto.callbacks.onMessage) { + verto.callbacks.onMessage(verto, null, $.verto.enum.message.clientReady, data.params); + } + console.debug("CLIENT READY", data.params); + break; + + default: + console.error("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED", data.method); + break; + } + } + }; + + var del_array = function(array, name) { + var r = []; + var len = array.length; + + for (var i = 0; i < len; i++) { + if (array[i] != name) { + r.push(array[i]); + } + } + + return r; + }; + + var hashArray = function() { + var vha = this; + + var hash = {}; + var array = []; + + vha.reorder = function(a) { + array = a; + var h = hash; + hash = {}; + + var len = array.length; + + for (var i = 0; i < len; i++) { + var key = array[i]; + if (h[key]) { + hash[key] = h[key]; + delete h[key]; + } + } + h = undefined; + }; + + vha.clear = function() { + hash = undefined; + array = undefined; + hash = {}; + array = []; + }; + + vha.add = function(name, val, insertAt) { + var redraw = false; + + if (!hash[name]) { + if (insertAt === undefined || insertAt < 0 || insertAt >= array.length) { + array.push(name); + } else { + var x = 0; + var n = []; + var len = array.length; + + for (var i = 0; i < len; i++) { + if (x++==insertAt) { + n.push(name); + } + n.push(array[i]); + } + + array = undefined; + array = n; + n = undefined; + redraw = true; + } + } + + hash[name] = val; + + return redraw; + }; + + vha.del = function(name) { + var r = false; + + if (hash[name]) { + array = del_array(array, name); + delete hash[name]; + r = true; + } else { + console.error("can't del nonexistant key " + name); + } + + return r; + }; + + vha.get = function(name) { + return hash[name]; + }; + + vha.order = function() { + return array; + }; + + vha.hash = function() { + return hash; + }; + + vha.indexOf = function(name) { + var len = array.length; + + for (var i = 0; i < len; i++) { + if (array[i] == name) { + return i; + } + } + }; + + vha.arrayLen = function() { + return array.length; + }; + + vha.asArray = function() { + var r = []; + + var len = array.length; + + for (var i = 0; i < len; i++) { + var key = array[i]; + r.push(hash[key]); + } + + return r; + }; + + vha.each = function(cb) { + var len = array.length; + + for (var i = 0; i < len; i++) { + cb(array[i], hash[array[i]]); + } + }; + + vha.dump = function(html) { + var str = ""; + + vha.each(function(name, val) { + str += "name: " + name + " val: " + JSON.stringify(val) + (html ? "
" : "\n"); + }); + + return str; + }; + + }; + + $.verto.liveArray = function(verto, context, name, config) { + var la = this; + var lastSerno = 0; + var binding = null; + var user_obj = config.userObj; + var local = false; + + // Inherit methods of hashArray + hashArray.call(la); + + // Save the hashArray add, del, reorder, clear methods so we can make our own. + la._add = la.add; + la._del = la.del; + la._reorder = la.reorder; + la._clear = la.clear; + + la.context = context; + la.name = name; + la.user_obj = user_obj; + + la.verto = verto; + la.broadcast = function(channel, obj) { + verto.broadcast(channel, obj); + }; + la.errs = 0; + + la.clear = function() { + la._clear(); + lastSerno = 0; + + if (la.onChange) { + la.onChange(la, { + action: "clear" + }); + } + }; + + la.checkSerno = function(serno) { + if (serno < 0) { + return true; + } + + if (lastSerno > 0 && serno != (lastSerno + 1)) { + if (la.onErr) { + la.onErr(la, { + lastSerno: lastSerno, + serno: serno + }); + } + la.errs++; + console.debug(la.errs); + if (la.errs < 3) { + la.bootstrap(la.user_obj); + } + return false; + } else { + lastSerno = serno; + return true; + } + }; + + la.reorder = function(serno, a) { + if (la.checkSerno(serno)) { + la._reorder(a); + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "reorder" + }); + } + } + }; + + la.init = function(serno, val, key, index) { + if (key === null || key === undefined) { + key = serno; + } + if (la.checkSerno(serno)) { + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "init", + index: index, + key: key, + data: val + }); + } + } + }; + + la.bootObj = function(serno, val) { + if (la.checkSerno(serno)) { + + //la.clear(); + for (var i in val) { + la._add(val[i][0], val[i][1]); + } + + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "bootObj", + data: val, + redraw: true + }); + } + } + }; + + // @param serno La is the serial number for la particular request. + // @param key If looking at it as a hash table, la represents the key in the hashArray object where you want to store the val object. + // @param index If looking at it as an array, la represents the position in the array where you want to store the val object. + // @param val La is the object you want to store at the key or index location in the hash table / array. + la.add = function(serno, val, key, index) { + if (key === null || key === undefined) { + key = serno; + } + if (la.checkSerno(serno)) { + var redraw = la._add(key, val, index); + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "add", + index: index, + key: key, + data: val, + redraw: redraw + }); + } + } + }; + + la.modify = function(serno, val, key, index) { + if (key === null || key === undefined) { + key = serno; + } + if (la.checkSerno(serno)) { + la._add(key, val, index); + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "modify", + key: key, + data: val, + index: index + }); + } + } + }; + + la.del = function(serno, key, index) { + if (key === null || key === undefined) { + key = serno; + } + if (la.checkSerno(serno)) { + if (index === null || index < 0 || index === undefined) { + index = la.indexOf(key); + } + var ok = la._del(key); + + if (ok && la.onChange) { + la.onChange(la, { + serno: serno, + action: "del", + key: key, + index: index + }); + } + } + }; + + var eventHandler = function(v, e, la) { + var packet = e.data; + + //console.error("READ:", packet); + + if (packet.name != la.name) { + return; + } + + switch (packet.action) { + + case "init": + la.init(packet.wireSerno, packet.data, packet.hashKey, packet.arrIndex); + break; + + case "bootObj": + la.bootObj(packet.wireSerno, packet.data); + break; + case "add": + la.add(packet.wireSerno, packet.data, packet.hashKey, packet.arrIndex); + break; + + case "modify": + if (! (packet.arrIndex || packet.hashKey)) { + console.error("Invalid Packet", packet); + } else { + la.modify(packet.wireSerno, packet.data, packet.hashKey, packet.arrIndex); + } + break; + case "del": + if (! (packet.arrIndex || packet.hashKey)) { + console.error("Invalid Packet", packet); + } else { + la.del(packet.wireSerno, packet.hashKey, packet.arrIndex); + } + break; + + case "clear": + la.clear(); + break; + + case "reorder": + la.reorder(packet.wireSerno, packet.order); + break; + + default: + if (la.checkSerno(packet.wireSerno)) { + if (la.onChange) { + la.onChange(la, { + serno: packet.wireSerno, + action: packet.action, + data: packet.data + }); + } + } + break; + } + }; + + if (la.context) { + binding = la.verto.subscribe(la.context, { + handler: eventHandler, + userData: la, + subParams: config.subParams + }); + } + + la.destroy = function() { + la._clear(); + la.verto.unsubscribe(binding); + }; + + la.sendCommand = function(cmd, obj) { + var self = la; + self.broadcast(self.context, { + liveArray: { + command: cmd, + context: self.context, + name: self.name, + obj: obj + } + }); + }; + + la.bootstrap = function(obj) { + var self = la; + la.sendCommand("bootstrap", obj); + //self.heartbeat(); + }; + + la.changepage = function(obj) { + var self = la; + self.clear(); + self.broadcast(self.context, { + liveArray: { + command: "changepage", + context: la.context, + name: la.name, + obj: obj + } + }); + }; + + la.heartbeat = function(obj) { + var self = la; + + var callback = function() { + self.heartbeat.call(self, obj); + }; + self.broadcast(self.context, { + liveArray: { + command: "heartbeat", + context: self.context, + name: self.name, + obj: obj + } + }); + self.hb_pid = setTimeout(callback, 30000); + }; + + la.bootstrap(la.user_obj); + }; + + $.verto.liveTable = function(verto, context, name, jq, config) { + var dt; + var la = new $.verto.liveArray(verto, context, name, { + subParams: config.subParams + }); + var lt = this; + + lt.liveArray = la; + lt.dataTable = dt; + lt.verto = verto; + + lt.destroy = function() { + if (dt) { + dt.fnDestroy(); + } + if (la) { + la.destroy(); + } + + dt = null; + la = null; + }; + + la.onErr = function(obj, args) { + console.error("Error: ", obj, args); + }; + + /* back compat so jsonstatus can always be enabled */ + function genRow(data) { + if (typeof(data[4]) === "string" && data[4].indexOf("{") > -1) { + var tmp = $.parseJSON(data[4]); + data[4] = tmp.oldStatus; + data[5] = null; + } + return data; + } + + function genArray(obj) { + var data = obj.asArray(); + + for (var i in data) { + data[i] = genRow(data[i]); + } + + return data; + } + + + la.onChange = function(obj, args) { + var index = 0; + var iserr = 0; + + if (!dt) { + if (!config.aoColumns) { + if (args.action != "init") { + return; + } + + config.aoColumns = []; + + for (var i in args.data) { + config.aoColumns.push({ + "sTitle": args.data[i] + }); + } + } + + dt = jq.dataTable(config); + } + + if (dt && (args.action == "del" || args.action == "modify")) { + index = args.index; + + if (index === undefined && args.key) { + index = la.indexOf(args.key); + } + + if (index === undefined) { + console.error("INVALID PACKET Missing INDEX\n", args); + return; + } + } + + if (config.onChange) { + config.onChange(obj, args); + } + + try { + switch (args.action) { + case "bootObj": + if (!args.data) { + console.error("missing data"); + return; + } + dt.fnClearTable(); + dt.fnAddData(genArray(obj)); + dt.fnAdjustColumnSizing(); + break; + case "add": + if (!args.data) { + console.error("missing data"); + return; + } + if (args.redraw > -1) { + // specific position, more costly + dt.fnClearTable(); + dt.fnAddData(genArray(obj)); + } else { + dt.fnAddData(genRow(args.data)); + } + dt.fnAdjustColumnSizing(); + break; + case "modify": + if (!args.data) { + return; + } + //console.debug(args, index); + dt.fnUpdate(genRow(args.data), index); + dt.fnAdjustColumnSizing(); + break; + case "del": + dt.fnDeleteRow(index); + dt.fnAdjustColumnSizing(); + break; + case "clear": + dt.fnClearTable(); + break; + case "reorder": + // specific position, more costly + dt.fnClearTable(); + dt.fnAddData(genArray(obj)); + break; + case "hide": + jq.hide(); + break; + + case "show": + jq.show(); + break; + + } + } catch(err) { + console.error("ERROR: " + err); + iserr++; + } + + if (iserr) { + obj.errs++; + if (obj.errs < 3) { + obj.bootstrap(obj.user_obj); + } + } else { + obj.errs = 0; + } + + }; + + la.onChange(la, { + action: "init" + }); + + }; + + var CONFMAN_SERNO = 1; + + /* + Conference Manager without jQuery table. + */ + + $.verto.conf = function(verto, params) { + var conf = this; + + conf.params = $.extend({ + dialog: null, + hasVid: false, + laData: null, + onBroadcast: null, + onLaChange: null, + onLaRow: null + }, params); + + conf.verto = verto; + conf.serno = CONFMAN_SERNO++; + + createMainModeratorMethods(); + + verto.subscribe(conf.params.laData.modChannel, { + handler: function(v, e) { + if (conf.params.onBroadcast) { + conf.params.onBroadcast(verto, conf, e.data); + } + } + }); + + verto.subscribe(conf.params.laData.infoChannel, { + handler: function(v, e) { + if (typeof(conf.params.infoCallback) === "function") { + conf.params.infoCallback(v,e); + } + } + }); + + verto.subscribe(conf.params.laData.chatChannel, { + handler: function(v, e) { + if (typeof(conf.params.chatCallback) === "function") { + conf.params.chatCallback(v,e); + } + } + }); + }; + + $.verto.conf.prototype.modCommand = function(cmd, id, value) { + var conf = this; + + conf.verto.rpcClient.call("verto.broadcast", { + "eventChannel": conf.params.laData.modChannel, + "data": { + "application": "conf-control", + "command": cmd, + "id": id, + "value": value + } + }); + }; + + $.verto.conf.prototype.destroy = function() { + var conf = this; + + conf.destroyed = true; + conf.params.onBroadcast(conf.verto, conf, 'destroy'); + + if (conf.params.laData.modChannel) { + conf.verto.unsubscribe(conf.params.laData.modChannel); + } + + if (conf.params.laData.chatChannel) { + conf.verto.unsubscribe(conf.params.laData.chatChannel); + } + + if (conf.params.laData.infoChannel) { + conf.verto.unsubscribe(conf.params.laData.infoChannel); + } + }; + + function createMainModeratorMethods() { + $.verto.conf.prototype.listVideoLayouts = function() { + this.modCommand("list-videoLayouts", null, null); + }; + + $.verto.conf.prototype.play = function(file) { + this.modCommand("play", null, file); + }; + + $.verto.conf.prototype.stop = function() { + this.modCommand("stop", null, "all"); + }; + + $.verto.conf.prototype.deaf = function(memberID) { + this.modCommand("deaf", parseInt(memberID)); + }; + + $.verto.conf.prototype.undeaf = function(memberID) { + this.modCommand("undeaf", parseInt(memberID)); + }; + + $.verto.conf.prototype.record = function(file) { + this.modCommand("recording", null, ["start", file]); + }; + + $.verto.conf.prototype.stopRecord = function() { + this.modCommand("recording", null, ["stop", "all"]); + }; + + $.verto.conf.prototype.snapshot = function(file) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("vid-write-png", null, file); + }; + + $.verto.conf.prototype.setVideoLayout = function(layout, canvasID) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + if (canvasID) { + this.modCommand("vid-layout", null, [layout, canvasID]); + } else { + this.modCommand("vid-layout", null, layout); + } + }; + + $.verto.conf.prototype.kick = function(memberID) { + this.modCommand("kick", parseInt(memberID)); + }; + + $.verto.conf.prototype.muteMic = function(memberID) { + this.modCommand("tmute", parseInt(memberID)); + }; + + $.verto.conf.prototype.muteVideo = function(memberID) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("tvmute", parseInt(memberID)); + }; + + $.verto.conf.prototype.presenter = function(memberID) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("vid-res-id", parseInt(memberID), "presenter"); + }; + + $.verto.conf.prototype.videoFloor = function(memberID) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("vid-floor", parseInt(memberID), "force"); + }; + + $.verto.conf.prototype.banner = function(memberID, text) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("vid-banner", parseInt(memberID), escape(text)); + }; + + $.verto.conf.prototype.volumeDown = function(memberID) { + this.modCommand("volume_out", parseInt(memberID), "down"); + }; + + $.verto.conf.prototype.volumeUp = function(memberID) { + this.modCommand("volume_out", parseInt(memberID), "up"); + }; + + $.verto.conf.prototype.gainDown = function(memberID) { + this.modCommand("volume_in", parseInt(memberID), "down"); + }; + + $.verto.conf.prototype.gainUp = function(memberID) { + this.modCommand("volume_in", parseInt(memberID), "up"); + }; + + $.verto.conf.prototype.transfer = function(memberID, exten) { + this.modCommand("transfer", parseInt(memberID), exten); + }; + + $.verto.conf.prototype.sendChat = function(message, type) { + var conf = this; + conf.verto.rpcClient.call("verto.broadcast", { + "eventChannel": conf.params.laData.chatChannel, + "data": { + "action": "send", + "message": message, + "type": type + } + }); + }; + + } + + $.verto.modfuncs = {}; + + $.verto.confMan = function(verto, params) { + var confMan = this; + + confMan.params = $.extend({ + tableID: null, + statusID: null, + mainModID: null, + dialog: null, + hasVid: false, + laData: null, + onBroadcast: null, + onLaChange: null, + onLaRow: null + }, params); + + confMan.verto = verto; + confMan.serno = CONFMAN_SERNO++; + confMan.canvasCount = confMan.params.laData.canvasCount; + + function genMainMod(jq) { + var play_id = "play_" + confMan.serno; + var stop_id = "stop_" + confMan.serno; + var recording_id = "recording_" + confMan.serno; + var snapshot_id = "snapshot_" + confMan.serno; + var rec_stop_id = "recording_stop" + confMan.serno; + var div_id = "confman_" + confMan.serno; + + var html = "

" + + "" + + "" + + "" + + "" + + (confMan.params.hasVid ? "" : "") + + "

"; + + jq.html(html); + + $.verto.modfuncs.change_video_layout = function(id, canvas_id) { + var val = $("#" + id + " option:selected").text(); + if (val !== "none") { + confMan.modCommand("vid-layout", null, [val, canvas_id]); + } + }; + + if (confMan.params.hasVid) { + for (var j = 0; j < confMan.canvasCount; j++) { + var vlayout_id = "confman_vid_layout_" + j + "_" + confMan.serno; + var vlselect_id = "confman_vl_select_" + j + "_" + confMan.serno; + + + var vlhtml = "

" + + "Video Layout Canvas " + (j+1) + + " " + + "

"; + jq.append(vlhtml); + } + + $("#" + snapshot_id).click(function() { + var file = prompt("Please enter file name", ""); + if (file) { + confMan.modCommand("vid-write-png", null, file); + } + }); + } + + $("#" + play_id).click(function() { + var file = prompt("Please enter file name", ""); + if (file) { + confMan.modCommand("play", null, file); + } + }); + + $("#" + stop_id).click(function() { + confMan.modCommand("stop", null, "all"); + }); + + $("#" + recording_id).click(function() { + var file = prompt("Please enter file name", ""); + if (file) { + confMan.modCommand("recording", null, ["start", file]); + } + }); + + $("#" + rec_stop_id).click(function() { + confMan.modCommand("recording", null, ["stop", "all"]); + }); + + } + + function genControls(jq, rowid) { + var x = parseInt(rowid); + var kick_id = "kick_" + x; + var canvas_in_next_id = "canvas_in_next_" + x; + var canvas_in_prev_id = "canvas_in_prev_" + x; + var canvas_out_next_id = "canvas_out_next_" + x; + var canvas_out_prev_id = "canvas_out_prev_" + x; + + var canvas_in_set_id = "canvas_in_set_" + x; + var canvas_out_set_id = "canvas_out_set_" + x; + + var layer_set_id = "layer_set_" + x; + var layer_next_id = "layer_next_" + x; + var layer_prev_id = "layer_prev_" + x; + + var tmute_id = "tmute_" + x; + var tvmute_id = "tvmute_" + x; + var vbanner_id = "vbanner_" + x; + var tvpresenter_id = "tvpresenter_" + x; + var tvfloor_id = "tvfloor_" + x; + var box_id = "box_" + x; + var gainup_id = "gain_in_up" + x; + var gaindn_id = "gain_in_dn" + x; + var volup_id = "vol_in_up" + x; + var voldn_id = "vol_in_dn" + x; + var transfer_id = "transfer" + x; + + + var html = "
"; + + html += "General Controls
"; + + html += "" + + "" + + "" + + "" + + "" + + "" + + ""; + + if (confMan.params.hasVid) { + html += "

Video Controls
"; + + + html += "" + + "" + + "" + + ""; + + if (confMan.canvasCount > 1) { + html += "

Canvas Controls
" + + "" + + "" + + "" + + + "
" + + + "" + + "" + + ""; + } + + html += "
" + + + "" + + "" + + "" + + + + + "
"; + } + + jq.html(html); + + + if (!jq.data("mouse")) { + $("#" + box_id).hide(); + } + + jq.mouseover(function(e) { + jq.data({"mouse": true}); + $("#" + box_id).show(); + }); + + jq.mouseout(function(e) { + jq.data({"mouse": false}); + $("#" + box_id).hide(); + }); + + $("#" + transfer_id).click(function() { + var xten = prompt("Enter Extension"); + if (xten) { + confMan.modCommand("transfer", x, xten); + } + }); + + $("#" + kick_id).click(function() { + confMan.modCommand("kick", x); + }); + + + $("#" + layer_set_id).click(function() { + var cid = prompt("Please enter layer ID", ""); + if (cid) { + confMan.modCommand("vid-layer", x, cid); + } + }); + + $("#" + layer_next_id).click(function() { + confMan.modCommand("vid-layer", x, "next"); + }); + $("#" + layer_prev_id).click(function() { + confMan.modCommand("vid-layer", x, "prev"); + }); + + $("#" + canvas_in_set_id).click(function() { + var cid = prompt("Please enter canvas ID", ""); + if (cid) { + confMan.modCommand("vid-canvas", x, cid); + } + }); + + $("#" + canvas_out_set_id).click(function() { + var cid = prompt("Please enter canvas ID", ""); + if (cid) { + confMan.modCommand("vid-watching-canvas", x, cid); + } + }); + + $("#" + canvas_in_next_id).click(function() { + confMan.modCommand("vid-canvas", x, "next"); + }); + $("#" + canvas_in_prev_id).click(function() { + confMan.modCommand("vid-canvas", x, "prev"); + }); + + + $("#" + canvas_out_next_id).click(function() { + confMan.modCommand("vid-watching-canvas", x, "next"); + }); + $("#" + canvas_out_prev_id).click(function() { + confMan.modCommand("vid-watching-canvas", x, "prev"); + }); + + $("#" + tmute_id).click(function() { + confMan.modCommand("tmute", x); + }); + + if (confMan.params.hasVid) { + $("#" + tvmute_id).click(function() { + confMan.modCommand("tvmute", x); + }); + $("#" + tvpresenter_id).click(function() { + confMan.modCommand("vid-res-id", x, "presenter"); + }); + $("#" + tvfloor_id).click(function() { + confMan.modCommand("vid-floor", x, "force"); + }); + $("#" + vbanner_id).click(function() { + var text = prompt("Please enter text", ""); + if (text) { + confMan.modCommand("vid-banner", x, escape(text)); + } + }); + } + + $("#" + gainup_id).click(function() { + confMan.modCommand("volume_in", x, "up"); + }); + + $("#" + gaindn_id).click(function() { + confMan.modCommand("volume_in", x, "down"); + }); + + $("#" + volup_id).click(function() { + confMan.modCommand("volume_out", x, "up"); + }); + + $("#" + voldn_id).click(function() { + confMan.modCommand("volume_out", x, "down"); + }); + + return html; + } + + var atitle = ""; + var awidth = 0; + + //$(".jsDataTable").width(confMan.params.hasVid ? "900px" : "800px"); + + verto.subscribe(confMan.params.laData.infoChannel, { + handler: function(v, e) { + if (typeof(confMan.params.infoCallback) === "function") { + confMan.params.infoCallback(v,e); + } + } + }); + + verto.subscribe(confMan.params.laData.chatChannel, { + handler: function(v, e) { + if (typeof(confMan.params.chatCallback) === "function") { + confMan.params.chatCallback(v,e); + } + } + }); + + if (confMan.params.laData.role === "moderator") { + atitle = "Action"; + awidth = 600; + + if (confMan.params.mainModID) { + genMainMod($(confMan.params.mainModID)); + $(confMan.params.displayID).html("Moderator Controls Ready

"); + } else { + $(confMan.params.mainModID).html(""); + } + + verto.subscribe(confMan.params.laData.modChannel, { + handler: function(v, e) { + //console.error("MODDATA:", e.data); + if (confMan.params.onBroadcast) { + confMan.params.onBroadcast(verto, confMan, e.data); + } + + if (e.data["conf-command"] === "list-videoLayouts") { + for (var j = 0; j < confMan.canvasCount; j++) { + var vlselect_id = "#confman_vl_select_" + j + "_" + confMan.serno; + var vlayout_id = "#confman_vid_layout_" + j + "_" + confMan.serno; + + var x = 0; + var options; + + $(vlselect_id).selectmenu({}); + $(vlselect_id).selectmenu("enable"); + $(vlselect_id).empty(); + + $(vlselect_id).append(new Option("Choose a Layout", "none")); + + if (e.data.responseData) { + var rdata = []; + + for (var i in e.data.responseData) { + rdata.push(e.data.responseData[i].name); + } + + options = rdata.sort(function(a, b) { + var ga = a.substring(0, 6) == "group:" ? true : false; + var gb = b.substring(0, 6) == "group:" ? true : false; + + if ((ga || gb) && ga != gb) { + return ga ? -1 : 1; + } + + return ( ( a == b ) ? 0 : ( ( a > b ) ? 1 : -1 ) ); + }); + + for (var i in options) { + $(vlselect_id).append(new Option(options[i], options[i])); + x++; + } + } + + if (x) { + $(vlselect_id).selectmenu('refresh', true); + } else { + $(vlayout_id).hide(); + } + } + } else { + + if (!confMan.destroyed && confMan.params.displayID) { + $(confMan.params.displayID).html(e.data.response + "

"); + if (confMan.lastTimeout) { + clearTimeout(confMan.lastTimeout); + confMan.lastTimeout = 0; + } + confMan.lastTimeout = setTimeout(function() { $(confMan.params.displayID).html(confMan.destroyed ? "" : "Moderator Controls Ready

");}, 4000); + } + } + } + }); + + + if (confMan.params.hasVid) { + confMan.modCommand("list-videoLayouts", null, null); + } + } + + var row_callback = null; + + if (confMan.params.laData.role === "moderator") { + row_callback = function(nRow, aData, iDisplayIndex, iDisplayIndexFull) { + if (!aData[5]) { + var $row = $('td:eq(5)', nRow); + genControls($row, aData); + + if (confMan.params.onLaRow) { + confMan.params.onLaRow(verto, confMan, $row, aData); + } + } + }; + } + + confMan.lt = new $.verto.liveTable(verto, confMan.params.laData.laChannel, confMan.params.laData.laName, $(confMan.params.tableID), { + subParams: { + callID: confMan.params.dialog ? confMan.params.dialog.callID : null + }, + + "onChange": function(obj, args) { + $(confMan.params.statusID).text("Conference Members: " + " (" + obj.arrayLen() + " Total)"); + if (confMan.params.onLaChange) { + confMan.params.onLaChange(verto, confMan, $.verto.enum.confEvent.laChange, obj, args); + } + }, + + "aaData": [], + "aoColumns": [ + { + "sTitle": "ID", + "sWidth": "50" + }, + { + "sTitle": "Number", + "sWidth": "250" + }, + { + "sTitle": "Name", + "sWidth": "250" + }, + { + "sTitle": "Codec", + "sWidth": "100" + }, + { + "sTitle": "Status", + "sWidth": confMan.params.hasVid ? "200px" : "150px" + }, + { + "sTitle": atitle, + "sWidth": awidth, + } + ], + "bAutoWidth": true, + "bDestroy": true, + "bSort": false, + "bInfo": false, + "bFilter": false, + "bLengthChange": false, + "bPaginate": false, + "iDisplayLength": 1400, + + "oLanguage": { + "sEmptyTable": "The Conference is Empty....." + }, + + "fnRowCallback": row_callback + + }); + }; + + $.verto.confMan.prototype.modCommand = function(cmd, id, value) { + var confMan = this; + + confMan.verto.rpcClient.call("verto.broadcast", { + "eventChannel": confMan.params.laData.modChannel, + "data": { + "application": "conf-control", + "command": cmd, + "id": id, + "value": value + } + }); + }; + + $.verto.confMan.prototype.sendChat = function(message, type) { + var confMan = this; + confMan.verto.rpcClient.call("verto.broadcast", { + "eventChannel": confMan.params.laData.chatChannel, + "data": { + "action": "send", + "message": message, + "type": type + } + }); + }; + + + $.verto.confMan.prototype.destroy = function() { + var confMan = this; + + confMan.destroyed = true; + + if (confMan.lt) { + confMan.lt.destroy(); + } + + if (confMan.params.laData.chatChannel) { + confMan.verto.unsubscribe(confMan.params.laData.chatChannel); + } + + if (confMan.params.laData.modChannel) { + confMan.verto.unsubscribe(confMan.params.laData.modChannel); + } + + if (confMan.params.mainModID) { + $(confMan.params.mainModID).html(""); + } + }; + + $.verto.dialog = function(direction, verto, params) { + var dialog = this; + + dialog.params = $.extend({ + useVideo: verto.options.useVideo, + useStereo: verto.options.useStereo, + screenShare: false, + useCamera: false, + useMic: verto.options.deviceParams.useMic, + useSpeak: verto.options.deviceParams.useSpeak, + tag: verto.options.tag, + localTag: verto.options.localTag, + login: verto.options.login, + videoParams: verto.options.videoParams, + useStream: verto.options.useStream, + }, params); + + + if (!dialog.params.screenShare) { + dialog.params.useCamera = verto.options.deviceParams.useCamera; + } + + dialog.verto = verto; + dialog.direction = direction; + dialog.lastState = null; + dialog.state = dialog.lastState = $.verto.enum.state.new; + dialog.callbacks = verto.callbacks; + dialog.answered = false; + dialog.attach = params.attach || false; + dialog.screenShare = params.screenShare || false; + dialog.useCamera = dialog.params.useCamera; + dialog.useMic = dialog.params.useMic; + dialog.useSpeak = dialog.params.useSpeak; + + if (dialog.params.callID) { + dialog.callID = dialog.params.callID; + } else { + dialog.callID = dialog.params.callID = generateGUID(); + } + + if (typeof(dialog.params.tag) === "function") { + dialog.params.tag = dialog.params.tag(); + } + + if (dialog.params.tag) { + dialog.audioStream = document.getElementById(dialog.params.tag); + + if (dialog.params.useVideo) { + dialog.videoStream = dialog.audioStream; + } + } //else conjure one TBD + + if (dialog.params.localTag) { + dialog.localVideo = document.getElementById(dialog.params.localTag); + } + + dialog.verto.dialogs[dialog.callID] = dialog; + + var RTCcallbacks = {}; + + if (dialog.direction == $.verto.enum.direction.inbound) { + if (dialog.params.display_direction === "outbound") { + dialog.params.remote_caller_id_name = dialog.params.caller_id_name; + dialog.params.remote_caller_id_number = dialog.params.caller_id_number; + } else { + dialog.params.remote_caller_id_name = dialog.params.callee_id_name; + dialog.params.remote_caller_id_number = dialog.params.callee_id_number; + } + + if (!dialog.params.remote_caller_id_name) { + dialog.params.remote_caller_id_name = "Nobody"; + } + + if (!dialog.params.remote_caller_id_number) { + dialog.params.remote_caller_id_number = "UNKNOWN"; + } + + RTCcallbacks.onMessage = function(rtc, msg) { + console.debug(msg); + }; + + RTCcallbacks.onAnswerSDP = function(rtc, sdp) { + console.error("answer sdp", sdp); + }; + } else { + dialog.params.remote_caller_id_name = "Outbound Call"; + dialog.params.remote_caller_id_number = dialog.params.destination_number; + } + + RTCcallbacks.onICESDP = function(rtc) { + console.log("RECV " + rtc.type + " SDP", rtc.mediaData.SDP); + + if (dialog.state == $.verto.enum.state.requesting || dialog.state == $.verto.enum.state.answering || dialog.state == $.verto.enum.state.active) { + location.reload(); + return; + } + + if (rtc.type == "offer") { + if (dialog.state == $.verto.enum.state.active) { + dialog.setState($.verto.enum.state.requesting); + dialog.sendMethod("verto.attach", { + sdp: rtc.mediaData.SDP + }); + } else { + dialog.setState($.verto.enum.state.requesting); + + dialog.sendMethod("verto.invite", { + sdp: rtc.mediaData.SDP + }); + } + } else { //answer + dialog.setState($.verto.enum.state.answering); + + dialog.sendMethod(dialog.attach ? "verto.attach" : "verto.answer", { + sdp: dialog.rtc.mediaData.SDP + }); + } + }; + + RTCcallbacks.onICE = function(rtc) { + //console.log("cand", rtc.mediaData.candidate); + if (rtc.type == "offer") { + console.log("offer", rtc.mediaData.candidate); + return; + } + }; + + RTCcallbacks.onStream = function(rtc, stream) { + if (dialog.callbacks.permissionCallback && + typeof dialog.callbacks.permissionCallback.onGranted === 'function') { + dialog.callbacks.permissionCallback.onGranted(stream); + } + else if (dialog.verto.options.permissionCallback && + typeof dialog.verto.options.permissionCallback.onGranted === 'function'){ + dialog.verto.options.permissionCallback.onGranted(stream); + } + console.log("stream started"); + }; + + RTCcallbacks.onRemoteStream = function(rtc, stream) { + if (typeof dialog.callbacks.onRemoteStream === 'function') { + dialog.callbacks.onRemoteStream(stream, dialog); + } + console.log("remote stream started"); + }; + + RTCcallbacks.onError = function(e) { + if (dialog.callbacks.permissionCallback && + typeof dialog.callbacks.permissionCallback.onDenied === 'function') { + dialog.callbacks.permissionCallback.onDenied(); + } + else if (dialog.verto.options.permissionCallback && + typeof dialog.verto.options.permissionCallback.onDenied === 'function'){ + dialog.verto.options.permissionCallback.onDenied(); + } + console.error("ERROR:", e); + dialog.hangup({cause: "Device or Permission Error"}); + }; + + dialog.rtc = new $.FSRTC({ + callbacks: RTCcallbacks, + localVideo: dialog.screenShare ? null : dialog.localVideo, + useVideo: dialog.params.useVideo ? dialog.videoStream : null, + useAudio: dialog.audioStream, + useStereo: dialog.params.useStereo, + videoParams: dialog.params.videoParams, + audioParams: verto.options.audioParams, + iceServers: verto.options.iceServers, + screenShare: dialog.screenShare, + useCamera: dialog.useCamera, + useMic: dialog.useMic, + useSpeak: dialog.useSpeak, + turnServer: verto.options.turnServer, + useStream: dialog.params.useStream + }); + + dialog.rtc.verto = dialog.verto; + + if (dialog.direction == $.verto.enum.direction.inbound) { + if (dialog.attach) { + dialog.answer(); + } else { + dialog.ring(); + } + } + }; + + $.verto.dialog.prototype.invite = function() { + var dialog = this; + dialog.rtc.call(); + }; + + $.verto.dialog.prototype.sendMethod = function(method, obj) { + var dialog = this; + obj.dialogParams = {}; + + for (var i in dialog.params) { + if (i == "sdp" && method != "verto.invite" && method != "verto.attach") { + continue; + } + + if ((obj.noDialogParams && i != "callID")) { + continue; + } + + obj.dialogParams[i] = dialog.params[i]; + } + + delete obj.noDialogParams; + + dialog.verto.rpcClient.call(method, obj, + + function(e) { + /* Success */ + dialog.processReply(method, true, e); + }, + + function(e) { + /* Error */ + dialog.processReply(method, false, e); + }); + }; + + function checkStateChange(oldS, newS) { + + if (newS == $.verto.enum.state.purge || $.verto.enum.states[oldS.name][newS.name]) { + return true; + } + + return false; + } + + + // Attach audio output device to video element using device/sink ID. + function find_name(id) { + for (var i in $.verto.audioOutDevices) { + var source = $.verto.audioOutDevices[i]; + if (source.id === id) { + return(source.label); + } + } + + return id; + } + + $.verto.dialog.prototype.setAudioPlaybackDevice = function(sinkId, callback, arg) { + var dialog = this; + var element = dialog.audioStream; + + if (typeof element.sinkId !== 'undefined') { + var devname = find_name(sinkId); + console.info("Dialog: " + dialog.callID + " Setting speaker:", element, devname); + + element.setSinkId(sinkId) + .then(function() { + console.log("Dialog: " + dialog.callID + ' Success, audio output device attached: ' + sinkId); + if (callback) { + callback(true, devname, arg); + } + }) + .catch(function(error) { + var errorMessage = error; + if (error.name === 'SecurityError') { + errorMessage = "Dialog: " + dialog.callID + ' You need to use HTTPS for selecting audio output ' + + 'device: ' + error; + } + if (callback) { + callback(false, null, arg); + } + console.error(errorMessage); + }); + } else { + console.warn("Dialog: " + dialog.callID + ' Browser does not support output device selection.'); + if (callback) { + callback(false, null, arg); + } + } + } + + $.verto.dialog.prototype.setState = function(state) { + var dialog = this; + + if (dialog.state == $.verto.enum.state.ringing) { + dialog.stopRinging(); + } + + if (dialog.state == state || !checkStateChange(dialog.state, state)) { + console.error("Dialog " + dialog.callID + ": INVALID state change from " + dialog.state.name + " to " + state.name); + dialog.hangup(); + return false; + } + + console.log("Dialog " + dialog.callID + ": state change from " + dialog.state.name + " to " + state.name); + + dialog.lastState = dialog.state; + dialog.state = state; + + if (dialog.callbacks.onDialogState) { + dialog.callbacks.onDialogState(this); + } + + switch (dialog.state) { + + case $.verto.enum.state.early: + case $.verto.enum.state.active: + + var speaker = dialog.useSpeak; + console.info("Using Speaker: ", speaker); + + if (speaker && speaker !== "any" && speaker !== "none") { + setTimeout(function() { + dialog.setAudioPlaybackDevice(speaker); + }, 500); + } + + break; + + case $.verto.enum.state.trying: + setTimeout(function() { + if (dialog.state == $.verto.enum.state.trying) { + dialog.setState($.verto.enum.state.hangup); + } + }, 30000); + break; + case $.verto.enum.state.purge: + dialog.setState($.verto.enum.state.destroy); + break; + case $.verto.enum.state.hangup: + + if (dialog.lastState.val > $.verto.enum.state.requesting.val && dialog.lastState.val < $.verto.enum.state.hangup.val) { + dialog.sendMethod("verto.bye", {}); + } + + dialog.setState($.verto.enum.state.destroy); + break; + case $.verto.enum.state.destroy: + + if (typeof(dialog.verto.options.tag) === "function") { + $('#' + dialog.params.tag).remove(); + } + + delete dialog.verto.dialogs[dialog.callID]; + if (dialog.params.screenShare) { + dialog.rtc.stopPeer(); + } else { + dialog.rtc.stop(); + } + break; + } + + return true; + }; + + $.verto.dialog.prototype.processReply = function(method, success, e) { + var dialog = this; + + //console.log("Response: " + method + " State:" + dialog.state.name, success, e); + + switch (method) { + + case "verto.answer": + case "verto.attach": + if (success) { + dialog.setState($.verto.enum.state.active); + } else { + dialog.hangup(); + } + break; + case "verto.invite": + if (success) { + dialog.setState($.verto.enum.state.trying); + } else { + dialog.setState($.verto.enum.state.destroy); + } + break; + + case "verto.bye": + dialog.hangup(); + break; + + case "verto.modify": + if (e.holdState) { + if (e.holdState == "held") { + if (dialog.state != $.verto.enum.state.held) { + dialog.setState($.verto.enum.state.held); + } + } else if (e.holdState == "active") { + if (dialog.state != $.verto.enum.state.active) { + dialog.setState($.verto.enum.state.active); + } + } + } + + if (success) {} + + break; + + default: + break; + } + + }; + + $.verto.dialog.prototype.hangup = function(params) { + var dialog = this; + + if (params) { + if (params.causeCode) { + dialog.causeCode = params.causeCode; + } + + if (params.cause) { + dialog.cause = params.cause; + } + } + + if (!dialog.cause && !dialog.causeCode) { + dialog.cause = "NORMAL_CLEARING"; + } + + if (dialog.state.val >= $.verto.enum.state.new.val && dialog.state.val < $.verto.enum.state.hangup.val) { + dialog.setState($.verto.enum.state.hangup); + } else if (dialog.state.val < $.verto.enum.state.destroy) { + dialog.setState($.verto.enum.state.destroy); + } + }; + + $.verto.dialog.prototype.stopRinging = function() { + var dialog = this; + if (dialog.verto.ringer) { + dialog.verto.ringer.stop(); + } + }; + + $.verto.dialog.prototype.indicateRing = function() { + var dialog = this; + + if (dialog.verto.ringer) { + dialog.verto.ringer.attr("src", dialog.verto.options.ringFile)[0].play(); + + setTimeout(function() { + dialog.stopRinging(); + if (dialog.state == $.verto.enum.state.ringing) { + dialog.indicateRing(); + } + }, + dialog.verto.options.ringSleep); + } + }; + + $.verto.dialog.prototype.ring = function() { + var dialog = this; + + dialog.setState($.verto.enum.state.ringing); + dialog.indicateRing(); + }; + + $.verto.dialog.prototype.useVideo = function(on) { + var dialog = this; + + dialog.params.useVideo = on; + + if (on) { + dialog.videoStream = dialog.audioStream; + } else { + dialog.videoStream = null; + } + + dialog.rtc.useVideo(dialog.videoStream, dialog.localVideo); + + }; + + $.verto.dialog.prototype.setMute = function(what) { + var dialog = this; + return dialog.rtc.setMute(what); + }; + + $.verto.dialog.prototype.getMute = function() { + var dialog = this; + return dialog.rtc.getMute(); + }; + + $.verto.dialog.prototype.setVideoMute = function(what) { + var dialog = this; + return dialog.rtc.setVideoMute(what); + }; + + $.verto.dialog.prototype.getVideoMute = function() { + var dialog = this; + return dialog.rtc.getVideoMute(); + }; + + $.verto.dialog.prototype.useStereo = function(on) { + var dialog = this; + + dialog.params.useStereo = on; + dialog.rtc.useStereo(on); + }; + + $.verto.dialog.prototype.dtmf = function(digits) { + var dialog = this; + if (digits) { + dialog.sendMethod("verto.info", { + dtmf: digits + }); + } + }; + + $.verto.dialog.prototype.rtt = function(obj) { + var dialog = this; + var pobj = {}; + + if (!obj) { + return false; + } + + pobj.code = obj.code; + pobj.chars = obj.chars; + + + if (pobj.chars || pobj.code) { + dialog.sendMethod("verto.info", { + txt: obj, + noDialogParams: true + }); + } + }; + + $.verto.dialog.prototype.transfer = function(dest, params) { + var dialog = this; + if (dest) { + dialog.sendMethod("verto.modify", { + action: "transfer", + destination: dest, + params: params + }); + } + }; + + $.verto.dialog.prototype.replace = function(replaceCallID, params) { + var dialog = this; + if (replaceCallID) { + dialog.sendMethod("verto.modify", { + action: "replace", + replaceCallID: replaceCallID, + params: params + }); + } + }; + + $.verto.dialog.prototype.hold = function(params) { + var dialog = this; + + dialog.sendMethod("verto.modify", { + action: "hold", + params: params + }); + }; + + $.verto.dialog.prototype.unhold = function(params) { + var dialog = this; + + dialog.sendMethod("verto.modify", { + action: "unhold", + params: params + }); + }; + + $.verto.dialog.prototype.toggleHold = function(params) { + var dialog = this; + + dialog.sendMethod("verto.modify", { + action: "toggleHold", + params: params + }); + }; + + $.verto.dialog.prototype.message = function(msg) { + var dialog = this; + var err = 0; + + msg.from = dialog.params.login; + + if (!msg.to) { + console.error("Missing To"); + err++; + } + + if (!msg.body) { + console.error("Missing Body"); + err++; + } + + if (err) { + return false; + } + + dialog.sendMethod("verto.info", { + msg: msg + }); + + return true; + }; + + $.verto.dialog.prototype.answer = function(params) { + var dialog = this; + + if (!dialog.answered) { + if (!params) { + params = {}; + } + + params.sdp = dialog.params.sdp; + + if (params) { + if (params.useVideo) { + dialog.useVideo(true); + } + dialog.params.callee_id_name = params.callee_id_name; + dialog.params.callee_id_number = params.callee_id_number; + + if (params.useCamera) { + dialog.useCamera = params.useCamera; + } + + if (params.useMic) { + dialog.useMic = params.useMic; + } + + if (params.useSpeak) { + dialog.useSpeak = params.useSpeak; + } + } + + dialog.rtc.createAnswer(params); + dialog.answered = true; + } + }; + + $.verto.dialog.prototype.handleAnswer = function(params) { + var dialog = this; + + dialog.gotAnswer = true; + + if (dialog.state.val >= $.verto.enum.state.active.val) { + return; + } + + if (dialog.state.val >= $.verto.enum.state.early.val) { + dialog.setState($.verto.enum.state.active); + } else { + if (dialog.gotEarly) { + console.log("Dialog " + dialog.callID + " Got answer while still establishing early media, delaying..."); + } else { + console.log("Dialog " + dialog.callID + " Answering Channel"); + dialog.rtc.answer(params.sdp, function() { + dialog.setState($.verto.enum.state.active); + }, function(e) { + console.error(e); + dialog.hangup(); + }); + console.log("Dialog " + dialog.callID + "ANSWER SDP", params.sdp); + } + } + + + }; + + $.verto.dialog.prototype.cidString = function(enc) { + var dialog = this; + var party = dialog.params.remote_caller_id_name + (enc ? " <" : " <") + dialog.params.remote_caller_id_number + (enc ? ">" : ">"); + return party; + }; + + $.verto.dialog.prototype.sendMessage = function(msg, params) { + var dialog = this; + + if (dialog.callbacks.onMessage) { + dialog.callbacks.onMessage(dialog.verto, dialog, msg, params); + } + }; + + $.verto.dialog.prototype.handleInfo = function(params) { + var dialog = this; + + dialog.sendMessage($.verto.enum.message.info, params); + + }; + + $.verto.dialog.prototype.handleDisplay = function(params) { + var dialog = this; + + if (params.display_name) { + dialog.params.remote_caller_id_name = params.display_name; + } + if (params.display_number) { + dialog.params.remote_caller_id_number = params.display_number; + } + + dialog.sendMessage($.verto.enum.message.display, {}); + }; + + $.verto.dialog.prototype.handleMedia = function(params) { + var dialog = this; + + if (dialog.state.val >= $.verto.enum.state.early.val) { + return; + } + + dialog.gotEarly = true; + + dialog.rtc.answer(params.sdp, function() { + console.log("Dialog " + dialog.callID + "Establishing early media"); + dialog.setState($.verto.enum.state.early); + + if (dialog.gotAnswer) { + console.log("Dialog " + dialog.callID + "Answering Channel"); + dialog.setState($.verto.enum.state.active); + } + }, function(e) { + console.error(e); + dialog.hangup(); + }); + console.log("Dialog " + dialog.callID + "EARLY SDP", params.sdp); + }; + + $.verto.ENUM = function(s) { + var i = 0, + o = {}; + s.split(" ").map(function(x) { + o[x] = { + name: x, + val: i++ + }; + }); + return Object.freeze(o); + }; + + $.verto.enum = {}; + + $.verto.enum.states = Object.freeze({ + new: { + requesting: 1, + recovering: 1, + ringing: 1, + destroy: 1, + answering: 1, + hangup: 1 + }, + requesting: { + trying: 1, + hangup: 1, + active: 1 + }, + recovering: { + answering: 1, + hangup: 1 + }, + trying: { + active: 1, + early: 1, + hangup: 1 + }, + ringing: { + answering: 1, + hangup: 1 + }, + answering: { + active: 1, + hangup: 1 + }, + active: { + answering: 1, + requesting: 1, + hangup: 1, + held: 1 + }, + held: { + hangup: 1, + active: 1 + }, + early: { + hangup: 1, + active: 1 + }, + hangup: { + destroy: 1 + }, + destroy: {}, + purge: { + destroy: 1 + } + }); + + $.verto.enum.state = $.verto.ENUM("new requesting trying recovering ringing answering early active held hangup destroy purge"); + $.verto.enum.direction = $.verto.ENUM("inbound outbound"); + $.verto.enum.message = $.verto.ENUM("display info pvtEvent clientReady"); + + $.verto.enum = Object.freeze($.verto.enum); + + $.verto.saved = []; + + $.verto.unloadJobs = []; + + var unloadEventName = 'beforeunload'; + // Hacks for Mobile Safari + var iOS = ['iPad', 'iPhone', 'iPod'].indexOf(navigator.platform) >= 0; + if (iOS) { + unloadEventName = 'pagehide'; + } + + $(window).bind(unloadEventName, function() { + for (var f in $.verto.unloadJobs) { + $.verto.unloadJobs[f](); + } + + if ($.verto.haltClosure) + return $.verto.haltClosure(); + + for (var i in $.verto.saved) { + var verto = $.verto.saved[i]; + if (verto) { + verto.purge(); + verto.logout(); + } + } + + return $.verto.warnOnUnload; + }); + + $.verto.videoDevices = []; + $.verto.audioInDevices = []; + $.verto.audioOutDevices = []; + + var checkDevices = function(runtime) { + console.info("enumerating devices"); + var aud_in = [], aud_out = [], vid = []; + var has_video = 0, has_audio = 0; + var Xstream; + + function gotDevices(deviceInfos) { + // Handles being called several times to update labels. Preserve values. + for (var i = 0; i !== deviceInfos.length; ++i) { + var deviceInfo = deviceInfos[i]; + var text = ""; + + console.log(deviceInfo); + console.log(deviceInfo.kind + ": " + deviceInfo.label + " id = " + deviceInfo.deviceId); + + if (deviceInfo.kind === 'audioinput') { + text = deviceInfo.label || 'microphone ' + (aud_in.length + 1); + aud_in.push({id: deviceInfo.deviceId, kind: "audio_in", label: text}); + } else if (deviceInfo.kind === 'audiooutput') { + text = deviceInfo.label || 'speaker ' + (aud_out.length + 1); + aud_out.push({id: deviceInfo.deviceId, kind: "audio_out", label: text}); + } else if (deviceInfo.kind === 'videoinput') { + text = deviceInfo.label || 'camera ' + (vid.length + 1); + vid.push({id: deviceInfo.deviceId, kind: "video", label: text}); + } else { + console.log('Some other kind of source/device: ', deviceInfo); + } + } + + + $.verto.videoDevices = vid; + $.verto.audioInDevices = aud_in; + $.verto.audioOutDevices = aud_out; + + console.info("Audio IN Devices", $.verto.audioInDevices); + console.info("Audio Out Devices", $.verto.audioOutDevices); + console.info("Video Devices", $.verto.videoDevices); + + if (Xstream) { + Xstream.getTracks().forEach(function(track) {track.stop();}); + } + + if (runtime) { + runtime(true); + } + } + + + + + function handleError(error) { + console.log('device enumeration error: ', error); + if (runtime) runtime(false); + } + + + function checkTypes(devs) { + for (var i = 0; i !== devs.length; ++i) { + + if (devs[i].kind === 'audioinput') { + has_audio++; + } else if (devs[i].kind === 'videoinput') { + has_video++; + } + } + + navigator.getUserMedia({ audio: (has_audio > 0 ? true : false), video: (has_video > 0 ? true : false)}, + function(stream) { + Xstream = stream; + navigator.mediaDevices.enumerateDevices().then(gotDevices).catch(handleError); + }, + function(err) { + console.log("The following error occurred: " + err.name); + } + ); + } + + navigator.mediaDevices.enumerateDevices().then(checkTypes).catch(handleError); + + }; + + $.verto.refreshDevices = function(runtime) { + checkDevices(runtime); + } + + $.verto.init = function(obj, runtime) { + if (!obj) { + obj = {}; + } + + if (!obj.skipPermCheck && !obj.skipDeviceCheck) { + $.FSRTC.checkPerms(function(status) { + checkDevices(runtime); + }, true, true); + } else if (obj.skipPermCheck && !obj.skipDeviceCheck) { + checkDevices(runtime); + } else if (!obj.skipPermCheck && obj.skipDeviceCheck) { + $.FSRTC.checkPerms(function(status) { + runtime(status); + }, true, true); + } else { + runtime(null); + } + + } + + $.verto.genUUID = function () { + return generateGUID(); + } + + +})(jQuery); +(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.adapter = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o= 14393 && + url.indexOf('?transport=udp') === -1; + }); + + delete server.url; + server.urls = isString ? urls[0] : urls; + return !!urls.length; + } + }); +} + +// Determines the intersection of local and remote capabilities. +function getCommonCapabilities(localCapabilities, remoteCapabilities) { + var commonCapabilities = { + codecs: [], + headerExtensions: [], + fecMechanisms: [] + }; + + var findCodecByPayloadType = function(pt, codecs) { + pt = parseInt(pt, 10); + for (var i = 0; i < codecs.length; i++) { + if (codecs[i].payloadType === pt || + codecs[i].preferredPayloadType === pt) { + return codecs[i]; + } + } + }; + + var rtxCapabilityMatches = function(lRtx, rRtx, lCodecs, rCodecs) { + var lCodec = findCodecByPayloadType(lRtx.parameters.apt, lCodecs); + var rCodec = findCodecByPayloadType(rRtx.parameters.apt, rCodecs); + return lCodec && rCodec && + lCodec.name.toLowerCase() === rCodec.name.toLowerCase(); + }; + + localCapabilities.codecs.forEach(function(lCodec) { + for (var i = 0; i < remoteCapabilities.codecs.length; i++) { + var rCodec = remoteCapabilities.codecs[i]; + if (lCodec.name.toLowerCase() === rCodec.name.toLowerCase() && + lCodec.clockRate === rCodec.clockRate) { + if (lCodec.name.toLowerCase() === 'rtx' && + lCodec.parameters && rCodec.parameters.apt) { + // for RTX we need to find the local rtx that has a apt + // which points to the same local codec as the remote one. + if (!rtxCapabilityMatches(lCodec, rCodec, + localCapabilities.codecs, remoteCapabilities.codecs)) { + continue; + } + } + rCodec = JSON.parse(JSON.stringify(rCodec)); // deepcopy + // number of channels is the highest common number of channels + rCodec.numChannels = Math.min(lCodec.numChannels, + rCodec.numChannels); + // push rCodec so we reply with offerer payload type + commonCapabilities.codecs.push(rCodec); + + // determine common feedback mechanisms + rCodec.rtcpFeedback = rCodec.rtcpFeedback.filter(function(fb) { + for (var j = 0; j < lCodec.rtcpFeedback.length; j++) { + if (lCodec.rtcpFeedback[j].type === fb.type && + lCodec.rtcpFeedback[j].parameter === fb.parameter) { + return true; + } + } + return false; + }); + // FIXME: also need to determine .parameters + // see https://github.com/openpeer/ortc/issues/569 + break; + } + } + }); + + localCapabilities.headerExtensions.forEach(function(lHeaderExtension) { + for (var i = 0; i < remoteCapabilities.headerExtensions.length; + i++) { + var rHeaderExtension = remoteCapabilities.headerExtensions[i]; + if (lHeaderExtension.uri === rHeaderExtension.uri) { + commonCapabilities.headerExtensions.push(rHeaderExtension); + break; + } + } + }); + + // FIXME: fecMechanisms + return commonCapabilities; +} + +// is action=setLocalDescription with type allowed in signalingState +function isActionAllowedInSignalingState(action, type, signalingState) { + return { + offer: { + setLocalDescription: ['stable', 'have-local-offer'], + setRemoteDescription: ['stable', 'have-remote-offer'] + }, + answer: { + setLocalDescription: ['have-remote-offer', 'have-local-pranswer'], + setRemoteDescription: ['have-local-offer', 'have-remote-pranswer'] + } + }[type][action].indexOf(signalingState) !== -1; +} + +function maybeAddCandidate(iceTransport, candidate) { + // Edge's internal representation adds some fields therefore + // not all fieldѕ are taken into account. + var alreadyAdded = iceTransport.getRemoteCandidates() + .find(function(remoteCandidate) { + return candidate.foundation === remoteCandidate.foundation && + candidate.ip === remoteCandidate.ip && + candidate.port === remoteCandidate.port && + candidate.priority === remoteCandidate.priority && + candidate.protocol === remoteCandidate.protocol && + candidate.type === remoteCandidate.type; + }); + if (!alreadyAdded) { + iceTransport.addRemoteCandidate(candidate); + } + return !alreadyAdded; +} + + +// https://w3c.github.io/mediacapture-main/#mediastream +// Helper function to add the track to the stream and +// dispatch the event ourselves. +function addTrackToStreamAndFireEvent(track, stream) { + stream.addTrack(track); + var e = new Event('addtrack'); // TODO: MediaStreamTrackEvent + e.track = track; + stream.dispatchEvent(e); +} + +function removeTrackFromStreamAndFireEvent(track, stream) { + stream.removeTrack(track); + var e = new Event('removetrack'); // TODO: MediaStreamTrackEvent + e.track = track; + stream.dispatchEvent(e); +} + +function fireAddTrack(pc, track, receiver, streams) { + var trackEvent = new Event('track'); + trackEvent.track = track; + trackEvent.receiver = receiver; + trackEvent.transceiver = {receiver: receiver}; + trackEvent.streams = streams; + window.setTimeout(function() { + pc._dispatchEvent('track', trackEvent); + }); +} + +function makeError(name, description) { + var e = new Error(description); + e.name = name; + return e; +} + +module.exports = function(window, edgeVersion) { + var RTCPeerConnection = function(config) { + var pc = this; + + var _eventTarget = document.createDocumentFragment(); + ['addEventListener', 'removeEventListener', 'dispatchEvent'] + .forEach(function(method) { + pc[method] = _eventTarget[method].bind(_eventTarget); + }); + + this.canTrickleIceCandidates = null; + + this.needNegotiation = false; + + this.localStreams = []; + this.remoteStreams = []; + + this.localDescription = null; + this.remoteDescription = null; + + this.signalingState = 'stable'; + this.iceConnectionState = 'new'; + this.iceGatheringState = 'new'; + + config = JSON.parse(JSON.stringify(config || {})); + + this.usingBundle = config.bundlePolicy === 'max-bundle'; + if (config.rtcpMuxPolicy === 'negotiate') { + throw(makeError('NotSupportedError', + 'rtcpMuxPolicy \'negotiate\' is not supported')); + } else if (!config.rtcpMuxPolicy) { + config.rtcpMuxPolicy = 'require'; + } + + switch (config.iceTransportPolicy) { + case 'all': + case 'relay': + break; + default: + config.iceTransportPolicy = 'all'; + break; + } + + switch (config.bundlePolicy) { + case 'balanced': + case 'max-compat': + case 'max-bundle': + break; + default: + config.bundlePolicy = 'balanced'; + break; + } + + config.iceServers = filterIceServers(config.iceServers || [], edgeVersion); + + this._iceGatherers = []; + if (config.iceCandidatePoolSize) { + for (var i = config.iceCandidatePoolSize; i > 0; i--) { + this._iceGatherers = new window.RTCIceGatherer({ + iceServers: config.iceServers, + gatherPolicy: config.iceTransportPolicy + }); + } + } else { + config.iceCandidatePoolSize = 0; + } + + this._config = config; + + // per-track iceGathers, iceTransports, dtlsTransports, rtpSenders, ... + // everything that is needed to describe a SDP m-line. + this.transceivers = []; + + this._sdpSessionId = SDPUtils.generateSessionId(); + this._sdpSessionVersion = 0; + + this._dtlsRole = undefined; // role for a=setup to use in answers. + + this._isClosed = false; + }; + + // set up event handlers on prototype + RTCPeerConnection.prototype.onicecandidate = null; + RTCPeerConnection.prototype.onaddstream = null; + RTCPeerConnection.prototype.ontrack = null; + RTCPeerConnection.prototype.onremovestream = null; + RTCPeerConnection.prototype.onsignalingstatechange = null; + RTCPeerConnection.prototype.oniceconnectionstatechange = null; + RTCPeerConnection.prototype.onicegatheringstatechange = null; + RTCPeerConnection.prototype.onnegotiationneeded = null; + RTCPeerConnection.prototype.ondatachannel = null; + + RTCPeerConnection.prototype._dispatchEvent = function(name, event) { + if (this._isClosed) { + return; + } + this.dispatchEvent(event); + if (typeof this['on' + name] === 'function') { + this['on' + name](event); + } + }; + + RTCPeerConnection.prototype._emitGatheringStateChange = function() { + var event = new Event('icegatheringstatechange'); + this._dispatchEvent('icegatheringstatechange', event); + }; + + RTCPeerConnection.prototype.getConfiguration = function() { + return this._config; + }; + + RTCPeerConnection.prototype.getLocalStreams = function() { + return this.localStreams; + }; + + RTCPeerConnection.prototype.getRemoteStreams = function() { + return this.remoteStreams; + }; + + // internal helper to create a transceiver object. + // (whih is not yet the same as the WebRTC 1.0 transceiver) + RTCPeerConnection.prototype._createTransceiver = function(kind) { + var hasBundleTransport = this.transceivers.length > 0; + var transceiver = { + track: null, + iceGatherer: null, + iceTransport: null, + dtlsTransport: null, + localCapabilities: null, + remoteCapabilities: null, + rtpSender: null, + rtpReceiver: null, + kind: kind, + mid: null, + sendEncodingParameters: null, + recvEncodingParameters: null, + stream: null, + associatedRemoteMediaStreams: [], + wantReceive: true + }; + if (this.usingBundle && hasBundleTransport) { + transceiver.iceTransport = this.transceivers[0].iceTransport; + transceiver.dtlsTransport = this.transceivers[0].dtlsTransport; + } else { + var transports = this._createIceAndDtlsTransports(); + transceiver.iceTransport = transports.iceTransport; + transceiver.dtlsTransport = transports.dtlsTransport; + } + this.transceivers.push(transceiver); + return transceiver; + }; + + RTCPeerConnection.prototype.addTrack = function(track, stream) { + var alreadyExists = this.transceivers.find(function(s) { + return s.track === track; + }); + + if (alreadyExists) { + throw makeError('InvalidAccessError', 'Track already exists.'); + } + + if (this.signalingState === 'closed') { + throw makeError('InvalidStateError', + 'Attempted to call addTrack on a closed peerconnection.'); + } + + var transceiver; + for (var i = 0; i < this.transceivers.length; i++) { + if (!this.transceivers[i].track && + this.transceivers[i].kind === track.kind) { + transceiver = this.transceivers[i]; + } + } + if (!transceiver) { + transceiver = this._createTransceiver(track.kind); + } + + this._maybeFireNegotiationNeeded(); + + if (this.localStreams.indexOf(stream) === -1) { + this.localStreams.push(stream); + } + + transceiver.track = track; + transceiver.stream = stream; + transceiver.rtpSender = new window.RTCRtpSender(track, + transceiver.dtlsTransport); + return transceiver.rtpSender; + }; + + RTCPeerConnection.prototype.addStream = function(stream) { + var pc = this; + if (edgeVersion >= 15025) { + stream.getTracks().forEach(function(track) { + pc.addTrack(track, stream); + }); + } else { + // Clone is necessary for local demos mostly, attaching directly + // to two different senders does not work (build 10547). + // Fixed in 15025 (or earlier) + var clonedStream = stream.clone(); + stream.getTracks().forEach(function(track, idx) { + var clonedTrack = clonedStream.getTracks()[idx]; + track.addEventListener('enabled', function(event) { + clonedTrack.enabled = event.enabled; + }); + }); + clonedStream.getTracks().forEach(function(track) { + pc.addTrack(track, clonedStream); + }); + } + }; + + RTCPeerConnection.prototype.removeTrack = function(sender) { + if (!(sender instanceof window.RTCRtpSender)) { + throw new TypeError('Argument 1 of RTCPeerConnection.removeTrack ' + + 'does not implement interface RTCRtpSender.'); + } + + var transceiver = this.transceivers.find(function(t) { + return t.rtpSender === sender; + }); + + if (!transceiver) { + throw makeError('InvalidAccessError', + 'Sender was not created by this connection.'); + } + var stream = transceiver.stream; + + transceiver.rtpSender.stop(); + transceiver.rtpSender = null; + transceiver.track = null; + transceiver.stream = null; + + // remove the stream from the set of local streams + var localStreams = this.transceivers.map(function(t) { + return t.stream; + }); + if (localStreams.indexOf(stream) === -1 && + this.localStreams.indexOf(stream) > -1) { + this.localStreams.splice(this.localStreams.indexOf(stream), 1); + } + + this._maybeFireNegotiationNeeded(); + }; + + RTCPeerConnection.prototype.removeStream = function(stream) { + var pc = this; + stream.getTracks().forEach(function(track) { + var sender = pc.getSenders().find(function(s) { + return s.track === track; + }); + if (sender) { + pc.removeTrack(sender); + } + }); + }; + + RTCPeerConnection.prototype.getSenders = function() { + return this.transceivers.filter(function(transceiver) { + return !!transceiver.rtpSender; + }) + .map(function(transceiver) { + return transceiver.rtpSender; + }); + }; + + RTCPeerConnection.prototype.getReceivers = function() { + return this.transceivers.filter(function(transceiver) { + return !!transceiver.rtpReceiver; + }) + .map(function(transceiver) { + return transceiver.rtpReceiver; + }); + }; + + + RTCPeerConnection.prototype._createIceGatherer = function(sdpMLineIndex, + usingBundle) { + var pc = this; + if (usingBundle && sdpMLineIndex > 0) { + return this.transceivers[0].iceGatherer; + } else if (this._iceGatherers.length) { + return this._iceGatherers.shift(); + } + var iceGatherer = new window.RTCIceGatherer({ + iceServers: this._config.iceServers, + gatherPolicy: this._config.iceTransportPolicy + }); + Object.defineProperty(iceGatherer, 'state', + {value: 'new', writable: true} + ); + + this.transceivers[sdpMLineIndex].candidates = []; + this.transceivers[sdpMLineIndex].bufferCandidates = function(event) { + var end = !event.candidate || Object.keys(event.candidate).length === 0; + // polyfill since RTCIceGatherer.state is not implemented in + // Edge 10547 yet. + iceGatherer.state = end ? 'completed' : 'gathering'; + if (pc.transceivers[sdpMLineIndex].candidates !== null) { + pc.transceivers[sdpMLineIndex].candidates.push(event.candidate); + } + }; + iceGatherer.addEventListener('localcandidate', + this.transceivers[sdpMLineIndex].bufferCandidates); + return iceGatherer; + }; + + // start gathering from an RTCIceGatherer. + RTCPeerConnection.prototype._gather = function(mid, sdpMLineIndex) { + var pc = this; + var iceGatherer = this.transceivers[sdpMLineIndex].iceGatherer; + if (iceGatherer.onlocalcandidate) { + return; + } + var candidates = this.transceivers[sdpMLineIndex].candidates; + this.transceivers[sdpMLineIndex].candidates = null; + iceGatherer.removeEventListener('localcandidate', + this.transceivers[sdpMLineIndex].bufferCandidates); + iceGatherer.onlocalcandidate = function(evt) { + if (pc.usingBundle && sdpMLineIndex > 0) { + // if we know that we use bundle we can drop candidates with + // ѕdpMLineIndex > 0. If we don't do this then our state gets + // confused since we dispose the extra ice gatherer. + return; + } + var event = new Event('icecandidate'); + event.candidate = {sdpMid: mid, sdpMLineIndex: sdpMLineIndex}; + + var cand = evt.candidate; + // Edge emits an empty object for RTCIceCandidateComplete‥ + var end = !cand || Object.keys(cand).length === 0; + if (end) { + // polyfill since RTCIceGatherer.state is not implemented in + // Edge 10547 yet. + if (iceGatherer.state === 'new' || iceGatherer.state === 'gathering') { + iceGatherer.state = 'completed'; + } + } else { + if (iceGatherer.state === 'new') { + iceGatherer.state = 'gathering'; + } + // RTCIceCandidate doesn't have a component, needs to be added + cand.component = 1; + event.candidate.candidate = SDPUtils.writeCandidate(cand); + } + + // update local description. + var sections = SDPUtils.splitSections(pc.localDescription.sdp); + if (!end) { + sections[event.candidate.sdpMLineIndex + 1] += + 'a=' + event.candidate.candidate + '\r\n'; + } else { + sections[event.candidate.sdpMLineIndex + 1] += + 'a=end-of-candidates\r\n'; + } + pc.localDescription.sdp = sections.join(''); + var complete = pc.transceivers.every(function(transceiver) { + return transceiver.iceGatherer && + transceiver.iceGatherer.state === 'completed'; + }); + + if (pc.iceGatheringState !== 'gathering') { + pc.iceGatheringState = 'gathering'; + pc._emitGatheringStateChange(); + } + + // Emit candidate. Also emit null candidate when all gatherers are + // complete. + if (!end) { + pc._dispatchEvent('icecandidate', event); + } + if (complete) { + pc._dispatchEvent('icecandidate', new Event('icecandidate')); + pc.iceGatheringState = 'complete'; + pc._emitGatheringStateChange(); + } + }; + + // emit already gathered candidates. + window.setTimeout(function() { + candidates.forEach(function(candidate) { + var e = new Event('RTCIceGatherEvent'); + e.candidate = candidate; + iceGatherer.onlocalcandidate(e); + }); + }, 0); + }; + + // Create ICE transport and DTLS transport. + RTCPeerConnection.prototype._createIceAndDtlsTransports = function() { + var pc = this; + var iceTransport = new window.RTCIceTransport(null); + iceTransport.onicestatechange = function() { + pc._updateConnectionState(); + }; + + var dtlsTransport = new window.RTCDtlsTransport(iceTransport); + dtlsTransport.ondtlsstatechange = function() { + pc._updateConnectionState(); + }; + dtlsTransport.onerror = function() { + // onerror does not set state to failed by itpc. + Object.defineProperty(dtlsTransport, 'state', + {value: 'failed', writable: true}); + pc._updateConnectionState(); + }; + + return { + iceTransport: iceTransport, + dtlsTransport: dtlsTransport + }; + }; + + // Destroy ICE gatherer, ICE transport and DTLS transport. + // Without triggering the callbacks. + RTCPeerConnection.prototype._disposeIceAndDtlsTransports = function( + sdpMLineIndex) { + var iceGatherer = this.transceivers[sdpMLineIndex].iceGatherer; + if (iceGatherer) { + delete iceGatherer.onlocalcandidate; + delete this.transceivers[sdpMLineIndex].iceGatherer; + } + var iceTransport = this.transceivers[sdpMLineIndex].iceTransport; + if (iceTransport) { + delete iceTransport.onicestatechange; + delete this.transceivers[sdpMLineIndex].iceTransport; + } + var dtlsTransport = this.transceivers[sdpMLineIndex].dtlsTransport; + if (dtlsTransport) { + delete dtlsTransport.ondtlsstatechange; + delete dtlsTransport.onerror; + delete this.transceivers[sdpMLineIndex].dtlsTransport; + } + }; + + // Start the RTP Sender and Receiver for a transceiver. + RTCPeerConnection.prototype._transceive = function(transceiver, + send, recv) { + var params = getCommonCapabilities(transceiver.localCapabilities, + transceiver.remoteCapabilities); + if (send && transceiver.rtpSender) { + params.encodings = transceiver.sendEncodingParameters; + params.rtcp = { + cname: SDPUtils.localCName, + compound: transceiver.rtcpParameters.compound + }; + if (transceiver.recvEncodingParameters.length) { + params.rtcp.ssrc = transceiver.recvEncodingParameters[0].ssrc; + } + transceiver.rtpSender.send(params); + } + if (recv && transceiver.rtpReceiver && params.codecs.length > 0) { + // remove RTX field in Edge 14942 + if (transceiver.kind === 'video' + && transceiver.recvEncodingParameters + && edgeVersion < 15019) { + transceiver.recvEncodingParameters.forEach(function(p) { + delete p.rtx; + }); + } + if (transceiver.recvEncodingParameters.length) { + params.encodings = transceiver.recvEncodingParameters; + } + params.rtcp = { + compound: transceiver.rtcpParameters.compound + }; + if (transceiver.rtcpParameters.cname) { + params.rtcp.cname = transceiver.rtcpParameters.cname; + } + if (transceiver.sendEncodingParameters.length) { + params.rtcp.ssrc = transceiver.sendEncodingParameters[0].ssrc; + } + transceiver.rtpReceiver.receive(params); + } + }; + + RTCPeerConnection.prototype.setLocalDescription = function(description) { + var pc = this; + + if (!isActionAllowedInSignalingState('setLocalDescription', + description.type, this.signalingState) || this._isClosed) { + return Promise.reject(makeError('InvalidStateError', + 'Can not set local ' + description.type + + ' in state ' + pc.signalingState)); + } + + var sections; + var sessionpart; + if (description.type === 'offer') { + // VERY limited support for SDP munging. Limited to: + // * changing the order of codecs + sections = SDPUtils.splitSections(description.sdp); + sessionpart = sections.shift(); + sections.forEach(function(mediaSection, sdpMLineIndex) { + var caps = SDPUtils.parseRtpParameters(mediaSection); + pc.transceivers[sdpMLineIndex].localCapabilities = caps; + }); + + this.transceivers.forEach(function(transceiver, sdpMLineIndex) { + pc._gather(transceiver.mid, sdpMLineIndex); + }); + } else if (description.type === 'answer') { + sections = SDPUtils.splitSections(pc.remoteDescription.sdp); + sessionpart = sections.shift(); + var isIceLite = SDPUtils.matchPrefix(sessionpart, + 'a=ice-lite').length > 0; + sections.forEach(function(mediaSection, sdpMLineIndex) { + var transceiver = pc.transceivers[sdpMLineIndex]; + var iceGatherer = transceiver.iceGatherer; + var iceTransport = transceiver.iceTransport; + var dtlsTransport = transceiver.dtlsTransport; + var localCapabilities = transceiver.localCapabilities; + var remoteCapabilities = transceiver.remoteCapabilities; + + // treat bundle-only as not-rejected. + var rejected = SDPUtils.isRejected(mediaSection) && + SDPUtils.matchPrefix(mediaSection, 'a=bundle-only').length === 0; + + if (!rejected && !transceiver.isDatachannel) { + var remoteIceParameters = SDPUtils.getIceParameters( + mediaSection, sessionpart); + var remoteDtlsParameters = SDPUtils.getDtlsParameters( + mediaSection, sessionpart); + if (isIceLite) { + remoteDtlsParameters.role = 'server'; + } + + if (!pc.usingBundle || sdpMLineIndex === 0) { + pc._gather(transceiver.mid, sdpMLineIndex); + if (iceTransport.state === 'new') { + iceTransport.start(iceGatherer, remoteIceParameters, + isIceLite ? 'controlling' : 'controlled'); + } + if (dtlsTransport.state === 'new') { + dtlsTransport.start(remoteDtlsParameters); + } + } + + // Calculate intersection of capabilities. + var params = getCommonCapabilities(localCapabilities, + remoteCapabilities); + + // Start the RTCRtpSender. The RTCRtpReceiver for this + // transceiver has already been started in setRemoteDescription. + pc._transceive(transceiver, + params.codecs.length > 0, + false); + } + }); + } + + this.localDescription = { + type: description.type, + sdp: description.sdp + }; + switch (description.type) { + case 'offer': + this._updateSignalingState('have-local-offer'); + break; + case 'answer': + this._updateSignalingState('stable'); + break; + default: + throw new TypeError('unsupported type "' + description.type + + '"'); + } + + return Promise.resolve(); + }; + + RTCPeerConnection.prototype.setRemoteDescription = function(description) { + var pc = this; + + if (!isActionAllowedInSignalingState('setRemoteDescription', + description.type, this.signalingState) || this._isClosed) { + return Promise.reject(makeError('InvalidStateError', + 'Can not set remote ' + description.type + + ' in state ' + pc.signalingState)); + } + + var streams = {}; + this.remoteStreams.forEach(function(stream) { + streams[stream.id] = stream; + }); + var receiverList = []; + var sections = SDPUtils.splitSections(description.sdp); + var sessionpart = sections.shift(); + var isIceLite = SDPUtils.matchPrefix(sessionpart, + 'a=ice-lite').length > 0; + var usingBundle = SDPUtils.matchPrefix(sessionpart, + 'a=group:BUNDLE ').length > 0; + this.usingBundle = usingBundle; + var iceOptions = SDPUtils.matchPrefix(sessionpart, + 'a=ice-options:')[0]; + if (iceOptions) { + this.canTrickleIceCandidates = iceOptions.substr(14).split(' ') + .indexOf('trickle') >= 0; + } else { + this.canTrickleIceCandidates = false; + } + + sections.forEach(function(mediaSection, sdpMLineIndex) { + var lines = SDPUtils.splitLines(mediaSection); + var kind = SDPUtils.getKind(mediaSection); + // treat bundle-only as not-rejected. + var rejected = SDPUtils.isRejected(mediaSection) && + SDPUtils.matchPrefix(mediaSection, 'a=bundle-only').length === 0; + var protocol = lines[0].substr(2).split(' ')[2]; + + var direction = SDPUtils.getDirection(mediaSection, sessionpart); + var remoteMsid = SDPUtils.parseMsid(mediaSection); + + var mid = SDPUtils.getMid(mediaSection) || SDPUtils.generateIdentifier(); + + // Reject datachannels which are not implemented yet. + if (kind === 'application' && protocol === 'DTLS/SCTP') { + pc.transceivers[sdpMLineIndex] = { + mid: mid, + isDatachannel: true + }; + return; + } + + var transceiver; + var iceGatherer; + var iceTransport; + var dtlsTransport; + var rtpReceiver; + var sendEncodingParameters; + var recvEncodingParameters; + var localCapabilities; + + var track; + // FIXME: ensure the mediaSection has rtcp-mux set. + var remoteCapabilities = SDPUtils.parseRtpParameters(mediaSection); + var remoteIceParameters; + var remoteDtlsParameters; + if (!rejected) { + remoteIceParameters = SDPUtils.getIceParameters(mediaSection, + sessionpart); + remoteDtlsParameters = SDPUtils.getDtlsParameters(mediaSection, + sessionpart); + remoteDtlsParameters.role = 'client'; + } + recvEncodingParameters = + SDPUtils.parseRtpEncodingParameters(mediaSection); + + var rtcpParameters = SDPUtils.parseRtcpParameters(mediaSection); + + var isComplete = SDPUtils.matchPrefix(mediaSection, + 'a=end-of-candidates', sessionpart).length > 0; + var cands = SDPUtils.matchPrefix(mediaSection, 'a=candidate:') + .map(function(cand) { + return SDPUtils.parseCandidate(cand); + }) + .filter(function(cand) { + return cand.component === 1; + }); + + // Check if we can use BUNDLE and dispose transports. + if ((description.type === 'offer' || description.type === 'answer') && + !rejected && usingBundle && sdpMLineIndex > 0 && + pc.transceivers[sdpMLineIndex]) { + pc._disposeIceAndDtlsTransports(sdpMLineIndex); + pc.transceivers[sdpMLineIndex].iceGatherer = + pc.transceivers[0].iceGatherer; + pc.transceivers[sdpMLineIndex].iceTransport = + pc.transceivers[0].iceTransport; + pc.transceivers[sdpMLineIndex].dtlsTransport = + pc.transceivers[0].dtlsTransport; + if (pc.transceivers[sdpMLineIndex].rtpSender) { + pc.transceivers[sdpMLineIndex].rtpSender.setTransport( + pc.transceivers[0].dtlsTransport); + } + if (pc.transceivers[sdpMLineIndex].rtpReceiver) { + pc.transceivers[sdpMLineIndex].rtpReceiver.setTransport( + pc.transceivers[0].dtlsTransport); + } + } + if (description.type === 'offer' && !rejected) { + transceiver = pc.transceivers[sdpMLineIndex] || + pc._createTransceiver(kind); + transceiver.mid = mid; + + if (!transceiver.iceGatherer) { + transceiver.iceGatherer = pc._createIceGatherer(sdpMLineIndex, + usingBundle); + } + + if (cands.length && transceiver.iceTransport.state === 'new') { + if (isComplete && (!usingBundle || sdpMLineIndex === 0)) { + transceiver.iceTransport.setRemoteCandidates(cands); + } else { + cands.forEach(function(candidate) { + maybeAddCandidate(transceiver.iceTransport, candidate); + }); + } + } + + localCapabilities = window.RTCRtpReceiver.getCapabilities(kind); + + // filter RTX until additional stuff needed for RTX is implemented + // in adapter.js + if (edgeVersion < 15019) { + localCapabilities.codecs = localCapabilities.codecs.filter( + function(codec) { + return codec.name !== 'rtx'; + }); + } + + sendEncodingParameters = transceiver.sendEncodingParameters || [{ + ssrc: (2 * sdpMLineIndex + 2) * 1001 + }]; + + // TODO: rewrite to use http://w3c.github.io/webrtc-pc/#set-associated-remote-streams + var isNewTrack = false; + if (direction === 'sendrecv' || direction === 'sendonly') { + isNewTrack = !transceiver.rtpReceiver; + rtpReceiver = transceiver.rtpReceiver || + new window.RTCRtpReceiver(transceiver.dtlsTransport, kind); + + if (isNewTrack) { + var stream; + track = rtpReceiver.track; + // FIXME: does not work with Plan B. + if (remoteMsid && remoteMsid.stream === '-') { + // no-op. a stream id of '-' means: no associated stream. + } else if (remoteMsid) { + if (!streams[remoteMsid.stream]) { + streams[remoteMsid.stream] = new window.MediaStream(); + Object.defineProperty(streams[remoteMsid.stream], 'id', { + get: function() { + return remoteMsid.stream; + } + }); + } + Object.defineProperty(track, 'id', { + get: function() { + return remoteMsid.track; + } + }); + stream = streams[remoteMsid.stream]; + } else { + if (!streams.default) { + streams.default = new window.MediaStream(); + } + stream = streams.default; + } + if (stream) { + addTrackToStreamAndFireEvent(track, stream); + transceiver.associatedRemoteMediaStreams.push(stream); + } + receiverList.push([track, rtpReceiver, stream]); + } + } else if (transceiver.rtpReceiver && transceiver.rtpReceiver.track) { + transceiver.associatedRemoteMediaStreams.forEach(function(s) { + var nativeTrack = s.getTracks().find(function(t) { + return t.id === transceiver.rtpReceiver.track.id; + }); + if (nativeTrack) { + removeTrackFromStreamAndFireEvent(nativeTrack, s); + } + }); + transceiver.associatedRemoteMediaStreams = []; + } + + transceiver.localCapabilities = localCapabilities; + transceiver.remoteCapabilities = remoteCapabilities; + transceiver.rtpReceiver = rtpReceiver; + transceiver.rtcpParameters = rtcpParameters; + transceiver.sendEncodingParameters = sendEncodingParameters; + transceiver.recvEncodingParameters = recvEncodingParameters; + + // Start the RTCRtpReceiver now. The RTPSender is started in + // setLocalDescription. + pc._transceive(pc.transceivers[sdpMLineIndex], + false, + isNewTrack); + } else if (description.type === 'answer' && !rejected) { + transceiver = pc.transceivers[sdpMLineIndex]; + iceGatherer = transceiver.iceGatherer; + iceTransport = transceiver.iceTransport; + dtlsTransport = transceiver.dtlsTransport; + rtpReceiver = transceiver.rtpReceiver; + sendEncodingParameters = transceiver.sendEncodingParameters; + localCapabilities = transceiver.localCapabilities; + + pc.transceivers[sdpMLineIndex].recvEncodingParameters = + recvEncodingParameters; + pc.transceivers[sdpMLineIndex].remoteCapabilities = + remoteCapabilities; + pc.transceivers[sdpMLineIndex].rtcpParameters = rtcpParameters; + + if (cands.length && iceTransport.state === 'new') { + if ((isIceLite || isComplete) && + (!usingBundle || sdpMLineIndex === 0)) { + iceTransport.setRemoteCandidates(cands); + } else { + cands.forEach(function(candidate) { + maybeAddCandidate(transceiver.iceTransport, candidate); + }); + } + } + + if (!usingBundle || sdpMLineIndex === 0) { + if (iceTransport.state === 'new') { + iceTransport.start(iceGatherer, remoteIceParameters, + 'controlling'); + } + if (dtlsTransport.state === 'new') { + dtlsTransport.start(remoteDtlsParameters); + } + } + + pc._transceive(transceiver, + direction === 'sendrecv' || direction === 'recvonly', + direction === 'sendrecv' || direction === 'sendonly'); + + // TODO: rewrite to use http://w3c.github.io/webrtc-pc/#set-associated-remote-streams + if (rtpReceiver && + (direction === 'sendrecv' || direction === 'sendonly')) { + track = rtpReceiver.track; + if (remoteMsid) { + if (!streams[remoteMsid.stream]) { + streams[remoteMsid.stream] = new window.MediaStream(); + } + addTrackToStreamAndFireEvent(track, streams[remoteMsid.stream]); + receiverList.push([track, rtpReceiver, streams[remoteMsid.stream]]); + } else { + if (!streams.default) { + streams.default = new window.MediaStream(); + } + addTrackToStreamAndFireEvent(track, streams.default); + receiverList.push([track, rtpReceiver, streams.default]); + } + } else { + // FIXME: actually the receiver should be created later. + delete transceiver.rtpReceiver; + } + } + }); + + if (this._dtlsRole === undefined) { + this._dtlsRole = description.type === 'offer' ? 'active' : 'passive'; + } + + this.remoteDescription = { + type: description.type, + sdp: description.sdp + }; + switch (description.type) { + case 'offer': + this._updateSignalingState('have-remote-offer'); + break; + case 'answer': + this._updateSignalingState('stable'); + break; + default: + throw new TypeError('unsupported type "' + description.type + + '"'); + } + Object.keys(streams).forEach(function(sid) { + var stream = streams[sid]; + if (stream.getTracks().length) { + if (pc.remoteStreams.indexOf(stream) === -1) { + pc.remoteStreams.push(stream); + var event = new Event('addstream'); + event.stream = stream; + window.setTimeout(function() { + pc._dispatchEvent('addstream', event); + }); + } + + receiverList.forEach(function(item) { + var track = item[0]; + var receiver = item[1]; + if (stream.id !== item[2].id) { + return; + } + fireAddTrack(pc, track, receiver, [stream]); + }); + } + }); + receiverList.forEach(function(item) { + if (item[2]) { + return; + } + fireAddTrack(pc, item[0], item[1], []); + }); + + // check whether addIceCandidate({}) was called within four seconds after + // setRemoteDescription. + window.setTimeout(function() { + if (!(pc && pc.transceivers)) { + return; + } + pc.transceivers.forEach(function(transceiver) { + if (transceiver.iceTransport && + transceiver.iceTransport.state === 'new' && + transceiver.iceTransport.getRemoteCandidates().length > 0) { + console.warn('Timeout for addRemoteCandidate. Consider sending ' + + 'an end-of-candidates notification'); + transceiver.iceTransport.addRemoteCandidate({}); + } + }); + }, 4000); + + return Promise.resolve(); + }; + + RTCPeerConnection.prototype.close = function() { + this.transceivers.forEach(function(transceiver) { + /* not yet + if (transceiver.iceGatherer) { + transceiver.iceGatherer.close(); + } + */ + if (transceiver.iceTransport) { + transceiver.iceTransport.stop(); + } + if (transceiver.dtlsTransport) { + transceiver.dtlsTransport.stop(); + } + if (transceiver.rtpSender) { + transceiver.rtpSender.stop(); + } + if (transceiver.rtpReceiver) { + transceiver.rtpReceiver.stop(); + } + }); + // FIXME: clean up tracks, local streams, remote streams, etc + this._isClosed = true; + this._updateSignalingState('closed'); + }; + + // Update the signaling state. + RTCPeerConnection.prototype._updateSignalingState = function(newState) { + this.signalingState = newState; + var event = new Event('signalingstatechange'); + this._dispatchEvent('signalingstatechange', event); + }; + + // Determine whether to fire the negotiationneeded event. + RTCPeerConnection.prototype._maybeFireNegotiationNeeded = function() { + var pc = this; + if (this.signalingState !== 'stable' || this.needNegotiation === true) { + return; + } + this.needNegotiation = true; + window.setTimeout(function() { + if (pc.needNegotiation === false) { + return; + } + pc.needNegotiation = false; + var event = new Event('negotiationneeded'); + pc._dispatchEvent('negotiationneeded', event); + }, 0); + }; + + // Update the connection state. + RTCPeerConnection.prototype._updateConnectionState = function() { + var newState; + var states = { + 'new': 0, + closed: 0, + connecting: 0, + checking: 0, + connected: 0, + completed: 0, + disconnected: 0, + failed: 0 + }; + this.transceivers.forEach(function(transceiver) { + states[transceiver.iceTransport.state]++; + states[transceiver.dtlsTransport.state]++; + }); + // ICETransport.completed and connected are the same for this purpose. + states.connected += states.completed; + + newState = 'new'; + if (states.failed > 0) { + newState = 'failed'; + } else if (states.connecting > 0 || states.checking > 0) { + newState = 'connecting'; + } else if (states.disconnected > 0) { + newState = 'disconnected'; + } else if (states.new > 0) { + newState = 'new'; + } else if (states.connected > 0 || states.completed > 0) { + newState = 'connected'; + } + + if (newState !== this.iceConnectionState) { + this.iceConnectionState = newState; + var event = new Event('iceconnectionstatechange'); + this._dispatchEvent('iceconnectionstatechange', event); + } + }; + + RTCPeerConnection.prototype.createOffer = function() { + var pc = this; + + if (this._isClosed) { + return Promise.reject(makeError('InvalidStateError', + 'Can not call createOffer after close')); + } + + var numAudioTracks = this.transceivers.filter(function(t) { + return t.kind === 'audio'; + }).length; + var numVideoTracks = this.transceivers.filter(function(t) { + return t.kind === 'video'; + }).length; + + // Determine number of audio and video tracks we need to send/recv. + var offerOptions = arguments[0]; + if (offerOptions) { + // Reject Chrome legacy constraints. + if (offerOptions.mandatory || offerOptions.optional) { + throw new TypeError( + 'Legacy mandatory/optional constraints not supported.'); + } + if (offerOptions.offerToReceiveAudio !== undefined) { + if (offerOptions.offerToReceiveAudio === true) { + numAudioTracks = 1; + } else if (offerOptions.offerToReceiveAudio === false) { + numAudioTracks = 0; + } else { + numAudioTracks = offerOptions.offerToReceiveAudio; + } + } + if (offerOptions.offerToReceiveVideo !== undefined) { + if (offerOptions.offerToReceiveVideo === true) { + numVideoTracks = 1; + } else if (offerOptions.offerToReceiveVideo === false) { + numVideoTracks = 0; + } else { + numVideoTracks = offerOptions.offerToReceiveVideo; + } + } + } + + this.transceivers.forEach(function(transceiver) { + if (transceiver.kind === 'audio') { + numAudioTracks--; + if (numAudioTracks < 0) { + transceiver.wantReceive = false; + } + } else if (transceiver.kind === 'video') { + numVideoTracks--; + if (numVideoTracks < 0) { + transceiver.wantReceive = false; + } + } + }); + + // Create M-lines for recvonly streams. + while (numAudioTracks > 0 || numVideoTracks > 0) { + if (numAudioTracks > 0) { + this._createTransceiver('audio'); + numAudioTracks--; + } + if (numVideoTracks > 0) { + this._createTransceiver('video'); + numVideoTracks--; + } + } + + var sdp = SDPUtils.writeSessionBoilerplate(this._sdpSessionId, + this._sdpSessionVersion++); + this.transceivers.forEach(function(transceiver, sdpMLineIndex) { + // For each track, create an ice gatherer, ice transport, + // dtls transport, potentially rtpsender and rtpreceiver. + var track = transceiver.track; + var kind = transceiver.kind; + var mid = SDPUtils.generateIdentifier(); + transceiver.mid = mid; + + if (!transceiver.iceGatherer) { + transceiver.iceGatherer = pc._createIceGatherer(sdpMLineIndex, + pc.usingBundle); + } + + var localCapabilities = window.RTCRtpSender.getCapabilities(kind); + // filter RTX until additional stuff needed for RTX is implemented + // in adapter.js + if (edgeVersion < 15019) { + localCapabilities.codecs = localCapabilities.codecs.filter( + function(codec) { + return codec.name !== 'rtx'; + }); + } + localCapabilities.codecs.forEach(function(codec) { + // work around https://bugs.chromium.org/p/webrtc/issues/detail?id=6552 + // by adding level-asymmetry-allowed=1 + if (codec.name === 'H264' && + codec.parameters['level-asymmetry-allowed'] === undefined) { + codec.parameters['level-asymmetry-allowed'] = '1'; + } + }); + + // generate an ssrc now, to be used later in rtpSender.send + var sendEncodingParameters = transceiver.sendEncodingParameters || [{ + ssrc: (2 * sdpMLineIndex + 1) * 1001 + }]; + if (track) { + // add RTX + if (edgeVersion >= 15019 && kind === 'video' && + !sendEncodingParameters[0].rtx) { + sendEncodingParameters[0].rtx = { + ssrc: sendEncodingParameters[0].ssrc + 1 + }; + } + } + + if (transceiver.wantReceive) { + transceiver.rtpReceiver = new window.RTCRtpReceiver( + transceiver.dtlsTransport, kind); + } + + transceiver.localCapabilities = localCapabilities; + transceiver.sendEncodingParameters = sendEncodingParameters; + }); + + // always offer BUNDLE and dispose on return if not supported. + if (this._config.bundlePolicy !== 'max-compat') { + sdp += 'a=group:BUNDLE ' + this.transceivers.map(function(t) { + return t.mid; + }).join(' ') + '\r\n'; + } + sdp += 'a=ice-options:trickle\r\n'; + + this.transceivers.forEach(function(transceiver, sdpMLineIndex) { + sdp += writeMediaSection(transceiver, transceiver.localCapabilities, + 'offer', transceiver.stream, pc._dtlsRole); + sdp += 'a=rtcp-rsize\r\n'; + + if (transceiver.iceGatherer && pc.iceGatheringState !== 'new' && + (sdpMLineIndex === 0 || !pc.usingBundle)) { + transceiver.iceGatherer.getLocalCandidates().forEach(function(cand) { + cand.component = 1; + sdp += 'a=' + SDPUtils.writeCandidate(cand) + '\r\n'; + }); + + if (transceiver.iceGatherer.state === 'completed') { + sdp += 'a=end-of-candidates\r\n'; + } + } + }); + + var desc = new window.RTCSessionDescription({ + type: 'offer', + sdp: sdp + }); + return Promise.resolve(desc); + }; + + RTCPeerConnection.prototype.createAnswer = function() { + var pc = this; + + if (this._isClosed) { + return Promise.reject(makeError('InvalidStateError', + 'Can not call createAnswer after close')); + } + + var sdp = SDPUtils.writeSessionBoilerplate(this._sdpSessionId, + this._sdpSessionVersion++); + if (this.usingBundle) { + sdp += 'a=group:BUNDLE ' + this.transceivers.map(function(t) { + return t.mid; + }).join(' ') + '\r\n'; + } + var mediaSectionsInOffer = SDPUtils.splitSections( + this.remoteDescription.sdp).length - 1; + this.transceivers.forEach(function(transceiver, sdpMLineIndex) { + if (sdpMLineIndex + 1 > mediaSectionsInOffer) { + return; + } + if (transceiver.isDatachannel) { + sdp += 'm=application 0 DTLS/SCTP 5000\r\n' + + 'c=IN IP4 0.0.0.0\r\n' + + 'a=mid:' + transceiver.mid + '\r\n'; + return; + } + + // FIXME: look at direction. + if (transceiver.stream) { + var localTrack; + if (transceiver.kind === 'audio') { + localTrack = transceiver.stream.getAudioTracks()[0]; + } else if (transceiver.kind === 'video') { + localTrack = transceiver.stream.getVideoTracks()[0]; + } + if (localTrack) { + // add RTX + if (edgeVersion >= 15019 && transceiver.kind === 'video' && + !transceiver.sendEncodingParameters[0].rtx) { + transceiver.sendEncodingParameters[0].rtx = { + ssrc: transceiver.sendEncodingParameters[0].ssrc + 1 + }; + } + } + } + + // Calculate intersection of capabilities. + var commonCapabilities = getCommonCapabilities( + transceiver.localCapabilities, + transceiver.remoteCapabilities); + + var hasRtx = commonCapabilities.codecs.filter(function(c) { + return c.name.toLowerCase() === 'rtx'; + }).length; + if (!hasRtx && transceiver.sendEncodingParameters[0].rtx) { + delete transceiver.sendEncodingParameters[0].rtx; + } + + sdp += writeMediaSection(transceiver, commonCapabilities, + 'answer', transceiver.stream, pc._dtlsRole); + if (transceiver.rtcpParameters && + transceiver.rtcpParameters.reducedSize) { + sdp += 'a=rtcp-rsize\r\n'; + } + }); + + var desc = new window.RTCSessionDescription({ + type: 'answer', + sdp: sdp + }); + return Promise.resolve(desc); + }; + + RTCPeerConnection.prototype.addIceCandidate = function(candidate) { + var sections; + if (!candidate || candidate.candidate === '') { + for (var j = 0; j < this.transceivers.length; j++) { + if (this.transceivers[j].isDatachannel) { + continue; + } + this.transceivers[j].iceTransport.addRemoteCandidate({}); + sections = SDPUtils.splitSections(this.remoteDescription.sdp); + sections[j + 1] += 'a=end-of-candidates\r\n'; + this.remoteDescription.sdp = sections.join(''); + if (this.usingBundle) { + break; + } + } + } else if (!(candidate.sdpMLineIndex !== undefined || candidate.sdpMid)) { + throw new TypeError('sdpMLineIndex or sdpMid required'); + } else if (!this.remoteDescription) { + return Promise.reject(makeError('InvalidStateError', + 'Can not add ICE candidate without a remote description')); + } else { + var sdpMLineIndex = candidate.sdpMLineIndex; + if (candidate.sdpMid) { + for (var i = 0; i < this.transceivers.length; i++) { + if (this.transceivers[i].mid === candidate.sdpMid) { + sdpMLineIndex = i; + break; + } + } + } + var transceiver = this.transceivers[sdpMLineIndex]; + if (transceiver) { + if (transceiver.isDatachannel) { + return Promise.resolve(); + } + var cand = Object.keys(candidate.candidate).length > 0 ? + SDPUtils.parseCandidate(candidate.candidate) : {}; + // Ignore Chrome's invalid candidates since Edge does not like them. + if (cand.protocol === 'tcp' && (cand.port === 0 || cand.port === 9)) { + return Promise.resolve(); + } + // Ignore RTCP candidates, we assume RTCP-MUX. + if (cand.component && cand.component !== 1) { + return Promise.resolve(); + } + // when using bundle, avoid adding candidates to the wrong + // ice transport. And avoid adding candidates added in the SDP. + if (sdpMLineIndex === 0 || (sdpMLineIndex > 0 && + transceiver.iceTransport !== this.transceivers[0].iceTransport)) { + if (!maybeAddCandidate(transceiver.iceTransport, cand)) { + return Promise.reject(makeError('OperationError', + 'Can not add ICE candidate')); + } + } + + // update the remoteDescription. + var candidateString = candidate.candidate.trim(); + if (candidateString.indexOf('a=') === 0) { + candidateString = candidateString.substr(2); + } + sections = SDPUtils.splitSections(this.remoteDescription.sdp); + sections[sdpMLineIndex + 1] += 'a=' + + (cand.type ? candidateString : 'end-of-candidates') + + '\r\n'; + this.remoteDescription.sdp = sections.join(''); + } else { + return Promise.reject(makeError('OperationError', + 'Can not add ICE candidate')); + } + } + return Promise.resolve(); + }; + + RTCPeerConnection.prototype.getStats = function() { + var promises = []; + this.transceivers.forEach(function(transceiver) { + ['rtpSender', 'rtpReceiver', 'iceGatherer', 'iceTransport', + 'dtlsTransport'].forEach(function(method) { + if (transceiver[method]) { + promises.push(transceiver[method].getStats()); + } + }); + }); + var fixStatsType = function(stat) { + return { + inboundrtp: 'inbound-rtp', + outboundrtp: 'outbound-rtp', + candidatepair: 'candidate-pair', + localcandidate: 'local-candidate', + remotecandidate: 'remote-candidate' + }[stat.type] || stat.type; + }; + return new Promise(function(resolve) { + // shim getStats with maplike support + var results = new Map(); + Promise.all(promises).then(function(res) { + res.forEach(function(result) { + Object.keys(result).forEach(function(id) { + result[id].type = fixStatsType(result[id]); + results.set(id, result[id]); + }); + }); + resolve(results); + }); + }); + }; + + // legacy callback shims. Should be moved to adapter.js some days. + var methods = ['createOffer', 'createAnswer']; + methods.forEach(function(method) { + var nativeMethod = RTCPeerConnection.prototype[method]; + RTCPeerConnection.prototype[method] = function() { + var args = arguments; + if (typeof args[0] === 'function' || + typeof args[1] === 'function') { // legacy + return nativeMethod.apply(this, [arguments[2]]) + .then(function(description) { + if (typeof args[0] === 'function') { + args[0].apply(null, [description]); + } + }, function(error) { + if (typeof args[1] === 'function') { + args[1].apply(null, [error]); + } + }); + } + return nativeMethod.apply(this, arguments); + }; + }); + + methods = ['setLocalDescription', 'setRemoteDescription', 'addIceCandidate']; + methods.forEach(function(method) { + var nativeMethod = RTCPeerConnection.prototype[method]; + RTCPeerConnection.prototype[method] = function() { + var args = arguments; + if (typeof args[1] === 'function' || + typeof args[2] === 'function') { // legacy + return nativeMethod.apply(this, arguments) + .then(function() { + if (typeof args[1] === 'function') { + args[1].apply(null); + } + }, function(error) { + if (typeof args[2] === 'function') { + args[2].apply(null, [error]); + } + }); + } + return nativeMethod.apply(this, arguments); + }; + }); + + // getStats is special. It doesn't have a spec legacy method yet we support + // getStats(something, cb) without error callbacks. + ['getStats'].forEach(function(method) { + var nativeMethod = RTCPeerConnection.prototype[method]; + RTCPeerConnection.prototype[method] = function() { + var args = arguments; + if (typeof args[1] === 'function') { + return nativeMethod.apply(this, arguments) + .then(function() { + if (typeof args[1] === 'function') { + args[1].apply(null); + } + }); + } + return nativeMethod.apply(this, arguments); + }; + }); + + return RTCPeerConnection; +}; + +},{"sdp":2}],2:[function(require,module,exports){ + /* eslint-env node */ +'use strict'; + +// SDP helpers. +var SDPUtils = {}; + +// Generate an alphanumeric identifier for cname or mids. +// TODO: use UUIDs instead? https://gist.github.com/jed/982883 +SDPUtils.generateIdentifier = function() { + return Math.random().toString(36).substr(2, 10); +}; + +// The RTCP CNAME used by all peerconnections from the same JS. +SDPUtils.localCName = SDPUtils.generateIdentifier(); + +// Splits SDP into lines, dealing with both CRLF and LF. +SDPUtils.splitLines = function(blob) { + return blob.trim().split('\n').map(function(line) { + return line.trim(); + }); +}; +// Splits SDP into sessionpart and mediasections. Ensures CRLF. +SDPUtils.splitSections = function(blob) { + var parts = blob.split('\nm='); + return parts.map(function(part, index) { + return (index > 0 ? 'm=' + part : part).trim() + '\r\n'; + }); +}; + +// Returns lines that start with a certain prefix. +SDPUtils.matchPrefix = function(blob, prefix) { + return SDPUtils.splitLines(blob).filter(function(line) { + return line.indexOf(prefix) === 0; + }); +}; + +// Parses an ICE candidate line. Sample input: +// candidate:702786350 2 udp 41819902 8.8.8.8 60769 typ relay raddr 8.8.8.8 +// rport 55996" +SDPUtils.parseCandidate = function(line) { + var parts; + // Parse both variants. + if (line.indexOf('a=candidate:') === 0) { + parts = line.substring(12).split(' '); + } else { + parts = line.substring(10).split(' '); + } + + var candidate = { + foundation: parts[0], + component: parseInt(parts[1], 10), + protocol: parts[2].toLowerCase(), + priority: parseInt(parts[3], 10), + ip: parts[4], + port: parseInt(parts[5], 10), + // skip parts[6] == 'typ' + type: parts[7] + }; + + for (var i = 8; i < parts.length; i += 2) { + switch (parts[i]) { + case 'raddr': + candidate.relatedAddress = parts[i + 1]; + break; + case 'rport': + candidate.relatedPort = parseInt(parts[i + 1], 10); + break; + case 'tcptype': + candidate.tcpType = parts[i + 1]; + break; + case 'ufrag': + candidate.ufrag = parts[i + 1]; // for backward compability. + candidate.usernameFragment = parts[i + 1]; + break; + default: // extension handling, in particular ufrag + candidate[parts[i]] = parts[i + 1]; + break; + } + } + return candidate; +}; + +// Translates a candidate object into SDP candidate attribute. +SDPUtils.writeCandidate = function(candidate) { + var sdp = []; + sdp.push(candidate.foundation); + sdp.push(candidate.component); + sdp.push(candidate.protocol.toUpperCase()); + sdp.push(candidate.priority); + sdp.push(candidate.ip); + sdp.push(candidate.port); + + var type = candidate.type; + sdp.push('typ'); + sdp.push(type); + if (type !== 'host' && candidate.relatedAddress && + candidate.relatedPort) { + sdp.push('raddr'); + sdp.push(candidate.relatedAddress); // was: relAddr + sdp.push('rport'); + sdp.push(candidate.relatedPort); // was: relPort + } + if (candidate.tcpType && candidate.protocol.toLowerCase() === 'tcp') { + sdp.push('tcptype'); + sdp.push(candidate.tcpType); + } + if (candidate.ufrag) { + sdp.push('ufrag'); + sdp.push(candidate.ufrag); + } + return 'candidate:' + sdp.join(' '); +}; + +// Parses an ice-options line, returns an array of option tags. +// a=ice-options:foo bar +SDPUtils.parseIceOptions = function(line) { + return line.substr(14).split(' '); +} + +// Parses an rtpmap line, returns RTCRtpCoddecParameters. Sample input: +// a=rtpmap:111 opus/48000/2 +SDPUtils.parseRtpMap = function(line) { + var parts = line.substr(9).split(' '); + var parsed = { + payloadType: parseInt(parts.shift(), 10) // was: id + }; + + parts = parts[0].split('/'); + + parsed.name = parts[0]; + parsed.clockRate = parseInt(parts[1], 10); // was: clockrate + // was: channels + parsed.numChannels = parts.length === 3 ? parseInt(parts[2], 10) : 1; + return parsed; +}; + +// Generate an a=rtpmap line from RTCRtpCodecCapability or +// RTCRtpCodecParameters. +SDPUtils.writeRtpMap = function(codec) { + var pt = codec.payloadType; + if (codec.preferredPayloadType !== undefined) { + pt = codec.preferredPayloadType; + } + return 'a=rtpmap:' + pt + ' ' + codec.name + '/' + codec.clockRate + + (codec.numChannels !== 1 ? '/' + codec.numChannels : '') + '\r\n'; +}; + +// Parses an a=extmap line (headerextension from RFC 5285). Sample input: +// a=extmap:2 urn:ietf:params:rtp-hdrext:toffset +// a=extmap:2/sendonly urn:ietf:params:rtp-hdrext:toffset +SDPUtils.parseExtmap = function(line) { + var parts = line.substr(9).split(' '); + return { + id: parseInt(parts[0], 10), + direction: parts[0].indexOf('/') > 0 ? parts[0].split('/')[1] : 'sendrecv', + uri: parts[1] + }; +}; + +// Generates a=extmap line from RTCRtpHeaderExtensionParameters or +// RTCRtpHeaderExtension. +SDPUtils.writeExtmap = function(headerExtension) { + return 'a=extmap:' + (headerExtension.id || headerExtension.preferredId) + + (headerExtension.direction && headerExtension.direction !== 'sendrecv' + ? '/' + headerExtension.direction + : '') + + ' ' + headerExtension.uri + '\r\n'; +}; + +// Parses an ftmp line, returns dictionary. Sample input: +// a=fmtp:96 vbr=on;cng=on +// Also deals with vbr=on; cng=on +SDPUtils.parseFmtp = function(line) { + var parsed = {}; + var kv; + var parts = line.substr(line.indexOf(' ') + 1).split(';'); + for (var j = 0; j < parts.length; j++) { + kv = parts[j].trim().split('='); + parsed[kv[0].trim()] = kv[1]; + } + return parsed; +}; + +// Generates an a=ftmp line from RTCRtpCodecCapability or RTCRtpCodecParameters. +SDPUtils.writeFmtp = function(codec) { + var line = ''; + var pt = codec.payloadType; + if (codec.preferredPayloadType !== undefined) { + pt = codec.preferredPayloadType; + } + if (codec.parameters && Object.keys(codec.parameters).length) { + var params = []; + Object.keys(codec.parameters).forEach(function(param) { + params.push(param + '=' + codec.parameters[param]); + }); + line += 'a=fmtp:' + pt + ' ' + params.join(';') + '\r\n'; + } + return line; +}; + +// Parses an rtcp-fb line, returns RTCPRtcpFeedback object. Sample input: +// a=rtcp-fb:98 nack rpsi +SDPUtils.parseRtcpFb = function(line) { + var parts = line.substr(line.indexOf(' ') + 1).split(' '); + return { + type: parts.shift(), + parameter: parts.join(' ') + }; +}; +// Generate a=rtcp-fb lines from RTCRtpCodecCapability or RTCRtpCodecParameters. +SDPUtils.writeRtcpFb = function(codec) { + var lines = ''; + var pt = codec.payloadType; + if (codec.preferredPayloadType !== undefined) { + pt = codec.preferredPayloadType; + } + if (codec.rtcpFeedback && codec.rtcpFeedback.length) { + // FIXME: special handling for trr-int? + codec.rtcpFeedback.forEach(function(fb) { + lines += 'a=rtcp-fb:' + pt + ' ' + fb.type + + (fb.parameter && fb.parameter.length ? ' ' + fb.parameter : '') + + '\r\n'; + }); + } + return lines; +}; + +// Parses an RFC 5576 ssrc media attribute. Sample input: +// a=ssrc:3735928559 cname:something +SDPUtils.parseSsrcMedia = function(line) { + var sp = line.indexOf(' '); + var parts = { + ssrc: parseInt(line.substr(7, sp - 7), 10) + }; + var colon = line.indexOf(':', sp); + if (colon > -1) { + parts.attribute = line.substr(sp + 1, colon - sp - 1); + parts.value = line.substr(colon + 1); + } else { + parts.attribute = line.substr(sp + 1); + } + return parts; +}; + +// Extracts the MID (RFC 5888) from a media section. +// returns the MID or undefined if no mid line was found. +SDPUtils.getMid = function(mediaSection) { + var mid = SDPUtils.matchPrefix(mediaSection, 'a=mid:')[0]; + if (mid) { + return mid.substr(6); + } +} + +SDPUtils.parseFingerprint = function(line) { + var parts = line.substr(14).split(' '); + return { + algorithm: parts[0].toLowerCase(), // algorithm is case-sensitive in Edge. + value: parts[1] + }; +}; + +// Extracts DTLS parameters from SDP media section or sessionpart. +// FIXME: for consistency with other functions this should only +// get the fingerprint line as input. See also getIceParameters. +SDPUtils.getDtlsParameters = function(mediaSection, sessionpart) { + var lines = SDPUtils.matchPrefix(mediaSection + sessionpart, + 'a=fingerprint:'); + // Note: a=setup line is ignored since we use the 'auto' role. + // Note2: 'algorithm' is not case sensitive except in Edge. + return { + role: 'auto', + fingerprints: lines.map(SDPUtils.parseFingerprint) + }; +}; + +// Serializes DTLS parameters to SDP. +SDPUtils.writeDtlsParameters = function(params, setupType) { + var sdp = 'a=setup:' + setupType + '\r\n'; + params.fingerprints.forEach(function(fp) { + sdp += 'a=fingerprint:' + fp.algorithm + ' ' + fp.value + '\r\n'; + }); + return sdp; +}; +// Parses ICE information from SDP media section or sessionpart. +// FIXME: for consistency with other functions this should only +// get the ice-ufrag and ice-pwd lines as input. +SDPUtils.getIceParameters = function(mediaSection, sessionpart) { + var lines = SDPUtils.splitLines(mediaSection); + // Search in session part, too. + lines = lines.concat(SDPUtils.splitLines(sessionpart)); + var iceParameters = { + usernameFragment: lines.filter(function(line) { + return line.indexOf('a=ice-ufrag:') === 0; + })[0].substr(12), + password: lines.filter(function(line) { + return line.indexOf('a=ice-pwd:') === 0; + })[0].substr(10) + }; + return iceParameters; +}; + +// Serializes ICE parameters to SDP. +SDPUtils.writeIceParameters = function(params) { + return 'a=ice-ufrag:' + params.usernameFragment + '\r\n' + + 'a=ice-pwd:' + params.password + '\r\n'; +}; + +// Parses the SDP media section and returns RTCRtpParameters. +SDPUtils.parseRtpParameters = function(mediaSection) { + var description = { + codecs: [], + headerExtensions: [], + fecMechanisms: [], + rtcp: [] + }; + var lines = SDPUtils.splitLines(mediaSection); + var mline = lines[0].split(' '); + for (var i = 3; i < mline.length; i++) { // find all codecs from mline[3..] + var pt = mline[i]; + var rtpmapline = SDPUtils.matchPrefix( + mediaSection, 'a=rtpmap:' + pt + ' ')[0]; + if (rtpmapline) { + var codec = SDPUtils.parseRtpMap(rtpmapline); + var fmtps = SDPUtils.matchPrefix( + mediaSection, 'a=fmtp:' + pt + ' '); + // Only the first a=fmtp: is considered. + codec.parameters = fmtps.length ? SDPUtils.parseFmtp(fmtps[0]) : {}; + codec.rtcpFeedback = SDPUtils.matchPrefix( + mediaSection, 'a=rtcp-fb:' + pt + ' ') + .map(SDPUtils.parseRtcpFb); + description.codecs.push(codec); + // parse FEC mechanisms from rtpmap lines. + switch (codec.name.toUpperCase()) { + case 'RED': + case 'ULPFEC': + description.fecMechanisms.push(codec.name.toUpperCase()); + break; + default: // only RED and ULPFEC are recognized as FEC mechanisms. + break; + } + } + } + SDPUtils.matchPrefix(mediaSection, 'a=extmap:').forEach(function(line) { + description.headerExtensions.push(SDPUtils.parseExtmap(line)); + }); + // FIXME: parse rtcp. + return description; +}; + +// Generates parts of the SDP media section describing the capabilities / +// parameters. +SDPUtils.writeRtpDescription = function(kind, caps) { + var sdp = ''; + + // Build the mline. + sdp += 'm=' + kind + ' '; + sdp += caps.codecs.length > 0 ? '9' : '0'; // reject if no codecs. + sdp += ' UDP/TLS/RTP/SAVPF '; + sdp += caps.codecs.map(function(codec) { + if (codec.preferredPayloadType !== undefined) { + return codec.preferredPayloadType; + } + return codec.payloadType; + }).join(' ') + '\r\n'; + + sdp += 'c=IN IP4 0.0.0.0\r\n'; + sdp += 'a=rtcp:9 IN IP4 0.0.0.0\r\n'; + + // Add a=rtpmap lines for each codec. Also fmtp and rtcp-fb. + caps.codecs.forEach(function(codec) { + sdp += SDPUtils.writeRtpMap(codec); + sdp += SDPUtils.writeFmtp(codec); + sdp += SDPUtils.writeRtcpFb(codec); + }); + var maxptime = 0; + caps.codecs.forEach(function(codec) { + if (codec.maxptime > maxptime) { + maxptime = codec.maxptime; + } + }); + if (maxptime > 0) { + sdp += 'a=maxptime:' + maxptime + '\r\n'; + } + sdp += 'a=rtcp-mux\r\n'; + + caps.headerExtensions.forEach(function(extension) { + sdp += SDPUtils.writeExtmap(extension); + }); + // FIXME: write fecMechanisms. + return sdp; +}; + +// Parses the SDP media section and returns an array of +// RTCRtpEncodingParameters. +SDPUtils.parseRtpEncodingParameters = function(mediaSection) { + var encodingParameters = []; + var description = SDPUtils.parseRtpParameters(mediaSection); + var hasRed = description.fecMechanisms.indexOf('RED') !== -1; + var hasUlpfec = description.fecMechanisms.indexOf('ULPFEC') !== -1; + + // filter a=ssrc:... cname:, ignore PlanB-msid + var ssrcs = SDPUtils.matchPrefix(mediaSection, 'a=ssrc:') + .map(function(line) { + return SDPUtils.parseSsrcMedia(line); + }) + .filter(function(parts) { + return parts.attribute === 'cname'; + }); + var primarySsrc = ssrcs.length > 0 && ssrcs[0].ssrc; + var secondarySsrc; + + var flows = SDPUtils.matchPrefix(mediaSection, 'a=ssrc-group:FID') + .map(function(line) { + var parts = line.split(' '); + parts.shift(); + return parts.map(function(part) { + return parseInt(part, 10); + }); + }); + if (flows.length > 0 && flows[0].length > 1 && flows[0][0] === primarySsrc) { + secondarySsrc = flows[0][1]; + } + + description.codecs.forEach(function(codec) { + if (codec.name.toUpperCase() === 'RTX' && codec.parameters.apt) { + var encParam = { + ssrc: primarySsrc, + codecPayloadType: parseInt(codec.parameters.apt, 10), + rtx: { + ssrc: secondarySsrc + } + }; + encodingParameters.push(encParam); + if (hasRed) { + encParam = JSON.parse(JSON.stringify(encParam)); + encParam.fec = { + ssrc: secondarySsrc, + mechanism: hasUlpfec ? 'red+ulpfec' : 'red' + }; + encodingParameters.push(encParam); + } + } + }); + if (encodingParameters.length === 0 && primarySsrc) { + encodingParameters.push({ + ssrc: primarySsrc + }); + } + + // we support both b=AS and b=TIAS but interpret AS as TIAS. + var bandwidth = SDPUtils.matchPrefix(mediaSection, 'b='); + if (bandwidth.length) { + if (bandwidth[0].indexOf('b=TIAS:') === 0) { + bandwidth = parseInt(bandwidth[0].substr(7), 10); + } else if (bandwidth[0].indexOf('b=AS:') === 0) { + // use formula from JSEP to convert b=AS to TIAS value. + bandwidth = parseInt(bandwidth[0].substr(5), 10) * 1000 * 0.95 + - (50 * 40 * 8); + } else { + bandwidth = undefined; + } + encodingParameters.forEach(function(params) { + params.maxBitrate = bandwidth; + }); + } + return encodingParameters; +}; + +// parses http://draft.ortc.org/#rtcrtcpparameters* +SDPUtils.parseRtcpParameters = function(mediaSection) { + var rtcpParameters = {}; + + var cname; + // Gets the first SSRC. Note that with RTX there might be multiple + // SSRCs. + var remoteSsrc = SDPUtils.matchPrefix(mediaSection, 'a=ssrc:') + .map(function(line) { + return SDPUtils.parseSsrcMedia(line); + }) + .filter(function(obj) { + return obj.attribute === 'cname'; + })[0]; + if (remoteSsrc) { + rtcpParameters.cname = remoteSsrc.value; + rtcpParameters.ssrc = remoteSsrc.ssrc; + } + + // Edge uses the compound attribute instead of reducedSize + // compound is !reducedSize + var rsize = SDPUtils.matchPrefix(mediaSection, 'a=rtcp-rsize'); + rtcpParameters.reducedSize = rsize.length > 0; + rtcpParameters.compound = rsize.length === 0; + + // parses the rtcp-mux attrіbute. + // Note that Edge does not support unmuxed RTCP. + var mux = SDPUtils.matchPrefix(mediaSection, 'a=rtcp-mux'); + rtcpParameters.mux = mux.length > 0; + + return rtcpParameters; +}; + +// parses either a=msid: or a=ssrc:... msid lines and returns +// the id of the MediaStream and MediaStreamTrack. +SDPUtils.parseMsid = function(mediaSection) { + var parts; + var spec = SDPUtils.matchPrefix(mediaSection, 'a=msid:'); + if (spec.length === 1) { + parts = spec[0].substr(7).split(' '); + return {stream: parts[0], track: parts[1]}; + } + var planB = SDPUtils.matchPrefix(mediaSection, 'a=ssrc:') + .map(function(line) { + return SDPUtils.parseSsrcMedia(line); + }) + .filter(function(parts) { + return parts.attribute === 'msid'; + }); + if (planB.length > 0) { + parts = planB[0].value.split(' '); + return {stream: parts[0], track: parts[1]}; + } +}; + +// Generate a session ID for SDP. +// https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-20#section-5.2.1 +// recommends using a cryptographically random +ve 64-bit value +// but right now this should be acceptable and within the right range +SDPUtils.generateSessionId = function() { + return Math.random().toString().substr(2, 21); +}; + +// Write boilder plate for start of SDP +// sessId argument is optional - if not supplied it will +// be generated randomly +// sessVersion is optional and defaults to 2 +SDPUtils.writeSessionBoilerplate = function(sessId, sessVer) { + var sessionId; + var version = sessVer !== undefined ? sessVer : 2; + if (sessId) { + sessionId = sessId; + } else { + sessionId = SDPUtils.generateSessionId(); + } + // FIXME: sess-id should be an NTP timestamp. + return 'v=0\r\n' + + 'o=thisisadapterortc ' + sessionId + ' ' + version + ' IN IP4 127.0.0.1\r\n' + + 's=-\r\n' + + 't=0 0\r\n'; +}; + +SDPUtils.writeMediaSection = function(transceiver, caps, type, stream) { + var sdp = SDPUtils.writeRtpDescription(transceiver.kind, caps); + + // Map ICE parameters (ufrag, pwd) to SDP. + sdp += SDPUtils.writeIceParameters( + transceiver.iceGatherer.getLocalParameters()); + + // Map DTLS parameters to SDP. + sdp += SDPUtils.writeDtlsParameters( + transceiver.dtlsTransport.getLocalParameters(), + type === 'offer' ? 'actpass' : 'active'); + + sdp += 'a=mid:' + transceiver.mid + '\r\n'; + + if (transceiver.direction) { + sdp += 'a=' + transceiver.direction + '\r\n'; + } else if (transceiver.rtpSender && transceiver.rtpReceiver) { + sdp += 'a=sendrecv\r\n'; + } else if (transceiver.rtpSender) { + sdp += 'a=sendonly\r\n'; + } else if (transceiver.rtpReceiver) { + sdp += 'a=recvonly\r\n'; + } else { + sdp += 'a=inactive\r\n'; + } + + if (transceiver.rtpSender) { + // spec. + var msid = 'msid:' + stream.id + ' ' + + transceiver.rtpSender.track.id + '\r\n'; + sdp += 'a=' + msid; + + // for Chrome. + sdp += 'a=ssrc:' + transceiver.sendEncodingParameters[0].ssrc + + ' ' + msid; + if (transceiver.sendEncodingParameters[0].rtx) { + sdp += 'a=ssrc:' + transceiver.sendEncodingParameters[0].rtx.ssrc + + ' ' + msid; + sdp += 'a=ssrc-group:FID ' + + transceiver.sendEncodingParameters[0].ssrc + ' ' + + transceiver.sendEncodingParameters[0].rtx.ssrc + + '\r\n'; + } + } + // FIXME: this should be written by writeRtpDescription. + sdp += 'a=ssrc:' + transceiver.sendEncodingParameters[0].ssrc + + ' cname:' + SDPUtils.localCName + '\r\n'; + if (transceiver.rtpSender && transceiver.sendEncodingParameters[0].rtx) { + sdp += 'a=ssrc:' + transceiver.sendEncodingParameters[0].rtx.ssrc + + ' cname:' + SDPUtils.localCName + '\r\n'; + } + return sdp; +}; + +// Gets the direction from the mediaSection or the sessionpart. +SDPUtils.getDirection = function(mediaSection, sessionpart) { + // Look for sendrecv, sendonly, recvonly, inactive, default to sendrecv. + var lines = SDPUtils.splitLines(mediaSection); + for (var i = 0; i < lines.length; i++) { + switch (lines[i]) { + case 'a=sendrecv': + case 'a=sendonly': + case 'a=recvonly': + case 'a=inactive': + return lines[i].substr(2); + default: + // FIXME: What should happen here? + } + } + if (sessionpart) { + return SDPUtils.getDirection(sessionpart); + } + return 'sendrecv'; +}; + +SDPUtils.getKind = function(mediaSection) { + var lines = SDPUtils.splitLines(mediaSection); + var mline = lines[0].split(' '); + return mline[0].substr(2); +}; + +SDPUtils.isRejected = function(mediaSection) { + return mediaSection.split(' ', 2)[1] === '0'; +}; + +SDPUtils.parseMLine = function(mediaSection) { + var lines = SDPUtils.splitLines(mediaSection); + var mline = lines[0].split(' '); + return { + kind: mline[0].substr(2), + port: parseInt(mline[1], 10), + protocol: mline[2], + fmt: mline.slice(3).join(' ') + }; +}; + +// Expose public methods. +if (typeof module === 'object') { + module.exports = SDPUtils; +} + +},{}],3:[function(require,module,exports){ +(function (global){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ + +'use strict'; + +var adapterFactory = require('./adapter_factory.js'); +module.exports = adapterFactory({window: global.window}); + +}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{"./adapter_factory.js":4}],4:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ + +'use strict'; + +var utils = require('./utils'); +// Shimming starts here. +module.exports = function(dependencies, opts) { + var window = dependencies && dependencies.window; + + var options = { + shimChrome: true, + shimFirefox: true, + shimEdge: true, + shimSafari: true, + }; + + for (var key in opts) { + if (hasOwnProperty.call(opts, key)) { + options[key] = opts[key]; + } + } + + // Utils. + var logging = utils.log; + var browserDetails = utils.detectBrowser(window); + + // Uncomment the line below if you want logging to occur, including logging + // for the switch statement below. Can also be turned on in the browser via + // adapter.disableLog(false), but then logging from the switch statement below + // will not appear. + // require('./utils').disableLog(false); + + // Browser shims. + var chromeShim = require('./chrome/chrome_shim') || null; + var edgeShim = require('./edge/edge_shim') || null; + var firefoxShim = require('./firefox/firefox_shim') || null; + var safariShim = require('./safari/safari_shim') || null; + var commonShim = require('./common_shim') || null; + + // Export to the adapter global object visible in the browser. + var adapter = { + browserDetails: browserDetails, + commonShim: commonShim, + extractVersion: utils.extractVersion, + disableLog: utils.disableLog, + disableWarnings: utils.disableWarnings + }; + + // Shim browser if found. + switch (browserDetails.browser) { + case 'chrome': + if (!chromeShim || !chromeShim.shimPeerConnection || + !options.shimChrome) { + logging('Chrome shim is not included in this adapter release.'); + return adapter; + } + logging('adapter.js shimming chrome.'); + // Export to the adapter global object visible in the browser. + adapter.browserShim = chromeShim; + commonShim.shimCreateObjectURL(window); + + chromeShim.shimGetUserMedia(window); + chromeShim.shimMediaStream(window); + chromeShim.shimSourceObject(window); + chromeShim.shimPeerConnection(window); + chromeShim.shimOnTrack(window); + chromeShim.shimAddTrackRemoveTrack(window); + chromeShim.shimGetSendersWithDtmf(window); + + commonShim.shimRTCIceCandidate(window); + commonShim.shimMaxMessageSize(window); + commonShim.shimSendThrowTypeError(window); + break; + case 'firefox': + if (!firefoxShim || !firefoxShim.shimPeerConnection || + !options.shimFirefox) { + logging('Firefox shim is not included in this adapter release.'); + return adapter; + } + logging('adapter.js shimming firefox.'); + // Export to the adapter global object visible in the browser. + adapter.browserShim = firefoxShim; + commonShim.shimCreateObjectURL(window); + + firefoxShim.shimGetUserMedia(window); + firefoxShim.shimSourceObject(window); + firefoxShim.shimPeerConnection(window); + firefoxShim.shimOnTrack(window); + firefoxShim.shimRemoveStream(window); + + commonShim.shimRTCIceCandidate(window); + commonShim.shimMaxMessageSize(window); + commonShim.shimSendThrowTypeError(window); + break; + case 'edge': + if (!edgeShim || !edgeShim.shimPeerConnection || !options.shimEdge) { + logging('MS edge shim is not included in this adapter release.'); + return adapter; + } + logging('adapter.js shimming edge.'); + // Export to the adapter global object visible in the browser. + adapter.browserShim = edgeShim; + commonShim.shimCreateObjectURL(window); + + edgeShim.shimGetUserMedia(window); + edgeShim.shimPeerConnection(window); + edgeShim.shimReplaceTrack(window); + + // the edge shim implements the full RTCIceCandidate object. + + commonShim.shimMaxMessageSize(window); + commonShim.shimSendThrowTypeError(window); + break; + case 'safari': + if (!safariShim || !options.shimSafari) { + logging('Safari shim is not included in this adapter release.'); + return adapter; + } + logging('adapter.js shimming safari.'); + // Export to the adapter global object visible in the browser. + adapter.browserShim = safariShim; + commonShim.shimCreateObjectURL(window); + + safariShim.shimRTCIceServerUrls(window); + safariShim.shimCallbacksAPI(window); + safariShim.shimLocalStreamsAPI(window); + safariShim.shimRemoteStreamsAPI(window); + safariShim.shimTrackEventTransceiver(window); + safariShim.shimGetUserMedia(window); + safariShim.shimCreateOfferLegacy(window); + + commonShim.shimRTCIceCandidate(window); + commonShim.shimMaxMessageSize(window); + commonShim.shimSendThrowTypeError(window); + break; + default: + logging('Unsupported browser!'); + break; + } + + return adapter; +}; + +},{"./chrome/chrome_shim":5,"./common_shim":7,"./edge/edge_shim":8,"./firefox/firefox_shim":10,"./safari/safari_shim":12,"./utils":13}],5:[function(require,module,exports){ + +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; +var utils = require('../utils.js'); +var logging = utils.log; + +module.exports = { + shimGetUserMedia: require('./getusermedia'), + shimMediaStream: function(window) { + window.MediaStream = window.MediaStream || window.webkitMediaStream; + }, + + shimOnTrack: function(window) { + if (typeof window === 'object' && window.RTCPeerConnection && !('ontrack' in + window.RTCPeerConnection.prototype)) { + Object.defineProperty(window.RTCPeerConnection.prototype, 'ontrack', { + get: function() { + return this._ontrack; + }, + set: function(f) { + if (this._ontrack) { + this.removeEventListener('track', this._ontrack); + } + this.addEventListener('track', this._ontrack = f); + } + }); + var origSetRemoteDescription = + window.RTCPeerConnection.prototype.setRemoteDescription; + window.RTCPeerConnection.prototype.setRemoteDescription = function() { + var pc = this; + if (!pc._ontrackpoly) { + pc._ontrackpoly = function(e) { + // onaddstream does not fire when a track is added to an existing + // stream. But stream.onaddtrack is implemented so we use that. + e.stream.addEventListener('addtrack', function(te) { + var receiver; + if (window.RTCPeerConnection.prototype.getReceivers) { + receiver = pc.getReceivers().find(function(r) { + return r.track && r.track.id === te.track.id; + }); + } else { + receiver = {track: te.track}; + } + + var event = new Event('track'); + event.track = te.track; + event.receiver = receiver; + event.transceiver = {receiver: receiver}; + event.streams = [e.stream]; + pc.dispatchEvent(event); + }); + e.stream.getTracks().forEach(function(track) { + var receiver; + if (window.RTCPeerConnection.prototype.getReceivers) { + receiver = pc.getReceivers().find(function(r) { + return r.track && r.track.id === track.id; + }); + } else { + receiver = {track: track}; + } + var event = new Event('track'); + event.track = track; + event.receiver = receiver; + event.transceiver = {receiver: receiver}; + event.streams = [e.stream]; + pc.dispatchEvent(event); + }); + }; + pc.addEventListener('addstream', pc._ontrackpoly); + } + return origSetRemoteDescription.apply(pc, arguments); + }; + } else if (!('RTCRtpTransceiver' in window)) { + utils.wrapPeerConnectionEvent(window, 'track', function(e) { + if (!e.transceiver) { + e.transceiver = {receiver: e.receiver}; + } + return e; + }); + } + }, + + shimGetSendersWithDtmf: function(window) { + // Overrides addTrack/removeTrack, depends on shimAddTrackRemoveTrack. + if (typeof window === 'object' && window.RTCPeerConnection && + !('getSenders' in window.RTCPeerConnection.prototype) && + 'createDTMFSender' in window.RTCPeerConnection.prototype) { + var shimSenderWithDtmf = function(pc, track) { + return { + track: track, + get dtmf() { + if (this._dtmf === undefined) { + if (track.kind === 'audio') { + this._dtmf = pc.createDTMFSender(track); + } else { + this._dtmf = null; + } + } + return this._dtmf; + }, + _pc: pc + }; + }; + + // augment addTrack when getSenders is not available. + if (!window.RTCPeerConnection.prototype.getSenders) { + window.RTCPeerConnection.prototype.getSenders = function() { + this._senders = this._senders || []; + return this._senders.slice(); // return a copy of the internal state. + }; + var origAddTrack = window.RTCPeerConnection.prototype.addTrack; + window.RTCPeerConnection.prototype.addTrack = function(track, stream) { + var pc = this; + var sender = origAddTrack.apply(pc, arguments); + if (!sender) { + sender = shimSenderWithDtmf(pc, track); + pc._senders.push(sender); + } + return sender; + }; + + var origRemoveTrack = window.RTCPeerConnection.prototype.removeTrack; + window.RTCPeerConnection.prototype.removeTrack = function(sender) { + var pc = this; + origRemoveTrack.apply(pc, arguments); + var idx = pc._senders.indexOf(sender); + if (idx !== -1) { + pc._senders.splice(idx, 1); + } + }; + } + var origAddStream = window.RTCPeerConnection.prototype.addStream; + window.RTCPeerConnection.prototype.addStream = function(stream) { + var pc = this; + pc._senders = pc._senders || []; + origAddStream.apply(pc, [stream]); + stream.getTracks().forEach(function(track) { + pc._senders.push(shimSenderWithDtmf(pc, track)); + }); + }; + + var origRemoveStream = window.RTCPeerConnection.prototype.removeStream; + window.RTCPeerConnection.prototype.removeStream = function(stream) { + var pc = this; + pc._senders = pc._senders || []; + origRemoveStream.apply(pc, [stream]); + + stream.getTracks().forEach(function(track) { + var sender = pc._senders.find(function(s) { + return s.track === track; + }); + if (sender) { + pc._senders.splice(pc._senders.indexOf(sender), 1); // remove sender + } + }); + }; + } else if (typeof window === 'object' && window.RTCPeerConnection && + 'getSenders' in window.RTCPeerConnection.prototype && + 'createDTMFSender' in window.RTCPeerConnection.prototype && + window.RTCRtpSender && + !('dtmf' in window.RTCRtpSender.prototype)) { + var origGetSenders = window.RTCPeerConnection.prototype.getSenders; + window.RTCPeerConnection.prototype.getSenders = function() { + var pc = this; + var senders = origGetSenders.apply(pc, []); + senders.forEach(function(sender) { + sender._pc = pc; + }); + return senders; + }; + + Object.defineProperty(window.RTCRtpSender.prototype, 'dtmf', { + get: function() { + if (this._dtmf === undefined) { + if (this.track.kind === 'audio') { + this._dtmf = this._pc.createDTMFSender(this.track); + } else { + this._dtmf = null; + } + } + return this._dtmf; + } + }); + } + }, + + shimSourceObject: function(window) { + var URL = window && window.URL; + + if (typeof window === 'object') { + if (window.HTMLMediaElement && + !('srcObject' in window.HTMLMediaElement.prototype)) { + // Shim the srcObject property, once, when HTMLMediaElement is found. + Object.defineProperty(window.HTMLMediaElement.prototype, 'srcObject', { + get: function() { + return this._srcObject; + }, + set: function(stream) { + var self = this; + // Use _srcObject as a private property for this shim + this._srcObject = stream; + if (this.src) { + URL.revokeObjectURL(this.src); + } + + if (!stream) { + this.src = ''; + return undefined; + } + this.src = URL.createObjectURL(stream); + // We need to recreate the blob url when a track is added or + // removed. Doing it manually since we want to avoid a recursion. + stream.addEventListener('addtrack', function() { + if (self.src) { + URL.revokeObjectURL(self.src); + } + self.src = URL.createObjectURL(stream); + }); + stream.addEventListener('removetrack', function() { + if (self.src) { + URL.revokeObjectURL(self.src); + } + self.src = URL.createObjectURL(stream); + }); + } + }); + } + } + }, + + shimAddTrackRemoveTrackWithNative: function(window) { + // shim addTrack/removeTrack with native variants in order to make + // the interactions with legacy getLocalStreams behave as in other browsers. + // Keeps a mapping stream.id => [stream, rtpsenders...] + window.RTCPeerConnection.prototype.getLocalStreams = function() { + var pc = this; + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + return Object.keys(this._shimmedLocalStreams).map(function(streamId) { + return pc._shimmedLocalStreams[streamId][0]; + }); + }; + + var origAddTrack = window.RTCPeerConnection.prototype.addTrack; + window.RTCPeerConnection.prototype.addTrack = function(track, stream) { + if (!stream) { + return origAddTrack.apply(this, arguments); + } + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + + var sender = origAddTrack.apply(this, arguments); + if (!this._shimmedLocalStreams[stream.id]) { + this._shimmedLocalStreams[stream.id] = [stream, sender]; + } else if (this._shimmedLocalStreams[stream.id].indexOf(sender) === -1) { + this._shimmedLocalStreams[stream.id].push(sender); + } + return sender; + }; + + var origAddStream = window.RTCPeerConnection.prototype.addStream; + window.RTCPeerConnection.prototype.addStream = function(stream) { + var pc = this; + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + + stream.getTracks().forEach(function(track) { + var alreadyExists = pc.getSenders().find(function(s) { + return s.track === track; + }); + if (alreadyExists) { + throw new DOMException('Track already exists.', + 'InvalidAccessError'); + } + }); + var existingSenders = pc.getSenders(); + origAddStream.apply(this, arguments); + var newSenders = pc.getSenders().filter(function(newSender) { + return existingSenders.indexOf(newSender) === -1; + }); + this._shimmedLocalStreams[stream.id] = [stream].concat(newSenders); + }; + + var origRemoveStream = window.RTCPeerConnection.prototype.removeStream; + window.RTCPeerConnection.prototype.removeStream = function(stream) { + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + delete this._shimmedLocalStreams[stream.id]; + return origRemoveStream.apply(this, arguments); + }; + + var origRemoveTrack = window.RTCPeerConnection.prototype.removeTrack; + window.RTCPeerConnection.prototype.removeTrack = function(sender) { + var pc = this; + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + if (sender) { + Object.keys(this._shimmedLocalStreams).forEach(function(streamId) { + var idx = pc._shimmedLocalStreams[streamId].indexOf(sender); + if (idx !== -1) { + pc._shimmedLocalStreams[streamId].splice(idx, 1); + } + if (pc._shimmedLocalStreams[streamId].length === 1) { + delete pc._shimmedLocalStreams[streamId]; + } + }); + } + return origRemoveTrack.apply(this, arguments); + }; + }, + + shimAddTrackRemoveTrack: function(window) { + var browserDetails = utils.detectBrowser(window); + // shim addTrack and removeTrack. + if (window.RTCPeerConnection.prototype.addTrack && + browserDetails.version >= 65) { + return this.shimAddTrackRemoveTrackWithNative(window); + } + + // also shim pc.getLocalStreams when addTrack is shimmed + // to return the original streams. + var origGetLocalStreams = window.RTCPeerConnection.prototype + .getLocalStreams; + window.RTCPeerConnection.prototype.getLocalStreams = function() { + var pc = this; + var nativeStreams = origGetLocalStreams.apply(this); + pc._reverseStreams = pc._reverseStreams || {}; + return nativeStreams.map(function(stream) { + return pc._reverseStreams[stream.id]; + }); + }; + + var origAddStream = window.RTCPeerConnection.prototype.addStream; + window.RTCPeerConnection.prototype.addStream = function(stream) { + var pc = this; + pc._streams = pc._streams || {}; + pc._reverseStreams = pc._reverseStreams || {}; + + stream.getTracks().forEach(function(track) { + var alreadyExists = pc.getSenders().find(function(s) { + return s.track === track; + }); + if (alreadyExists) { + throw new DOMException('Track already exists.', + 'InvalidAccessError'); + } + }); + // Add identity mapping for consistency with addTrack. + // Unless this is being used with a stream from addTrack. + if (!pc._reverseStreams[stream.id]) { + var newStream = new window.MediaStream(stream.getTracks()); + pc._streams[stream.id] = newStream; + pc._reverseStreams[newStream.id] = stream; + stream = newStream; + } + origAddStream.apply(pc, [stream]); + }; + + var origRemoveStream = window.RTCPeerConnection.prototype.removeStream; + window.RTCPeerConnection.prototype.removeStream = function(stream) { + var pc = this; + pc._streams = pc._streams || {}; + pc._reverseStreams = pc._reverseStreams || {}; + + origRemoveStream.apply(pc, [(pc._streams[stream.id] || stream)]); + delete pc._reverseStreams[(pc._streams[stream.id] ? + pc._streams[stream.id].id : stream.id)]; + delete pc._streams[stream.id]; + }; + + window.RTCPeerConnection.prototype.addTrack = function(track, stream) { + var pc = this; + if (pc.signalingState === 'closed') { + throw new DOMException( + 'The RTCPeerConnection\'s signalingState is \'closed\'.', + 'InvalidStateError'); + } + var streams = [].slice.call(arguments, 1); + if (streams.length !== 1 || + !streams[0].getTracks().find(function(t) { + return t === track; + })) { + // this is not fully correct but all we can manage without + // [[associated MediaStreams]] internal slot. + throw new DOMException( + 'The adapter.js addTrack polyfill only supports a single ' + + ' stream which is associated with the specified track.', + 'NotSupportedError'); + } + + var alreadyExists = pc.getSenders().find(function(s) { + return s.track === track; + }); + if (alreadyExists) { + throw new DOMException('Track already exists.', + 'InvalidAccessError'); + } + + pc._streams = pc._streams || {}; + pc._reverseStreams = pc._reverseStreams || {}; + var oldStream = pc._streams[stream.id]; + if (oldStream) { + // this is using odd Chrome behaviour, use with caution: + // https://bugs.chromium.org/p/webrtc/issues/detail?id=7815 + // Note: we rely on the high-level addTrack/dtmf shim to + // create the sender with a dtmf sender. + oldStream.addTrack(track); + + // Trigger ONN async. + Promise.resolve().then(function() { + pc.dispatchEvent(new Event('negotiationneeded')); + }); + } else { + var newStream = new window.MediaStream([track]); + pc._streams[stream.id] = newStream; + pc._reverseStreams[newStream.id] = stream; + pc.addStream(newStream); + } + return pc.getSenders().find(function(s) { + return s.track === track; + }); + }; + + // replace the internal stream id with the external one and + // vice versa. + function replaceInternalStreamId(pc, description) { + var sdp = description.sdp; + Object.keys(pc._reverseStreams || []).forEach(function(internalId) { + var externalStream = pc._reverseStreams[internalId]; + var internalStream = pc._streams[externalStream.id]; + sdp = sdp.replace(new RegExp(internalStream.id, 'g'), + externalStream.id); + }); + return new RTCSessionDescription({ + type: description.type, + sdp: sdp + }); + } + function replaceExternalStreamId(pc, description) { + var sdp = description.sdp; + Object.keys(pc._reverseStreams || []).forEach(function(internalId) { + var externalStream = pc._reverseStreams[internalId]; + var internalStream = pc._streams[externalStream.id]; + sdp = sdp.replace(new RegExp(externalStream.id, 'g'), + internalStream.id); + }); + return new RTCSessionDescription({ + type: description.type, + sdp: sdp + }); + } + ['createOffer', 'createAnswer'].forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + var pc = this; + var args = arguments; + var isLegacyCall = arguments.length && + typeof arguments[0] === 'function'; + if (isLegacyCall) { + return nativeMethod.apply(pc, [ + function(description) { + var desc = replaceInternalStreamId(pc, description); + args[0].apply(null, [desc]); + }, + function(err) { + if (args[1]) { + args[1].apply(null, err); + } + }, arguments[2] + ]); + } + return nativeMethod.apply(pc, arguments) + .then(function(description) { + return replaceInternalStreamId(pc, description); + }); + }; + }); + + var origSetLocalDescription = + window.RTCPeerConnection.prototype.setLocalDescription; + window.RTCPeerConnection.prototype.setLocalDescription = function() { + var pc = this; + if (!arguments.length || !arguments[0].type) { + return origSetLocalDescription.apply(pc, arguments); + } + arguments[0] = replaceExternalStreamId(pc, arguments[0]); + return origSetLocalDescription.apply(pc, arguments); + }; + + // TODO: mangle getStats: https://w3c.github.io/webrtc-stats/#dom-rtcmediastreamstats-streamidentifier + + var origLocalDescription = Object.getOwnPropertyDescriptor( + window.RTCPeerConnection.prototype, 'localDescription'); + Object.defineProperty(window.RTCPeerConnection.prototype, + 'localDescription', { + get: function() { + var pc = this; + var description = origLocalDescription.get.apply(this); + if (description.type === '') { + return description; + } + return replaceInternalStreamId(pc, description); + } + }); + + window.RTCPeerConnection.prototype.removeTrack = function(sender) { + var pc = this; + if (pc.signalingState === 'closed') { + throw new DOMException( + 'The RTCPeerConnection\'s signalingState is \'closed\'.', + 'InvalidStateError'); + } + // We can not yet check for sender instanceof RTCRtpSender + // since we shim RTPSender. So we check if sender._pc is set. + if (!sender._pc) { + throw new DOMException('Argument 1 of RTCPeerConnection.removeTrack ' + + 'does not implement interface RTCRtpSender.', 'TypeError'); + } + var isLocal = sender._pc === pc; + if (!isLocal) { + throw new DOMException('Sender was not created by this connection.', + 'InvalidAccessError'); + } + + // Search for the native stream the senders track belongs to. + pc._streams = pc._streams || {}; + var stream; + Object.keys(pc._streams).forEach(function(streamid) { + var hasTrack = pc._streams[streamid].getTracks().find(function(track) { + return sender.track === track; + }); + if (hasTrack) { + stream = pc._streams[streamid]; + } + }); + + if (stream) { + if (stream.getTracks().length === 1) { + // if this is the last track of the stream, remove the stream. This + // takes care of any shimmed _senders. + pc.removeStream(pc._reverseStreams[stream.id]); + } else { + // relying on the same odd chrome behaviour as above. + stream.removeTrack(sender.track); + } + pc.dispatchEvent(new Event('negotiationneeded')); + } + }; + }, + + shimPeerConnection: function(window) { + var browserDetails = utils.detectBrowser(window); + + // The RTCPeerConnection object. + if (!window.RTCPeerConnection && window.webkitRTCPeerConnection) { + window.RTCPeerConnection = function(pcConfig, pcConstraints) { + // Translate iceTransportPolicy to iceTransports, + // see https://code.google.com/p/webrtc/issues/detail?id=4869 + // this was fixed in M56 along with unprefixing RTCPeerConnection. + logging('PeerConnection'); + if (pcConfig && pcConfig.iceTransportPolicy) { + pcConfig.iceTransports = pcConfig.iceTransportPolicy; + } + + return new window.webkitRTCPeerConnection(pcConfig, pcConstraints); + }; + window.RTCPeerConnection.prototype = + window.webkitRTCPeerConnection.prototype; + // wrap static methods. Currently just generateCertificate. + if (window.webkitRTCPeerConnection.generateCertificate) { + Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { + get: function() { + return window.webkitRTCPeerConnection.generateCertificate; + } + }); + } + } else { + // migrate from non-spec RTCIceServer.url to RTCIceServer.urls + var OrigPeerConnection = window.RTCPeerConnection; + window.RTCPeerConnection = function(pcConfig, pcConstraints) { + if (pcConfig && pcConfig.iceServers) { + var newIceServers = []; + for (var i = 0; i < pcConfig.iceServers.length; i++) { + var server = pcConfig.iceServers[i]; + if (!server.hasOwnProperty('urls') && + server.hasOwnProperty('url')) { + utils.deprecated('RTCIceServer.url', 'RTCIceServer.urls'); + server = JSON.parse(JSON.stringify(server)); + server.urls = server.url; + newIceServers.push(server); + } else { + newIceServers.push(pcConfig.iceServers[i]); + } + } + pcConfig.iceServers = newIceServers; + } + return new OrigPeerConnection(pcConfig, pcConstraints); + }; + window.RTCPeerConnection.prototype = OrigPeerConnection.prototype; + // wrap static methods. Currently just generateCertificate. + Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { + get: function() { + return OrigPeerConnection.generateCertificate; + } + }); + } + + var origGetStats = window.RTCPeerConnection.prototype.getStats; + window.RTCPeerConnection.prototype.getStats = function(selector, + successCallback, errorCallback) { + var pc = this; + var args = arguments; + + // If selector is a function then we are in the old style stats so just + // pass back the original getStats format to avoid breaking old users. + if (arguments.length > 0 && typeof selector === 'function') { + return origGetStats.apply(this, arguments); + } + + // When spec-style getStats is supported, return those when called with + // either no arguments or the selector argument is null. + if (origGetStats.length === 0 && (arguments.length === 0 || + typeof arguments[0] !== 'function')) { + return origGetStats.apply(this, []); + } + + var fixChromeStats_ = function(response) { + var standardReport = {}; + var reports = response.result(); + reports.forEach(function(report) { + var standardStats = { + id: report.id, + timestamp: report.timestamp, + type: { + localcandidate: 'local-candidate', + remotecandidate: 'remote-candidate' + }[report.type] || report.type + }; + report.names().forEach(function(name) { + standardStats[name] = report.stat(name); + }); + standardReport[standardStats.id] = standardStats; + }); + + return standardReport; + }; + + // shim getStats with maplike support + var makeMapStats = function(stats) { + return new Map(Object.keys(stats).map(function(key) { + return [key, stats[key]]; + })); + }; + + if (arguments.length >= 2) { + var successCallbackWrapper_ = function(response) { + args[1](makeMapStats(fixChromeStats_(response))); + }; + + return origGetStats.apply(this, [successCallbackWrapper_, + arguments[0]]); + } + + // promise-support + return new Promise(function(resolve, reject) { + origGetStats.apply(pc, [ + function(response) { + resolve(makeMapStats(fixChromeStats_(response))); + }, reject]); + }).then(successCallback, errorCallback); + }; + + // add promise support -- natively available in Chrome 51 + if (browserDetails.version < 51) { + ['setLocalDescription', 'setRemoteDescription', 'addIceCandidate'] + .forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + var args = arguments; + var pc = this; + var promise = new Promise(function(resolve, reject) { + nativeMethod.apply(pc, [args[0], resolve, reject]); + }); + if (args.length < 2) { + return promise; + } + return promise.then(function() { + args[1].apply(null, []); + }, + function(err) { + if (args.length >= 3) { + args[2].apply(null, [err]); + } + }); + }; + }); + } + + // promise support for createOffer and createAnswer. Available (without + // bugs) since M52: crbug/619289 + if (browserDetails.version < 52) { + ['createOffer', 'createAnswer'].forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + var pc = this; + if (arguments.length < 1 || (arguments.length === 1 && + typeof arguments[0] === 'object')) { + var opts = arguments.length === 1 ? arguments[0] : undefined; + return new Promise(function(resolve, reject) { + nativeMethod.apply(pc, [resolve, reject, opts]); + }); + } + return nativeMethod.apply(this, arguments); + }; + }); + } + + // shim implicit creation of RTCSessionDescription/RTCIceCandidate + ['setLocalDescription', 'setRemoteDescription', 'addIceCandidate'] + .forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + arguments[0] = new ((method === 'addIceCandidate') ? + window.RTCIceCandidate : + window.RTCSessionDescription)(arguments[0]); + return nativeMethod.apply(this, arguments); + }; + }); + + // support for addIceCandidate(null or undefined) + var nativeAddIceCandidate = + window.RTCPeerConnection.prototype.addIceCandidate; + window.RTCPeerConnection.prototype.addIceCandidate = function() { + if (!arguments[0]) { + if (arguments[1]) { + arguments[1].apply(null); + } + return Promise.resolve(); + } + return nativeAddIceCandidate.apply(this, arguments); + }; + } +}; + +},{"../utils.js":13,"./getusermedia":6}],6:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; +var utils = require('../utils.js'); +var logging = utils.log; + +// Expose public methods. +module.exports = function(window) { + var browserDetails = utils.detectBrowser(window); + var navigator = window && window.navigator; + + var constraintsToChrome_ = function(c) { + if (typeof c !== 'object' || c.mandatory || c.optional) { + return c; + } + var cc = {}; + Object.keys(c).forEach(function(key) { + if (key === 'require' || key === 'advanced' || key === 'mediaSource') { + return; + } + var r = (typeof c[key] === 'object') ? c[key] : {ideal: c[key]}; + if (r.exact !== undefined && typeof r.exact === 'number') { + r.min = r.max = r.exact; + } + var oldname_ = function(prefix, name) { + if (prefix) { + return prefix + name.charAt(0).toUpperCase() + name.slice(1); + } + return (name === 'deviceId') ? 'sourceId' : name; + }; + if (r.ideal !== undefined) { + cc.optional = cc.optional || []; + var oc = {}; + if (typeof r.ideal === 'number') { + oc[oldname_('min', key)] = r.ideal; + cc.optional.push(oc); + oc = {}; + oc[oldname_('max', key)] = r.ideal; + cc.optional.push(oc); + } else { + oc[oldname_('', key)] = r.ideal; + cc.optional.push(oc); + } + } + if (r.exact !== undefined && typeof r.exact !== 'number') { + cc.mandatory = cc.mandatory || {}; + cc.mandatory[oldname_('', key)] = r.exact; + } else { + ['min', 'max'].forEach(function(mix) { + if (r[mix] !== undefined) { + cc.mandatory = cc.mandatory || {}; + cc.mandatory[oldname_(mix, key)] = r[mix]; + } + }); + } + }); + if (c.advanced) { + cc.optional = (cc.optional || []).concat(c.advanced); + } + return cc; + }; + + var shimConstraints_ = function(constraints, func) { + if (browserDetails.version >= 61) { + return func(constraints); + } + constraints = JSON.parse(JSON.stringify(constraints)); + if (constraints && typeof constraints.audio === 'object') { + var remap = function(obj, a, b) { + if (a in obj && !(b in obj)) { + obj[b] = obj[a]; + delete obj[a]; + } + }; + constraints = JSON.parse(JSON.stringify(constraints)); + remap(constraints.audio, 'autoGainControl', 'googAutoGainControl'); + remap(constraints.audio, 'noiseSuppression', 'googNoiseSuppression'); + constraints.audio = constraintsToChrome_(constraints.audio); + } + if (constraints && typeof constraints.video === 'object') { + // Shim facingMode for mobile & surface pro. + var face = constraints.video.facingMode; + face = face && ((typeof face === 'object') ? face : {ideal: face}); + var getSupportedFacingModeLies = browserDetails.version < 66; + + if ((face && (face.exact === 'user' || face.exact === 'environment' || + face.ideal === 'user' || face.ideal === 'environment')) && + !(navigator.mediaDevices.getSupportedConstraints && + navigator.mediaDevices.getSupportedConstraints().facingMode && + !getSupportedFacingModeLies)) { + delete constraints.video.facingMode; + var matches; + if (face.exact === 'environment' || face.ideal === 'environment') { + matches = ['back', 'rear']; + } else if (face.exact === 'user' || face.ideal === 'user') { + matches = ['front']; + } + if (matches) { + // Look for matches in label, or use last cam for back (typical). + return navigator.mediaDevices.enumerateDevices() + .then(function(devices) { + devices = devices.filter(function(d) { + return d.kind === 'videoinput'; + }); + var dev = devices.find(function(d) { + return matches.some(function(match) { + return d.label.toLowerCase().indexOf(match) !== -1; + }); + }); + if (!dev && devices.length && matches.indexOf('back') !== -1) { + dev = devices[devices.length - 1]; // more likely the back cam + } + if (dev) { + constraints.video.deviceId = face.exact ? {exact: dev.deviceId} : + {ideal: dev.deviceId}; + } + constraints.video = constraintsToChrome_(constraints.video); + logging('chrome: ' + JSON.stringify(constraints)); + return func(constraints); + }); + } + } + constraints.video = constraintsToChrome_(constraints.video); + } + logging('chrome: ' + JSON.stringify(constraints)); + return func(constraints); + }; + + var shimError_ = function(e) { + return { + name: { + PermissionDeniedError: 'NotAllowedError', + InvalidStateError: 'NotReadableError', + DevicesNotFoundError: 'NotFoundError', + ConstraintNotSatisfiedError: 'OverconstrainedError', + TrackStartError: 'NotReadableError', + MediaDeviceFailedDueToShutdown: 'NotReadableError', + MediaDeviceKillSwitchOn: 'NotReadableError' + }[e.name] || e.name, + message: e.message, + constraint: e.constraintName, + toString: function() { + return this.name + (this.message && ': ') + this.message; + } + }; + }; + + var getUserMedia_ = function(constraints, onSuccess, onError) { + shimConstraints_(constraints, function(c) { + navigator.webkitGetUserMedia(c, onSuccess, function(e) { + if (onError) { + onError(shimError_(e)); + } + }); + }); + }; + + navigator.getUserMedia = getUserMedia_; + + // Returns the result of getUserMedia as a Promise. + var getUserMediaPromise_ = function(constraints) { + return new Promise(function(resolve, reject) { + navigator.getUserMedia(constraints, resolve, reject); + }); + }; + + if (!navigator.mediaDevices) { + navigator.mediaDevices = { + getUserMedia: getUserMediaPromise_, + enumerateDevices: function() { + return new Promise(function(resolve) { + var kinds = {audio: 'audioinput', video: 'videoinput'}; + return window.MediaStreamTrack.getSources(function(devices) { + resolve(devices.map(function(device) { + return {label: device.label, + kind: kinds[device.kind], + deviceId: device.id, + groupId: ''}; + })); + }); + }); + }, + getSupportedConstraints: function() { + return { + deviceId: true, echoCancellation: true, facingMode: true, + frameRate: true, height: true, width: true + }; + } + }; + } + + // A shim for getUserMedia method on the mediaDevices object. + // TODO(KaptenJansson) remove once implemented in Chrome stable. + if (!navigator.mediaDevices.getUserMedia) { + navigator.mediaDevices.getUserMedia = function(constraints) { + return getUserMediaPromise_(constraints); + }; + } else { + // Even though Chrome 45 has navigator.mediaDevices and a getUserMedia + // function which returns a Promise, it does not accept spec-style + // constraints. + var origGetUserMedia = navigator.mediaDevices.getUserMedia. + bind(navigator.mediaDevices); + navigator.mediaDevices.getUserMedia = function(cs) { + return shimConstraints_(cs, function(c) { + return origGetUserMedia(c).then(function(stream) { + if (c.audio && !stream.getAudioTracks().length || + c.video && !stream.getVideoTracks().length) { + stream.getTracks().forEach(function(track) { + track.stop(); + }); + throw new DOMException('', 'NotFoundError'); + } + return stream; + }, function(e) { + return Promise.reject(shimError_(e)); + }); + }); + }; + } + + // Dummy devicechange event methods. + // TODO(KaptenJansson) remove once implemented in Chrome stable. + if (typeof navigator.mediaDevices.addEventListener === 'undefined') { + navigator.mediaDevices.addEventListener = function() { + logging('Dummy mediaDevices.addEventListener called.'); + }; + } + if (typeof navigator.mediaDevices.removeEventListener === 'undefined') { + navigator.mediaDevices.removeEventListener = function() { + logging('Dummy mediaDevices.removeEventListener called.'); + }; + } +}; + +},{"../utils.js":13}],7:[function(require,module,exports){ +/* + * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var SDPUtils = require('sdp'); +var utils = require('./utils'); + +module.exports = { + shimRTCIceCandidate: function(window) { + // foundation is arbitrarily chosen as an indicator for full support for + // https://w3c.github.io/webrtc-pc/#rtcicecandidate-interface + if (window.RTCIceCandidate && 'foundation' in + window.RTCIceCandidate.prototype) { + return; + } + + var NativeRTCIceCandidate = window.RTCIceCandidate; + window.RTCIceCandidate = function(args) { + // Remove the a= which shouldn't be part of the candidate string. + if (typeof args === 'object' && args.candidate && + args.candidate.indexOf('a=') === 0) { + args = JSON.parse(JSON.stringify(args)); + args.candidate = args.candidate.substr(2); + } + + // Augment the native candidate with the parsed fields. + var nativeCandidate = new NativeRTCIceCandidate(args); + var parsedCandidate = SDPUtils.parseCandidate(args.candidate); + var augmentedCandidate = Object.assign(nativeCandidate, + parsedCandidate); + + // Add a serializer that does not serialize the extra attributes. + augmentedCandidate.toJSON = function() { + return { + candidate: augmentedCandidate.candidate, + sdpMid: augmentedCandidate.sdpMid, + sdpMLineIndex: augmentedCandidate.sdpMLineIndex, + usernameFragment: augmentedCandidate.usernameFragment, + }; + }; + return augmentedCandidate; + }; + + // Hook up the augmented candidate in onicecandidate and + // addEventListener('icecandidate', ...) + utils.wrapPeerConnectionEvent(window, 'icecandidate', function(e) { + if (e.candidate) { + Object.defineProperty(e, 'candidate', { + value: new window.RTCIceCandidate(e.candidate), + writable: 'false' + }); + } + return e; + }); + }, + + // shimCreateObjectURL must be called before shimSourceObject to avoid loop. + + shimCreateObjectURL: function(window) { + var URL = window && window.URL; + + if (!(typeof window === 'object' && window.HTMLMediaElement && + 'srcObject' in window.HTMLMediaElement.prototype && + URL.createObjectURL && URL.revokeObjectURL)) { + // Only shim CreateObjectURL using srcObject if srcObject exists. + return undefined; + } + + var nativeCreateObjectURL = URL.createObjectURL.bind(URL); + var nativeRevokeObjectURL = URL.revokeObjectURL.bind(URL); + var streams = new Map(), newId = 0; + + URL.createObjectURL = function(stream) { + if ('getTracks' in stream) { + var url = 'polyblob:' + (++newId); + streams.set(url, stream); + utils.deprecated('URL.createObjectURL(stream)', + 'elem.srcObject = stream'); + return url; + } + return nativeCreateObjectURL(stream); + }; + URL.revokeObjectURL = function(url) { + nativeRevokeObjectURL(url); + streams.delete(url); + }; + + var dsc = Object.getOwnPropertyDescriptor(window.HTMLMediaElement.prototype, + 'src'); + Object.defineProperty(window.HTMLMediaElement.prototype, 'src', { + get: function() { + return dsc.get.apply(this); + }, + set: function(url) { + this.srcObject = streams.get(url) || null; + return dsc.set.apply(this, [url]); + } + }); + + var nativeSetAttribute = window.HTMLMediaElement.prototype.setAttribute; + window.HTMLMediaElement.prototype.setAttribute = function() { + if (arguments.length === 2 && + ('' + arguments[0]).toLowerCase() === 'src') { + this.srcObject = streams.get(arguments[1]) || null; + } + return nativeSetAttribute.apply(this, arguments); + }; + }, + + shimMaxMessageSize: function(window) { + if (window.RTCSctpTransport || !window.RTCPeerConnection) { + return; + } + var browserDetails = utils.detectBrowser(window); + + if (!('sctp' in window.RTCPeerConnection.prototype)) { + Object.defineProperty(window.RTCPeerConnection.prototype, 'sctp', { + get: function() { + return typeof this._sctp === 'undefined' ? null : this._sctp; + } + }); + } + + var sctpInDescription = function(description) { + var sections = SDPUtils.splitSections(description.sdp); + sections.shift(); + return sections.some(function(mediaSection) { + var mLine = SDPUtils.parseMLine(mediaSection); + return mLine && mLine.kind === 'application' + && mLine.protocol.indexOf('SCTP') !== -1; + }); + }; + + var getRemoteFirefoxVersion = function(description) { + // TODO: Is there a better solution for detecting Firefox? + var match = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/); + if (match === null || match.length < 2) { + return -1; + } + var version = parseInt(match[1], 10); + // Test for NaN (yes, this is ugly) + return version !== version ? -1 : version; + }; + + var getCanSendMaxMessageSize = function(remoteIsFirefox) { + // Every implementation we know can send at least 64 KiB. + // Note: Although Chrome is technically able to send up to 256 KiB, the + // data does not reach the other peer reliably. + // See: https://bugs.chromium.org/p/webrtc/issues/detail?id=8419 + var canSendMaxMessageSize = 65536; + if (browserDetails.browser === 'firefox') { + if (browserDetails.version < 57) { + if (remoteIsFirefox === -1) { + // FF < 57 will send in 16 KiB chunks using the deprecated PPID + // fragmentation. + canSendMaxMessageSize = 16384; + } else { + // However, other FF (and RAWRTC) can reassemble PPID-fragmented + // messages. Thus, supporting ~2 GiB when sending. + canSendMaxMessageSize = 2147483637; + } + } else { + // Currently, all FF >= 57 will reset the remote maximum message size + // to the default value when a data channel is created at a later + // stage. :( + // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1426831 + canSendMaxMessageSize = + browserDetails.version === 57 ? 65535 : 65536; + } + } + return canSendMaxMessageSize; + }; + + var getMaxMessageSize = function(description, remoteIsFirefox) { + // Note: 65536 bytes is the default value from the SDP spec. Also, + // every implementation we know supports receiving 65536 bytes. + var maxMessageSize = 65536; + + // FF 57 has a slightly incorrect default remote max message size, so + // we need to adjust it here to avoid a failure when sending. + // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1425697 + if (browserDetails.browser === 'firefox' + && browserDetails.version === 57) { + maxMessageSize = 65535; + } + + var match = SDPUtils.matchPrefix(description.sdp, 'a=max-message-size:'); + if (match.length > 0) { + maxMessageSize = parseInt(match[0].substr(19), 10); + } else if (browserDetails.browser === 'firefox' && + remoteIsFirefox !== -1) { + // If the maximum message size is not present in the remote SDP and + // both local and remote are Firefox, the remote peer can receive + // ~2 GiB. + maxMessageSize = 2147483637; + } + return maxMessageSize; + }; + + var origSetRemoteDescription = + window.RTCPeerConnection.prototype.setRemoteDescription; + window.RTCPeerConnection.prototype.setRemoteDescription = function() { + var pc = this; + pc._sctp = null; + + if (sctpInDescription(arguments[0])) { + // Check if the remote is FF. + var isFirefox = getRemoteFirefoxVersion(arguments[0]); + + // Get the maximum message size the local peer is capable of sending + var canSendMMS = getCanSendMaxMessageSize(isFirefox); + + // Get the maximum message size of the remote peer. + var remoteMMS = getMaxMessageSize(arguments[0], isFirefox); + + // Determine final maximum message size + var maxMessageSize; + if (canSendMMS === 0 && remoteMMS === 0) { + maxMessageSize = Number.POSITIVE_INFINITY; + } else if (canSendMMS === 0 || remoteMMS === 0) { + maxMessageSize = Math.max(canSendMMS, remoteMMS); + } else { + maxMessageSize = Math.min(canSendMMS, remoteMMS); + } + + // Create a dummy RTCSctpTransport object and the 'maxMessageSize' + // attribute. + var sctp = {}; + Object.defineProperty(sctp, 'maxMessageSize', { + get: function() { + return maxMessageSize; + } + }); + pc._sctp = sctp; + } + + return origSetRemoteDescription.apply(pc, arguments); + }; + }, + + shimSendThrowTypeError: function(window) { + // Note: Although Firefox >= 57 has a native implementation, the maximum + // message size can be reset for all data channels at a later stage. + // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1426831 + + var origCreateDataChannel = + window.RTCPeerConnection.prototype.createDataChannel; + window.RTCPeerConnection.prototype.createDataChannel = function() { + var pc = this; + var dataChannel = origCreateDataChannel.apply(pc, arguments); + var origDataChannelSend = dataChannel.send; + + // Patch 'send' method + dataChannel.send = function() { + var dc = this; + var data = arguments[0]; + var length = data.length || data.size || data.byteLength; + if (length > pc.sctp.maxMessageSize) { + throw new DOMException('Message too large (can send a maximum of ' + + pc.sctp.maxMessageSize + ' bytes)', 'TypeError'); + } + return origDataChannelSend.apply(dc, arguments); + }; + + return dataChannel; + }; + } +}; + +},{"./utils":13,"sdp":2}],8:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var utils = require('../utils'); +var shimRTCPeerConnection = require('rtcpeerconnection-shim'); + +module.exports = { + shimGetUserMedia: require('./getusermedia'), + shimPeerConnection: function(window) { + var browserDetails = utils.detectBrowser(window); + + if (window.RTCIceGatherer) { + // ORTC defines an RTCIceCandidate object but no constructor. + // Not implemented in Edge. + if (!window.RTCIceCandidate) { + window.RTCIceCandidate = function(args) { + return args; + }; + } + // ORTC does not have a session description object but + // other browsers (i.e. Chrome) that will support both PC and ORTC + // in the future might have this defined already. + if (!window.RTCSessionDescription) { + window.RTCSessionDescription = function(args) { + return args; + }; + } + // this adds an additional event listener to MediaStrackTrack that signals + // when a tracks enabled property was changed. Workaround for a bug in + // addStream, see below. No longer required in 15025+ + if (browserDetails.version < 15025) { + var origMSTEnabled = Object.getOwnPropertyDescriptor( + window.MediaStreamTrack.prototype, 'enabled'); + Object.defineProperty(window.MediaStreamTrack.prototype, 'enabled', { + set: function(value) { + origMSTEnabled.set.call(this, value); + var ev = new Event('enabled'); + ev.enabled = value; + this.dispatchEvent(ev); + } + }); + } + } + + // ORTC defines the DTMF sender a bit different. + // https://github.com/w3c/ortc/issues/714 + if (window.RTCRtpSender && !('dtmf' in window.RTCRtpSender.prototype)) { + Object.defineProperty(window.RTCRtpSender.prototype, 'dtmf', { + get: function() { + if (this._dtmf === undefined) { + if (this.track.kind === 'audio') { + this._dtmf = new window.RTCDtmfSender(this); + } else if (this.track.kind === 'video') { + this._dtmf = null; + } + } + return this._dtmf; + } + }); + } + + window.RTCPeerConnection = + shimRTCPeerConnection(window, browserDetails.version); + }, + shimReplaceTrack: function(window) { + // ORTC has replaceTrack -- https://github.com/w3c/ortc/issues/614 + if (window.RTCRtpSender && + !('replaceTrack' in window.RTCRtpSender.prototype)) { + window.RTCRtpSender.prototype.replaceTrack = + window.RTCRtpSender.prototype.setTrack; + } + } +}; + +},{"../utils":13,"./getusermedia":9,"rtcpeerconnection-shim":1}],9:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +// Expose public methods. +module.exports = function(window) { + var navigator = window && window.navigator; + + var shimError_ = function(e) { + return { + name: {PermissionDeniedError: 'NotAllowedError'}[e.name] || e.name, + message: e.message, + constraint: e.constraint, + toString: function() { + return this.name; + } + }; + }; + + // getUserMedia error shim. + var origGetUserMedia = navigator.mediaDevices.getUserMedia. + bind(navigator.mediaDevices); + navigator.mediaDevices.getUserMedia = function(c) { + return origGetUserMedia(c).catch(function(e) { + return Promise.reject(shimError_(e)); + }); + }; +}; + +},{}],10:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var utils = require('../utils'); + +module.exports = { + shimGetUserMedia: require('./getusermedia'), + shimOnTrack: function(window) { + if (typeof window === 'object' && window.RTCPeerConnection && !('ontrack' in + window.RTCPeerConnection.prototype)) { + Object.defineProperty(window.RTCPeerConnection.prototype, 'ontrack', { + get: function() { + return this._ontrack; + }, + set: function(f) { + if (this._ontrack) { + this.removeEventListener('track', this._ontrack); + this.removeEventListener('addstream', this._ontrackpoly); + } + this.addEventListener('track', this._ontrack = f); + this.addEventListener('addstream', this._ontrackpoly = function(e) { + e.stream.getTracks().forEach(function(track) { + var event = new Event('track'); + event.track = track; + event.receiver = {track: track}; + event.transceiver = {receiver: event.receiver}; + event.streams = [e.stream]; + this.dispatchEvent(event); + }.bind(this)); + }.bind(this)); + } + }); + } + if (typeof window === 'object' && window.RTCTrackEvent && + ('receiver' in window.RTCTrackEvent.prototype) && + !('transceiver' in window.RTCTrackEvent.prototype)) { + Object.defineProperty(window.RTCTrackEvent.prototype, 'transceiver', { + get: function() { + return {receiver: this.receiver}; + } + }); + } + }, + + shimSourceObject: function(window) { + // Firefox has supported mozSrcObject since FF22, unprefixed in 42. + if (typeof window === 'object') { + if (window.HTMLMediaElement && + !('srcObject' in window.HTMLMediaElement.prototype)) { + // Shim the srcObject property, once, when HTMLMediaElement is found. + Object.defineProperty(window.HTMLMediaElement.prototype, 'srcObject', { + get: function() { + return this.mozSrcObject; + }, + set: function(stream) { + this.mozSrcObject = stream; + } + }); + } + } + }, + + shimPeerConnection: function(window) { + var browserDetails = utils.detectBrowser(window); + + if (typeof window !== 'object' || !(window.RTCPeerConnection || + window.mozRTCPeerConnection)) { + return; // probably media.peerconnection.enabled=false in about:config + } + // The RTCPeerConnection object. + if (!window.RTCPeerConnection) { + window.RTCPeerConnection = function(pcConfig, pcConstraints) { + if (browserDetails.version < 38) { + // .urls is not supported in FF < 38. + // create RTCIceServers with a single url. + if (pcConfig && pcConfig.iceServers) { + var newIceServers = []; + for (var i = 0; i < pcConfig.iceServers.length; i++) { + var server = pcConfig.iceServers[i]; + if (server.hasOwnProperty('urls')) { + for (var j = 0; j < server.urls.length; j++) { + var newServer = { + url: server.urls[j] + }; + if (server.urls[j].indexOf('turn') === 0) { + newServer.username = server.username; + newServer.credential = server.credential; + } + newIceServers.push(newServer); + } + } else { + newIceServers.push(pcConfig.iceServers[i]); + } + } + pcConfig.iceServers = newIceServers; + } + } + return new window.mozRTCPeerConnection(pcConfig, pcConstraints); + }; + window.RTCPeerConnection.prototype = + window.mozRTCPeerConnection.prototype; + + // wrap static methods. Currently just generateCertificate. + if (window.mozRTCPeerConnection.generateCertificate) { + Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { + get: function() { + return window.mozRTCPeerConnection.generateCertificate; + } + }); + } + + window.RTCSessionDescription = window.mozRTCSessionDescription; + window.RTCIceCandidate = window.mozRTCIceCandidate; + } + + // shim away need for obsolete RTCIceCandidate/RTCSessionDescription. + ['setLocalDescription', 'setRemoteDescription', 'addIceCandidate'] + .forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + arguments[0] = new ((method === 'addIceCandidate') ? + window.RTCIceCandidate : + window.RTCSessionDescription)(arguments[0]); + return nativeMethod.apply(this, arguments); + }; + }); + + // support for addIceCandidate(null or undefined) + var nativeAddIceCandidate = + window.RTCPeerConnection.prototype.addIceCandidate; + window.RTCPeerConnection.prototype.addIceCandidate = function() { + if (!arguments[0]) { + if (arguments[1]) { + arguments[1].apply(null); + } + return Promise.resolve(); + } + return nativeAddIceCandidate.apply(this, arguments); + }; + + // shim getStats with maplike support + var makeMapStats = function(stats) { + var map = new Map(); + Object.keys(stats).forEach(function(key) { + map.set(key, stats[key]); + map[key] = stats[key]; + }); + return map; + }; + + var modernStatsTypes = { + inboundrtp: 'inbound-rtp', + outboundrtp: 'outbound-rtp', + candidatepair: 'candidate-pair', + localcandidate: 'local-candidate', + remotecandidate: 'remote-candidate' + }; + + var nativeGetStats = window.RTCPeerConnection.prototype.getStats; + window.RTCPeerConnection.prototype.getStats = function( + selector, + onSucc, + onErr + ) { + return nativeGetStats.apply(this, [selector || null]) + .then(function(stats) { + if (browserDetails.version < 48) { + stats = makeMapStats(stats); + } + if (browserDetails.version < 53 && !onSucc) { + // Shim only promise getStats with spec-hyphens in type names + // Leave callback version alone; misc old uses of forEach before Map + try { + stats.forEach(function(stat) { + stat.type = modernStatsTypes[stat.type] || stat.type; + }); + } catch (e) { + if (e.name !== 'TypeError') { + throw e; + } + // Avoid TypeError: "type" is read-only, in old versions. 34-43ish + stats.forEach(function(stat, i) { + stats.set(i, Object.assign({}, stat, { + type: modernStatsTypes[stat.type] || stat.type + })); + }); + } + } + return stats; + }) + .then(onSucc, onErr); + }; + }, + + shimRemoveStream: function(window) { + if (!window.RTCPeerConnection || + 'removeStream' in window.RTCPeerConnection.prototype) { + return; + } + window.RTCPeerConnection.prototype.removeStream = function(stream) { + var pc = this; + utils.deprecated('removeStream', 'removeTrack'); + this.getSenders().forEach(function(sender) { + if (sender.track && stream.getTracks().indexOf(sender.track) !== -1) { + pc.removeTrack(sender); + } + }); + }; + } +}; + +},{"../utils":13,"./getusermedia":11}],11:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var utils = require('../utils'); +var logging = utils.log; + +// Expose public methods. +module.exports = function(window) { + var browserDetails = utils.detectBrowser(window); + var navigator = window && window.navigator; + var MediaStreamTrack = window && window.MediaStreamTrack; + + var shimError_ = function(e) { + return { + name: { + InternalError: 'NotReadableError', + NotSupportedError: 'TypeError', + PermissionDeniedError: 'NotAllowedError', + SecurityError: 'NotAllowedError' + }[e.name] || e.name, + message: { + 'The operation is insecure.': 'The request is not allowed by the ' + + 'user agent or the platform in the current context.' + }[e.message] || e.message, + constraint: e.constraint, + toString: function() { + return this.name + (this.message && ': ') + this.message; + } + }; + }; + + // getUserMedia constraints shim. + var getUserMedia_ = function(constraints, onSuccess, onError) { + var constraintsToFF37_ = function(c) { + if (typeof c !== 'object' || c.require) { + return c; + } + var require = []; + Object.keys(c).forEach(function(key) { + if (key === 'require' || key === 'advanced' || key === 'mediaSource') { + return; + } + var r = c[key] = (typeof c[key] === 'object') ? + c[key] : {ideal: c[key]}; + if (r.min !== undefined || + r.max !== undefined || r.exact !== undefined) { + require.push(key); + } + if (r.exact !== undefined) { + if (typeof r.exact === 'number') { + r. min = r.max = r.exact; + } else { + c[key] = r.exact; + } + delete r.exact; + } + if (r.ideal !== undefined) { + c.advanced = c.advanced || []; + var oc = {}; + if (typeof r.ideal === 'number') { + oc[key] = {min: r.ideal, max: r.ideal}; + } else { + oc[key] = r.ideal; + } + c.advanced.push(oc); + delete r.ideal; + if (!Object.keys(r).length) { + delete c[key]; + } + } + }); + if (require.length) { + c.require = require; + } + return c; + }; + constraints = JSON.parse(JSON.stringify(constraints)); + if (browserDetails.version < 38) { + logging('spec: ' + JSON.stringify(constraints)); + if (constraints.audio) { + constraints.audio = constraintsToFF37_(constraints.audio); + } + if (constraints.video) { + constraints.video = constraintsToFF37_(constraints.video); + } + logging('ff37: ' + JSON.stringify(constraints)); + } + return navigator.mozGetUserMedia(constraints, onSuccess, function(e) { + onError(shimError_(e)); + }); + }; + + // Returns the result of getUserMedia as a Promise. + var getUserMediaPromise_ = function(constraints) { + return new Promise(function(resolve, reject) { + getUserMedia_(constraints, resolve, reject); + }); + }; + + // Shim for mediaDevices on older versions. + if (!navigator.mediaDevices) { + navigator.mediaDevices = {getUserMedia: getUserMediaPromise_, + addEventListener: function() { }, + removeEventListener: function() { } + }; + } + navigator.mediaDevices.enumerateDevices = + navigator.mediaDevices.enumerateDevices || function() { + return new Promise(function(resolve) { + var infos = [ + {kind: 'audioinput', deviceId: 'default', label: '', groupId: ''}, + {kind: 'videoinput', deviceId: 'default', label: '', groupId: ''} + ]; + resolve(infos); + }); + }; + + if (browserDetails.version < 41) { + // Work around http://bugzil.la/1169665 + var orgEnumerateDevices = + navigator.mediaDevices.enumerateDevices.bind(navigator.mediaDevices); + navigator.mediaDevices.enumerateDevices = function() { + return orgEnumerateDevices().then(undefined, function(e) { + if (e.name === 'NotFoundError') { + return []; + } + throw e; + }); + }; + } + if (browserDetails.version < 49) { + var origGetUserMedia = navigator.mediaDevices.getUserMedia. + bind(navigator.mediaDevices); + navigator.mediaDevices.getUserMedia = function(c) { + return origGetUserMedia(c).then(function(stream) { + // Work around https://bugzil.la/802326 + if (c.audio && !stream.getAudioTracks().length || + c.video && !stream.getVideoTracks().length) { + stream.getTracks().forEach(function(track) { + track.stop(); + }); + throw new DOMException('The object can not be found here.', + 'NotFoundError'); + } + return stream; + }, function(e) { + return Promise.reject(shimError_(e)); + }); + }; + } + if (!(browserDetails.version > 55 && + 'autoGainControl' in navigator.mediaDevices.getSupportedConstraints())) { + var remap = function(obj, a, b) { + if (a in obj && !(b in obj)) { + obj[b] = obj[a]; + delete obj[a]; + } + }; + + var nativeGetUserMedia = navigator.mediaDevices.getUserMedia. + bind(navigator.mediaDevices); + navigator.mediaDevices.getUserMedia = function(c) { + if (typeof c === 'object' && typeof c.audio === 'object') { + c = JSON.parse(JSON.stringify(c)); + remap(c.audio, 'autoGainControl', 'mozAutoGainControl'); + remap(c.audio, 'noiseSuppression', 'mozNoiseSuppression'); + } + return nativeGetUserMedia(c); + }; + + if (MediaStreamTrack && MediaStreamTrack.prototype.getSettings) { + var nativeGetSettings = MediaStreamTrack.prototype.getSettings; + MediaStreamTrack.prototype.getSettings = function() { + var obj = nativeGetSettings.apply(this, arguments); + remap(obj, 'mozAutoGainControl', 'autoGainControl'); + remap(obj, 'mozNoiseSuppression', 'noiseSuppression'); + return obj; + }; + } + + if (MediaStreamTrack && MediaStreamTrack.prototype.applyConstraints) { + var nativeApplyConstraints = MediaStreamTrack.prototype.applyConstraints; + MediaStreamTrack.prototype.applyConstraints = function(c) { + if (this.kind === 'audio' && typeof c === 'object') { + c = JSON.parse(JSON.stringify(c)); + remap(c, 'autoGainControl', 'mozAutoGainControl'); + remap(c, 'noiseSuppression', 'mozNoiseSuppression'); + } + return nativeApplyConstraints.apply(this, [c]); + }; + } + } + navigator.getUserMedia = function(constraints, onSuccess, onError) { + if (browserDetails.version < 44) { + return getUserMedia_(constraints, onSuccess, onError); + } + // Replace Firefox 44+'s deprecation warning with unprefixed version. + utils.deprecated('navigator.getUserMedia', + 'navigator.mediaDevices.getUserMedia'); + navigator.mediaDevices.getUserMedia(constraints).then(onSuccess, onError); + }; +}; + +},{"../utils":13}],12:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ +'use strict'; +var utils = require('../utils'); + +module.exports = { + shimLocalStreamsAPI: function(window) { + if (typeof window !== 'object' || !window.RTCPeerConnection) { + return; + } + if (!('getLocalStreams' in window.RTCPeerConnection.prototype)) { + window.RTCPeerConnection.prototype.getLocalStreams = function() { + if (!this._localStreams) { + this._localStreams = []; + } + return this._localStreams; + }; + } + if (!('getStreamById' in window.RTCPeerConnection.prototype)) { + window.RTCPeerConnection.prototype.getStreamById = function(id) { + var result = null; + if (this._localStreams) { + this._localStreams.forEach(function(stream) { + if (stream.id === id) { + result = stream; + } + }); + } + if (this._remoteStreams) { + this._remoteStreams.forEach(function(stream) { + if (stream.id === id) { + result = stream; + } + }); + } + return result; + }; + } + if (!('addStream' in window.RTCPeerConnection.prototype)) { + var _addTrack = window.RTCPeerConnection.prototype.addTrack; + window.RTCPeerConnection.prototype.addStream = function(stream) { + if (!this._localStreams) { + this._localStreams = []; + } + if (this._localStreams.indexOf(stream) === -1) { + this._localStreams.push(stream); + } + var pc = this; + stream.getTracks().forEach(function(track) { + _addTrack.call(pc, track, stream); + }); + }; + + window.RTCPeerConnection.prototype.addTrack = function(track, stream) { + if (stream) { + if (!this._localStreams) { + this._localStreams = [stream]; + } else if (this._localStreams.indexOf(stream) === -1) { + this._localStreams.push(stream); + } + } + return _addTrack.call(this, track, stream); + }; + } + if (!('removeStream' in window.RTCPeerConnection.prototype)) { + window.RTCPeerConnection.prototype.removeStream = function(stream) { + if (!this._localStreams) { + this._localStreams = []; + } + var index = this._localStreams.indexOf(stream); + if (index === -1) { + return; + } + this._localStreams.splice(index, 1); + var pc = this; + var tracks = stream.getTracks(); + this.getSenders().forEach(function(sender) { + if (tracks.indexOf(sender.track) !== -1) { + pc.removeTrack(sender); + } + }); + }; + } + }, + shimRemoteStreamsAPI: function(window) { + if (typeof window !== 'object' || !window.RTCPeerConnection) { + return; + } + if (!('getRemoteStreams' in window.RTCPeerConnection.prototype)) { + window.RTCPeerConnection.prototype.getRemoteStreams = function() { + return this._remoteStreams ? this._remoteStreams : []; + }; + } + if (!('onaddstream' in window.RTCPeerConnection.prototype)) { + Object.defineProperty(window.RTCPeerConnection.prototype, 'onaddstream', { + get: function() { + return this._onaddstream; + }, + set: function(f) { + var pc = this; + if (this._onaddstream) { + this.removeEventListener('addstream', this._onaddstream); + this.removeEventListener('track', this._onaddstreampoly); + } + this.addEventListener('addstream', this._onaddstream = f); + this.addEventListener('track', this._onaddstreampoly = function(e) { + e.streams.forEach(function(stream) { + if (!pc._remoteStreams) { + pc._remoteStreams = []; + } + if (pc._remoteStreams.indexOf(stream) >= 0) { + return; + } + pc._remoteStreams.push(stream); + var event = new Event('addstream'); + event.stream = stream; + pc.dispatchEvent(event); + }); + }); + } + }); + } + }, + shimCallbacksAPI: function(window) { + if (typeof window !== 'object' || !window.RTCPeerConnection) { + return; + } + var prototype = window.RTCPeerConnection.prototype; + var createOffer = prototype.createOffer; + var createAnswer = prototype.createAnswer; + var setLocalDescription = prototype.setLocalDescription; + var setRemoteDescription = prototype.setRemoteDescription; + var addIceCandidate = prototype.addIceCandidate; + + prototype.createOffer = function(successCallback, failureCallback) { + var options = (arguments.length >= 2) ? arguments[2] : arguments[0]; + var promise = createOffer.apply(this, [options]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + + prototype.createAnswer = function(successCallback, failureCallback) { + var options = (arguments.length >= 2) ? arguments[2] : arguments[0]; + var promise = createAnswer.apply(this, [options]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + + var withCallback = function(description, successCallback, failureCallback) { + var promise = setLocalDescription.apply(this, [description]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + prototype.setLocalDescription = withCallback; + + withCallback = function(description, successCallback, failureCallback) { + var promise = setRemoteDescription.apply(this, [description]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + prototype.setRemoteDescription = withCallback; + + withCallback = function(candidate, successCallback, failureCallback) { + var promise = addIceCandidate.apply(this, [candidate]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + prototype.addIceCandidate = withCallback; + }, + shimGetUserMedia: function(window) { + var navigator = window && window.navigator; + + if (!navigator.getUserMedia) { + if (navigator.webkitGetUserMedia) { + navigator.getUserMedia = navigator.webkitGetUserMedia.bind(navigator); + } else if (navigator.mediaDevices && + navigator.mediaDevices.getUserMedia) { + navigator.getUserMedia = function(constraints, cb, errcb) { + navigator.mediaDevices.getUserMedia(constraints) + .then(cb, errcb); + }.bind(navigator); + } + } + }, + shimRTCIceServerUrls: function(window) { + // migrate from non-spec RTCIceServer.url to RTCIceServer.urls + var OrigPeerConnection = window.RTCPeerConnection; + window.RTCPeerConnection = function(pcConfig, pcConstraints) { + if (pcConfig && pcConfig.iceServers) { + var newIceServers = []; + for (var i = 0; i < pcConfig.iceServers.length; i++) { + var server = pcConfig.iceServers[i]; + if (!server.hasOwnProperty('urls') && + server.hasOwnProperty('url')) { + utils.deprecated('RTCIceServer.url', 'RTCIceServer.urls'); + server = JSON.parse(JSON.stringify(server)); + server.urls = server.url; + delete server.url; + newIceServers.push(server); + } else { + newIceServers.push(pcConfig.iceServers[i]); + } + } + pcConfig.iceServers = newIceServers; + } + return new OrigPeerConnection(pcConfig, pcConstraints); + }; + window.RTCPeerConnection.prototype = OrigPeerConnection.prototype; + // wrap static methods. Currently just generateCertificate. + if ('generateCertificate' in window.RTCPeerConnection) { + Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { + get: function() { + return OrigPeerConnection.generateCertificate; + } + }); + } + }, + shimTrackEventTransceiver: function(window) { + // Add event.transceiver member over deprecated event.receiver + if (typeof window === 'object' && window.RTCPeerConnection && + ('receiver' in window.RTCTrackEvent.prototype) && + // can't check 'transceiver' in window.RTCTrackEvent.prototype, as it is + // defined for some reason even when window.RTCTransceiver is not. + !window.RTCTransceiver) { + Object.defineProperty(window.RTCTrackEvent.prototype, 'transceiver', { + get: function() { + return {receiver: this.receiver}; + } + }); + } + }, + + shimCreateOfferLegacy: function(window) { + var origCreateOffer = window.RTCPeerConnection.prototype.createOffer; + window.RTCPeerConnection.prototype.createOffer = function(offerOptions) { + var pc = this; + if (offerOptions) { + var audioTransceiver = pc.getTransceivers().find(function(transceiver) { + return transceiver.sender.track && + transceiver.sender.track.kind === 'audio'; + }); + if (offerOptions.offerToReceiveAudio === false && audioTransceiver) { + if (audioTransceiver.direction === 'sendrecv') { + if (audioTransceiver.setDirection) { + audioTransceiver.setDirection('sendonly'); + } else { + audioTransceiver.direction = 'sendonly'; + } + } else if (audioTransceiver.direction === 'recvonly') { + if (audioTransceiver.setDirection) { + audioTransceiver.setDirection('inactive'); + } else { + audioTransceiver.direction = 'inactive'; + } + } + } else if (offerOptions.offerToReceiveAudio === true && + !audioTransceiver) { + pc.addTransceiver('audio'); + } + + var videoTransceiver = pc.getTransceivers().find(function(transceiver) { + return transceiver.sender.track && + transceiver.sender.track.kind === 'video'; + }); + if (offerOptions.offerToReceiveVideo === false && videoTransceiver) { + if (videoTransceiver.direction === 'sendrecv') { + videoTransceiver.setDirection('sendonly'); + } else if (videoTransceiver.direction === 'recvonly') { + videoTransceiver.setDirection('inactive'); + } + } else if (offerOptions.offerToReceiveVideo === true && + !videoTransceiver) { + pc.addTransceiver('video'); + } + } + return origCreateOffer.apply(pc, arguments); + }; + } +}; + +},{"../utils":13}],13:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var logDisabled_ = true; +var deprecationWarnings_ = true; + +/** + * Extract browser version out of the provided user agent string. + * + * @param {!string} uastring userAgent string. + * @param {!string} expr Regular expression used as match criteria. + * @param {!number} pos position in the version string to be returned. + * @return {!number} browser version. + */ +function extractVersion(uastring, expr, pos) { + var match = uastring.match(expr); + return match && match.length >= pos && parseInt(match[pos], 10); +} + +// Wraps the peerconnection event eventNameToWrap in a function +// which returns the modified event object. +function wrapPeerConnectionEvent(window, eventNameToWrap, wrapper) { + if (!window.RTCPeerConnection) { + return; + } + var proto = window.RTCPeerConnection.prototype; + var nativeAddEventListener = proto.addEventListener; + proto.addEventListener = function(nativeEventName, cb) { + if (nativeEventName !== eventNameToWrap) { + return nativeAddEventListener.apply(this, arguments); + } + var wrappedCallback = function(e) { + cb(wrapper(e)); + }; + this._eventMap = this._eventMap || {}; + this._eventMap[cb] = wrappedCallback; + return nativeAddEventListener.apply(this, [nativeEventName, + wrappedCallback]); + }; + + var nativeRemoveEventListener = proto.removeEventListener; + proto.removeEventListener = function(nativeEventName, cb) { + if (nativeEventName !== eventNameToWrap || !this._eventMap + || !this._eventMap[cb]) { + return nativeRemoveEventListener.apply(this, arguments); + } + var unwrappedCb = this._eventMap[cb]; + delete this._eventMap[cb]; + return nativeRemoveEventListener.apply(this, [nativeEventName, + unwrappedCb]); + }; + + Object.defineProperty(proto, 'on' + eventNameToWrap, { + get: function() { + return this['_on' + eventNameToWrap]; + }, + set: function(cb) { + if (this['_on' + eventNameToWrap]) { + this.removeEventListener(eventNameToWrap, + this['_on' + eventNameToWrap]); + delete this['_on' + eventNameToWrap]; + } + if (cb) { + this.addEventListener(eventNameToWrap, + this['_on' + eventNameToWrap] = cb); + } + } + }); +} + +// Utility methods. +module.exports = { + extractVersion: extractVersion, + wrapPeerConnectionEvent: wrapPeerConnectionEvent, + disableLog: function(bool) { + if (typeof bool !== 'boolean') { + return new Error('Argument type: ' + typeof bool + + '. Please use a boolean.'); + } + logDisabled_ = bool; + return (bool) ? 'adapter.js logging disabled' : + 'adapter.js logging enabled'; + }, + + /** + * Disable or enable deprecation warnings + * @param {!boolean} bool set to true to disable warnings. + */ + disableWarnings: function(bool) { + if (typeof bool !== 'boolean') { + return new Error('Argument type: ' + typeof bool + + '. Please use a boolean.'); + } + deprecationWarnings_ = !bool; + return 'adapter.js deprecation warnings ' + (bool ? 'disabled' : 'enabled'); + }, + + log: function() { + if (typeof window === 'object') { + if (logDisabled_) { + return; + } + if (typeof console !== 'undefined' && typeof console.log === 'function') { + console.log.apply(console, arguments); + } + } + }, + + /** + * Shows a deprecation warning suggesting the modern and spec-compatible API. + */ + deprecated: function(oldMethod, newMethod) { + if (!deprecationWarnings_) { + return; + } + console.warn(oldMethod + ' is deprecated, please use ' + newMethod + + ' instead.'); + }, + + /** + * Browser detector. + * + * @return {object} result containing browser and version + * properties. + */ + detectBrowser: function(window) { + var navigator = window && window.navigator; + + // Returned result object. + var result = {}; + result.browser = null; + result.version = null; + + // Fail early if it's not a browser + if (typeof window === 'undefined' || !window.navigator) { + result.browser = 'Not a browser.'; + return result; + } + + if (navigator.mozGetUserMedia) { // Firefox. + result.browser = 'firefox'; + result.version = extractVersion(navigator.userAgent, + /Firefox\/(\d+)\./, 1); + } else if (navigator.webkitGetUserMedia) { + // Chrome, Chromium, Webview, Opera. + // Version matches Chrome/WebRTC version. + result.browser = 'chrome'; + result.version = extractVersion(navigator.userAgent, + /Chrom(e|ium)\/(\d+)\./, 2); + } else if (navigator.mediaDevices && + navigator.userAgent.match(/Edge\/(\d+).(\d+)$/)) { // Edge. + result.browser = 'edge'; + result.version = extractVersion(navigator.userAgent, + /Edge\/(\d+).(\d+)$/, 2); + } else if (navigator.mediaDevices && + navigator.userAgent.match(/AppleWebKit\/(\d+)\./)) { // Safari. + result.browser = 'safari'; + result.version = extractVersion(navigator.userAgent, + /AppleWebKit\/(\d+)\./, 1); + } else { // Default fallthrough: not supported. + result.browser = 'Not a supported browser.'; + return result; + } + + return result; + } +}; + +},{}]},{},[3])(3) +}); \ No newline at end of file diff --git a/html5/verto/video_demo/js/verto-min.js b/html5/verto/video_demo/js/verto-min.js index 78f8bc450e..2ac8e89e7e 100644 --- a/html5/verto/video_demo/js/verto-min.js +++ b/html5/verto/video_demo/js/verto-min.js @@ -1,630 +1,9508 @@ +/* + * Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * Copyright (C) 2005-2014, Anthony Minessale II + * + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * + * The Initial Developer of the Original Code is + * Anthony Minessale II + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Anthony Minessale II + * + * jquery.FSRTC.js - WebRTC Glue code + * + */ -(function($){function findLine(sdpLines,prefix,substr){return findLineInRange(sdpLines,0,-1,prefix,substr);} -function findLineInRange(sdpLines,startLine,endLine,prefix,substr){var realEndLine=(endLine!=-1)?endLine:sdpLines.length;for(var i=startLine;i=0;if(iOS){self.options.useVideo.setAttribute("playsinline",true);self.options.useVideo.setAttribute("controls",true);}} -var element=self.options.useAudio;console.log("REMOTE STREAM",stream,element);FSRTCattachMediaStream(element,stream);self.remoteStream=stream;} -function onOfferSDP(self,sdp){self.mediaData.SDP=self.stereoHack(sdp.sdp);console.log("Offer SDP");doCallback(self,"onOfferSDP");} -$.FSRTC.prototype.answer=function(sdp,onSuccess,onError){this.peer.addAnswerSDP({type:"answer",sdp:sdp},onSuccess,onError);};$.FSRTC.prototype.stopPeer=function(){if(self.peer){console.log("stopping peer");self.peer.stop();}} -$.FSRTC.prototype.stop=function(){var self=this;if(self.options.useVideo){self.options.useVideo.style.display='none';self.options.useVideo['src']='';} -if(self.localStream){if(typeof self.localStream.stop=='function'){self.localStream.stop();}else{if(self.localStream.active){var tracks=self.localStream.getTracks();console.log(tracks);tracks.forEach(function(track,index){console.log(track);track.stop();})}} -self.localStream=null;} -if(self.options.localVideo){self.options.localVideo.style.display='none';self.options.localVideo['src']='';} -if(self.options.localVideoStream){if(typeof self.options.localVideoStream.stop=='function'){self.options.localVideoStream.stop();}else{if(self.options.localVideoStream.active){var tracks=self.options.localVideoStream.getTracks();console.log(tracks);tracks.forEach(function(track,index){console.log(track);track.stop();})}}} -if(self.peer){console.log("stopping peer");self.peer.stop();}};$.FSRTC.prototype.getMute=function(){var self=this;return self.audioEnabled;} -$.FSRTC.prototype.setMute=function(what){var self=this;var audioTracks=self.localStream.getAudioTracks();for(var i=0,len=audioTracks.length;i=w&&$.FSRTC.validRes[i][1]>=h){w=$.FSRTC.validRes[i][0];h=$.FSRTC.validRes[i][1];}} -return[w,h];} -var resList=[[160,120],[320,180],[320,240],[640,360],[640,480],[1280,720],[1920,1080]];var resI=0;var ttl=0;var checkRes=function(cam,func){if(resI>=resList.length){var res={'validRes':$.FSRTC.validRes,'bestResSupported':$.FSRTC.bestResSupported()};localStorage.setItem("res_"+cam,$.toJSON(res));if(func)return func(res);return;} -var video={} -if(cam){video.deviceId={exact:cam};} -w=resList[resI][0];h=resList[resI][1];resI++;video={width:{exact:w},height:{exact:h}};getUserMedia({constraints:{audio:ttl++==0,video:video},onsuccess:function(e){e.getTracks().forEach(function(track){track.stop();});console.info(w+"x"+h+" supported.");$.FSRTC.validRes.push([w,h]);checkRes(cam,func);},onerror:function(e){console.warn(w+"x"+h+" not supported.");checkRes(cam,func);}});} -$.FSRTC.getValidRes=function(cam,func){var used=[];var cached=localStorage.getItem("res_"+cam);if(cached){var cache=$.parseJSON(cached);if(cache){$.FSRTC.validRes=cache.validRes;console.log("CACHED RES FOR CAM "+cam,cache);}else{console.error("INVALID CACHE");} -return func?func(cache):null;} -$.FSRTC.validRes=[];resI=0;checkRes(cam,func);} -$.FSRTC.checkPerms=function(runtime,check_audio,check_video){getUserMedia({constraints:{audio:check_audio,video:check_video,},onsuccess:function(e){e.getTracks().forEach(function(track){track.stop();});console.info("media perm init complete");if(runtime){setTimeout(runtime,100,true);}},onerror:function(e){if(check_video&&check_audio){console.error("error, retesting with audio params only");return $.FSRTC.checkPerms(runtime,check_audio,false);} -console.error("media perm init error");if(runtime){runtime(false)}}});}})(jQuery);(function($){$.JsonRpcClient=function(options){var self=this;this.options=$.extend({ajaxUrl:null,socketUrl:null,onmessage:null,login:null,passwd:null,sessid:null,loginParams:null,userVariables:null,getSocket:function(onmessage_cb){return self._getSocket(onmessage_cb);}},options);self.ws_cnt=0;this.wsOnMessage=function(event){self._wsOnMessage(event);};};$.JsonRpcClient.prototype._ws_socket=null;$.JsonRpcClient.prototype._ws_callbacks={};$.JsonRpcClient.prototype._current_id=1;$.JsonRpcClient.prototype.speedTest=function(bytes,cb){var socket=this.options.getSocket(this.wsOnMessage);if(socket!==null){this.speedCB=cb;this.speedBytes=bytes;socket.send("#SPU "+bytes);var loops=bytes/1024;var rem=bytes%1024;var i;var data=new Array(1024).join(".");for(i=0;i1){return false;} -return true;};$.JsonRpcClient.prototype.closeSocket=function(){var self=this;if(self.socketReady()){self._ws_socket.onclose=function(w){console.log("Closing Socket");};self._ws_socket.close();}};$.JsonRpcClient.prototype.loginData=function(params){var self=this;self.options.login=params.login;self.options.passwd=params.passwd;self.options.loginParams=params.loginParams;self.options.userVariables=params.userVariables;};$.JsonRpcClient.prototype.connectSocket=function(onmessage_cb){var self=this;if(self.to){clearTimeout(self.to);} -if(!self.socketReady()){self.authing=false;if(self._ws_socket){delete self._ws_socket;} -self._ws_socket=new WebSocket(self.options.socketUrl);if(self._ws_socket){self._ws_socket.onmessage=onmessage_cb;self._ws_socket.onclose=function(w){if(!self.ws_sleep){self.ws_sleep=1000;} -if(self.options.onWSClose){self.options.onWSClose(self);} -console.error("Websocket Lost "+self.ws_cnt+" sleep: "+self.ws_sleep+"msec");self.to=setTimeout(function(){console.log("Attempting Reconnection....");self.connectSocket(onmessage_cb);},self.ws_sleep);self.ws_cnt++;if(self.ws_sleep<3000&&(self.ws_cnt%10)===0){self.ws_sleep+=1000;}};self._ws_socket.onopen=function(){if(self.to){clearTimeout(self.to);} -self.ws_sleep=1000;self.ws_cnt=0;if(self.options.onWSConnect){self.options.onWSConnect(self);} -var req;while((req=$.JsonRpcClient.q.pop())){self._ws_socket.send(req);}};}} -return self._ws_socket?true:false;};$.JsonRpcClient.prototype.stopRetrying=function(){if(self.to) -clearTimeout(self.to);} -$.JsonRpcClient.prototype._getSocket=function(onmessage_cb){if(this.options.socketUrl===null||!("WebSocket"in window))return null;this.connectSocket(onmessage_cb);return this._ws_socket;};$.JsonRpcClient.q=[];$.JsonRpcClient.prototype._wsCall=function(socket,request,success_cb,error_cb){var request_json=$.toJSON(request);if(socket.readyState<1){self=this;$.JsonRpcClient.q.push(request_json);}else{socket.send(request_json);} -if('id'in request&&typeof success_cb!=='undefined'){this._ws_callbacks[request.id]={request:request_json,request_obj:request,success_cb:success_cb,error_cb:error_cb};}};$.JsonRpcClient.prototype._wsOnMessage=function(event){var response;if(event.data[0]=="#"&&event.data[1]=="S"&&event.data[2]=="P"){if(event.data[3]=="U"){this.up_dur=parseInt(event.data.substring(4));}else if(this.speedCB&&event.data[3]=="D"){this.down_dur=parseInt(event.data.substring(4));var up_kps=(((this.speedBytes*8)/(this.up_dur/1000))/1024).toFixed(0);var down_kps=(((this.speedBytes*8)/(this.down_dur/1000))/1024).toFixed(0);console.info("Speed Test: Up: "+up_kps+" Down: "+down_kps);this.speedCB(event,{upDur:this.up_dur,downDur:this.down_dur,upKPS:up_kps,downKPS:down_kps});this.speedCB=null;} -return;} -try{response=$.parseJSON(event.data);if(typeof response==='object'&&'jsonrpc'in response&&response.jsonrpc==='2.0'){if('result'in response&&this._ws_callbacks[response.id]){var success_cb=this._ws_callbacks[response.id].success_cb;delete this._ws_callbacks[response.id];success_cb(response.result,this);return;}else if('error'in response&&this._ws_callbacks[response.id]){var error_cb=this._ws_callbacks[response.id].error_cb;var orig_req=this._ws_callbacks[response.id].request;if(!self.authing&&response.error.code==-32000&&self.options.login&&self.options.passwd){self.authing=true;this.call("login",{login:self.options.login,passwd:self.options.passwd,loginParams:self.options.loginParams,userVariables:self.options.userVariables},this._ws_callbacks[response.id].request_obj.method=="login"?function(e){self.authing=false;console.log("logged in");delete self._ws_callbacks[response.id];if(self.options.onWSLogin){self.options.onWSLogin(true,self);}}:function(e){self.authing=false;console.log("logged in, resending request id: "+response.id);var socket=self.options.getSocket(self.wsOnMessage);if(socket!==null){socket.send(orig_req);} -if(self.options.onWSLogin){self.options.onWSLogin(true,self);}},function(e){console.log("error logging in, request id:",response.id);delete self._ws_callbacks[response.id];error_cb(response.error,this);if(self.options.onWSLogin){self.options.onWSLogin(false,self);}});return;} -delete this._ws_callbacks[response.id];error_cb(response.error,this);return;}}}catch(err){console.log("ERROR: "+err);return;} -if(typeof this.options.onmessage==='function'){event.eventData=response;if(!event.eventData){event.eventData={};} -var reply=this.options.onmessage(event);if(reply&&typeof reply==="object"&&event.eventData.id){var msg={jsonrpc:"2.0",id:event.eventData.id,result:reply};var socket=self.options.getSocket(self.wsOnMessage);if(socket!==null){socket.send($.toJSON(msg));}}}};$.JsonRpcClient._batchObject=function(jsonrpcclient,all_done_cb,error_cb){this._requests=[];this.jsonrpcclient=jsonrpcclient;this.all_done_cb=all_done_cb;this.error_cb=typeof error_cb==='function'?error_cb:function(){};};$.JsonRpcClient._batchObject.prototype.call=function(method,params,success_cb,error_cb){if(!params){params={};} -if(this.options.sessid){params.sessid=this.options.sessid;} -if(!success_cb){success_cb=function(e){console.log("Success: ",e);};} -if(!error_cb){error_cb=function(e){console.log("Error: ",e);};} -this._requests.push({request:{jsonrpc:'2.0',method:method,params:params,id:this.jsonrpcclient._current_id++},success_cb:success_cb,error_cb:error_cb});};$.JsonRpcClient._batchObject.prototype.notify=function(method,params){if(this.options.sessid){params.sessid=this.options.sessid;} -this._requests.push({request:{jsonrpc:'2.0',method:method,params:params}});};$.JsonRpcClient._batchObject.prototype._execute=function(){var self=this;if(this._requests.length===0)return;var batch_request=[];var handlers={};var i=0;var call;var success_cb;var error_cb;var socket=self.jsonrpcclient.options.getSocket(self.jsonrpcclient.wsOnMessage);if(socket!==null){for(i=0;i0){data.params.useVideo=true;} -if(data.params.sdp&&data.params.sdp.indexOf("stereo=1")>0){data.params.useStereo=true;} -dialog=new $.verto.dialog($.verto.enum.direction.inbound,verto,data.params);dialog.setState($.verto.enum.state.recovering);break;case'verto.invite':if(data.params.sdp&&data.params.sdp.indexOf("m=video")>0){data.params.wantVideo=true;} -if(data.params.sdp&&data.params.sdp.indexOf("stereo=1")>0){data.params.useStereo=true;} -dialog=new $.verto.dialog($.verto.enum.direction.inbound,verto,data.params);break;default:console.debug("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED");break;}} -return{method:data.method};}else{switch(data.method){case'verto.punt':verto.purge();verto.logout();break;case'verto.event':var list=null;var key=null;if(data.params){key=data.params.eventChannel;} -if(key){list=verto.eventSUBS[key];if(!list){list=verto.eventSUBS[key.split(".")[0]];}} -if(!list&&key&&key===verto.sessid){if(verto.callbacks.onMessage){verto.callbacks.onMessage(verto,null,$.verto.enum.message.pvtEvent,data.params);}}else if(!list&&key&&verto.dialogs[key]){verto.dialogs[key].sendMessage($.verto.enum.message.pvtEvent,data.params);}else if(!list){if(!key){key="UNDEFINED";} -console.error("UNSUBBED or invalid EVENT "+key+" IGNORED");}else{for(var i in list){var sub=list[i];if(!sub||!sub.ready){console.error("invalid EVENT for "+key+" IGNORED");}else if(sub.handler){sub.handler(verto,data.params,sub.userData);}else if(verto.callbacks.onEvent){verto.callbacks.onEvent(verto,data.params,sub.userData);}else{console.log("EVENT:",data.params);}}} -break;case"verto.info":if(verto.callbacks.onMessage){verto.callbacks.onMessage(verto,null,$.verto.enum.message.info,data.params.msg);} -console.debug("MESSAGE from: "+data.params.msg.from,data.params.msg.body);break;case'verto.clientReady':verto.callbacks.onMessage(verto,null,$.verto.enum.message.clientReady,data.params);console.debug("CLIENT READY",data.params);break;default:console.error("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED",data.method);break;}}};var del_array=function(array,name){var r=[];var len=array.length;for(var i=0;i=array.length){array.push(name);}else{var x=0;var n=[];var len=array.length;for(var i=0;i":"\n");});return str;};};$.verto.liveArray=function(verto,context,name,config){var la=this;var lastSerno=0;var binding=null;var user_obj=config.userObj;var local=false;hashArray.call(la);la._add=la.add;la._del=la.del;la._reorder=la.reorder;la._clear=la.clear;la.context=context;la.name=name;la.user_obj=user_obj;la.verto=verto;la.broadcast=function(channel,obj){verto.broadcast(channel,obj);};la.errs=0;la.clear=function(){la._clear();lastSerno=0;if(la.onChange){la.onChange(la,{action:"clear"});}};la.checkSerno=function(serno){if(serno<0){return true;} -if(lastSerno>0&&serno!=(lastSerno+1)){if(la.onErr){la.onErr(la,{lastSerno:lastSerno,serno:serno});} -la.errs++;console.debug(la.errs);if(la.errs<3){la.bootstrap(la.user_obj);} -return false;}else{lastSerno=serno;return true;}};la.reorder=function(serno,a){if(la.checkSerno(serno)){la._reorder(a);if(la.onChange){la.onChange(la,{serno:serno,action:"reorder"});}}};la.init=function(serno,val,key,index){if(key===null||key===undefined){key=serno;} -if(la.checkSerno(serno)){if(la.onChange){la.onChange(la,{serno:serno,action:"init",index:index,key:key,data:val});}}};la.bootObj=function(serno,val){if(la.checkSerno(serno)){for(var i in val){la._add(val[i][0],val[i][1]);} -if(la.onChange){la.onChange(la,{serno:serno,action:"bootObj",data:val,redraw:true});}}};la.add=function(serno,val,key,index){if(key===null||key===undefined){key=serno;} -if(la.checkSerno(serno)){var redraw=la._add(key,val,index);if(la.onChange){la.onChange(la,{serno:serno,action:"add",index:index,key:key,data:val,redraw:redraw});}}};la.modify=function(serno,val,key,index){if(key===null||key===undefined){key=serno;} -if(la.checkSerno(serno)){la._add(key,val,index);if(la.onChange){la.onChange(la,{serno:serno,action:"modify",key:key,data:val,index:index});}}};la.del=function(serno,key,index){if(key===null||key===undefined){key=serno;} -if(la.checkSerno(serno)){if(index===null||index<0||index===undefined){index=la.indexOf(key);} -var ok=la._del(key);if(ok&&la.onChange){la.onChange(la,{serno:serno,action:"del",key:key,index:index});}}};var eventHandler=function(v,e,la){var packet=e.data;if(packet.name!=la.name){return;} -switch(packet.action){case"init":la.init(packet.wireSerno,packet.data,packet.hashKey,packet.arrIndex);break;case"bootObj":la.bootObj(packet.wireSerno,packet.data);break;case"add":la.add(packet.wireSerno,packet.data,packet.hashKey,packet.arrIndex);break;case"modify":if(!(packet.arrIndex||packet.hashKey)){console.error("Invalid Packet",packet);}else{la.modify(packet.wireSerno,packet.data,packet.hashKey,packet.arrIndex);} -break;case"del":if(!(packet.arrIndex||packet.hashKey)){console.error("Invalid Packet",packet);}else{la.del(packet.wireSerno,packet.hashKey,packet.arrIndex);} -break;case"clear":la.clear();break;case"reorder":la.reorder(packet.wireSerno,packet.order);break;default:if(la.checkSerno(packet.wireSerno)){if(la.onChange){la.onChange(la,{serno:packet.wireSerno,action:packet.action,data:packet.data});}} -break;}};if(la.context){binding=la.verto.subscribe(la.context,{handler:eventHandler,userData:la,subParams:config.subParams});} -la.destroy=function(){la._clear();la.verto.unsubscribe(binding);};la.sendCommand=function(cmd,obj){var self=la;self.broadcast(self.context,{liveArray:{command:cmd,context:self.context,name:self.name,obj:obj}});};la.bootstrap=function(obj){var self=la;la.sendCommand("bootstrap",obj);};la.changepage=function(obj){var self=la;self.clear();self.broadcast(self.context,{liveArray:{command:"changepage",context:la.context,name:la.name,obj:obj}});};la.heartbeat=function(obj){var self=la;var callback=function(){self.heartbeat.call(self,obj);};self.broadcast(self.context,{liveArray:{command:"heartbeat",context:self.context,name:self.name,obj:obj}});self.hb_pid=setTimeout(callback,30000);};la.bootstrap(la.user_obj);};$.verto.liveTable=function(verto,context,name,jq,config){var dt;var la=new $.verto.liveArray(verto,context,name,{subParams:config.subParams});var lt=this;lt.liveArray=la;lt.dataTable=dt;lt.verto=verto;lt.destroy=function(){if(dt){dt.fnDestroy();} -if(la){la.destroy();} -dt=null;la=null;};la.onErr=function(obj,args){console.error("Error: ",obj,args);};function genRow(data){if(typeof(data[4])==="string"&&data[4].indexOf("{")>-1){var tmp=$.parseJSON(data[4]);data[4]=tmp.oldStatus;data[5]=null;} -return data;} -function genArray(obj){var data=obj.asArray();for(var i in data){data[i]=genRow(data[i]);} -return data;} -la.onChange=function(obj,args){var index=0;var iserr=0;if(!dt){if(!config.aoColumns){if(args.action!="init"){return;} -config.aoColumns=[];for(var i in args.data){config.aoColumns.push({"sTitle":args.data[i]});}} -dt=jq.dataTable(config);} -if(dt&&(args.action=="del"||args.action=="modify")){index=args.index;if(index===undefined&&args.key){index=la.indexOf(args.key);} -if(index===undefined){console.error("INVALID PACKET Missing INDEX\n",args);return;}} -if(config.onChange){config.onChange(obj,args);} -try{switch(args.action){case"bootObj":if(!args.data){console.error("missing data");return;} -dt.fnClearTable();dt.fnAddData(genArray(obj));dt.fnAdjustColumnSizing();break;case"add":if(!args.data){console.error("missing data");return;} -if(args.redraw>-1){dt.fnClearTable();dt.fnAddData(genArray(obj));}else{dt.fnAddData(genRow(args.data));} -dt.fnAdjustColumnSizing();break;case"modify":if(!args.data){return;} -dt.fnUpdate(genRow(args.data),index);dt.fnAdjustColumnSizing();break;case"del":dt.fnDeleteRow(index);dt.fnAdjustColumnSizing();break;case"clear":dt.fnClearTable();break;case"reorder":dt.fnClearTable();dt.fnAddData(genArray(obj));break;case"hide":jq.hide();break;case"show":jq.show();break;}}catch(err){console.error("ERROR: "+err);iserr++;} -if(iserr){obj.errs++;if(obj.errs<3){obj.bootstrap(obj.user_obj);}}else{obj.errs=0;}};la.onChange(la,{action:"init"});};var CONFMAN_SERNO=1;$.verto.conf=function(verto,params){var conf=this;conf.params=$.extend({dialog:null,hasVid:false,laData:null,onBroadcast:null,onLaChange:null,onLaRow:null},params);conf.verto=verto;conf.serno=CONFMAN_SERNO++;createMainModeratorMethods();verto.subscribe(conf.params.laData.modChannel,{handler:function(v,e){if(conf.params.onBroadcast){conf.params.onBroadcast(verto,conf,e.data);}}});verto.subscribe(conf.params.laData.infoChannel,{handler:function(v,e){if(typeof(conf.params.infoCallback)==="function"){conf.params.infoCallback(v,e);}}});verto.subscribe(conf.params.laData.chatChannel,{handler:function(v,e){if(typeof(conf.params.chatCallback)==="function"){conf.params.chatCallback(v,e);}}});};$.verto.conf.prototype.modCommand=function(cmd,id,value){var conf=this;conf.verto.rpcClient.call("verto.broadcast",{"eventChannel":conf.params.laData.modChannel,"data":{"application":"conf-control","command":cmd,"id":id,"value":value}});};$.verto.conf.prototype.destroy=function(){var conf=this;conf.destroyed=true;conf.params.onBroadcast(conf.verto,conf,'destroy');if(conf.params.laData.modChannel){conf.verto.unsubscribe(conf.params.laData.modChannel);} -if(conf.params.laData.chatChannel){conf.verto.unsubscribe(conf.params.laData.chatChannel);} -if(conf.params.laData.infoChannel){conf.verto.unsubscribe(conf.params.laData.infoChannel);}};function createMainModeratorMethods(){$.verto.conf.prototype.listVideoLayouts=function(){this.modCommand("list-videoLayouts",null,null);};$.verto.conf.prototype.play=function(file){this.modCommand("play",null,file);};$.verto.conf.prototype.stop=function(){this.modCommand("stop",null,"all");};$.verto.conf.prototype.deaf=function(memberID){this.modCommand("deaf",parseInt(memberID));};$.verto.conf.prototype.undeaf=function(memberID){this.modCommand("undeaf",parseInt(memberID));};$.verto.conf.prototype.record=function(file){this.modCommand("recording",null,["start",file]);};$.verto.conf.prototype.stopRecord=function(){this.modCommand("recording",null,["stop","all"]);};$.verto.conf.prototype.snapshot=function(file){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("vid-write-png",null,file);};$.verto.conf.prototype.setVideoLayout=function(layout,canvasID){if(!this.params.hasVid){throw'Conference has no video';} -if(canvasID){this.modCommand("vid-layout",null,[layout,canvasID]);}else{this.modCommand("vid-layout",null,layout);}};$.verto.conf.prototype.kick=function(memberID){this.modCommand("kick",parseInt(memberID));};$.verto.conf.prototype.muteMic=function(memberID){this.modCommand("tmute",parseInt(memberID));};$.verto.conf.prototype.muteVideo=function(memberID){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("tvmute",parseInt(memberID));};$.verto.conf.prototype.presenter=function(memberID){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("vid-res-id",parseInt(memberID),"presenter");};$.verto.conf.prototype.videoFloor=function(memberID){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("vid-floor",parseInt(memberID),"force");};$.verto.conf.prototype.banner=function(memberID,text){if(!this.params.hasVid){throw'Conference has no video';} -this.modCommand("vid-banner",parseInt(memberID),escape(text));};$.verto.conf.prototype.volumeDown=function(memberID){this.modCommand("volume_out",parseInt(memberID),"down");};$.verto.conf.prototype.volumeUp=function(memberID){this.modCommand("volume_out",parseInt(memberID),"up");};$.verto.conf.prototype.gainDown=function(memberID){this.modCommand("volume_in",parseInt(memberID),"down");};$.verto.conf.prototype.gainUp=function(memberID){this.modCommand("volume_in",parseInt(memberID),"up");};$.verto.conf.prototype.transfer=function(memberID,exten){this.modCommand("transfer",parseInt(memberID),exten);};$.verto.conf.prototype.sendChat=function(message,type){var conf=this;conf.verto.rpcClient.call("verto.broadcast",{"eventChannel":conf.params.laData.chatChannel,"data":{"action":"send","message":message,"type":type}});};} -$.verto.modfuncs={};$.verto.confMan=function(verto,params){var confMan=this;confMan.params=$.extend({tableID:null,statusID:null,mainModID:null,dialog:null,hasVid:false,laData:null,onBroadcast:null,onLaChange:null,onLaRow:null},params);confMan.verto=verto;confMan.serno=CONFMAN_SERNO++;confMan.canvasCount=confMan.params.laData.canvasCount;function genMainMod(jq){var play_id="play_"+confMan.serno;var stop_id="stop_"+confMan.serno;var recording_id="recording_"+confMan.serno;var snapshot_id="snapshot_"+confMan.serno;var rec_stop_id="recording_stop"+confMan.serno;var div_id="confman_"+confMan.serno;var html="

"+""+""+""+""+ -(confMan.params.hasVid?"":"")+"

";jq.html(html);$.verto.modfuncs.change_video_layout=function(id,canvas_id){var val=$("#"+id+" option:selected").text();if(val!=="none"){confMan.modCommand("vid-layout",null,[val,canvas_id]);}};if(confMan.params.hasVid){for(var j=0;j
"+"Video Layout Canvas "+(j+1)+" "+"

";jq.append(vlhtml);} -$("#"+snapshot_id).click(function(){var file=prompt("Please enter file name","");if(file){confMan.modCommand("vid-write-png",null,file);}});} -$("#"+play_id).click(function(){var file=prompt("Please enter file name","");if(file){confMan.modCommand("play",null,file);}});$("#"+stop_id).click(function(){confMan.modCommand("stop",null,"all");});$("#"+recording_id).click(function(){var file=prompt("Please enter file name","");if(file){confMan.modCommand("recording",null,["start",file]);}});$("#"+rec_stop_id).click(function(){confMan.modCommand("recording",null,["stop","all"]);});} -function genControls(jq,rowid){var x=parseInt(rowid);var kick_id="kick_"+x;var canvas_in_next_id="canvas_in_next_"+x;var canvas_in_prev_id="canvas_in_prev_"+x;var canvas_out_next_id="canvas_out_next_"+x;var canvas_out_prev_id="canvas_out_prev_"+x;var canvas_in_set_id="canvas_in_set_"+x;var canvas_out_set_id="canvas_out_set_"+x;var layer_set_id="layer_set_"+x;var layer_next_id="layer_next_"+x;var layer_prev_id="layer_prev_"+x;var tmute_id="tmute_"+x;var tvmute_id="tvmute_"+x;var vbanner_id="vbanner_"+x;var tvpresenter_id="tvpresenter_"+x;var tvfloor_id="tvfloor_"+x;var box_id="box_"+x;var gainup_id="gain_in_up"+x;var gaindn_id="gain_in_dn"+x;var volup_id="vol_in_up"+x;var voldn_id="vol_in_dn"+x;var transfer_id="transfer"+x;var html="
";html+="General Controls
";html+=""+""+""+""+""+""+"";if(confMan.params.hasVid){html+="

Video Controls
";html+=""+""+""+"";if(confMan.canvasCount>1){html+="

Canvas Controls
"+""+""+""+"
"+""+""+"";} -html+="
"+""+""+""+"
";} -jq.html(html);if(!jq.data("mouse")){$("#"+box_id).hide();} -jq.mouseover(function(e){jq.data({"mouse":true});$("#"+box_id).show();});jq.mouseout(function(e){jq.data({"mouse":false});$("#"+box_id).hide();});$("#"+transfer_id).click(function(){var xten=prompt("Enter Extension");if(xten){confMan.modCommand("transfer",x,xten);}});$("#"+kick_id).click(function(){confMan.modCommand("kick",x);});$("#"+layer_set_id).click(function(){var cid=prompt("Please enter layer ID","");if(cid){confMan.modCommand("vid-layer",x,cid);}});$("#"+layer_next_id).click(function(){confMan.modCommand("vid-layer",x,"next");});$("#"+layer_prev_id).click(function(){confMan.modCommand("vid-layer",x,"prev");});$("#"+canvas_in_set_id).click(function(){var cid=prompt("Please enter canvas ID","");if(cid){confMan.modCommand("vid-canvas",x,cid);}});$("#"+canvas_out_set_id).click(function(){var cid=prompt("Please enter canvas ID","");if(cid){confMan.modCommand("vid-watching-canvas",x,cid);}});$("#"+canvas_in_next_id).click(function(){confMan.modCommand("vid-canvas",x,"next");});$("#"+canvas_in_prev_id).click(function(){confMan.modCommand("vid-canvas",x,"prev");});$("#"+canvas_out_next_id).click(function(){confMan.modCommand("vid-watching-canvas",x,"next");});$("#"+canvas_out_prev_id).click(function(){confMan.modCommand("vid-watching-canvas",x,"prev");});$("#"+tmute_id).click(function(){confMan.modCommand("tmute",x);});if(confMan.params.hasVid){$("#"+tvmute_id).click(function(){confMan.modCommand("tvmute",x);});$("#"+tvpresenter_id).click(function(){confMan.modCommand("vid-res-id",x,"presenter");});$("#"+tvfloor_id).click(function(){confMan.modCommand("vid-floor",x,"force");});$("#"+vbanner_id).click(function(){var text=prompt("Please enter text","");if(text){confMan.modCommand("vid-banner",x,escape(text));}});} -$("#"+gainup_id).click(function(){confMan.modCommand("volume_in",x,"up");});$("#"+gaindn_id).click(function(){confMan.modCommand("volume_in",x,"down");});$("#"+volup_id).click(function(){confMan.modCommand("volume_out",x,"up");});$("#"+voldn_id).click(function(){confMan.modCommand("volume_out",x,"down");});return html;} -var atitle="";var awidth=0;verto.subscribe(confMan.params.laData.infoChannel,{handler:function(v,e){if(typeof(confMan.params.infoCallback)==="function"){confMan.params.infoCallback(v,e);}}});verto.subscribe(confMan.params.laData.chatChannel,{handler:function(v,e){if(typeof(confMan.params.chatCallback)==="function"){confMan.params.chatCallback(v,e);}}});if(confMan.params.laData.role==="moderator"){atitle="Action";awidth=600;if(confMan.params.mainModID){genMainMod($(confMan.params.mainModID));$(confMan.params.displayID).html("Moderator Controls Ready

");}else{$(confMan.params.mainModID).html("");} -verto.subscribe(confMan.params.laData.modChannel,{handler:function(v,e){if(confMan.params.onBroadcast){confMan.params.onBroadcast(verto,confMan,e.data);} -if(e.data["conf-command"]==="list-videoLayouts"){for(var j=0;jb)?1:-1));});for(var i in options){$(vlselect_id).append(new Option(options[i],options[i]));x++;}} -if(x){$(vlselect_id).selectmenu('refresh',true);}else{$(vlayout_id).hide();}}}else{if(!confMan.destroyed&&confMan.params.displayID){$(confMan.params.displayID).html(e.data.response+"

");if(confMan.lastTimeout){clearTimeout(confMan.lastTimeout);confMan.lastTimeout=0;} -confMan.lastTimeout=setTimeout(function(){$(confMan.params.displayID).html(confMan.destroyed?"":"Moderator Controls Ready

");},4000);}}}});if(confMan.params.hasVid){confMan.modCommand("list-videoLayouts",null,null);}} -var row_callback=null;if(confMan.params.laData.role==="moderator"){row_callback=function(nRow,aData,iDisplayIndex,iDisplayIndexFull){if(!aData[5]){var $row=$('td:eq(5)',nRow);genControls($row,aData);if(confMan.params.onLaRow){confMan.params.onLaRow(verto,confMan,$row,aData);}}};} -confMan.lt=new $.verto.liveTable(verto,confMan.params.laData.laChannel,confMan.params.laData.laName,$(confMan.params.tableID),{subParams:{callID:confMan.params.dialog?confMan.params.dialog.callID:null},"onChange":function(obj,args){$(confMan.params.statusID).text("Conference Members: "+" ("+obj.arrayLen()+" Total)");if(confMan.params.onLaChange){confMan.params.onLaChange(verto,confMan,$.verto.enum.confEvent.laChange,obj,args);}},"aaData":[],"aoColumns":[{"sTitle":"ID","sWidth":"50"},{"sTitle":"Number","sWidth":"250"},{"sTitle":"Name","sWidth":"250"},{"sTitle":"Codec","sWidth":"100"},{"sTitle":"Status","sWidth":confMan.params.hasVid?"200px":"150px"},{"sTitle":atitle,"sWidth":awidth,}],"bAutoWidth":true,"bDestroy":true,"bSort":false,"bInfo":false,"bFilter":false,"bLengthChange":false,"bPaginate":false,"iDisplayLength":1400,"oLanguage":{"sEmptyTable":"The Conference is Empty....."},"fnRowCallback":row_callback});};$.verto.confMan.prototype.modCommand=function(cmd,id,value){var confMan=this;confMan.verto.rpcClient.call("verto.broadcast",{"eventChannel":confMan.params.laData.modChannel,"data":{"application":"conf-control","command":cmd,"id":id,"value":value}});};$.verto.confMan.prototype.sendChat=function(message,type){var confMan=this;confMan.verto.rpcClient.call("verto.broadcast",{"eventChannel":confMan.params.laData.chatChannel,"data":{"action":"send","message":message,"type":type}});};$.verto.confMan.prototype.destroy=function(){var confMan=this;confMan.destroyed=true;if(confMan.lt){confMan.lt.destroy();} -if(confMan.params.laData.chatChannel){confMan.verto.unsubscribe(confMan.params.laData.chatChannel);} -if(confMan.params.laData.modChannel){confMan.verto.unsubscribe(confMan.params.laData.modChannel);} -if(confMan.params.mainModID){$(confMan.params.mainModID).html("");}};$.verto.dialog=function(direction,verto,params){var dialog=this;dialog.params=$.extend({useVideo:verto.options.useVideo,useStereo:verto.options.useStereo,screenShare:false,useCamera:false,useMic:verto.options.deviceParams.useMic,useSpeak:verto.options.deviceParams.useSpeak,tag:verto.options.tag,localTag:verto.options.localTag,login:verto.options.login,videoParams:verto.options.videoParams},params);if(!dialog.params.screenShare){dialog.params.useCamera=verto.options.deviceParams.useCamera;} -dialog.verto=verto;dialog.direction=direction;dialog.lastState=null;dialog.state=dialog.lastState=$.verto.enum.state.new;dialog.callbacks=verto.callbacks;dialog.answered=false;dialog.attach=params.attach||false;dialog.screenShare=params.screenShare||false;dialog.useCamera=dialog.params.useCamera;dialog.useMic=dialog.params.useMic;dialog.useSpeak=dialog.params.useSpeak;if(dialog.params.callID){dialog.callID=dialog.params.callID;}else{dialog.callID=dialog.params.callID=generateGUID();} -if(typeof(dialog.params.tag)==="function"){dialog.params.tag=dialog.params.tag();} -if(dialog.params.tag){dialog.audioStream=document.getElementById(dialog.params.tag);if(dialog.params.useVideo){dialog.videoStream=dialog.audioStream;}} -if(dialog.params.localTag){dialog.localVideo=document.getElementById(dialog.params.localTag);} -dialog.verto.dialogs[dialog.callID]=dialog;var RTCcallbacks={};if(dialog.direction==$.verto.enum.direction.inbound){if(dialog.params.display_direction==="outbound"){dialog.params.remote_caller_id_name=dialog.params.caller_id_name;dialog.params.remote_caller_id_number=dialog.params.caller_id_number;}else{dialog.params.remote_caller_id_name=dialog.params.callee_id_name;dialog.params.remote_caller_id_number=dialog.params.callee_id_number;} -if(!dialog.params.remote_caller_id_name){dialog.params.remote_caller_id_name="Nobody";} -if(!dialog.params.remote_caller_id_number){dialog.params.remote_caller_id_number="UNKNOWN";} -RTCcallbacks.onMessage=function(rtc,msg){console.debug(msg);};RTCcallbacks.onAnswerSDP=function(rtc,sdp){console.error("answer sdp",sdp);};}else{dialog.params.remote_caller_id_name="Outbound Call";dialog.params.remote_caller_id_number=dialog.params.destination_number;} -RTCcallbacks.onICESDP=function(rtc){console.log("RECV "+rtc.type+" SDP",rtc.mediaData.SDP);if(dialog.state==$.verto.enum.state.requesting||dialog.state==$.verto.enum.state.answering||dialog.state==$.verto.enum.state.active){location.reload();return;} -if(rtc.type=="offer"){if(dialog.state==$.verto.enum.state.active){dialog.setState($.verto.enum.state.requesting);dialog.sendMethod("verto.attach",{sdp:rtc.mediaData.SDP});}else{dialog.setState($.verto.enum.state.requesting);dialog.sendMethod("verto.invite",{sdp:rtc.mediaData.SDP});}}else{dialog.setState($.verto.enum.state.answering);dialog.sendMethod(dialog.attach?"verto.attach":"verto.answer",{sdp:dialog.rtc.mediaData.SDP});}};RTCcallbacks.onICE=function(rtc){if(rtc.type=="offer"){console.log("offer",rtc.mediaData.candidate);return;}};RTCcallbacks.onStream=function(rtc,stream){if(dialog.verto.options.permissionCallback&&typeof dialog.verto.options.permissionCallback.onGranted==='function'){dialog.verto.options.permissionCallback.onGranted(stream);} -console.log("stream started");};RTCcallbacks.onError=function(e){if(dialog.verto.options.permissionCallback&&typeof dialog.verto.options.permissionCallback.onDenied==='function'){dialog.verto.options.permissionCallback.onDenied();} -console.error("ERROR:",e);dialog.hangup({cause:"Device or Permission Error"});};dialog.rtc=new $.FSRTC({callbacks:RTCcallbacks,localVideo:dialog.screenShare?null:dialog.localVideo,useVideo:dialog.params.useVideo?dialog.videoStream:null,useAudio:dialog.audioStream,useStereo:dialog.params.useStereo,videoParams:dialog.params.videoParams,audioParams:verto.options.audioParams,iceServers:verto.options.iceServers,screenShare:dialog.screenShare,useCamera:dialog.useCamera,useMic:dialog.useMic,useSpeak:dialog.useSpeak});dialog.rtc.verto=dialog.verto;if(dialog.direction==$.verto.enum.direction.inbound){if(dialog.attach){dialog.answer();}else{dialog.ring();}}};$.verto.dialog.prototype.invite=function(){var dialog=this;dialog.rtc.call();};$.verto.dialog.prototype.sendMethod=function(method,obj){var dialog=this;obj.dialogParams={};for(var i in dialog.params){if(i=="sdp"&&method!="verto.invite"&&method!="verto.attach"){continue;} -if((obj.noDialogParams&&i!="callID")){continue;} -obj.dialogParams[i]=dialog.params[i];} -delete obj.noDialogParams;dialog.verto.rpcClient.call(method,obj,function(e){dialog.processReply(method,true,e);},function(e){dialog.processReply(method,false,e);});};function checkStateChange(oldS,newS){if(newS==$.verto.enum.state.purge||$.verto.enum.states[oldS.name][newS.name]){return true;} -return false;} -function find_name(id){for(var i in $.verto.audioOutDevices){var source=$.verto.audioOutDevices[i];if(source.id===id){return(source.label);}} -return id;} -$.verto.dialog.prototype.setAudioPlaybackDevice=function(sinkId,callback,arg){var dialog=this;var element=dialog.audioStream;if(typeof element.sinkId!=='undefined'){var devname=find_name(sinkId);console.info("Dialog: "+dialog.callID+" Setting speaker:",element,devname);element.setSinkId(sinkId).then(function(){console.log("Dialog: "+dialog.callID+' Success, audio output device attached: '+sinkId);if(callback){callback(true,devname,arg);}}).catch(function(error){var errorMessage=error;if(error.name==='SecurityError'){errorMessage="Dialog: "+dialog.callID+' You need to use HTTPS for selecting audio output '+'device: '+error;} -if(callback){callback(false,null,arg);} -console.error(errorMessage);});}else{console.warn("Dialog: "+dialog.callID+' Browser does not support output device selection.');if(callback){callback(false,null,arg);}}} -$.verto.dialog.prototype.setState=function(state){var dialog=this;if(dialog.state==$.verto.enum.state.ringing){dialog.stopRinging();} -if(dialog.state==state||!checkStateChange(dialog.state,state)){console.error("Dialog "+dialog.callID+": INVALID state change from "+dialog.state.name+" to "+state.name);dialog.hangup();return false;} -console.log("Dialog "+dialog.callID+": state change from "+dialog.state.name+" to "+state.name);dialog.lastState=dialog.state;dialog.state=state;if(dialog.callbacks.onDialogState){dialog.callbacks.onDialogState(this);} -switch(dialog.state){case $.verto.enum.state.early:case $.verto.enum.state.active:var speaker=dialog.useSpeak;console.info("Using Speaker: ",speaker);if(speaker&&speaker!=="any"&&speaker!=="none"){setTimeout(function(){dialog.setAudioPlaybackDevice(speaker);},500);} -break;case $.verto.enum.state.trying:setTimeout(function(){if(dialog.state==$.verto.enum.state.trying){dialog.setState($.verto.enum.state.hangup);}},30000);break;case $.verto.enum.state.purge:dialog.setState($.verto.enum.state.destroy);break;case $.verto.enum.state.hangup:if(dialog.lastState.val>$.verto.enum.state.requesting.val&&dialog.lastState.val<$.verto.enum.state.hangup.val){dialog.sendMethod("verto.bye",{});} -dialog.setState($.verto.enum.state.destroy);break;case $.verto.enum.state.destroy:if(typeof(dialog.verto.options.tag)==="function"){$('#'+dialog.params.tag).remove();} -delete dialog.verto.dialogs[dialog.callID];if(dialog.params.screenShare){dialog.rtc.stopPeer();}else{dialog.rtc.stop();} -break;} -return true;};$.verto.dialog.prototype.processReply=function(method,success,e){var dialog=this;switch(method){case"verto.answer":case"verto.attach":if(success){dialog.setState($.verto.enum.state.active);}else{dialog.hangup();} -break;case"verto.invite":if(success){dialog.setState($.verto.enum.state.trying);}else{dialog.setState($.verto.enum.state.destroy);} -break;case"verto.bye":dialog.hangup();break;case"verto.modify":if(e.holdState){if(e.holdState=="held"){if(dialog.state!=$.verto.enum.state.held){dialog.setState($.verto.enum.state.held);}}else if(e.holdState=="active"){if(dialog.state!=$.verto.enum.state.active){dialog.setState($.verto.enum.state.active);}}} -if(success){} -break;default:break;}};$.verto.dialog.prototype.hangup=function(params){var dialog=this;if(params){if(params.causeCode){dialog.causeCode=params.causeCode;} -if(params.cause){dialog.cause=params.cause;}} -if(!dialog.cause&&!dialog.causeCode){dialog.cause="NORMAL_CLEARING";} -if(dialog.state.val>=$.verto.enum.state.new.val&&dialog.state.val<$.verto.enum.state.hangup.val){dialog.setState($.verto.enum.state.hangup);}else if(dialog.state.val<$.verto.enum.state.destroy){dialog.setState($.verto.enum.state.destroy);}};$.verto.dialog.prototype.stopRinging=function(){var dialog=this;if(dialog.verto.ringer){dialog.verto.ringer.stop();}};$.verto.dialog.prototype.indicateRing=function(){var dialog=this;if(dialog.verto.ringer){dialog.verto.ringer.attr("src",dialog.verto.options.ringFile)[0].play();setTimeout(function(){dialog.stopRinging();if(dialog.state==$.verto.enum.state.ringing){dialog.indicateRing();}},dialog.verto.options.ringSleep);}};$.verto.dialog.prototype.ring=function(){var dialog=this;dialog.setState($.verto.enum.state.ringing);dialog.indicateRing();};$.verto.dialog.prototype.useVideo=function(on){var dialog=this;dialog.params.useVideo=on;if(on){dialog.videoStream=dialog.audioStream;}else{dialog.videoStream=null;} -dialog.rtc.useVideo(dialog.videoStream,dialog.localVideo);};$.verto.dialog.prototype.setMute=function(what){var dialog=this;return dialog.rtc.setMute(what);};$.verto.dialog.prototype.getMute=function(){var dialog=this;return dialog.rtc.getMute();};$.verto.dialog.prototype.setVideoMute=function(what){var dialog=this;return dialog.rtc.setVideoMute(what);};$.verto.dialog.prototype.getVideoMute=function(){var dialog=this;return dialog.rtc.getVideoMute();};$.verto.dialog.prototype.useStereo=function(on){var dialog=this;dialog.params.useStereo=on;dialog.rtc.useStereo(on);};$.verto.dialog.prototype.dtmf=function(digits){var dialog=this;if(digits){dialog.sendMethod("verto.info",{dtmf:digits});}};$.verto.dialog.prototype.rtt=function(obj){var dialog=this;var pobj={};if(!obj){return false;} -pobj.code=obj.code;pobj.chars=obj.chars;if(pobj.chars||pobj.code){dialog.sendMethod("verto.info",{txt:obj,noDialogParams:true});}};$.verto.dialog.prototype.transfer=function(dest,params){var dialog=this;if(dest){dialog.sendMethod("verto.modify",{action:"transfer",destination:dest,params:params});}};$.verto.dialog.prototype.replace=function(replaceCallID,params){var dialog=this;if(replaceCallID){dialog.sendMethod("verto.modify",{action:"replace",replaceCallID:replaceCallID,params:params});}};$.verto.dialog.prototype.hold=function(params){var dialog=this;dialog.sendMethod("verto.modify",{action:"hold",params:params});};$.verto.dialog.prototype.unhold=function(params){var dialog=this;dialog.sendMethod("verto.modify",{action:"unhold",params:params});};$.verto.dialog.prototype.toggleHold=function(params){var dialog=this;dialog.sendMethod("verto.modify",{action:"toggleHold",params:params});};$.verto.dialog.prototype.message=function(msg){var dialog=this;var err=0;msg.from=dialog.params.login;if(!msg.to){console.error("Missing To");err++;} -if(!msg.body){console.error("Missing Body");err++;} -if(err){return false;} -dialog.sendMethod("verto.info",{msg:msg});return true;};$.verto.dialog.prototype.answer=function(params){var dialog=this;if(!dialog.answered){if(!params){params={};} -params.sdp=dialog.params.sdp;if(params){if(params.useVideo){dialog.useVideo(true);} -dialog.params.callee_id_name=params.callee_id_name;dialog.params.callee_id_number=params.callee_id_number;if(params.useCamera){dialog.useCamera=params.useCamera;} -if(params.useMic){dialog.useMic=params.useMic;} -if(params.useSpeak){dialog.useSpeak=params.useSpeak;}} -dialog.rtc.createAnswer(params);dialog.answered=true;}};$.verto.dialog.prototype.handleAnswer=function(params){var dialog=this;dialog.gotAnswer=true;if(dialog.state.val>=$.verto.enum.state.active.val){return;} -if(dialog.state.val>=$.verto.enum.state.early.val){dialog.setState($.verto.enum.state.active);}else{if(dialog.gotEarly){console.log("Dialog "+dialog.callID+" Got answer while still establishing early media, delaying...");}else{console.log("Dialog "+dialog.callID+" Answering Channel");dialog.rtc.answer(params.sdp,function(){dialog.setState($.verto.enum.state.active);},function(e){console.error(e);dialog.hangup();});console.log("Dialog "+dialog.callID+"ANSWER SDP",params.sdp);}}};$.verto.dialog.prototype.cidString=function(enc){var dialog=this;var party=dialog.params.remote_caller_id_name+(enc?" <":" <")+dialog.params.remote_caller_id_number+(enc?">":">");return party;};$.verto.dialog.prototype.sendMessage=function(msg,params){var dialog=this;if(dialog.callbacks.onMessage){dialog.callbacks.onMessage(dialog.verto,dialog,msg,params);}};$.verto.dialog.prototype.handleInfo=function(params){var dialog=this;dialog.sendMessage($.verto.enum.message.info,params);};$.verto.dialog.prototype.handleDisplay=function(params){var dialog=this;if(params.display_name){dialog.params.remote_caller_id_name=params.display_name;} -if(params.display_number){dialog.params.remote_caller_id_number=params.display_number;} -dialog.sendMessage($.verto.enum.message.display,{});};$.verto.dialog.prototype.handleMedia=function(params){var dialog=this;if(dialog.state.val>=$.verto.enum.state.early.val){return;} -dialog.gotEarly=true;dialog.rtc.answer(params.sdp,function(){console.log("Dialog "+dialog.callID+"Establishing early media");dialog.setState($.verto.enum.state.early);if(dialog.gotAnswer){console.log("Dialog "+dialog.callID+"Answering Channel");dialog.setState($.verto.enum.state.active);}},function(e){console.error(e);dialog.hangup();});console.log("Dialog "+dialog.callID+"EARLY SDP",params.sdp);};$.verto.ENUM=function(s){var i=0,o={};s.split(" ").map(function(x){o[x]={name:x,val:i++};});return Object.freeze(o);};$.verto.enum={};$.verto.enum.states=Object.freeze({new:{requesting:1,recovering:1,ringing:1,destroy:1,answering:1,hangup:1},requesting:{trying:1,hangup:1,active:1},recovering:{answering:1,hangup:1},trying:{active:1,early:1,hangup:1},ringing:{answering:1,hangup:1},answering:{active:1,hangup:1},active:{answering:1,requesting:1,hangup:1,held:1},held:{hangup:1,active:1},early:{hangup:1,active:1},hangup:{destroy:1},destroy:{},purge:{destroy:1}});$.verto.enum.state=$.verto.ENUM("new requesting trying recovering ringing answering early active held hangup destroy purge");$.verto.enum.direction=$.verto.ENUM("inbound outbound");$.verto.enum.message=$.verto.ENUM("display info pvtEvent clientReady");$.verto.enum=Object.freeze($.verto.enum);$.verto.saved=[];$.verto.unloadJobs=[];$(window).bind('beforeunload',function(){for(var f in $.verto.unloadJobs){$.verto.unloadJobs[f]();} -if($.verto.haltClosure) -return $.verto.haltClosure();for(var i in $.verto.saved){var verto=$.verto.saved[i];if(verto){verto.purge();verto.logout();}} -return $.verto.warnOnUnload;});$.verto.videoDevices=[];$.verto.audioInDevices=[];$.verto.audioOutDevices=[];var checkDevices=function(runtime){console.info("enumerating devices");var aud_in=[],aud_out=[],vid=[];var has_video=0,has_audio=0;var Xstream;function gotDevices(deviceInfos){for(var i=0;i!==deviceInfos.length;++i){var deviceInfo=deviceInfos[i];var text="";console.log(deviceInfo);console.log(deviceInfo.kind+": "+deviceInfo.label+" id = "+deviceInfo.deviceId);if(deviceInfo.kind==='audioinput'){text=deviceInfo.label||'microphone '+(aud_in.length+1);aud_in.push({id:deviceInfo.deviceId,kind:"audio_in",label:text});}else if(deviceInfo.kind==='audiooutput'){text=deviceInfo.label||'speaker '+(aud_out.length+1);aud_out.push({id:deviceInfo.deviceId,kind:"audio_out",label:text});}else if(deviceInfo.kind==='videoinput'){text=deviceInfo.label||'camera '+(vid.length+1);vid.push({id:deviceInfo.deviceId,kind:"video",label:text});}else{console.log('Some other kind of source/device: ',deviceInfo);}} -$.verto.videoDevices=vid;$.verto.audioInDevices=aud_in;$.verto.audioOutDevices=aud_out;console.info("Audio IN Devices",$.verto.audioInDevices);console.info("Audio Out Devices",$.verto.audioOutDevices);console.info("Video Devices",$.verto.videoDevices);if(Xstream){Xstream.getTracks().forEach(function(track){track.stop();});} -if(runtime){runtime(true);}} -function handleError(error){console.log('device enumeration error: ',error);if(runtime)runtime(false);} -function checkTypes(devs){for(var i=0;i!==devs.length;++i){if(devs[i].kind==='audioinput'){has_audio++;}else if(devs[i].kind==='videoinput'){has_video++;}} -navigator.getUserMedia({audio:(has_audio>0?true:false),video:(has_video>0?true:false)},function(stream){Xstream=stream;navigator.mediaDevices.enumerateDevices().then(gotDevices).catch(handleError);},function(err){console.log("The following error occurred: "+err.name);});} -navigator.mediaDevices.enumerateDevices().then(checkTypes).catch(handleError);};$.verto.refreshDevices=function(runtime){checkDevices(runtime);} -$.verto.init=function(obj,runtime){if(!obj){obj={};} -if(!obj.skipPermCheck&&!obj.skipDeviceCheck){$.FSRTC.checkPerms(function(status){checkDevices(runtime);},true,true);}else if(obj.skipPermCheck&&!obj.skipDeviceCheck){checkDevices(runtime);}else if(!obj.skipPermCheck&&obj.skipDeviceCheck){$.FSRTC.checkPerms(function(status){runtime(status);},true,true);}else{runtime(null);}} -$.verto.genUUID=function(){return generateGUID();}})(jQuery);(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.adapter=f()}})(function(){var define,module,exports;return(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o=14393&&url.indexOf('?transport=udp')===-1;});delete server.url;server.urls=isString?urls[0]:urls;return!!urls.length;}});} -function getCommonCapabilities(localCapabilities,remoteCapabilities){var commonCapabilities={codecs:[],headerExtensions:[],fecMechanisms:[]};var findCodecByPayloadType=function(pt,codecs){pt=parseInt(pt,10);for(var i=0;i0;i--){this._iceGatherers=new window.RTCIceGatherer({iceServers:config.iceServers,gatherPolicy:config.iceTransportPolicy});}}else{config.iceCandidatePoolSize=0;} -this._config=config;this.transceivers=[];this._sdpSessionId=SDPUtils.generateSessionId();this._sdpSessionVersion=0;this._dtlsRole=undefined;this._isClosed=false;};RTCPeerConnection.prototype.onicecandidate=null;RTCPeerConnection.prototype.onaddstream=null;RTCPeerConnection.prototype.ontrack=null;RTCPeerConnection.prototype.onremovestream=null;RTCPeerConnection.prototype.onsignalingstatechange=null;RTCPeerConnection.prototype.oniceconnectionstatechange=null;RTCPeerConnection.prototype.onicegatheringstatechange=null;RTCPeerConnection.prototype.onnegotiationneeded=null;RTCPeerConnection.prototype.ondatachannel=null;RTCPeerConnection.prototype._dispatchEvent=function(name,event){if(this._isClosed){return;} -this.dispatchEvent(event);if(typeof this['on'+name]==='function'){this['on'+name](event);}};RTCPeerConnection.prototype._emitGatheringStateChange=function(){var event=new Event('icegatheringstatechange');this._dispatchEvent('icegatheringstatechange',event);};RTCPeerConnection.prototype.getConfiguration=function(){return this._config;};RTCPeerConnection.prototype.getLocalStreams=function(){return this.localStreams;};RTCPeerConnection.prototype.getRemoteStreams=function(){return this.remoteStreams;};RTCPeerConnection.prototype._createTransceiver=function(kind){var hasBundleTransport=this.transceivers.length>0;var transceiver={track:null,iceGatherer:null,iceTransport:null,dtlsTransport:null,localCapabilities:null,remoteCapabilities:null,rtpSender:null,rtpReceiver:null,kind:kind,mid:null,sendEncodingParameters:null,recvEncodingParameters:null,stream:null,associatedRemoteMediaStreams:[],wantReceive:true};if(this.usingBundle&&hasBundleTransport){transceiver.iceTransport=this.transceivers[0].iceTransport;transceiver.dtlsTransport=this.transceivers[0].dtlsTransport;}else{var transports=this._createIceAndDtlsTransports();transceiver.iceTransport=transports.iceTransport;transceiver.dtlsTransport=transports.dtlsTransport;} -this.transceivers.push(transceiver);return transceiver;};RTCPeerConnection.prototype.addTrack=function(track,stream){var alreadyExists=this.transceivers.find(function(s){return s.track===track;});if(alreadyExists){throw makeError('InvalidAccessError','Track already exists.');} -if(this.signalingState==='closed'){throw makeError('InvalidStateError','Attempted to call addTrack on a closed peerconnection.');} -var transceiver;for(var i=0;i=15025){stream.getTracks().forEach(function(track){pc.addTrack(track,stream);});}else{var clonedStream=stream.clone();stream.getTracks().forEach(function(track,idx){var clonedTrack=clonedStream.getTracks()[idx];track.addEventListener('enabled',function(event){clonedTrack.enabled=event.enabled;});});clonedStream.getTracks().forEach(function(track){pc.addTrack(track,clonedStream);});}};RTCPeerConnection.prototype.removeTrack=function(sender){if(!(sender instanceof window.RTCRtpSender)){throw new TypeError('Argument 1 of RTCPeerConnection.removeTrack '+'does not implement interface RTCRtpSender.');} -var transceiver=this.transceivers.find(function(t){return t.rtpSender===sender;});if(!transceiver){throw makeError('InvalidAccessError','Sender was not created by this connection.');} -var stream=transceiver.stream;transceiver.rtpSender.stop();transceiver.rtpSender=null;transceiver.track=null;transceiver.stream=null;var localStreams=this.transceivers.map(function(t){return t.stream;});if(localStreams.indexOf(stream)===-1&&this.localStreams.indexOf(stream)>-1){this.localStreams.splice(this.localStreams.indexOf(stream),1);} -this._maybeFireNegotiationNeeded();};RTCPeerConnection.prototype.removeStream=function(stream){var pc=this;stream.getTracks().forEach(function(track){var sender=pc.getSenders().find(function(s){return s.track===track;});if(sender){pc.removeTrack(sender);}});};RTCPeerConnection.prototype.getSenders=function(){return this.transceivers.filter(function(transceiver){return!!transceiver.rtpSender;}).map(function(transceiver){return transceiver.rtpSender;});};RTCPeerConnection.prototype.getReceivers=function(){return this.transceivers.filter(function(transceiver){return!!transceiver.rtpReceiver;}).map(function(transceiver){return transceiver.rtpReceiver;});};RTCPeerConnection.prototype._createIceGatherer=function(sdpMLineIndex,usingBundle){var pc=this;if(usingBundle&&sdpMLineIndex>0){return this.transceivers[0].iceGatherer;}else if(this._iceGatherers.length){return this._iceGatherers.shift();} -var iceGatherer=new window.RTCIceGatherer({iceServers:this._config.iceServers,gatherPolicy:this._config.iceTransportPolicy});Object.defineProperty(iceGatherer,'state',{value:'new',writable:true});this.transceivers[sdpMLineIndex].candidates=[];this.transceivers[sdpMLineIndex].bufferCandidates=function(event){var end=!event.candidate||Object.keys(event.candidate).length===0;iceGatherer.state=end?'completed':'gathering';if(pc.transceivers[sdpMLineIndex].candidates!==null){pc.transceivers[sdpMLineIndex].candidates.push(event.candidate);}};iceGatherer.addEventListener('localcandidate',this.transceivers[sdpMLineIndex].bufferCandidates);return iceGatherer;};RTCPeerConnection.prototype._gather=function(mid,sdpMLineIndex){var pc=this;var iceGatherer=this.transceivers[sdpMLineIndex].iceGatherer;if(iceGatherer.onlocalcandidate){return;} -var candidates=this.transceivers[sdpMLineIndex].candidates;this.transceivers[sdpMLineIndex].candidates=null;iceGatherer.removeEventListener('localcandidate',this.transceivers[sdpMLineIndex].bufferCandidates);iceGatherer.onlocalcandidate=function(evt){if(pc.usingBundle&&sdpMLineIndex>0){return;} -var event=new Event('icecandidate');event.candidate={sdpMid:mid,sdpMLineIndex:sdpMLineIndex};var cand=evt.candidate;var end=!cand||Object.keys(cand).length===0;if(end){if(iceGatherer.state==='new'||iceGatherer.state==='gathering'){iceGatherer.state='completed';}}else{if(iceGatherer.state==='new'){iceGatherer.state='gathering';} -cand.component=1;event.candidate.candidate=SDPUtils.writeCandidate(cand);} -var sections=SDPUtils.splitSections(pc.localDescription.sdp);if(!end){sections[event.candidate.sdpMLineIndex+1]+='a='+event.candidate.candidate+'\r\n';}else{sections[event.candidate.sdpMLineIndex+1]+='a=end-of-candidates\r\n';} -pc.localDescription.sdp=sections.join('');var complete=pc.transceivers.every(function(transceiver){return transceiver.iceGatherer&&transceiver.iceGatherer.state==='completed';});if(pc.iceGatheringState!=='gathering'){pc.iceGatheringState='gathering';pc._emitGatheringStateChange();} -if(!end){pc._dispatchEvent('icecandidate',event);} -if(complete){pc._dispatchEvent('icecandidate',new Event('icecandidate'));pc.iceGatheringState='complete';pc._emitGatheringStateChange();}};window.setTimeout(function(){candidates.forEach(function(candidate){var e=new Event('RTCIceGatherEvent');e.candidate=candidate;iceGatherer.onlocalcandidate(e);});},0);};RTCPeerConnection.prototype._createIceAndDtlsTransports=function(){var pc=this;var iceTransport=new window.RTCIceTransport(null);iceTransport.onicestatechange=function(){pc._updateConnectionState();};var dtlsTransport=new window.RTCDtlsTransport(iceTransport);dtlsTransport.ondtlsstatechange=function(){pc._updateConnectionState();};dtlsTransport.onerror=function(){Object.defineProperty(dtlsTransport,'state',{value:'failed',writable:true});pc._updateConnectionState();};return{iceTransport:iceTransport,dtlsTransport:dtlsTransport};};RTCPeerConnection.prototype._disposeIceAndDtlsTransports=function(sdpMLineIndex){var iceGatherer=this.transceivers[sdpMLineIndex].iceGatherer;if(iceGatherer){delete iceGatherer.onlocalcandidate;delete this.transceivers[sdpMLineIndex].iceGatherer;} -var iceTransport=this.transceivers[sdpMLineIndex].iceTransport;if(iceTransport){delete iceTransport.onicestatechange;delete this.transceivers[sdpMLineIndex].iceTransport;} -var dtlsTransport=this.transceivers[sdpMLineIndex].dtlsTransport;if(dtlsTransport){delete dtlsTransport.ondtlsstatechange;delete dtlsTransport.onerror;delete this.transceivers[sdpMLineIndex].dtlsTransport;}};RTCPeerConnection.prototype._transceive=function(transceiver,send,recv){var params=getCommonCapabilities(transceiver.localCapabilities,transceiver.remoteCapabilities);if(send&&transceiver.rtpSender){params.encodings=transceiver.sendEncodingParameters;params.rtcp={cname:SDPUtils.localCName,compound:transceiver.rtcpParameters.compound};if(transceiver.recvEncodingParameters.length){params.rtcp.ssrc=transceiver.recvEncodingParameters[0].ssrc;} -transceiver.rtpSender.send(params);} -if(recv&&transceiver.rtpReceiver&¶ms.codecs.length>0){if(transceiver.kind==='video'&&transceiver.recvEncodingParameters&&edgeVersion<15019){transceiver.recvEncodingParameters.forEach(function(p){delete p.rtx;});} -if(transceiver.recvEncodingParameters.length){params.encodings=transceiver.recvEncodingParameters;} -params.rtcp={compound:transceiver.rtcpParameters.compound};if(transceiver.rtcpParameters.cname){params.rtcp.cname=transceiver.rtcpParameters.cname;} -if(transceiver.sendEncodingParameters.length){params.rtcp.ssrc=transceiver.sendEncodingParameters[0].ssrc;} -transceiver.rtpReceiver.receive(params);}};RTCPeerConnection.prototype.setLocalDescription=function(description){var pc=this;if(!isActionAllowedInSignalingState('setLocalDescription',description.type,this.signalingState)||this._isClosed){return Promise.reject(makeError('InvalidStateError','Can not set local '+description.type+' in state '+pc.signalingState));} -var sections;var sessionpart;if(description.type==='offer'){sections=SDPUtils.splitSections(description.sdp);sessionpart=sections.shift();sections.forEach(function(mediaSection,sdpMLineIndex){var caps=SDPUtils.parseRtpParameters(mediaSection);pc.transceivers[sdpMLineIndex].localCapabilities=caps;});this.transceivers.forEach(function(transceiver,sdpMLineIndex){pc._gather(transceiver.mid,sdpMLineIndex);});}else if(description.type==='answer'){sections=SDPUtils.splitSections(pc.remoteDescription.sdp);sessionpart=sections.shift();var isIceLite=SDPUtils.matchPrefix(sessionpart,'a=ice-lite').length>0;sections.forEach(function(mediaSection,sdpMLineIndex){var transceiver=pc.transceivers[sdpMLineIndex];var iceGatherer=transceiver.iceGatherer;var iceTransport=transceiver.iceTransport;var dtlsTransport=transceiver.dtlsTransport;var localCapabilities=transceiver.localCapabilities;var remoteCapabilities=transceiver.remoteCapabilities;var rejected=SDPUtils.isRejected(mediaSection)&&SDPUtils.matchPrefix(mediaSection,'a=bundle-only').length===0;if(!rejected&&!transceiver.isDatachannel){var remoteIceParameters=SDPUtils.getIceParameters(mediaSection,sessionpart);var remoteDtlsParameters=SDPUtils.getDtlsParameters(mediaSection,sessionpart);if(isIceLite){remoteDtlsParameters.role='server';} -if(!pc.usingBundle||sdpMLineIndex===0){pc._gather(transceiver.mid,sdpMLineIndex);if(iceTransport.state==='new'){iceTransport.start(iceGatherer,remoteIceParameters,isIceLite?'controlling':'controlled');} -if(dtlsTransport.state==='new'){dtlsTransport.start(remoteDtlsParameters);}} -var params=getCommonCapabilities(localCapabilities,remoteCapabilities);pc._transceive(transceiver,params.codecs.length>0,false);}});} -this.localDescription={type:description.type,sdp:description.sdp};switch(description.type){case'offer':this._updateSignalingState('have-local-offer');break;case'answer':this._updateSignalingState('stable');break;default:throw new TypeError('unsupported type "'+description.type+'"');} -return Promise.resolve();};RTCPeerConnection.prototype.setRemoteDescription=function(description){var pc=this;if(!isActionAllowedInSignalingState('setRemoteDescription',description.type,this.signalingState)||this._isClosed){return Promise.reject(makeError('InvalidStateError','Can not set remote '+description.type+' in state '+pc.signalingState));} -var streams={};this.remoteStreams.forEach(function(stream){streams[stream.id]=stream;});var receiverList=[];var sections=SDPUtils.splitSections(description.sdp);var sessionpart=sections.shift();var isIceLite=SDPUtils.matchPrefix(sessionpart,'a=ice-lite').length>0;var usingBundle=SDPUtils.matchPrefix(sessionpart,'a=group:BUNDLE ').length>0;this.usingBundle=usingBundle;var iceOptions=SDPUtils.matchPrefix(sessionpart,'a=ice-options:')[0];if(iceOptions){this.canTrickleIceCandidates=iceOptions.substr(14).split(' ').indexOf('trickle')>=0;}else{this.canTrickleIceCandidates=false;} -sections.forEach(function(mediaSection,sdpMLineIndex){var lines=SDPUtils.splitLines(mediaSection);var kind=SDPUtils.getKind(mediaSection);var rejected=SDPUtils.isRejected(mediaSection)&&SDPUtils.matchPrefix(mediaSection,'a=bundle-only').length===0;var protocol=lines[0].substr(2).split(' ')[2];var direction=SDPUtils.getDirection(mediaSection,sessionpart);var remoteMsid=SDPUtils.parseMsid(mediaSection);var mid=SDPUtils.getMid(mediaSection)||SDPUtils.generateIdentifier();if(kind==='application'&&protocol==='DTLS/SCTP'){pc.transceivers[sdpMLineIndex]={mid:mid,isDatachannel:true};return;} -var transceiver;var iceGatherer;var iceTransport;var dtlsTransport;var rtpReceiver;var sendEncodingParameters;var recvEncodingParameters;var localCapabilities;var track;var remoteCapabilities=SDPUtils.parseRtpParameters(mediaSection);var remoteIceParameters;var remoteDtlsParameters;if(!rejected){remoteIceParameters=SDPUtils.getIceParameters(mediaSection,sessionpart);remoteDtlsParameters=SDPUtils.getDtlsParameters(mediaSection,sessionpart);remoteDtlsParameters.role='client';} -recvEncodingParameters=SDPUtils.parseRtpEncodingParameters(mediaSection);var rtcpParameters=SDPUtils.parseRtcpParameters(mediaSection);var isComplete=SDPUtils.matchPrefix(mediaSection,'a=end-of-candidates',sessionpart).length>0;var cands=SDPUtils.matchPrefix(mediaSection,'a=candidate:').map(function(cand){return SDPUtils.parseCandidate(cand);}).filter(function(cand){return cand.component===1;});if((description.type==='offer'||description.type==='answer')&&!rejected&&usingBundle&&sdpMLineIndex>0&&pc.transceivers[sdpMLineIndex]){pc._disposeIceAndDtlsTransports(sdpMLineIndex);pc.transceivers[sdpMLineIndex].iceGatherer=pc.transceivers[0].iceGatherer;pc.transceivers[sdpMLineIndex].iceTransport=pc.transceivers[0].iceTransport;pc.transceivers[sdpMLineIndex].dtlsTransport=pc.transceivers[0].dtlsTransport;if(pc.transceivers[sdpMLineIndex].rtpSender){pc.transceivers[sdpMLineIndex].rtpSender.setTransport(pc.transceivers[0].dtlsTransport);} -if(pc.transceivers[sdpMLineIndex].rtpReceiver){pc.transceivers[sdpMLineIndex].rtpReceiver.setTransport(pc.transceivers[0].dtlsTransport);}} -if(description.type==='offer'&&!rejected){transceiver=pc.transceivers[sdpMLineIndex]||pc._createTransceiver(kind);transceiver.mid=mid;if(!transceiver.iceGatherer){transceiver.iceGatherer=pc._createIceGatherer(sdpMLineIndex,usingBundle);} -if(cands.length&&transceiver.iceTransport.state==='new'){if(isComplete&&(!usingBundle||sdpMLineIndex===0)){transceiver.iceTransport.setRemoteCandidates(cands);}else{cands.forEach(function(candidate){maybeAddCandidate(transceiver.iceTransport,candidate);});}} -localCapabilities=window.RTCRtpReceiver.getCapabilities(kind);if(edgeVersion<15019){localCapabilities.codecs=localCapabilities.codecs.filter(function(codec){return codec.name!=='rtx';});} -sendEncodingParameters=transceiver.sendEncodingParameters||[{ssrc:(2*sdpMLineIndex+2)*1001}];var isNewTrack=false;if(direction==='sendrecv'||direction==='sendonly'){isNewTrack=!transceiver.rtpReceiver;rtpReceiver=transceiver.rtpReceiver||new window.RTCRtpReceiver(transceiver.dtlsTransport,kind);if(isNewTrack){var stream;track=rtpReceiver.track;if(remoteMsid&&remoteMsid.stream==='-'){}else if(remoteMsid){if(!streams[remoteMsid.stream]){streams[remoteMsid.stream]=new window.MediaStream();Object.defineProperty(streams[remoteMsid.stream],'id',{get:function(){return remoteMsid.stream;}});} -Object.defineProperty(track,'id',{get:function(){return remoteMsid.track;}});stream=streams[remoteMsid.stream];}else{if(!streams.default){streams.default=new window.MediaStream();} -stream=streams.default;} -if(stream){addTrackToStreamAndFireEvent(track,stream);transceiver.associatedRemoteMediaStreams.push(stream);} -receiverList.push([track,rtpReceiver,stream]);}}else if(transceiver.rtpReceiver&&transceiver.rtpReceiver.track){transceiver.associatedRemoteMediaStreams.forEach(function(s){var nativeTrack=s.getTracks().find(function(t){return t.id===transceiver.rtpReceiver.track.id;});if(nativeTrack){removeTrackFromStreamAndFireEvent(nativeTrack,s);}});transceiver.associatedRemoteMediaStreams=[];} -transceiver.localCapabilities=localCapabilities;transceiver.remoteCapabilities=remoteCapabilities;transceiver.rtpReceiver=rtpReceiver;transceiver.rtcpParameters=rtcpParameters;transceiver.sendEncodingParameters=sendEncodingParameters;transceiver.recvEncodingParameters=recvEncodingParameters;pc._transceive(pc.transceivers[sdpMLineIndex],false,isNewTrack);}else if(description.type==='answer'&&!rejected){transceiver=pc.transceivers[sdpMLineIndex];iceGatherer=transceiver.iceGatherer;iceTransport=transceiver.iceTransport;dtlsTransport=transceiver.dtlsTransport;rtpReceiver=transceiver.rtpReceiver;sendEncodingParameters=transceiver.sendEncodingParameters;localCapabilities=transceiver.localCapabilities;pc.transceivers[sdpMLineIndex].recvEncodingParameters=recvEncodingParameters;pc.transceivers[sdpMLineIndex].remoteCapabilities=remoteCapabilities;pc.transceivers[sdpMLineIndex].rtcpParameters=rtcpParameters;if(cands.length&&iceTransport.state==='new'){if((isIceLite||isComplete)&&(!usingBundle||sdpMLineIndex===0)){iceTransport.setRemoteCandidates(cands);}else{cands.forEach(function(candidate){maybeAddCandidate(transceiver.iceTransport,candidate);});}} -if(!usingBundle||sdpMLineIndex===0){if(iceTransport.state==='new'){iceTransport.start(iceGatherer,remoteIceParameters,'controlling');} -if(dtlsTransport.state==='new'){dtlsTransport.start(remoteDtlsParameters);}} -pc._transceive(transceiver,direction==='sendrecv'||direction==='recvonly',direction==='sendrecv'||direction==='sendonly');if(rtpReceiver&&(direction==='sendrecv'||direction==='sendonly')){track=rtpReceiver.track;if(remoteMsid){if(!streams[remoteMsid.stream]){streams[remoteMsid.stream]=new window.MediaStream();} -addTrackToStreamAndFireEvent(track,streams[remoteMsid.stream]);receiverList.push([track,rtpReceiver,streams[remoteMsid.stream]]);}else{if(!streams.default){streams.default=new window.MediaStream();} -addTrackToStreamAndFireEvent(track,streams.default);receiverList.push([track,rtpReceiver,streams.default]);}}else{delete transceiver.rtpReceiver;}}});if(this._dtlsRole===undefined){this._dtlsRole=description.type==='offer'?'active':'passive';} -this.remoteDescription={type:description.type,sdp:description.sdp};switch(description.type){case'offer':this._updateSignalingState('have-remote-offer');break;case'answer':this._updateSignalingState('stable');break;default:throw new TypeError('unsupported type "'+description.type+'"');} -Object.keys(streams).forEach(function(sid){var stream=streams[sid];if(stream.getTracks().length){if(pc.remoteStreams.indexOf(stream)===-1){pc.remoteStreams.push(stream);var event=new Event('addstream');event.stream=stream;window.setTimeout(function(){pc._dispatchEvent('addstream',event);});} -receiverList.forEach(function(item){var track=item[0];var receiver=item[1];if(stream.id!==item[2].id){return;} -fireAddTrack(pc,track,receiver,[stream]);});}});receiverList.forEach(function(item){if(item[2]){return;} -fireAddTrack(pc,item[0],item[1],[]);});window.setTimeout(function(){if(!(pc&&pc.transceivers)){return;} -pc.transceivers.forEach(function(transceiver){if(transceiver.iceTransport&&transceiver.iceTransport.state==='new'&&transceiver.iceTransport.getRemoteCandidates().length>0){console.warn('Timeout for addRemoteCandidate. Consider sending '+'an end-of-candidates notification');transceiver.iceTransport.addRemoteCandidate({});}});},4000);return Promise.resolve();};RTCPeerConnection.prototype.close=function(){this.transceivers.forEach(function(transceiver){if(transceiver.iceTransport){transceiver.iceTransport.stop();} -if(transceiver.dtlsTransport){transceiver.dtlsTransport.stop();} -if(transceiver.rtpSender){transceiver.rtpSender.stop();} -if(transceiver.rtpReceiver){transceiver.rtpReceiver.stop();}});this._isClosed=true;this._updateSignalingState('closed');};RTCPeerConnection.prototype._updateSignalingState=function(newState){this.signalingState=newState;var event=new Event('signalingstatechange');this._dispatchEvent('signalingstatechange',event);};RTCPeerConnection.prototype._maybeFireNegotiationNeeded=function(){var pc=this;if(this.signalingState!=='stable'||this.needNegotiation===true){return;} -this.needNegotiation=true;window.setTimeout(function(){if(pc.needNegotiation===false){return;} -pc.needNegotiation=false;var event=new Event('negotiationneeded');pc._dispatchEvent('negotiationneeded',event);},0);};RTCPeerConnection.prototype._updateConnectionState=function(){var newState;var states={'new':0,closed:0,connecting:0,checking:0,connected:0,completed:0,disconnected:0,failed:0};this.transceivers.forEach(function(transceiver){states[transceiver.iceTransport.state]++;states[transceiver.dtlsTransport.state]++;});states.connected+=states.completed;newState='new';if(states.failed>0){newState='failed';}else if(states.connecting>0||states.checking>0){newState='connecting';}else if(states.disconnected>0){newState='disconnected';}else if(states.new>0){newState='new';}else if(states.connected>0||states.completed>0){newState='connected';} -if(newState!==this.iceConnectionState){this.iceConnectionState=newState;var event=new Event('iceconnectionstatechange');this._dispatchEvent('iceconnectionstatechange',event);}};RTCPeerConnection.prototype.createOffer=function(){var pc=this;if(this._isClosed){return Promise.reject(makeError('InvalidStateError','Can not call createOffer after close'));} -var numAudioTracks=this.transceivers.filter(function(t){return t.kind==='audio';}).length;var numVideoTracks=this.transceivers.filter(function(t){return t.kind==='video';}).length;var offerOptions=arguments[0];if(offerOptions){if(offerOptions.mandatory||offerOptions.optional){throw new TypeError('Legacy mandatory/optional constraints not supported.');} -if(offerOptions.offerToReceiveAudio!==undefined){if(offerOptions.offerToReceiveAudio===true){numAudioTracks=1;}else if(offerOptions.offerToReceiveAudio===false){numAudioTracks=0;}else{numAudioTracks=offerOptions.offerToReceiveAudio;}} -if(offerOptions.offerToReceiveVideo!==undefined){if(offerOptions.offerToReceiveVideo===true){numVideoTracks=1;}else if(offerOptions.offerToReceiveVideo===false){numVideoTracks=0;}else{numVideoTracks=offerOptions.offerToReceiveVideo;}}} -this.transceivers.forEach(function(transceiver){if(transceiver.kind==='audio'){numAudioTracks--;if(numAudioTracks<0){transceiver.wantReceive=false;}}else if(transceiver.kind==='video'){numVideoTracks--;if(numVideoTracks<0){transceiver.wantReceive=false;}}});while(numAudioTracks>0||numVideoTracks>0){if(numAudioTracks>0){this._createTransceiver('audio');numAudioTracks--;} -if(numVideoTracks>0){this._createTransceiver('video');numVideoTracks--;}} -var sdp=SDPUtils.writeSessionBoilerplate(this._sdpSessionId,this._sdpSessionVersion++);this.transceivers.forEach(function(transceiver,sdpMLineIndex){var track=transceiver.track;var kind=transceiver.kind;var mid=SDPUtils.generateIdentifier();transceiver.mid=mid;if(!transceiver.iceGatherer){transceiver.iceGatherer=pc._createIceGatherer(sdpMLineIndex,pc.usingBundle);} -var localCapabilities=window.RTCRtpSender.getCapabilities(kind);if(edgeVersion<15019){localCapabilities.codecs=localCapabilities.codecs.filter(function(codec){return codec.name!=='rtx';});} -localCapabilities.codecs.forEach(function(codec){if(codec.name==='H264'&&codec.parameters['level-asymmetry-allowed']===undefined){codec.parameters['level-asymmetry-allowed']='1';}});var sendEncodingParameters=transceiver.sendEncodingParameters||[{ssrc:(2*sdpMLineIndex+1)*1001}];if(track){if(edgeVersion>=15019&&kind==='video'&&!sendEncodingParameters[0].rtx){sendEncodingParameters[0].rtx={ssrc:sendEncodingParameters[0].ssrc+1};}} -if(transceiver.wantReceive){transceiver.rtpReceiver=new window.RTCRtpReceiver(transceiver.dtlsTransport,kind);} -transceiver.localCapabilities=localCapabilities;transceiver.sendEncodingParameters=sendEncodingParameters;});if(this._config.bundlePolicy!=='max-compat'){sdp+='a=group:BUNDLE '+this.transceivers.map(function(t){return t.mid;}).join(' ')+'\r\n';} -sdp+='a=ice-options:trickle\r\n';this.transceivers.forEach(function(transceiver,sdpMLineIndex){sdp+=writeMediaSection(transceiver,transceiver.localCapabilities,'offer',transceiver.stream,pc._dtlsRole);sdp+='a=rtcp-rsize\r\n';if(transceiver.iceGatherer&&pc.iceGatheringState!=='new'&&(sdpMLineIndex===0||!pc.usingBundle)){transceiver.iceGatherer.getLocalCandidates().forEach(function(cand){cand.component=1;sdp+='a='+SDPUtils.writeCandidate(cand)+'\r\n';});if(transceiver.iceGatherer.state==='completed'){sdp+='a=end-of-candidates\r\n';}}});var desc=new window.RTCSessionDescription({type:'offer',sdp:sdp});return Promise.resolve(desc);};RTCPeerConnection.prototype.createAnswer=function(){var pc=this;if(this._isClosed){return Promise.reject(makeError('InvalidStateError','Can not call createAnswer after close'));} -var sdp=SDPUtils.writeSessionBoilerplate(this._sdpSessionId,this._sdpSessionVersion++);if(this.usingBundle){sdp+='a=group:BUNDLE '+this.transceivers.map(function(t){return t.mid;}).join(' ')+'\r\n';} -var mediaSectionsInOffer=SDPUtils.splitSections(this.remoteDescription.sdp).length-1;this.transceivers.forEach(function(transceiver,sdpMLineIndex){if(sdpMLineIndex+1>mediaSectionsInOffer){return;} -if(transceiver.isDatachannel){sdp+='m=application 0 DTLS/SCTP 5000\r\n'+'c=IN IP4 0.0.0.0\r\n'+'a=mid:'+transceiver.mid+'\r\n';return;} -if(transceiver.stream){var localTrack;if(transceiver.kind==='audio'){localTrack=transceiver.stream.getAudioTracks()[0];}else if(transceiver.kind==='video'){localTrack=transceiver.stream.getVideoTracks()[0];} -if(localTrack){if(edgeVersion>=15019&&transceiver.kind==='video'&&!transceiver.sendEncodingParameters[0].rtx){transceiver.sendEncodingParameters[0].rtx={ssrc:transceiver.sendEncodingParameters[0].ssrc+1};}}} -var commonCapabilities=getCommonCapabilities(transceiver.localCapabilities,transceiver.remoteCapabilities);var hasRtx=commonCapabilities.codecs.filter(function(c){return c.name.toLowerCase()==='rtx';}).length;if(!hasRtx&&transceiver.sendEncodingParameters[0].rtx){delete transceiver.sendEncodingParameters[0].rtx;} -sdp+=writeMediaSection(transceiver,commonCapabilities,'answer',transceiver.stream,pc._dtlsRole);if(transceiver.rtcpParameters&&transceiver.rtcpParameters.reducedSize){sdp+='a=rtcp-rsize\r\n';}});var desc=new window.RTCSessionDescription({type:'answer',sdp:sdp});return Promise.resolve(desc);};RTCPeerConnection.prototype.addIceCandidate=function(candidate){var sections;if(!candidate||candidate.candidate===''){for(var j=0;j0?SDPUtils.parseCandidate(candidate.candidate):{};if(cand.protocol==='tcp'&&(cand.port===0||cand.port===9)){return Promise.resolve();} -if(cand.component&&cand.component!==1){return Promise.resolve();} -if(sdpMLineIndex===0||(sdpMLineIndex>0&&transceiver.iceTransport!==this.transceivers[0].iceTransport)){if(!maybeAddCandidate(transceiver.iceTransport,cand)){return Promise.reject(makeError('OperationError','Can not add ICE candidate'));}} -var candidateString=candidate.candidate.trim();if(candidateString.indexOf('a=')===0){candidateString=candidateString.substr(2);} -sections=SDPUtils.splitSections(this.remoteDescription.sdp);sections[sdpMLineIndex+1]+='a='+ -(cand.type?candidateString:'end-of-candidates') -+'\r\n';this.remoteDescription.sdp=sections.join('');}else{return Promise.reject(makeError('OperationError','Can not add ICE candidate'));}} -return Promise.resolve();};RTCPeerConnection.prototype.getStats=function(){var promises=[];this.transceivers.forEach(function(transceiver){['rtpSender','rtpReceiver','iceGatherer','iceTransport','dtlsTransport'].forEach(function(method){if(transceiver[method]){promises.push(transceiver[method].getStats());}});});var fixStatsType=function(stat){return{inboundrtp:'inbound-rtp',outboundrtp:'outbound-rtp',candidatepair:'candidate-pair',localcandidate:'local-candidate',remotecandidate:'remote-candidate'}[stat.type]||stat.type;};return new Promise(function(resolve){var results=new Map();Promise.all(promises).then(function(res){res.forEach(function(result){Object.keys(result).forEach(function(id){result[id].type=fixStatsType(result[id]);results.set(id,result[id]);});});resolve(results);});});};var methods=['createOffer','createAnswer'];methods.forEach(function(method){var nativeMethod=RTCPeerConnection.prototype[method];RTCPeerConnection.prototype[method]=function(){var args=arguments;if(typeof args[0]==='function'||typeof args[1]==='function'){return nativeMethod.apply(this,[arguments[2]]).then(function(description){if(typeof args[0]==='function'){args[0].apply(null,[description]);}},function(error){if(typeof args[1]==='function'){args[1].apply(null,[error]);}});} -return nativeMethod.apply(this,arguments);};});methods=['setLocalDescription','setRemoteDescription','addIceCandidate'];methods.forEach(function(method){var nativeMethod=RTCPeerConnection.prototype[method];RTCPeerConnection.prototype[method]=function(){var args=arguments;if(typeof args[1]==='function'||typeof args[2]==='function'){return nativeMethod.apply(this,arguments).then(function(){if(typeof args[1]==='function'){args[1].apply(null);}},function(error){if(typeof args[2]==='function'){args[2].apply(null,[error]);}});} -return nativeMethod.apply(this,arguments);};});['getStats'].forEach(function(method){var nativeMethod=RTCPeerConnection.prototype[method];RTCPeerConnection.prototype[method]=function(){var args=arguments;if(typeof args[1]==='function'){return nativeMethod.apply(this,arguments).then(function(){if(typeof args[1]==='function'){args[1].apply(null);}});} -return nativeMethod.apply(this,arguments);};});return RTCPeerConnection;};},{"sdp":2}],2:[function(require,module,exports){'use strict';var SDPUtils={};SDPUtils.generateIdentifier=function(){return Math.random().toString(36).substr(2,10);};SDPUtils.localCName=SDPUtils.generateIdentifier();SDPUtils.splitLines=function(blob){return blob.trim().split('\n').map(function(line){return line.trim();});};SDPUtils.splitSections=function(blob){var parts=blob.split('\nm=');return parts.map(function(part,index){return(index>0?'m='+part:part).trim()+'\r\n';});};SDPUtils.matchPrefix=function(blob,prefix){return SDPUtils.splitLines(blob).filter(function(line){return line.indexOf(prefix)===0;});};SDPUtils.parseCandidate=function(line){var parts;if(line.indexOf('a=candidate:')===0){parts=line.substring(12).split(' ');}else{parts=line.substring(10).split(' ');} -var candidate={foundation:parts[0],component:parseInt(parts[1],10),protocol:parts[2].toLowerCase(),priority:parseInt(parts[3],10),ip:parts[4],port:parseInt(parts[5],10),type:parts[7]};for(var i=8;i0?parts[0].split('/')[1]:'sendrecv',uri:parts[1]};};SDPUtils.writeExtmap=function(headerExtension){return'a=extmap:'+(headerExtension.id||headerExtension.preferredId)+ -(headerExtension.direction&&headerExtension.direction!=='sendrecv'?'/'+headerExtension.direction:'')+' '+headerExtension.uri+'\r\n';};SDPUtils.parseFmtp=function(line){var parsed={};var kv;var parts=line.substr(line.indexOf(' ')+1).split(';');for(var j=0;j-1){parts.attribute=line.substr(sp+1,colon-sp-1);parts.value=line.substr(colon+1);}else{parts.attribute=line.substr(sp+1);} -return parts;};SDPUtils.getMid=function(mediaSection){var mid=SDPUtils.matchPrefix(mediaSection,'a=mid:')[0];if(mid){return mid.substr(6);}} -SDPUtils.parseFingerprint=function(line){var parts=line.substr(14).split(' ');return{algorithm:parts[0].toLowerCase(),value:parts[1]};};SDPUtils.getDtlsParameters=function(mediaSection,sessionpart){var lines=SDPUtils.matchPrefix(mediaSection+sessionpart,'a=fingerprint:');return{role:'auto',fingerprints:lines.map(SDPUtils.parseFingerprint)};};SDPUtils.writeDtlsParameters=function(params,setupType){var sdp='a=setup:'+setupType+'\r\n';params.fingerprints.forEach(function(fp){sdp+='a=fingerprint:'+fp.algorithm+' '+fp.value+'\r\n';});return sdp;};SDPUtils.getIceParameters=function(mediaSection,sessionpart){var lines=SDPUtils.splitLines(mediaSection);lines=lines.concat(SDPUtils.splitLines(sessionpart));var iceParameters={usernameFragment:lines.filter(function(line){return line.indexOf('a=ice-ufrag:')===0;})[0].substr(12),password:lines.filter(function(line){return line.indexOf('a=ice-pwd:')===0;})[0].substr(10)};return iceParameters;};SDPUtils.writeIceParameters=function(params){return'a=ice-ufrag:'+params.usernameFragment+'\r\n'+'a=ice-pwd:'+params.password+'\r\n';};SDPUtils.parseRtpParameters=function(mediaSection){var description={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]};var lines=SDPUtils.splitLines(mediaSection);var mline=lines[0].split(' ');for(var i=3;i0?'9':'0';sdp+=' UDP/TLS/RTP/SAVPF ';sdp+=caps.codecs.map(function(codec){if(codec.preferredPayloadType!==undefined){return codec.preferredPayloadType;} -return codec.payloadType;}).join(' ')+'\r\n';sdp+='c=IN IP4 0.0.0.0\r\n';sdp+='a=rtcp:9 IN IP4 0.0.0.0\r\n';caps.codecs.forEach(function(codec){sdp+=SDPUtils.writeRtpMap(codec);sdp+=SDPUtils.writeFmtp(codec);sdp+=SDPUtils.writeRtcpFb(codec);});var maxptime=0;caps.codecs.forEach(function(codec){if(codec.maxptime>maxptime){maxptime=codec.maxptime;}});if(maxptime>0){sdp+='a=maxptime:'+maxptime+'\r\n';} -sdp+='a=rtcp-mux\r\n';caps.headerExtensions.forEach(function(extension){sdp+=SDPUtils.writeExtmap(extension);});return sdp;};SDPUtils.parseRtpEncodingParameters=function(mediaSection){var encodingParameters=[];var description=SDPUtils.parseRtpParameters(mediaSection);var hasRed=description.fecMechanisms.indexOf('RED')!==-1;var hasUlpfec=description.fecMechanisms.indexOf('ULPFEC')!==-1;var ssrcs=SDPUtils.matchPrefix(mediaSection,'a=ssrc:').map(function(line){return SDPUtils.parseSsrcMedia(line);}).filter(function(parts){return parts.attribute==='cname';});var primarySsrc=ssrcs.length>0&&ssrcs[0].ssrc;var secondarySsrc;var flows=SDPUtils.matchPrefix(mediaSection,'a=ssrc-group:FID').map(function(line){var parts=line.split(' ');parts.shift();return parts.map(function(part){return parseInt(part,10);});});if(flows.length>0&&flows[0].length>1&&flows[0][0]===primarySsrc){secondarySsrc=flows[0][1];} -description.codecs.forEach(function(codec){if(codec.name.toUpperCase()==='RTX'&&codec.parameters.apt){var encParam={ssrc:primarySsrc,codecPayloadType:parseInt(codec.parameters.apt,10),rtx:{ssrc:secondarySsrc}};encodingParameters.push(encParam);if(hasRed){encParam=JSON.parse(JSON.stringify(encParam));encParam.fec={ssrc:secondarySsrc,mechanism:hasUlpfec?'red+ulpfec':'red'};encodingParameters.push(encParam);}}});if(encodingParameters.length===0&&primarySsrc){encodingParameters.push({ssrc:primarySsrc});} -var bandwidth=SDPUtils.matchPrefix(mediaSection,'b=');if(bandwidth.length){if(bandwidth[0].indexOf('b=TIAS:')===0){bandwidth=parseInt(bandwidth[0].substr(7),10);}else if(bandwidth[0].indexOf('b=AS:')===0){bandwidth=parseInt(bandwidth[0].substr(5),10)*1000*0.95 --(50*40*8);}else{bandwidth=undefined;} -encodingParameters.forEach(function(params){params.maxBitrate=bandwidth;});} -return encodingParameters;};SDPUtils.parseRtcpParameters=function(mediaSection){var rtcpParameters={};var cname;var remoteSsrc=SDPUtils.matchPrefix(mediaSection,'a=ssrc:').map(function(line){return SDPUtils.parseSsrcMedia(line);}).filter(function(obj){return obj.attribute==='cname';})[0];if(remoteSsrc){rtcpParameters.cname=remoteSsrc.value;rtcpParameters.ssrc=remoteSsrc.ssrc;} -var rsize=SDPUtils.matchPrefix(mediaSection,'a=rtcp-rsize');rtcpParameters.reducedSize=rsize.length>0;rtcpParameters.compound=rsize.length===0;var mux=SDPUtils.matchPrefix(mediaSection,'a=rtcp-mux');rtcpParameters.mux=mux.length>0;return rtcpParameters;};SDPUtils.parseMsid=function(mediaSection){var parts;var spec=SDPUtils.matchPrefix(mediaSection,'a=msid:');if(spec.length===1){parts=spec[0].substr(7).split(' ');return{stream:parts[0],track:parts[1]};} -var planB=SDPUtils.matchPrefix(mediaSection,'a=ssrc:').map(function(line){return SDPUtils.parseSsrcMedia(line);}).filter(function(parts){return parts.attribute==='msid';});if(planB.length>0){parts=planB[0].value.split(' ');return{stream:parts[0],track:parts[1]};}};SDPUtils.generateSessionId=function(){return Math.random().toString().substr(2,21);};SDPUtils.writeSessionBoilerplate=function(sessId,sessVer){var sessionId;var version=sessVer!==undefined?sessVer:2;if(sessId){sessionId=sessId;}else{sessionId=SDPUtils.generateSessionId();} -return'v=0\r\n'+'o=thisisadapterortc '+sessionId+' '+version+' IN IP4 127.0.0.1\r\n'+'s=-\r\n'+'t=0 0\r\n';};SDPUtils.writeMediaSection=function(transceiver,caps,type,stream){var sdp=SDPUtils.writeRtpDescription(transceiver.kind,caps);sdp+=SDPUtils.writeIceParameters(transceiver.iceGatherer.getLocalParameters());sdp+=SDPUtils.writeDtlsParameters(transceiver.dtlsTransport.getLocalParameters(),type==='offer'?'actpass':'active');sdp+='a=mid:'+transceiver.mid+'\r\n';if(transceiver.direction){sdp+='a='+transceiver.direction+'\r\n';}else if(transceiver.rtpSender&&transceiver.rtpReceiver){sdp+='a=sendrecv\r\n';}else if(transceiver.rtpSender){sdp+='a=sendonly\r\n';}else if(transceiver.rtpReceiver){sdp+='a=recvonly\r\n';}else{sdp+='a=inactive\r\n';} -if(transceiver.rtpSender){var msid='msid:'+stream.id+' '+ -transceiver.rtpSender.track.id+'\r\n';sdp+='a='+msid;sdp+='a=ssrc:'+transceiver.sendEncodingParameters[0].ssrc+' '+msid;if(transceiver.sendEncodingParameters[0].rtx){sdp+='a=ssrc:'+transceiver.sendEncodingParameters[0].rtx.ssrc+' '+msid;sdp+='a=ssrc-group:FID '+ -transceiver.sendEncodingParameters[0].ssrc+' '+ -transceiver.sendEncodingParameters[0].rtx.ssrc+'\r\n';}} -sdp+='a=ssrc:'+transceiver.sendEncodingParameters[0].ssrc+' cname:'+SDPUtils.localCName+'\r\n';if(transceiver.rtpSender&&transceiver.sendEncodingParameters[0].rtx){sdp+='a=ssrc:'+transceiver.sendEncodingParameters[0].rtx.ssrc+' cname:'+SDPUtils.localCName+'\r\n';} -return sdp;};SDPUtils.getDirection=function(mediaSection,sessionpart){var lines=SDPUtils.splitLines(mediaSection);for(var i=0;i=65){return this.shimAddTrackRemoveTrackWithNative(window);} -var origGetLocalStreams=window.RTCPeerConnection.prototype.getLocalStreams;window.RTCPeerConnection.prototype.getLocalStreams=function(){var pc=this;var nativeStreams=origGetLocalStreams.apply(this);pc._reverseStreams=pc._reverseStreams||{};return nativeStreams.map(function(stream){return pc._reverseStreams[stream.id];});};var origAddStream=window.RTCPeerConnection.prototype.addStream;window.RTCPeerConnection.prototype.addStream=function(stream){var pc=this;pc._streams=pc._streams||{};pc._reverseStreams=pc._reverseStreams||{};stream.getTracks().forEach(function(track){var alreadyExists=pc.getSenders().find(function(s){return s.track===track;});if(alreadyExists){throw new DOMException('Track already exists.','InvalidAccessError');}});if(!pc._reverseStreams[stream.id]){var newStream=new window.MediaStream(stream.getTracks());pc._streams[stream.id]=newStream;pc._reverseStreams[newStream.id]=stream;stream=newStream;} -origAddStream.apply(pc,[stream]);};var origRemoveStream=window.RTCPeerConnection.prototype.removeStream;window.RTCPeerConnection.prototype.removeStream=function(stream){var pc=this;pc._streams=pc._streams||{};pc._reverseStreams=pc._reverseStreams||{};origRemoveStream.apply(pc,[(pc._streams[stream.id]||stream)]);delete pc._reverseStreams[(pc._streams[stream.id]?pc._streams[stream.id].id:stream.id)];delete pc._streams[stream.id];};window.RTCPeerConnection.prototype.addTrack=function(track,stream){var pc=this;if(pc.signalingState==='closed'){throw new DOMException('The RTCPeerConnection\'s signalingState is \'closed\'.','InvalidStateError');} -var streams=[].slice.call(arguments,1);if(streams.length!==1||!streams[0].getTracks().find(function(t){return t===track;})){throw new DOMException('The adapter.js addTrack polyfill only supports a single '+' stream which is associated with the specified track.','NotSupportedError');} -var alreadyExists=pc.getSenders().find(function(s){return s.track===track;});if(alreadyExists){throw new DOMException('Track already exists.','InvalidAccessError');} -pc._streams=pc._streams||{};pc._reverseStreams=pc._reverseStreams||{};var oldStream=pc._streams[stream.id];if(oldStream){oldStream.addTrack(track);Promise.resolve().then(function(){pc.dispatchEvent(new Event('negotiationneeded'));});}else{var newStream=new window.MediaStream([track]);pc._streams[stream.id]=newStream;pc._reverseStreams[newStream.id]=stream;pc.addStream(newStream);} -return pc.getSenders().find(function(s){return s.track===track;});};function replaceInternalStreamId(pc,description){var sdp=description.sdp;Object.keys(pc._reverseStreams||[]).forEach(function(internalId){var externalStream=pc._reverseStreams[internalId];var internalStream=pc._streams[externalStream.id];sdp=sdp.replace(new RegExp(internalStream.id,'g'),externalStream.id);});return new RTCSessionDescription({type:description.type,sdp:sdp});} -function replaceExternalStreamId(pc,description){var sdp=description.sdp;Object.keys(pc._reverseStreams||[]).forEach(function(internalId){var externalStream=pc._reverseStreams[internalId];var internalStream=pc._streams[externalStream.id];sdp=sdp.replace(new RegExp(externalStream.id,'g'),internalStream.id);});return new RTCSessionDescription({type:description.type,sdp:sdp});} -['createOffer','createAnswer'].forEach(function(method){var nativeMethod=window.RTCPeerConnection.prototype[method];window.RTCPeerConnection.prototype[method]=function(){var pc=this;var args=arguments;var isLegacyCall=arguments.length&&typeof arguments[0]==='function';if(isLegacyCall){return nativeMethod.apply(pc,[function(description){var desc=replaceInternalStreamId(pc,description);args[0].apply(null,[desc]);},function(err){if(args[1]){args[1].apply(null,err);}},arguments[2]]);} -return nativeMethod.apply(pc,arguments).then(function(description){return replaceInternalStreamId(pc,description);});};});var origSetLocalDescription=window.RTCPeerConnection.prototype.setLocalDescription;window.RTCPeerConnection.prototype.setLocalDescription=function(){var pc=this;if(!arguments.length||!arguments[0].type){return origSetLocalDescription.apply(pc,arguments);} -arguments[0]=replaceExternalStreamId(pc,arguments[0]);return origSetLocalDescription.apply(pc,arguments);};var origLocalDescription=Object.getOwnPropertyDescriptor(window.RTCPeerConnection.prototype,'localDescription');Object.defineProperty(window.RTCPeerConnection.prototype,'localDescription',{get:function(){var pc=this;var description=origLocalDescription.get.apply(this);if(description.type===''){return description;} -return replaceInternalStreamId(pc,description);}});window.RTCPeerConnection.prototype.removeTrack=function(sender){var pc=this;if(pc.signalingState==='closed'){throw new DOMException('The RTCPeerConnection\'s signalingState is \'closed\'.','InvalidStateError');} -if(!sender._pc){throw new DOMException('Argument 1 of RTCPeerConnection.removeTrack '+'does not implement interface RTCRtpSender.','TypeError');} -var isLocal=sender._pc===pc;if(!isLocal){throw new DOMException('Sender was not created by this connection.','InvalidAccessError');} -pc._streams=pc._streams||{};var stream;Object.keys(pc._streams).forEach(function(streamid){var hasTrack=pc._streams[streamid].getTracks().find(function(track){return sender.track===track;});if(hasTrack){stream=pc._streams[streamid];}});if(stream){if(stream.getTracks().length===1){pc.removeStream(pc._reverseStreams[stream.id]);}else{stream.removeTrack(sender.track);} -pc.dispatchEvent(new Event('negotiationneeded'));}};},shimPeerConnection:function(window){var browserDetails=utils.detectBrowser(window);if(!window.RTCPeerConnection&&window.webkitRTCPeerConnection){window.RTCPeerConnection=function(pcConfig,pcConstraints){logging('PeerConnection');if(pcConfig&&pcConfig.iceTransportPolicy){pcConfig.iceTransports=pcConfig.iceTransportPolicy;} -return new window.webkitRTCPeerConnection(pcConfig,pcConstraints);};window.RTCPeerConnection.prototype=window.webkitRTCPeerConnection.prototype;if(window.webkitRTCPeerConnection.generateCertificate){Object.defineProperty(window.RTCPeerConnection,'generateCertificate',{get:function(){return window.webkitRTCPeerConnection.generateCertificate;}});}}else{var OrigPeerConnection=window.RTCPeerConnection;window.RTCPeerConnection=function(pcConfig,pcConstraints){if(pcConfig&&pcConfig.iceServers){var newIceServers=[];for(var i=0;i0&&typeof selector==='function'){return origGetStats.apply(this,arguments);} -if(origGetStats.length===0&&(arguments.length===0||typeof arguments[0]!=='function')){return origGetStats.apply(this,[]);} -var fixChromeStats_=function(response){var standardReport={};var reports=response.result();reports.forEach(function(report){var standardStats={id:report.id,timestamp:report.timestamp,type:{localcandidate:'local-candidate',remotecandidate:'remote-candidate'}[report.type]||report.type};report.names().forEach(function(name){standardStats[name]=report.stat(name);});standardReport[standardStats.id]=standardStats;});return standardReport;};var makeMapStats=function(stats){return new Map(Object.keys(stats).map(function(key){return[key,stats[key]];}));};if(arguments.length>=2){var successCallbackWrapper_=function(response){args[1](makeMapStats(fixChromeStats_(response)));};return origGetStats.apply(this,[successCallbackWrapper_,arguments[0]]);} -return new Promise(function(resolve,reject){origGetStats.apply(pc,[function(response){resolve(makeMapStats(fixChromeStats_(response)));},reject]);}).then(successCallback,errorCallback);};if(browserDetails.version<51){['setLocalDescription','setRemoteDescription','addIceCandidate'].forEach(function(method){var nativeMethod=window.RTCPeerConnection.prototype[method];window.RTCPeerConnection.prototype[method]=function(){var args=arguments;var pc=this;var promise=new Promise(function(resolve,reject){nativeMethod.apply(pc,[args[0],resolve,reject]);});if(args.length<2){return promise;} -return promise.then(function(){args[1].apply(null,[]);},function(err){if(args.length>=3){args[2].apply(null,[err]);}});};});} -if(browserDetails.version<52){['createOffer','createAnswer'].forEach(function(method){var nativeMethod=window.RTCPeerConnection.prototype[method];window.RTCPeerConnection.prototype[method]=function(){var pc=this;if(arguments.length<1||(arguments.length===1&&typeof arguments[0]==='object')){var opts=arguments.length===1?arguments[0]:undefined;return new Promise(function(resolve,reject){nativeMethod.apply(pc,[resolve,reject,opts]);});} -return nativeMethod.apply(this,arguments);};});} -['setLocalDescription','setRemoteDescription','addIceCandidate'].forEach(function(method){var nativeMethod=window.RTCPeerConnection.prototype[method];window.RTCPeerConnection.prototype[method]=function(){arguments[0]=new((method==='addIceCandidate')?window.RTCIceCandidate:window.RTCSessionDescription)(arguments[0]);return nativeMethod.apply(this,arguments);};});var nativeAddIceCandidate=window.RTCPeerConnection.prototype.addIceCandidate;window.RTCPeerConnection.prototype.addIceCandidate=function(){if(!arguments[0]){if(arguments[1]){arguments[1].apply(null);} -return Promise.resolve();} -return nativeAddIceCandidate.apply(this,arguments);};}};},{"../utils.js":13,"./getusermedia":6}],6:[function(require,module,exports){'use strict';var utils=require('../utils.js');var logging=utils.log;module.exports=function(window){var browserDetails=utils.detectBrowser(window);var navigator=window&&window.navigator;var constraintsToChrome_=function(c){if(typeof c!=='object'||c.mandatory||c.optional){return c;} -var cc={};Object.keys(c).forEach(function(key){if(key==='require'||key==='advanced'||key==='mediaSource'){return;} -var r=(typeof c[key]==='object')?c[key]:{ideal:c[key]};if(r.exact!==undefined&&typeof r.exact==='number'){r.min=r.max=r.exact;} -var oldname_=function(prefix,name){if(prefix){return prefix+name.charAt(0).toUpperCase()+name.slice(1);} -return(name==='deviceId')?'sourceId':name;};if(r.ideal!==undefined){cc.optional=cc.optional||[];var oc={};if(typeof r.ideal==='number'){oc[oldname_('min',key)]=r.ideal;cc.optional.push(oc);oc={};oc[oldname_('max',key)]=r.ideal;cc.optional.push(oc);}else{oc[oldname_('',key)]=r.ideal;cc.optional.push(oc);}} -if(r.exact!==undefined&&typeof r.exact!=='number'){cc.mandatory=cc.mandatory||{};cc.mandatory[oldname_('',key)]=r.exact;}else{['min','max'].forEach(function(mix){if(r[mix]!==undefined){cc.mandatory=cc.mandatory||{};cc.mandatory[oldname_(mix,key)]=r[mix];}});}});if(c.advanced){cc.optional=(cc.optional||[]).concat(c.advanced);} -return cc;};var shimConstraints_=function(constraints,func){if(browserDetails.version>=61){return func(constraints);} -constraints=JSON.parse(JSON.stringify(constraints));if(constraints&&typeof constraints.audio==='object'){var remap=function(obj,a,b){if(a in obj&&!(b in obj)){obj[b]=obj[a];delete obj[a];}};constraints=JSON.parse(JSON.stringify(constraints));remap(constraints.audio,'autoGainControl','googAutoGainControl');remap(constraints.audio,'noiseSuppression','googNoiseSuppression');constraints.audio=constraintsToChrome_(constraints.audio);} -if(constraints&&typeof constraints.video==='object'){var face=constraints.video.facingMode;face=face&&((typeof face==='object')?face:{ideal:face});var getSupportedFacingModeLies=browserDetails.version<66;if((face&&(face.exact==='user'||face.exact==='environment'||face.ideal==='user'||face.ideal==='environment'))&&!(navigator.mediaDevices.getSupportedConstraints&&navigator.mediaDevices.getSupportedConstraints().facingMode&&!getSupportedFacingModeLies)){delete constraints.video.facingMode;var matches;if(face.exact==='environment'||face.ideal==='environment'){matches=['back','rear'];}else if(face.exact==='user'||face.ideal==='user'){matches=['front'];} -if(matches){return navigator.mediaDevices.enumerateDevices().then(function(devices){devices=devices.filter(function(d){return d.kind==='videoinput';});var dev=devices.find(function(d){return matches.some(function(match){return d.label.toLowerCase().indexOf(match)!==-1;});});if(!dev&&devices.length&&matches.indexOf('back')!==-1){dev=devices[devices.length-1];} -if(dev){constraints.video.deviceId=face.exact?{exact:dev.deviceId}:{ideal:dev.deviceId};} -constraints.video=constraintsToChrome_(constraints.video);logging('chrome: '+JSON.stringify(constraints));return func(constraints);});}} -constraints.video=constraintsToChrome_(constraints.video);} -logging('chrome: '+JSON.stringify(constraints));return func(constraints);};var shimError_=function(e){return{name:{PermissionDeniedError:'NotAllowedError',InvalidStateError:'NotReadableError',DevicesNotFoundError:'NotFoundError',ConstraintNotSatisfiedError:'OverconstrainedError',TrackStartError:'NotReadableError',MediaDeviceFailedDueToShutdown:'NotReadableError',MediaDeviceKillSwitchOn:'NotReadableError'}[e.name]||e.name,message:e.message,constraint:e.constraintName,toString:function(){return this.name+(this.message&&': ')+this.message;}};};var getUserMedia_=function(constraints,onSuccess,onError){shimConstraints_(constraints,function(c){navigator.webkitGetUserMedia(c,onSuccess,function(e){if(onError){onError(shimError_(e));}});});};navigator.getUserMedia=getUserMedia_;var getUserMediaPromise_=function(constraints){return new Promise(function(resolve,reject){navigator.getUserMedia(constraints,resolve,reject);});};if(!navigator.mediaDevices){navigator.mediaDevices={getUserMedia:getUserMediaPromise_,enumerateDevices:function(){return new Promise(function(resolve){var kinds={audio:'audioinput',video:'videoinput'};return window.MediaStreamTrack.getSources(function(devices){resolve(devices.map(function(device){return{label:device.label,kind:kinds[device.kind],deviceId:device.id,groupId:''};}));});});},getSupportedConstraints:function(){return{deviceId:true,echoCancellation:true,facingMode:true,frameRate:true,height:true,width:true};}};} -if(!navigator.mediaDevices.getUserMedia){navigator.mediaDevices.getUserMedia=function(constraints){return getUserMediaPromise_(constraints);};}else{var origGetUserMedia=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(cs){return shimConstraints_(cs,function(c){return origGetUserMedia(c).then(function(stream){if(c.audio&&!stream.getAudioTracks().length||c.video&&!stream.getVideoTracks().length){stream.getTracks().forEach(function(track){track.stop();});throw new DOMException('','NotFoundError');} -return stream;},function(e){return Promise.reject(shimError_(e));});});};} -if(typeof navigator.mediaDevices.addEventListener==='undefined'){navigator.mediaDevices.addEventListener=function(){logging('Dummy mediaDevices.addEventListener called.');};} -if(typeof navigator.mediaDevices.removeEventListener==='undefined'){navigator.mediaDevices.removeEventListener=function(){logging('Dummy mediaDevices.removeEventListener called.');};}};},{"../utils.js":13}],7:[function(require,module,exports){'use strict';var SDPUtils=require('sdp');var utils=require('./utils');module.exports={shimRTCIceCandidate:function(window){if(window.RTCIceCandidate&&'foundation'in -window.RTCIceCandidate.prototype){return;} -var NativeRTCIceCandidate=window.RTCIceCandidate;window.RTCIceCandidate=function(args){if(typeof args==='object'&&args.candidate&&args.candidate.indexOf('a=')===0){args=JSON.parse(JSON.stringify(args));args.candidate=args.candidate.substr(2);} -var nativeCandidate=new NativeRTCIceCandidate(args);var parsedCandidate=SDPUtils.parseCandidate(args.candidate);var augmentedCandidate=Object.assign(nativeCandidate,parsedCandidate);augmentedCandidate.toJSON=function(){return{candidate:augmentedCandidate.candidate,sdpMid:augmentedCandidate.sdpMid,sdpMLineIndex:augmentedCandidate.sdpMLineIndex,usernameFragment:augmentedCandidate.usernameFragment,};};return augmentedCandidate;};utils.wrapPeerConnectionEvent(window,'icecandidate',function(e){if(e.candidate){Object.defineProperty(e,'candidate',{value:new window.RTCIceCandidate(e.candidate),writable:'false'});} -return e;});},shimCreateObjectURL:function(window){var URL=window&&window.URL;if(!(typeof window==='object'&&window.HTMLMediaElement&&'srcObject'in window.HTMLMediaElement.prototype&&URL.createObjectURL&&URL.revokeObjectURL)){return undefined;} -var nativeCreateObjectURL=URL.createObjectURL.bind(URL);var nativeRevokeObjectURL=URL.revokeObjectURL.bind(URL);var streams=new Map(),newId=0;URL.createObjectURL=function(stream){if('getTracks'in stream){var url='polyblob:'+(++newId);streams.set(url,stream);utils.deprecated('URL.createObjectURL(stream)','elem.srcObject = stream');return url;} -return nativeCreateObjectURL(stream);};URL.revokeObjectURL=function(url){nativeRevokeObjectURL(url);streams.delete(url);};var dsc=Object.getOwnPropertyDescriptor(window.HTMLMediaElement.prototype,'src');Object.defineProperty(window.HTMLMediaElement.prototype,'src',{get:function(){return dsc.get.apply(this);},set:function(url){this.srcObject=streams.get(url)||null;return dsc.set.apply(this,[url]);}});var nativeSetAttribute=window.HTMLMediaElement.prototype.setAttribute;window.HTMLMediaElement.prototype.setAttribute=function(){if(arguments.length===2&&(''+arguments[0]).toLowerCase()==='src'){this.srcObject=streams.get(arguments[1])||null;} -return nativeSetAttribute.apply(this,arguments);};},shimMaxMessageSize:function(window){if(window.RTCSctpTransport||!window.RTCPeerConnection){return;} -var browserDetails=utils.detectBrowser(window);if(!('sctp'in window.RTCPeerConnection.prototype)){Object.defineProperty(window.RTCPeerConnection.prototype,'sctp',{get:function(){return typeof this._sctp==='undefined'?null:this._sctp;}});} -var sctpInDescription=function(description){var sections=SDPUtils.splitSections(description.sdp);sections.shift();return sections.some(function(mediaSection){var mLine=SDPUtils.parseMLine(mediaSection);return mLine&&mLine.kind==='application'&&mLine.protocol.indexOf('SCTP')!==-1;});};var getRemoteFirefoxVersion=function(description){var match=description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(match===null||match.length<2){return-1;} -var version=parseInt(match[1],10);return version!==version?-1:version;};var getCanSendMaxMessageSize=function(remoteIsFirefox){var canSendMaxMessageSize=65536;if(browserDetails.browser==='firefox'){if(browserDetails.version<57){if(remoteIsFirefox===-1){canSendMaxMessageSize=16384;}else{canSendMaxMessageSize=2147483637;}}else{canSendMaxMessageSize=browserDetails.version===57?65535:65536;}} -return canSendMaxMessageSize;};var getMaxMessageSize=function(description,remoteIsFirefox){var maxMessageSize=65536;if(browserDetails.browser==='firefox'&&browserDetails.version===57){maxMessageSize=65535;} -var match=SDPUtils.matchPrefix(description.sdp,'a=max-message-size:');if(match.length>0){maxMessageSize=parseInt(match[0].substr(19),10);}else if(browserDetails.browser==='firefox'&&remoteIsFirefox!==-1){maxMessageSize=2147483637;} -return maxMessageSize;};var origSetRemoteDescription=window.RTCPeerConnection.prototype.setRemoteDescription;window.RTCPeerConnection.prototype.setRemoteDescription=function(){var pc=this;pc._sctp=null;if(sctpInDescription(arguments[0])){var isFirefox=getRemoteFirefoxVersion(arguments[0]);var canSendMMS=getCanSendMaxMessageSize(isFirefox);var remoteMMS=getMaxMessageSize(arguments[0],isFirefox);var maxMessageSize;if(canSendMMS===0&&remoteMMS===0){maxMessageSize=Number.POSITIVE_INFINITY;}else if(canSendMMS===0||remoteMMS===0){maxMessageSize=Math.max(canSendMMS,remoteMMS);}else{maxMessageSize=Math.min(canSendMMS,remoteMMS);} -var sctp={};Object.defineProperty(sctp,'maxMessageSize',{get:function(){return maxMessageSize;}});pc._sctp=sctp;} -return origSetRemoteDescription.apply(pc,arguments);};},shimSendThrowTypeError:function(window){var origCreateDataChannel=window.RTCPeerConnection.prototype.createDataChannel;window.RTCPeerConnection.prototype.createDataChannel=function(){var pc=this;var dataChannel=origCreateDataChannel.apply(pc,arguments);var origDataChannelSend=dataChannel.send;dataChannel.send=function(){var dc=this;var data=arguments[0];var length=data.length||data.size||data.byteLength;if(length>pc.sctp.maxMessageSize){throw new DOMException('Message too large (can send a maximum of '+ -pc.sctp.maxMessageSize+' bytes)','TypeError');} -return origDataChannelSend.apply(dc,arguments);};return dataChannel;};}};},{"./utils":13,"sdp":2}],8:[function(require,module,exports){'use strict';var utils=require('../utils');var shimRTCPeerConnection=require('rtcpeerconnection-shim');module.exports={shimGetUserMedia:require('./getusermedia'),shimPeerConnection:function(window){var browserDetails=utils.detectBrowser(window);if(window.RTCIceGatherer){if(!window.RTCIceCandidate){window.RTCIceCandidate=function(args){return args;};} -if(!window.RTCSessionDescription){window.RTCSessionDescription=function(args){return args;};} -if(browserDetails.version<15025){var origMSTEnabled=Object.getOwnPropertyDescriptor(window.MediaStreamTrack.prototype,'enabled');Object.defineProperty(window.MediaStreamTrack.prototype,'enabled',{set:function(value){origMSTEnabled.set.call(this,value);var ev=new Event('enabled');ev.enabled=value;this.dispatchEvent(ev);}});}} -if(window.RTCRtpSender&&!('dtmf'in window.RTCRtpSender.prototype)){Object.defineProperty(window.RTCRtpSender.prototype,'dtmf',{get:function(){if(this._dtmf===undefined){if(this.track.kind==='audio'){this._dtmf=new window.RTCDtmfSender(this);}else if(this.track.kind==='video'){this._dtmf=null;}} -return this._dtmf;}});} -window.RTCPeerConnection=shimRTCPeerConnection(window,browserDetails.version);},shimReplaceTrack:function(window){if(window.RTCRtpSender&&!('replaceTrack'in window.RTCRtpSender.prototype)){window.RTCRtpSender.prototype.replaceTrack=window.RTCRtpSender.prototype.setTrack;}}};},{"../utils":13,"./getusermedia":9,"rtcpeerconnection-shim":1}],9:[function(require,module,exports){'use strict';module.exports=function(window){var navigator=window&&window.navigator;var shimError_=function(e){return{name:{PermissionDeniedError:'NotAllowedError'}[e.name]||e.name,message:e.message,constraint:e.constraint,toString:function(){return this.name;}};};var origGetUserMedia=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(c){return origGetUserMedia(c).catch(function(e){return Promise.reject(shimError_(e));});};};},{}],10:[function(require,module,exports){'use strict';var utils=require('../utils');module.exports={shimGetUserMedia:require('./getusermedia'),shimOnTrack:function(window){if(typeof window==='object'&&window.RTCPeerConnection&&!('ontrack'in -window.RTCPeerConnection.prototype)){Object.defineProperty(window.RTCPeerConnection.prototype,'ontrack',{get:function(){return this._ontrack;},set:function(f){if(this._ontrack){this.removeEventListener('track',this._ontrack);this.removeEventListener('addstream',this._ontrackpoly);} -this.addEventListener('track',this._ontrack=f);this.addEventListener('addstream',this._ontrackpoly=function(e){e.stream.getTracks().forEach(function(track){var event=new Event('track');event.track=track;event.receiver={track:track};event.transceiver={receiver:event.receiver};event.streams=[e.stream];this.dispatchEvent(event);}.bind(this));}.bind(this));}});} -if(typeof window==='object'&&window.RTCTrackEvent&&('receiver'in window.RTCTrackEvent.prototype)&&!('transceiver'in window.RTCTrackEvent.prototype)){Object.defineProperty(window.RTCTrackEvent.prototype,'transceiver',{get:function(){return{receiver:this.receiver};}});}},shimSourceObject:function(window){if(typeof window==='object'){if(window.HTMLMediaElement&&!('srcObject'in window.HTMLMediaElement.prototype)){Object.defineProperty(window.HTMLMediaElement.prototype,'srcObject',{get:function(){return this.mozSrcObject;},set:function(stream){this.mozSrcObject=stream;}});}}},shimPeerConnection:function(window){var browserDetails=utils.detectBrowser(window);if(typeof window!=='object'||!(window.RTCPeerConnection||window.mozRTCPeerConnection)){return;} -if(!window.RTCPeerConnection){window.RTCPeerConnection=function(pcConfig,pcConstraints){if(browserDetails.version<38){if(pcConfig&&pcConfig.iceServers){var newIceServers=[];for(var i=0;i55&&'autoGainControl'in navigator.mediaDevices.getSupportedConstraints())){var remap=function(obj,a,b){if(a in obj&&!(b in obj)){obj[b]=obj[a];delete obj[a];}};var nativeGetUserMedia=navigator.mediaDevices.getUserMedia.bind(navigator.mediaDevices);navigator.mediaDevices.getUserMedia=function(c){if(typeof c==='object'&&typeof c.audio==='object'){c=JSON.parse(JSON.stringify(c));remap(c.audio,'autoGainControl','mozAutoGainControl');remap(c.audio,'noiseSuppression','mozNoiseSuppression');} -return nativeGetUserMedia(c);};if(MediaStreamTrack&&MediaStreamTrack.prototype.getSettings){var nativeGetSettings=MediaStreamTrack.prototype.getSettings;MediaStreamTrack.prototype.getSettings=function(){var obj=nativeGetSettings.apply(this,arguments);remap(obj,'mozAutoGainControl','autoGainControl');remap(obj,'mozNoiseSuppression','noiseSuppression');return obj;};} -if(MediaStreamTrack&&MediaStreamTrack.prototype.applyConstraints){var nativeApplyConstraints=MediaStreamTrack.prototype.applyConstraints;MediaStreamTrack.prototype.applyConstraints=function(c){if(this.kind==='audio'&&typeof c==='object'){c=JSON.parse(JSON.stringify(c));remap(c,'autoGainControl','mozAutoGainControl');remap(c,'noiseSuppression','mozNoiseSuppression');} -return nativeApplyConstraints.apply(this,[c]);};}} -navigator.getUserMedia=function(constraints,onSuccess,onError){if(browserDetails.version<44){return getUserMedia_(constraints,onSuccess,onError);} -utils.deprecated('navigator.getUserMedia','navigator.mediaDevices.getUserMedia');navigator.mediaDevices.getUserMedia(constraints).then(onSuccess,onError);};};},{"../utils":13}],12:[function(require,module,exports){'use strict';var utils=require('../utils');module.exports={shimLocalStreamsAPI:function(window){if(typeof window!=='object'||!window.RTCPeerConnection){return;} -if(!('getLocalStreams'in window.RTCPeerConnection.prototype)){window.RTCPeerConnection.prototype.getLocalStreams=function(){if(!this._localStreams){this._localStreams=[];} -return this._localStreams;};} -if(!('getStreamById'in window.RTCPeerConnection.prototype)){window.RTCPeerConnection.prototype.getStreamById=function(id){var result=null;if(this._localStreams){this._localStreams.forEach(function(stream){if(stream.id===id){result=stream;}});} -if(this._remoteStreams){this._remoteStreams.forEach(function(stream){if(stream.id===id){result=stream;}});} -return result;};} -if(!('addStream'in window.RTCPeerConnection.prototype)){var _addTrack=window.RTCPeerConnection.prototype.addTrack;window.RTCPeerConnection.prototype.addStream=function(stream){if(!this._localStreams){this._localStreams=[];} -if(this._localStreams.indexOf(stream)===-1){this._localStreams.push(stream);} -var pc=this;stream.getTracks().forEach(function(track){_addTrack.call(pc,track,stream);});};window.RTCPeerConnection.prototype.addTrack=function(track,stream){if(stream){if(!this._localStreams){this._localStreams=[stream];}else if(this._localStreams.indexOf(stream)===-1){this._localStreams.push(stream);}} -return _addTrack.call(this,track,stream);};} -if(!('removeStream'in window.RTCPeerConnection.prototype)){window.RTCPeerConnection.prototype.removeStream=function(stream){if(!this._localStreams){this._localStreams=[];} -var index=this._localStreams.indexOf(stream);if(index===-1){return;} -this._localStreams.splice(index,1);var pc=this;var tracks=stream.getTracks();this.getSenders().forEach(function(sender){if(tracks.indexOf(sender.track)!==-1){pc.removeTrack(sender);}});};}},shimRemoteStreamsAPI:function(window){if(typeof window!=='object'||!window.RTCPeerConnection){return;} -if(!('getRemoteStreams'in window.RTCPeerConnection.prototype)){window.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[];};} -if(!('onaddstream'in window.RTCPeerConnection.prototype)){Object.defineProperty(window.RTCPeerConnection.prototype,'onaddstream',{get:function(){return this._onaddstream;},set:function(f){var pc=this;if(this._onaddstream){this.removeEventListener('addstream',this._onaddstream);this.removeEventListener('track',this._onaddstreampoly);} -this.addEventListener('addstream',this._onaddstream=f);this.addEventListener('track',this._onaddstreampoly=function(e){e.streams.forEach(function(stream){if(!pc._remoteStreams){pc._remoteStreams=[];} -if(pc._remoteStreams.indexOf(stream)>=0){return;} -pc._remoteStreams.push(stream);var event=new Event('addstream');event.stream=stream;pc.dispatchEvent(event);});});}});}},shimCallbacksAPI:function(window){if(typeof window!=='object'||!window.RTCPeerConnection){return;} -var prototype=window.RTCPeerConnection.prototype;var createOffer=prototype.createOffer;var createAnswer=prototype.createAnswer;var setLocalDescription=prototype.setLocalDescription;var setRemoteDescription=prototype.setRemoteDescription;var addIceCandidate=prototype.addIceCandidate;prototype.createOffer=function(successCallback,failureCallback){var options=(arguments.length>=2)?arguments[2]:arguments[0];var promise=createOffer.apply(this,[options]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};prototype.createAnswer=function(successCallback,failureCallback){var options=(arguments.length>=2)?arguments[2]:arguments[0];var promise=createAnswer.apply(this,[options]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};var withCallback=function(description,successCallback,failureCallback){var promise=setLocalDescription.apply(this,[description]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};prototype.setLocalDescription=withCallback;withCallback=function(description,successCallback,failureCallback){var promise=setRemoteDescription.apply(this,[description]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};prototype.setRemoteDescription=withCallback;withCallback=function(candidate,successCallback,failureCallback){var promise=addIceCandidate.apply(this,[candidate]);if(!failureCallback){return promise;} -promise.then(successCallback,failureCallback);return Promise.resolve();};prototype.addIceCandidate=withCallback;},shimGetUserMedia:function(window){var navigator=window&&window.navigator;if(!navigator.getUserMedia){if(navigator.webkitGetUserMedia){navigator.getUserMedia=navigator.webkitGetUserMedia.bind(navigator);}else if(navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){navigator.getUserMedia=function(constraints,cb,errcb){navigator.mediaDevices.getUserMedia(constraints).then(cb,errcb);}.bind(navigator);}}},shimRTCIceServerUrls:function(window){var OrigPeerConnection=window.RTCPeerConnection;window.RTCPeerConnection=function(pcConfig,pcConstraints){if(pcConfig&&pcConfig.iceServers){var newIceServers=[];for(var i=0;i=pos&&parseInt(match[pos],10);} -function wrapPeerConnectionEvent(window,eventNameToWrap,wrapper){if(!window.RTCPeerConnection){return;} -var proto=window.RTCPeerConnection.prototype;var nativeAddEventListener=proto.addEventListener;proto.addEventListener=function(nativeEventName,cb){if(nativeEventName!==eventNameToWrap){return nativeAddEventListener.apply(this,arguments);} -var wrappedCallback=function(e){cb(wrapper(e));};this._eventMap=this._eventMap||{};this._eventMap[cb]=wrappedCallback;return nativeAddEventListener.apply(this,[nativeEventName,wrappedCallback]);};var nativeRemoveEventListener=proto.removeEventListener;proto.removeEventListener=function(nativeEventName,cb){if(nativeEventName!==eventNameToWrap||!this._eventMap||!this._eventMap[cb]){return nativeRemoveEventListener.apply(this,arguments);} -var unwrappedCb=this._eventMap[cb];delete this._eventMap[cb];return nativeRemoveEventListener.apply(this,[nativeEventName,unwrappedCb]);};Object.defineProperty(proto,'on'+eventNameToWrap,{get:function(){return this['_on'+eventNameToWrap];},set:function(cb){if(this['_on'+eventNameToWrap]){this.removeEventListener(eventNameToWrap,this['_on'+eventNameToWrap]);delete this['_on'+eventNameToWrap];} -if(cb){this.addEventListener(eventNameToWrap,this['_on'+eventNameToWrap]=cb);}}});} -module.exports={extractVersion:extractVersion,wrapPeerConnectionEvent:wrapPeerConnectionEvent,disableLog:function(bool){if(typeof bool!=='boolean'){return new Error('Argument type: '+typeof bool+'. Please use a boolean.');} -logDisabled_=bool;return(bool)?'adapter.js logging disabled':'adapter.js logging enabled';},disableWarnings:function(bool){if(typeof bool!=='boolean'){return new Error('Argument type: '+typeof bool+'. Please use a boolean.');} -deprecationWarnings_=!bool;return'adapter.js deprecation warnings '+(bool?'disabled':'enabled');},log:function(){if(typeof window==='object'){if(logDisabled_){return;} -if(typeof console!=='undefined'&&typeof console.log==='function'){console.log.apply(console,arguments);}}},deprecated:function(oldMethod,newMethod){if(!deprecationWarnings_){return;} -console.warn(oldMethod+' is deprecated, please use '+newMethod+' instead.');},detectBrowser:function(window){var navigator=window&&window.navigator;var result={};result.browser=null;result.version=null;if(typeof window==='undefined'||!window.navigator){result.browser='Not a browser.';return result;} -if(navigator.mozGetUserMedia){result.browser='firefox';result.version=extractVersion(navigator.userAgent,/Firefox\/(\d+)\./,1);}else if(navigator.webkitGetUserMedia){result.browser='chrome';result.version=extractVersion(navigator.userAgent,/Chrom(e|ium)\/(\d+)\./,2);}else if(navigator.mediaDevices&&navigator.userAgent.match(/Edge\/(\d+).(\d+)$/)){result.browser='edge';result.version=extractVersion(navigator.userAgent,/Edge\/(\d+).(\d+)$/,2);}else if(navigator.mediaDevices&&navigator.userAgent.match(/AppleWebKit\/(\d+)\./)){result.browser='safari';result.version=extractVersion(navigator.userAgent,/AppleWebKit\/(\d+)\./,1);}else{result.browser='Not a supported browser.';return result;} -return result;}};},{}]},{},[3])(3)}); \ No newline at end of file +(function($) { + + // Find the line in sdpLines that starts with |prefix|, and, if specified, + // contains |substr| (case-insensitive search). + function findLine(sdpLines, prefix, substr) { + return findLineInRange(sdpLines, 0, -1, prefix, substr); + } + + // Find the line in sdpLines[startLine...endLine - 1] that starts with |prefix| + // and, if specified, contains |substr| (case-insensitive search). + function findLineInRange(sdpLines, startLine, endLine, prefix, substr) { + var realEndLine = (endLine != -1) ? endLine : sdpLines.length; + for (var i = startLine; i < realEndLine; ++i) { + if (sdpLines[i].indexOf(prefix) === 0) { + if (!substr || sdpLines[i].toLowerCase().indexOf(substr.toLowerCase()) !== -1) { + return i; + } + } + } + return null; + } + + // Gets the codec payload type from an a=rtpmap:X line. + function getCodecPayloadType(sdpLine) { + var pattern = new RegExp('a=rtpmap:(\\d+) \\w+\\/\\d+'); + var result = sdpLine.match(pattern); + return (result && result.length == 2) ? result[1] : null; + } + + // Returns a new m= line with the specified codec as the first one. + function setDefaultCodec(mLine, payload) { + var elements = mLine.split(' '); + var newLine = []; + var index = 0; + for (var i = 0; i < elements.length; i++) { + if (index === 3) { // Format of media starts from the fourth. + newLine[index++] = payload; // Put target payload to the first. + } + if (elements[i] !== payload) newLine[index++] = elements[i]; + } + return newLine.join(' '); + } + + $.FSRTC = function(options) { + this.options = $.extend({ + useVideo: null, + useStereo: false, + userData: null, + localVideo: null, + screenShare: false, + useCamera: "any", + iceServers: false, + videoParams: {}, + audioParams: {}, + callbacks: { + onICEComplete: function() {}, + onICE: function() {}, + onOfferSDP: function() {} + }, + useStream: null, + }, options); + + this.audioEnabled = true; + this.videoEnabled = true; + + + this.mediaData = { + SDP: null, + profile: {}, + candidateList: [] + }; + + this.constraints = { + offerToReceiveAudio: this.options.useSpeak === "none" ? false : true, + offerToReceiveVideo: this.options.useVideo ? true : false, + }; + + if (self.options.useVideo) { + self.options.useVideo.style.display = 'none'; + } + + setCompat(); + checkCompat(); + }; + + $.FSRTC.validRes = []; + + $.FSRTC.prototype.useVideo = function(obj, local) { + var self = this; + + if (obj) { + self.options.useVideo = obj; + self.options.localVideo = local; + self.constraints.offerToReceiveVideo = true; + } else { + self.options.useVideo = null; + self.options.localVideo = null; + self.constraints.offerToReceiveVideo = false; + } + + if (self.options.useVideo) { + self.options.useVideo.style.display = 'none'; + } + }; + + $.FSRTC.prototype.useStereo = function(on) { + var self = this; + self.options.useStereo = on; + }; + + // Sets Opus in stereo if stereo is enabled, by adding the stereo=1 fmtp param. + $.FSRTC.prototype.stereoHack = function(sdp) { + var self = this; + + if (!self.options.useStereo) { + return sdp; + } + + var sdpLines = sdp.split('\r\n'); + + // Find opus payload. + var opusIndex = findLine(sdpLines, 'a=rtpmap', 'opus/48000'), opusPayload; + + if (!opusIndex) { + return sdp; + } else { + opusPayload = getCodecPayloadType(sdpLines[opusIndex]); + } + + // Find the payload in fmtp line. + var fmtpLineIndex = findLine(sdpLines, 'a=fmtp:' + opusPayload.toString()); + + if (fmtpLineIndex === null) { + // create an fmtp line + sdpLines[opusIndex] = sdpLines[opusIndex] + '\r\na=fmtp:' + opusPayload.toString() + " stereo=1; sprop-stereo=1" + } else { + // Append stereo=1 to fmtp line. + sdpLines[fmtpLineIndex] = sdpLines[fmtpLineIndex].concat('; stereo=1; sprop-stereo=1'); + } + + sdp = sdpLines.join('\r\n'); + return sdp; + }; + + function setCompat() { + } + + function checkCompat() { + return true; + } + + function onStreamError(self, e) { + console.log('There has been a problem retrieving the streams - did you allow access? Check Device Resolution', e); + doCallback(self, "onError", e); + } + + function onStreamSuccess(self, stream) { + console.log("Stream Success"); + doCallback(self, "onStream", stream); + } + + function onRemoteStreamSuccess(self, stream) { + console.log("Remote Stream Success"); + doCallback(self, "onRemoteStream", stream); + } + + function onICE(self, candidate) { + self.mediaData.candidate = candidate; + self.mediaData.candidateList.push(self.mediaData.candidate); + + doCallback(self, "onICE"); + } + + function doCallback(self, func, arg) { + if (func in self.options.callbacks) { + self.options.callbacks[func](self, arg); + } + } + + function onICEComplete(self, candidate) { + console.log("ICE Complete"); + doCallback(self, "onICEComplete"); + } + + function onChannelError(self, e) { + console.error("Channel Error", e); + doCallback(self, "onError", e); + } + + function onICESDP(self, sdp) { + self.mediaData.SDP = self.stereoHack(sdp.sdp); + console.log("ICE SDP"); + doCallback(self, "onICESDP"); + } + + function onAnswerSDP(self, sdp) { + self.answer.SDP = self.stereoHack(sdp.sdp); + console.log("ICE ANSWER SDP"); + doCallback(self, "onAnswerSDP", self.answer.SDP); + } + + function onMessage(self, msg) { + console.log("Message"); + doCallback(self, "onICESDP", msg); + } + + FSRTCattachMediaStream = function(element, stream) { + if (typeof element.srcObject !== 'undefined') { + element.srcObject = stream; + } else { + console.error('Error attaching stream to element.'); + } + } + + function onRemoteStream(self, stream) { + if (self.options.useVideo) { + self.options.useVideo.style.display = 'block'; + + // Hacks for Mobile Safari + var iOS = ['iPad', 'iPhone', 'iPod'].indexOf(navigator.platform) >= 0; + + if (iOS) { + self.options.useVideo.setAttribute("playsinline", true); + } + } + + var element = self.options.useAudio; + console.log("REMOTE STREAM", stream, element); + + FSRTCattachMediaStream(element, stream); + + + + //self.options.useAudio.play(); + self.remoteStream = stream; + onRemoteStreamSuccess(self, stream); + } + + function onOfferSDP(self, sdp) { + self.mediaData.SDP = self.stereoHack(sdp.sdp); + console.log("Offer SDP"); + doCallback(self, "onOfferSDP"); + } + + $.FSRTC.prototype.answer = function(sdp, onSuccess, onError) { + this.peer.addAnswerSDP({ + type: "answer", + sdp: sdp + }, + onSuccess, onError); + }; + + $.FSRTC.prototype.stopPeer = function() { + if (self.peer) { + console.log("stopping peer"); + self.peer.stop(); + } + } + + $.FSRTC.prototype.stop = function() { + var self = this; + + if (self.options.useVideo) { + self.options.useVideo.style.display = 'none'; + self.options.useVideo['src'] = ''; + } + + if (self.localStream && !self.options.useStream) { + if(typeof self.localStream.stop == 'function') { + self.localStream.stop(); + } else { + if (self.localStream.active){ + var tracks = self.localStream.getTracks(); + console.log(tracks); + tracks.forEach(function(track, index){ + console.log(track); + track.stop(); + }) + } + } + self.localStream = null; + } + + if (self.options.localVideo) { + deactivateLocalVideo(self.options.localVideo); + } + + if (self.options.localVideoStream && !self.options.useStream) { + if(typeof self.options.localVideoStream.stop == 'function') { + self.options.localVideoStream.stop(); + } else { + if (self.options.localVideoStream.active){ + var tracks = self.options.localVideoStream.getTracks(); + console.log(tracks); + tracks.forEach(function(track, index){ + console.log(track); + track.stop(); + }) + } + } + } + + if (self.peer) { + console.log("stopping peer"); + self.peer.stop(); + } + }; + + $.FSRTC.prototype.getMute = function() { + var self = this; + return self.audioEnabled; + } + + $.FSRTC.prototype.setMute = function(what) { + var self = this; + if (!self.localStream) { + return false; + } + var audioTracks = self.localStream.getAudioTracks(); + + for (var i = 0, len = audioTracks.length; i < len; i++ ) { + switch(what) { + case "on": + audioTracks[i].enabled = true; + break; + case "off": + audioTracks[i].enabled = false; + break; + case "toggle": + audioTracks[i].enabled = !audioTracks[i].enabled; + default: + break; + } + + self.audioEnabled = audioTracks[i].enabled; + } + + return !self.audioEnabled; + } + + $.FSRTC.prototype.getVideoMute = function() { + var self = this; + return self.videoEnabled; + } + + $.FSRTC.prototype.setVideoMute = function(what) { + var self = this; + if (!self.localStream) { + return false; + } + var videoTracks = self.localStream.getVideoTracks(); + + for (var i = 0, len = videoTracks.length; i < len; i++ ) { + switch(what) { + case "on": + videoTracks[i].enabled = true; + break; + case "off": + videoTracks[i].enabled = false; + break; + case "toggle": + videoTracks[i].enabled = !videoTracks[i].enabled; + default: + break; + } + + self.videoEnabled = videoTracks[i].enabled; + } + + return !self.videoEnabled; + } + + $.FSRTC.prototype.createAnswer = function(params) { + var self = this; + self.type = "answer"; + self.remoteSDP = params.sdp; + console.debug("inbound sdp: ", params.sdp); + + function onSuccess(stream) { + self.localStream = stream; + + self.peer = FSRTCPeerConnection({ + type: self.type, + attachStream: self.localStream, + onICE: function(candidate) { + return onICE(self, candidate); + }, + onICEComplete: function() { + return onICEComplete(self); + }, + onRemoteStream: function(stream) { + return onRemoteStream(self, stream); + }, + onICESDP: function(sdp) { + return onICESDP(self, sdp); + }, + onChannelError: function(e) { + return onChannelError(self, e); + }, + constraints: self.constraints, + iceServers: self.options.iceServers, + offerSDP: { + type: "offer", + sdp: self.remoteSDP + }, + turnServer: self.options.turnServer + }); + + onStreamSuccess(self, stream); + } + + function onError(e) { + onStreamError(self, e); + } + + var mediaParams = getMediaParams(self); + + console.log("Audio constraints", mediaParams.audio); + console.log("Video constraints", mediaParams.video); + + if (self.options.useVideo && self.options.localVideo && !self.options.useStream) { + getUserMedia({ + constraints: { + audio: false, + video: { deviceId: params.useCamera }, + }, + localVideo: self.options.localVideo, + onsuccess: function(e) {self.options.localVideoStream = e; console.log("local video ready");}, + onerror: function(e) {console.error("local video error!");} + }); + } + + if (self.options.useStream) { + if (self.options.useVideo) { + self.options.localVideoStream = self.options.useStream; + if (self.options.localVideo) { + activateLocalVideo(self.options.localVideo, self.options.useStream); + } + } + onSuccess(self.options.useStream); + } + else { + getUserMedia({ + constraints: { + audio: mediaParams.audio, + video: mediaParams.video + }, + video: mediaParams.useVideo, + onsuccess: onSuccess, + onerror: onError + }); + } + + }; + + function getMediaParams(obj) { + + var audio; + + if (obj.options.useMic && obj.options.useMic === "none") { + console.log("Microphone Disabled"); + audio = false; + } else if (obj.options.videoParams && obj.options.screenShare) {//obj.options.videoParams.chromeMediaSource == 'desktop') { + console.error("SCREEN SHARE", obj.options.videoParams); + audio = false; + } else { + audio = { + }; + + if (obj.options.audioParams) { + audio = obj.options.audioParams; + } + + if (obj.options.useMic !== "any") { + //audio.optional = [{sourceId: obj.options.useMic}]; + audio.deviceId = {exact: obj.options.useMic}; + } + } + + if (obj.options.useVideo && obj.options.localVideo && !obj.options.useStream) { + getUserMedia({ + constraints: { + audio: false, + video: { deviceId: obj.options.useCamera }, + }, + localVideo: obj.options.localVideo, + onsuccess: function(e) {obj.options.localVideoStream = e; console.log("local video ready");}, + onerror: function(e) {console.error("local video error!");} + }); + } + + var video = {}; + var bestFrameRate = obj.options.videoParams.vertoBestFrameRate; + var minFrameRate = obj.options.videoParams.minFrameRate || 15; + delete obj.options.videoParams.vertoBestFrameRate; + + if (obj.options.screenShare) { + if (!obj.options.useCamera && !!navigator.mozGetUserMedia) { + //This is an issue, only FireFox needs to ask this additional question if its screen or window we need a better way + var dowin = window.confirm("Do you want to share an application window? If not you can share an entire screen."); + + video = { + width: {min: obj.options.videoParams.minWidth, max: obj.options.videoParams.maxWidth}, + height: {min: obj.options.videoParams.minHeight, max: obj.options.videoParams.maxHeight}, + mediaSource: dowin ? "window" : "screen" + } + } else { + var opt = []; + if (obj.options.useCamera) { + opt.push({sourceId: obj.options.useCamera}); + } + + if (bestFrameRate) { + opt.push({minFrameRate: bestFrameRate}); + opt.push({maxFrameRate: bestFrameRate}); + } + + video = { + mandatory: obj.options.videoParams, + optional: opt + }; + // NOTE: This is a workaround for + // https://bugs.chromium.org/p/chromium/issues/detail?id=862325 + if (!!navigator.userAgent.match(/Android/i)) { + delete video.frameRate.min; + } + } + } else { + + video = { + //mandatory: obj.options.videoParams, + width: {min: obj.options.videoParams.minWidth, max: obj.options.videoParams.maxWidth}, + height: {min: obj.options.videoParams.minHeight, max: obj.options.videoParams.maxHeight} + }; + + + + var useVideo = obj.options.useVideo; + + if (useVideo && obj.options.useCamera && obj.options.useCamera !== "none") { + //if (!video.optional) { + //video.optional = []; + //} + + + if (obj.options.useCamera !== "any") { + //video.optional.push({sourceId: obj.options.useCamera}); + video.deviceId = { + exact: obj.options.useCamera, + }; + } + + if (bestFrameRate) { + //video.optional.push({minFrameRate: bestFrameRate}); + //video.optional.push({maxFrameRate: bestFrameRate}); + video.frameRate = {ideal: bestFrameRate, min: minFrameRate, max: 30}; + } + + } else { + console.log("Camera Disabled"); + video = false; + useVideo = false; + } + } + + return {audio: audio, video: video, useVideo: useVideo}; + } + + $.FSRTC.prototype.call = function(profile) { + checkCompat(); + + var self = this; + var screen = false; + + self.type = "offer"; + + if (self.options.videoParams && self.options.screenShare) { //self.options.videoParams.chromeMediaSource == 'desktop') { + screen = true; + } + + function onSuccess(stream) { + self.localStream = stream; + + if (screen) { + self.constraints.offerToReceiveVideo = false; + self.constraints.offerToReceiveAudio = false; + self.constraints.offerToSendAudio = false; + } + + self.peer = FSRTCPeerConnection({ + type: self.type, + attachStream: self.localStream, + onICE: function(candidate) { + return onICE(self, candidate); + }, + onICEComplete: function() { + return onICEComplete(self); + }, + onRemoteStream: screen ? function(stream) {} : function(stream) { + return onRemoteStream(self, stream); + }, + onOfferSDP: function(sdp) { + return onOfferSDP(self, sdp); + }, + onICESDP: function(sdp) { + return onICESDP(self, sdp); + }, + onChannelError: function(e) { + return onChannelError(self, e); + }, + constraints: self.constraints, + iceServers: self.options.iceServers, + turnServer: self.options.turnServer + }); + + onStreamSuccess(self, stream); + } + + function onError(e) { + onStreamError(self, e); + } + + var mediaParams = getMediaParams(self); + + console.log("Audio constraints", mediaParams.audio); + console.log("Video constraints", mediaParams.video); + + if (self.options.useStream) { + if (self.options.useVideo) { + self.options.localVideoStream = self.options.useStream; + if (self.options.localVideo) { + activateLocalVideo(self.options.localVideo, self.options.useStream); + } + } + onSuccess(self.options.useStream); + } + else if (mediaParams.audio || mediaParams.video) { + + getUserMedia({ + constraints: { + audio: mediaParams.audio, + video: mediaParams.video + }, + video: mediaParams.useVideo, + onsuccess: onSuccess, + onerror: onError + }); + + } else { + onSuccess(null); + } + + + + /* + navigator.getUserMedia({ + video: self.options.useVideo, + audio: true + }, onSuccess, onError); + */ + + }; + + // DERIVED from RTCPeerConnection-v1.5 + // 2013, @muazkh - github.com/muaz-khan + // MIT License - https://www.webrtc-experiment.com/licence/ + // Documentation - https://github.com/muaz-khan/WebRTC-Experiment/tree/master/RTCPeerConnection + + function FSRTCPeerConnection(options) { + var gathering = false, done = false; + var config = {}; + var default_ice = [{ urls: ['stun:stun.l.google.com:19302'] }]; + + if (self.options.turnServer) { + default_ice.push(self.options.turnServer) + } + + if (options.iceServers) { + if (typeof(options.iceServers) === "boolean") { + config.iceServers = default_ice; + } else { + config.iceServers = options.iceServers; + } + } + + config.bundlePolicy = "max-compat"; + + var peer = new window.RTCPeerConnection(config); + + openOffererChannel(); + var x = 0; + + function ice_handler() { + + done = true; + gathering = null; + + if (options.onICEComplete) { + options.onICEComplete(); + } + + if (options.type == "offer") { + options.onICESDP(peer.localDescription); + } else { + if (!x && options.onICESDP) { + options.onICESDP(peer.localDescription); + } + } + } + + peer.onicecandidate = function(event) { + + if (done) { + return; + } + + if (!gathering) { + gathering = setTimeout(ice_handler, 1000); + } + + if (event) { + if (event.candidate) { + options.onICE(event.candidate); + } + } else { + done = true; + + if (gathering) { + clearTimeout(gathering); + gathering = null; + } + + ice_handler(); + } + }; + + // attachStream = MediaStream; + if (options.attachStream) peer.addStream(options.attachStream); + + // attachStreams[0] = audio-stream; + // attachStreams[1] = video-stream; + // attachStreams[2] = screen-capturing-stream; + if (options.attachStreams && options.attachStream.length) { + var streams = options.attachStreams; + for (var i = 0; i < streams.length; i++) { + peer.addStream(streams[i]); + } + } + + peer.onaddstream = function(event) { + var remoteMediaStream = event.stream; + + // onRemoteStreamEnded(MediaStream) + remoteMediaStream.oninactive = function () { + if (options.onRemoteStreamEnded) options.onRemoteStreamEnded(remoteMediaStream); + }; + + // onRemoteStream(MediaStream) + if (options.onRemoteStream) options.onRemoteStream(remoteMediaStream); + + //console.debug('on:add:stream', remoteMediaStream); + }; + + //var constraints = options.constraints || { + // offerToReceiveAudio: true, + //offerToReceiveVideo: true + //}; + + // onOfferSDP(RTCSessionDescription) + function createOffer() { + if (!options.onOfferSDP) return; + + peer.createOffer(function(sessionDescription) { + sessionDescription.sdp = serializeSdp(sessionDescription.sdp); + peer.setLocalDescription(sessionDescription); + options.onOfferSDP(sessionDescription); + }, + onSdpError, options.constraints); + } + + // onAnswerSDP(RTCSessionDescription) + function createAnswer() { + if (options.type != "answer") return; + + //options.offerSDP.sdp = addStereo(options.offerSDP.sdp); + peer.setRemoteDescription(new window.RTCSessionDescription(options.offerSDP), onSdpSuccess, onSdpError); + peer.createAnswer(function(sessionDescription) { + sessionDescription.sdp = serializeSdp(sessionDescription.sdp); + peer.setLocalDescription(sessionDescription); + if (options.onAnswerSDP) { + options.onAnswerSDP(sessionDescription); + } + }, + onSdpError); + } + + + if ((options.onChannelMessage) || !options.onChannelMessage) { + createOffer(); + createAnswer(); + } + + // DataChannel Bandwidth + function setBandwidth(sdp) { + // remove existing bandwidth lines + sdp = sdp.replace(/b=AS([^\r\n]+\r\n)/g, ''); + sdp = sdp.replace(/a=mid:data\r\n/g, 'a=mid:data\r\nb=AS:1638400\r\n'); + + return sdp; + } + + // old: FF<>Chrome interoperability management + function getInteropSDP(sdp) { + var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split(''), + extractedChars = ''; + + function getChars() { + extractedChars += chars[parseInt(Math.random() * 40)] || ''; + if (extractedChars.length < 40) getChars(); + + return extractedChars; + } + + // usually audio-only streaming failure occurs out of audio-specific crypto line + // a=crypto:1 AES_CM_128_HMAC_SHA1_32 --------- kAttributeCryptoVoice + if (options.onAnswerSDP) sdp = sdp.replace(/(a=crypto:0 AES_CM_128_HMAC_SHA1_32)(.*?)(\r\n)/g, ''); + + // video-specific crypto line i.e. SHA1_80 + // a=crypto:1 AES_CM_128_HMAC_SHA1_80 --------- kAttributeCryptoVideo + var inline = getChars() + '\r\n' + (extractedChars = ''); + sdp = sdp.indexOf('a=crypto') == -1 ? sdp.replace(/c=IN/g, 'a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:' + inline + 'c=IN') : sdp; + + return sdp; + } + + function serializeSdp(sdp) { + return sdp; + } + + // DataChannel management + var channel; + + function openOffererChannel() { + if (!options.onChannelMessage) return; + + _openOffererChannel(); + + return; + } + + function _openOffererChannel() { + channel = peer.createDataChannel(options.channel || 'RTCDataChannel', { + reliable: false + }); + + setChannelEvents(); + } + + function setChannelEvents() { + channel.onmessage = function(event) { + if (options.onChannelMessage) options.onChannelMessage(event); + }; + + channel.onopen = function() { + if (options.onChannelOpened) options.onChannelOpened(channel); + }; + channel.onclose = function(event) { + if (options.onChannelClosed) options.onChannelClosed(event); + + console.warn('WebRTC DataChannel closed', event); + }; + channel.onerror = function(event) { + if (options.onChannelError) options.onChannelError(event); + + console.error('WebRTC DataChannel error', event); + }; + } + + function openAnswererChannel() { + peer.ondatachannel = function(event) { + channel = event.channel; + channel.binaryType = 'blob'; + setChannelEvents(); + }; + + return; + } + + // fake:true is also available on chrome under a flag! + function useless() { + log('Error in fake:true'); + } + + function onSdpSuccess() {} + + function onSdpError(e) { + if (options.onChannelError) { + options.onChannelError(e); + } + console.error('sdp error:', e); + } + + return { + addAnswerSDP: function(sdp, cbSuccess, cbError) { + + peer.setRemoteDescription(new window.RTCSessionDescription(sdp), cbSuccess ? cbSuccess : onSdpSuccess, cbError ? cbError : onSdpError); + }, + addICE: function(candidate) { + peer.addIceCandidate(new window.RTCIceCandidate({ + sdpMLineIndex: candidate.sdpMLineIndex, + candidate: candidate.candidate + })); + }, + + peer: peer, + channel: channel, + sendData: function(message) { + if (channel) { + channel.send(message); + } + }, + + stop: function() { + peer.close(); + if (options.attachStream) { + if(typeof options.attachStream.stop == 'function') { + options.attachStream.stop(); + } else { + options.attachStream.active = false; + } + } + } + + }; + } + + // getUserMedia + var video_constraints = { + //mandatory: {}, + //optional: [] + }; + + function activateLocalVideo(el, stream) { + el.srcObject = stream; + el.style.display = 'block'; + } + + function deactivateLocalVideo(el) { + el.srcObject = null; + el.style.display = 'none'; + } + + function getUserMedia(options) { + var n = navigator, + media; + n.getMedia = n.getUserMedia; + n.getMedia(options.constraints || { + audio: true, + video: video_constraints + }, + streaming, options.onerror || + function(e) { + console.error(e); + }); + + function streaming(stream) { + if (options.localVideo) { + activateLocalVideo(options.localVideo, stream); + } + + if (options.onsuccess) { + options.onsuccess(stream); + } + + media = stream; + } + + return media; + } + + $.FSRTC.resSupported = function(w, h) { + for (var i in $.FSRTC.validRes) { + if ($.FSRTC.validRes[i][0] == w && $.FSRTC.validRes[i][1] == h) { + return true; + } + } + + return false; + } + + $.FSRTC.bestResSupported = function() { + var w = 0, h = 0; + + for (var i in $.FSRTC.validRes) { + if ($.FSRTC.validRes[i][0] >= w && $.FSRTC.validRes[i][1] >= h) { + w = $.FSRTC.validRes[i][0]; + h = $.FSRTC.validRes[i][1]; + } + } + + return [w, h]; + } + + var resList = [[160, 120], [320, 180], [320, 240], [640, 360], [640, 480], [1280, 720], [1920, 1080]]; + var resI = 0; + var ttl = 0; + + var checkRes = function (cam, func) { + + if (resI >= resList.length) { + var res = { + 'validRes': $.FSRTC.validRes, + 'bestResSupported': $.FSRTC.bestResSupported() + }; + + localStorage.setItem("res_" + cam, $.toJSON(res)); + + if (func) return func(res); + return; + } + + w = resList[resI][0]; + h = resList[resI][1]; + resI++; + + var video = { + width: {exact: w}, + height: {exact: h} + }; + + if (cam !== "any") { + video.deviceId = { + exact: cam, + }; + } + + getUserMedia({ + constraints: { + audio: ttl++ == 0, + video: video + }, + onsuccess: function(e) { + e.getTracks().forEach(function(track) {track.stop();}); + console.info(w + "x" + h + " supported."); $.FSRTC.validRes.push([w, h]); checkRes(cam, func);}, + onerror: function(e) {console.warn( w + "x" + h + " not supported."); checkRes(cam, func);} + }); + } + + + $.FSRTC.getValidRes = function (cam, func) { + var used = []; + var cached = localStorage.getItem("res_" + cam); + + if (cached) { + var cache = $.parseJSON(cached); + + if (cache) { + $.FSRTC.validRes = cache.validRes; + console.log("CACHED RES FOR CAM " + cam, cache); + } else { + console.error("INVALID CACHE"); + } + return func ? func(cache) : null; + } + + + $.FSRTC.validRes = []; + resI = 0; + + checkRes(cam, func); + } + + $.FSRTC.checkPerms = function (runtime, check_audio, check_video) { + getUserMedia({ + constraints: { + audio: check_audio, + video: check_video, + }, + onsuccess: function(e) { + + e.getTracks().forEach(function(track) {track.stop();}); + + console.info("media perm init complete"); + if (runtime) { + setTimeout(runtime, 100, true); + } + }, + onerror: function(e) { + if (check_video && check_audio) { + console.error("error, retesting with audio params only"); + return $.FSRTC.checkPerms(runtime, check_audio, false); + } + + console.error("media perm init error"); + + if (runtime) { + runtime(false) + } + } + }); + } + +})(jQuery); +/* + * Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * Copyright (C) 2005-2014, Anthony Minessale II + * + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is jquery.jsonrpclient.js modified for Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * + * The Initial Developer of the Original Code is + * Textalk AB http://textalk.se/ + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Anthony Minessale II + * + * jquery.jsonrpclient.js - JSON RPC client code + * + */ +/** + * This plugin requires jquery.json.js to be available, or at least the methods $.toJSON and + * $.parseJSON. + * + * The plan is to make use of websockets if they are available, but work just as well with only + * http if not. + * + * Usage example: + * + * var foo = new $.JsonRpcClient({ ajaxUrl: '/backend/jsonrpc' }); + * foo.call( + * 'bar', [ 'A parameter', 'B parameter' ], + * function(result) { alert('Foo bar answered: ' + result.my_answer); }, + * function(error) { console.log('There was an error', error); } + * ); + * + * More examples are available in README.md + */ +(function($) { + /** + * @fn new + * @memberof $.JsonRpcClient + * + * @param options An object stating the backends: + * ajaxUrl A url (relative or absolute) to a http(s) backend. + * socketUrl A url (relative of absolute) to a ws(s) backend. + * onmessage A socket message handler for other messages (non-responses). + * getSocket A function returning a WebSocket or null. + * It must take an onmessage_cb and bind it to the onmessage event + * (or chain it before/after some other onmessage handler). + * Or, it could return null if no socket is available. + * The returned instance must have readyState <= 1, and if less than 1, + * react to onopen binding. + */ + $.JsonRpcClient = function(options) { + var self = this; + this.options = $.extend({ + ajaxUrl : null, + socketUrl : null, ///< The ws-url for default getSocket. + onmessage : null, ///< Other onmessage-handler. + login : null, /// auth login + passwd : null, /// auth passwd + sessid : null, + loginParams : null, + userVariables : null, + getSocket : function(onmessage_cb) { return self._getSocket(onmessage_cb); } + }, options); + + self.ws_cnt = 0; + + // Declare an instance version of the onmessage callback to wrap 'this'. + this.wsOnMessage = function(event) { self._wsOnMessage(event); }; + }; + + /// Holding the WebSocket on default getsocket. + $.JsonRpcClient.prototype._ws_socket = null; + + /// Object : { success_cb: cb, error_cb: cb } + $.JsonRpcClient.prototype._ws_callbacks = {}; + + /// The next JSON-RPC request id. + $.JsonRpcClient.prototype._current_id = 1; + + + $.JsonRpcClient.prototype.speedTest = function (bytes, cb) { + var socket = this.options.getSocket(this.wsOnMessage); + if (socket !== null) { + this.speedCB = cb; + this.speedBytes = bytes; + socket.send("#SPU " + bytes); + + var loops = bytes / 1024; + var rem = bytes % 1024; + var i; + var data = new Array(1024).join("."); + for (i = 0; i < loops; i++) { + socket.send("#SPB " + data); + } + + if (rem) { + socket.send("#SPB " + data); + } + + socket.send("#SPE"); + } + }; + + + + /** + * @fn call + * @memberof $.JsonRpcClient + * + * @param method The method to run on JSON-RPC server. + * @param params The params; an array or object. + * @param success_cb A callback for successful request. + * @param error_cb A callback for error. + */ + $.JsonRpcClient.prototype.call = function(method, params, success_cb, error_cb) { + // Construct the JSON-RPC 2.0 request. + + if (!params) { + params = {}; + } + + if (this.options.sessid) { + params.sessid = this.options.sessid; + } + + var request = { + jsonrpc : '2.0', + method : method, + params : params, + id : this._current_id++ // Increase the id counter to match request/response + }; + + if (!success_cb) { + success_cb = function(e){console.log("Success: ", e);}; + } + + if (!error_cb) { + error_cb = function(e){console.log("Error: ", e);}; + } + + // Try making a WebSocket call. + var socket = this.options.getSocket(this.wsOnMessage); + if (socket !== null) { + this._wsCall(socket, request, success_cb, error_cb); + return; + } + + // No WebSocket, and no HTTP backend? This won't work. + if (this.options.ajaxUrl === null) { + throw "$.JsonRpcClient.call used with no websocket and no http endpoint."; + } + + $.ajax({ + type : 'POST', + url : this.options.ajaxUrl, + data : $.toJSON(request), + dataType : 'json', + cache : false, + + success : function(data) { + if ('error' in data) error_cb(data.error, this); + success_cb(data.result, this); + }, + + // JSON-RPC Server could return non-200 on error + error : function(jqXHR, textStatus, errorThrown) { + try { + var response = $.parseJSON(jqXHR.responseText); + + if ('console' in window) console.log(response); + + error_cb(response.error, this); + } catch (err) { + // Perhaps the responseText wasn't really a jsonrpc-error. + error_cb({ error: jqXHR.responseText }, this); + } + } + }); + }; + + /** + * Notify sends a command to the server that won't need a response. In http, there is probably + * an empty response - that will be dropped, but in ws there should be no response at all. + * + * This is very similar to call, but has no id and no handling of callbacks. + * + * @fn notify + * @memberof $.JsonRpcClient + * + * @param method The method to run on JSON-RPC server. + * @param params The params; an array or object. + */ + $.JsonRpcClient.prototype.notify = function(method, params) { + // Construct the JSON-RPC 2.0 request. + + if (this.options.sessid) { + params.sessid = this.options.sessid; + } + + var request = { + jsonrpc: '2.0', + method: method, + params: params + }; + + // Try making a WebSocket call. + var socket = this.options.getSocket(this.wsOnMessage); + if (socket !== null) { + this._wsCall(socket, request); + return; + } + + // No WebSocket, and no HTTP backend? This won't work. + if (this.options.ajaxUrl === null) { + throw "$.JsonRpcClient.notify used with no websocket and no http endpoint."; + } + + $.ajax({ + type : 'POST', + url : this.options.ajaxUrl, + data : $.toJSON(request), + dataType : 'json', + cache : false + }); + }; + + /** + * Make a batch-call by using a callback. + * + * The callback will get an object "batch" as only argument. On batch, you can call the methods + * "call" and "notify" just as if it was a normal $.JsonRpcClient object, and all calls will be + * sent as a batch call then the callback is done. + * + * @fn batch + * @memberof $.JsonRpcClient + * + * @param callback The main function which will get a batch handler to run call and notify on. + * @param all_done_cb A callback function to call after all results have been handled. + * @param error_cb A callback function to call if there is an error from the server. + * Note, that batch calls should always get an overall success, and the + * only error + */ + $.JsonRpcClient.prototype.batch = function(callback, all_done_cb, error_cb) { + var batch = new $.JsonRpcClient._batchObject(this, all_done_cb, error_cb); + callback(batch); + batch._execute(); + }; + + /** + * The default getSocket handler. + * + * @param onmessage_cb The callback to be bound to onmessage events on the socket. + * + * @fn _getSocket + * @memberof $.JsonRpcClient + */ + + $.JsonRpcClient.prototype.socketReady = function() { + if (this._ws_socket === null || this._ws_socket.readyState > 1) { + return false; + } + + return true; + }; + + $.JsonRpcClient.prototype.closeSocket = function() { + var self = this; + if (self.socketReady()) { + self._ws_socket.onclose = function (w) {console.log("Closing Socket");}; + self._ws_socket.close(); + } + }; + + $.JsonRpcClient.prototype.loginData = function(params) { + var self = this; + self.options.login = params.login; + self.options.passwd = params.passwd; + self.options.loginParams = params.loginParams; + self.options.userVariables = params.userVariables; + }; + + $.JsonRpcClient.prototype.connectSocket = function(onmessage_cb) { + var self = this; + + if (self.to) { + clearTimeout(self.to); + } + + if (!self.socketReady()) { + self.authing = false; + + if (self._ws_socket) { + delete self._ws_socket; + } + + // No socket, or dying socket, let's get a new one. + self._ws_socket = new WebSocket(self.options.socketUrl); + + if (self._ws_socket) { + // Set up onmessage handler. + self._ws_socket.onmessage = onmessage_cb; + self._ws_socket.onclose = function (w) { + if (!self.ws_sleep) { + self.ws_sleep = 1000; + } + + if (self.options.onWSClose) { + self.options.onWSClose(self); + } + + if (self.ws_cnt > 10 && self.options.wsFallbackURL) { + self.options.socketUrl = self.options.wsFallbackURL; + } + + console.error("Websocket Lost " + self.ws_cnt + " sleep: " + self.ws_sleep + "msec"); + + self.to = setTimeout(function() { + console.log("Attempting Reconnection...."); + self.connectSocket(onmessage_cb); + }, self.ws_sleep); + + self.ws_cnt++; + + if (self.ws_sleep < 3000 && (self.ws_cnt % 10) === 0) { + self.ws_sleep += 1000; + } + }; + + // Set up sending of message for when the socket is open. + self._ws_socket.onopen = function() { + if (self.to) { + clearTimeout(self.to); + } + self.ws_sleep = 1000; + self.ws_cnt = 0; + if (self.options.onWSConnect) { + self.options.onWSConnect(self); + } + + var req; + // Send the requests. + while ((req = $.JsonRpcClient.q.pop())) { + self._ws_socket.send(req); + } + }; + } + } + + return self._ws_socket ? true : false; + }; + + $.JsonRpcClient.prototype.stopRetrying = function() { + if (self.to) + clearTimeout(self.to); + } + + $.JsonRpcClient.prototype._getSocket = function(onmessage_cb) { + // If there is no ws url set, we don't have a socket. + // Likewise, if there is no window.WebSocket. + if (this.options.socketUrl === null || !("WebSocket" in window)) return null; + + this.connectSocket(onmessage_cb); + + return this._ws_socket; + }; + + /** + * Queue to save messages delivered when websocket is not ready + */ + $.JsonRpcClient.q = []; + + /** + * Internal handler to dispatch a JRON-RPC request through a websocket. + * + * @fn _wsCall + * @memberof $.JsonRpcClient + */ + $.JsonRpcClient.prototype._wsCall = function(socket, request, success_cb, error_cb) { + var request_json = $.toJSON(request); + + if (socket.readyState < 1) { + // The websocket is not open yet; we have to set sending of the message in onopen. + self = this; // In closure below, this is set to the WebSocket. Use self instead. + $.JsonRpcClient.q.push(request_json); + } else { + // We have a socket and it should be ready to send on. + socket.send(request_json); + } + + // Setup callbacks. If there is an id, this is a call and not a notify. + if ('id' in request && typeof success_cb !== 'undefined') { + this._ws_callbacks[request.id] = { request: request_json, request_obj: request, success_cb: success_cb, error_cb: error_cb }; + } + }; + + /** + * Internal handler for the websocket messages. It determines if the message is a JSON-RPC + * response, and if so, tries to couple it with a given callback. Otherwise, it falls back to + * given external onmessage-handler, if any. + * + * @param event The websocket onmessage-event. + */ + $.JsonRpcClient.prototype._wsOnMessage = function(event) { + // Check if this could be a JSON RPC message. + var response; + + // Special sub proto + if (event.data[0] == "#" && event.data[1] == "S" && event.data[2] == "P") { + if (event.data[3] == "U") { + this.up_dur = parseInt(event.data.substring(4)); + } else if (this.speedCB && event.data[3] == "D") { + this.down_dur = parseInt(event.data.substring(4)); + + var up_kps = (((this.speedBytes * 8) / (this.up_dur / 1000)) / 1024).toFixed(0); + var down_kps = (((this.speedBytes * 8) / (this.down_dur / 1000)) / 1024).toFixed(0); + + console.info("Speed Test: Up: " + up_kps + " Down: " + down_kps); + var cb = this.speedCB; + this.speedCB = null; + cb(event, { + upDur: this.up_dur, + downDur: this.down_dur, + upKPS: up_kps, + downKPS: down_kps + }); + } + + return; + } + + + try { + response = $.parseJSON(event.data); + + /// @todo Make using the jsonrcp 2.0 check optional, to use this on JSON-RPC 1 backends. + + if (typeof response === 'object' && + 'jsonrpc' in response && + response.jsonrpc === '2.0') { + + /// @todo Handle bad response (without id). + + // If this is an object with result, it is a response. + if ('result' in response && this._ws_callbacks[response.id]) { + // Get the success callback. + var success_cb = this._ws_callbacks[response.id].success_cb; + + /* + // set the sessid if present + if ('sessid' in response.result && !this.options.sessid || (this.options.sessid != response.result.sessid)) { + this.options.sessid = response.result.sessid; + if (this.options.sessid) { + console.log("setting session UUID to: " + this.options.sessid); + } + } + */ + // Delete the callback from the storage. + delete this._ws_callbacks[response.id]; + + // Run callback with result as parameter. + success_cb(response.result, this); + return; + } else if ('error' in response && this._ws_callbacks[response.id]) { + // If this is an object with error, it is an error response. + + // Get the error callback. + var error_cb = this._ws_callbacks[response.id].error_cb; + var orig_req = this._ws_callbacks[response.id].request; + + // if this is an auth request, send the credentials and resend the failed request + if (!self.authing && response.error.code == -32000 && self.options.login && self.options.passwd) { + self.authing = true; + + this.call("login", { login: self.options.login, passwd: self.options.passwd, loginParams: self.options.loginParams, + userVariables: self.options.userVariables}, + this._ws_callbacks[response.id].request_obj.method == "login" ? + function(e) { + self.authing = false; + console.log("logged in"); + delete self._ws_callbacks[response.id]; + + if (self.options.onWSLogin) { + self.options.onWSLogin(true, self); + } + } + + : + + function(e) { + self.authing = false; + console.log("logged in, resending request id: " + response.id); + var socket = self.options.getSocket(self.wsOnMessage); + if (socket !== null) { + socket.send(orig_req); + } + if (self.options.onWSLogin) { + self.options.onWSLogin(true, self); + } + }, + + function(e) { + console.log("error logging in, request id:", response.id); + delete self._ws_callbacks[response.id]; + error_cb(response.error, this); + if (self.options.onWSLogin) { + self.options.onWSLogin(false, self); + } + }); + return; + } + + // Delete the callback from the storage. + delete this._ws_callbacks[response.id]; + + // Run callback with the error object as parameter. + error_cb(response.error, this); + return; + } + } + } catch (err) { + // Probably an error while parsing a non json-string as json. All real JSON-RPC cases are + // handled above, and the fallback method is called below. + console.log("ERROR: "+ err); + return; + } + + // This is not a JSON-RPC response. Call the fallback message handler, if given. + if (typeof this.options.onmessage === 'function') { + event.eventData = response; + if (!event.eventData) { + event.eventData = {}; + } + + var reply = this.options.onmessage(event); + + if (reply && typeof reply === "object" && event.eventData.id) { + var msg = { + jsonrpc: "2.0", + id: event.eventData.id, + result: reply + }; + + var socket = self.options.getSocket(self.wsOnMessage); + if (socket !== null) { + socket.send($.toJSON(msg)); + } + } + } + }; + + + /************************************************************************************************ + * Batch object with methods + ************************************************************************************************/ + + /** + * Handling object for batch calls. + */ + $.JsonRpcClient._batchObject = function(jsonrpcclient, all_done_cb, error_cb) { + // Array of objects to hold the call and notify requests. Each objects will have the request + // object, and unless it is a notify, success_cb and error_cb. + this._requests = []; + + this.jsonrpcclient = jsonrpcclient; + this.all_done_cb = all_done_cb; + this.error_cb = typeof error_cb === 'function' ? error_cb : function() {}; + + }; + + /** + * @sa $.JsonRpcClient.prototype.call + */ + $.JsonRpcClient._batchObject.prototype.call = function(method, params, success_cb, error_cb) { + + if (!params) { + params = {}; + } + + if (this.options.sessid) { + params.sessid = this.options.sessid; + } + + if (!success_cb) { + success_cb = function(e){console.log("Success: ", e);}; + } + + if (!error_cb) { + error_cb = function(e){console.log("Error: ", e);}; + } + + this._requests.push({ + request : { + jsonrpc : '2.0', + method : method, + params : params, + id : this.jsonrpcclient._current_id++ // Use the client's id series. + }, + success_cb : success_cb, + error_cb : error_cb + }); + }; + + /** + * @sa $.JsonRpcClient.prototype.notify + */ + $.JsonRpcClient._batchObject.prototype.notify = function(method, params) { + if (this.options.sessid) { + params.sessid = this.options.sessid; + } + + this._requests.push({ + request : { + jsonrpc : '2.0', + method : method, + params : params + } + }); + }; + + /** + * Executes the batched up calls. + */ + $.JsonRpcClient._batchObject.prototype._execute = function() { + var self = this; + + if (this._requests.length === 0) return; // All done :P + + // Collect all request data and sort handlers by request id. + var batch_request = []; + var handlers = {}; + var i = 0; + var call; + var success_cb; + var error_cb; + + // If we have a WebSocket, just send the requests individually like normal calls. + var socket = self.jsonrpcclient.options.getSocket(self.jsonrpcclient.wsOnMessage); + if (socket !== null) { + for (i = 0; i < this._requests.length; i++) { + call = this._requests[i]; + success_cb = ('success_cb' in call) ? call.success_cb : undefined; + error_cb = ('error_cb' in call) ? call.error_cb : undefined; + self.jsonrpcclient._wsCall(socket, call.request, success_cb, error_cb); + } + + if (typeof all_done_cb === 'function') all_done_cb(result); + return; + } + + for (i = 0; i < this._requests.length; i++) { + call = this._requests[i]; + batch_request.push(call.request); + + // If the request has an id, it should handle returns (otherwise it's a notify). + if ('id' in call.request) { + handlers[call.request.id] = { + success_cb : call.success_cb, + error_cb : call.error_cb + }; + } + } + + success_cb = function(data) { self._batchCb(data, handlers, self.all_done_cb); }; + + // No WebSocket, and no HTTP backend? This won't work. + if (self.jsonrpcclient.options.ajaxUrl === null) { + throw "$.JsonRpcClient.batch used with no websocket and no http endpoint."; + } + + // Send request + $.ajax({ + url : self.jsonrpcclient.options.ajaxUrl, + data : $.toJSON(batch_request), + dataType : 'json', + cache : false, + type : 'POST', + + // Batch-requests should always return 200 + error : function(jqXHR, textStatus, errorThrown) { + self.error_cb(jqXHR, textStatus, errorThrown); + }, + success : success_cb + }); + }; + + /** + * Internal helper to match the result array from a batch call to their respective callbacks. + * + * @fn _batchCb + * @memberof $.JsonRpcClient + */ + $.JsonRpcClient._batchObject.prototype._batchCb = function(result, handlers, all_done_cb) { + for (var i = 0; i < result.length; i++) { + var response = result[i]; + + // Handle error + if ('error' in response) { + if (response.id === null || !(response.id in handlers)) { + // An error on a notify? Just log it to the console. + if ('console' in window) console.log(response); + } else { + handlers[response.id].error_cb(response.error, this); + } + } else { + // Here we should always have a correct id and no error. + if (!(response.id in handlers) && 'console' in window) { + console.log(response); + } else { + handlers[response.id].success_cb(response.result, this); + } + } + } + + if (typeof all_done_cb === 'function') all_done_cb(result); + }; + +})(jQuery); + +/* + * Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * Copyright (C) 2005-2014, Anthony Minessale II + * + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Verto HTML5/Javascript Telephony Signaling and Control Protocol Stack for FreeSWITCH + * + * The Initial Developer of the Original Code is + * Anthony Minessale II + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Anthony Minessale II + * + * jquery.verto.js - Main interface + * + */ + +(function($) { + var sources = []; + + var generateGUID = (typeof(window.crypto) !== 'undefined' && typeof(window.crypto.getRandomValues) !== 'undefined') ? + function() { + // If we have a cryptographically secure PRNG, use that + // http://stackoverflow.com/questions/6906916/collisions-when-generating-uuids-in-javascript + var buf = new Uint16Array(8); + window.crypto.getRandomValues(buf); + var S4 = function(num) { + var ret = num.toString(16); + while (ret.length < 4) { + ret = "0" + ret; + } + return ret; + }; + return (S4(buf[0]) + S4(buf[1]) + "-" + S4(buf[2]) + "-" + S4(buf[3]) + "-" + S4(buf[4]) + "-" + S4(buf[5]) + S4(buf[6]) + S4(buf[7])); + } + + : + + function() { + // Otherwise, just use Math.random + // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523 + return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { + var r = Math.random() * 16 | 0, + v = c == 'x' ? r : (r & 0x3 | 0x8); + return v.toString(16); + }); + }; + + /// MASTER OBJ + $.verto = function(options, callbacks) { + var verto = this; + + $.verto.saved.push(verto); + + verto.options = $.extend({ + login: null, + passwd: null, + socketUrl: null, + tag: null, + localTag: null, + videoParams: {}, + audioParams: {}, + loginParams: {}, + deviceParams: {onResCheck: null}, + userVariables: {}, + iceServers: false, + ringSleep: 6000, + sessid: null, + useStream: null + }, options); + + if (verto.options.deviceParams.useCamera) { + $.FSRTC.getValidRes(verto.options.deviceParams.useCamera, verto.options.deviceParams.onResCheck); + } + + if (!verto.options.deviceParams.useMic) { + verto.options.deviceParams.useMic = "any"; + } + + if (!verto.options.deviceParams.useSpeak) { + verto.options.deviceParams.useSpeak = "any"; + } + + if (verto.options.sessid) { + verto.sessid = verto.options.sessid; + } else { + verto.sessid = localStorage.getItem("verto_session_uuid") || generateGUID(); + localStorage.setItem("verto_session_uuid", verto.sessid); + } + + verto.dialogs = {}; + verto.callbacks = callbacks || {}; + verto.eventSUBS = {}; + + verto.rpcClient = new $.JsonRpcClient({ + login: verto.options.login, + passwd: verto.options.passwd, + socketUrl: verto.options.socketUrl, + wsFallbackURL: verto.options.wsFallbackURL, + turnServer: verto.options.turnServer, + loginParams: verto.options.loginParams, + userVariables: verto.options.userVariables, + sessid: verto.sessid, + onmessage: function(e) { + return verto.handleMessage(e.eventData); + }, + onWSConnect: function(o) { + o.call('login', {}); + }, + onWSLogin: function(success) { + if (verto.callbacks.onWSLogin) { + verto.callbacks.onWSLogin(verto, success); + } + }, + onWSClose: function(success) { + if (verto.callbacks.onWSClose) { + verto.callbacks.onWSClose(verto, success); + } + verto.purge(); + } + }); + + var tag = verto.options.tag; + if (typeof(tag) === "function") { + tag = tag(); + } + + if (verto.options.ringFile && verto.options.tag) { + verto.ringer = $("#" + tag); + } + + verto.rpcClient.call('login', {}); + + }; + + + $.verto.prototype.deviceParams = function(obj) { + var verto = this; + + for (var i in obj) { + verto.options.deviceParams[i] = obj[i]; + } + + if (obj.useCamera) { + $.FSRTC.getValidRes(verto.options.deviceParams.useCamera, obj ? obj.onResCheck : undefined); + } + }; + + $.verto.prototype.videoParams = function(obj) { + var verto = this; + + for (var i in obj) { + verto.options.videoParams[i] = obj[i]; + } + }; + + $.verto.prototype.iceServers = function(obj) { + var verto = this; + verto.options.iceServers = obj; + }; + + $.verto.prototype.loginData = function(params) { + var verto = this; + verto.options.login = params.login; + verto.options.passwd = params.passwd; + verto.rpcClient.loginData(params); + }; + + $.verto.prototype.logout = function(msg) { + var verto = this; + verto.rpcClient.closeSocket(); + if (verto.callbacks.onWSClose) { + verto.callbacks.onWSClose(verto, false); + } + verto.purge(); + }; + + $.verto.prototype.login = function(msg) { + var verto = this; + verto.logout(); + verto.rpcClient.call('login', {}); + }; + + $.verto.prototype.message = function(msg) { + var verto = this; + var err = 0; + + if (!msg.to) { + console.error("Missing To"); + err++; + } + + if (!msg.body) { + console.error("Missing Body"); + err++; + } + + if (err) { + return false; + } + + verto.sendMethod("verto.info", { + msg: msg + }); + + return true; + }; + + $.verto.prototype.processReply = function(method, success, e) { + var verto = this; + var i; + + //console.log("Response: " + method, success, e); + + switch (method) { + case "verto.subscribe": + for (i in e.unauthorizedChannels) { + drop_bad(verto, e.unauthorizedChannels[i]); + } + for (i in e.subscribedChannels) { + mark_ready(verto, e.subscribedChannels[i]); + } + + break; + case "verto.unsubscribe": + //console.error(e); + break; + } + }; + + $.verto.prototype.sendMethod = function(method, params) { + var verto = this; + + verto.rpcClient.call(method, params, + + function(e) { + /* Success */ + verto.processReply(method, true, e); + }, + + function(e) { + /* Error */ + verto.processReply(method, false, e); + }); + }; + + function do_sub(verto, channel, obj) { + + } + + function drop_bad(verto, channel) { + console.error("drop unauthorized channel: " + channel); + delete verto.eventSUBS[channel]; + } + + function mark_ready(verto, channel) { + for (var j in verto.eventSUBS[channel]) { + verto.eventSUBS[channel][j].ready = true; + console.log("subscribed to channel: " + channel); + if (verto.eventSUBS[channel][j].readyHandler) { + verto.eventSUBS[channel][j].readyHandler(verto, channel); + } + } + } + + var SERNO = 1; + + function do_subscribe(verto, channel, subChannels, sparams) { + var params = sparams || {}; + + var local = params.local; + + var obj = { + eventChannel: channel, + userData: params.userData, + handler: params.handler, + ready: false, + readyHandler: params.readyHandler, + serno: SERNO++ + }; + + var isnew = false; + + if (!verto.eventSUBS[channel]) { + verto.eventSUBS[channel] = []; + subChannels.push(channel); + isnew = true; + } + + verto.eventSUBS[channel].push(obj); + + if (local) { + obj.ready = true; + obj.local = true; + } + + if (!isnew && verto.eventSUBS[channel][0].ready) { + obj.ready = true; + if (obj.readyHandler) { + obj.readyHandler(verto, channel); + } + } + + return { + serno: obj.serno, + eventChannel: channel + }; + + } + + $.verto.prototype.subscribe = function(channel, sparams) { + var verto = this; + var r = []; + var subChannels = []; + var params = sparams || {}; + + if (typeof(channel) === "string") { + r.push(do_subscribe(verto, channel, subChannels, params)); + } else { + for (var i in channel) { + r.push(do_subscribe(verto, channel, subChannels, params)); + } + } + + if (subChannels.length) { + verto.sendMethod("verto.subscribe", { + eventChannel: subChannels.length == 1 ? subChannels[0] : subChannels, + subParams: params.subParams + }); + } + + return r; + }; + + $.verto.prototype.unsubscribe = function(handle) { + var verto = this; + var i; + + if (!handle) { + for (i in verto.eventSUBS) { + if (verto.eventSUBS[i]) { + verto.unsubscribe(verto.eventSUBS[i]); + } + } + } else { + var unsubChannels = {}; + var sendChannels = []; + var channel; + + if (typeof(handle) == "string") { + delete verto.eventSUBS[handle]; + unsubChannels[handle]++; + } else { + for (i in handle) { + if (typeof(handle[i]) == "string") { + channel = handle[i]; + delete verto.eventSUBS[channel]; + unsubChannels[channel]++; + } else { + var repl = []; + channel = handle[i].eventChannel; + + for (var j in verto.eventSUBS[channel]) { + if (verto.eventSUBS[channel][j].serno == handle[i].serno) {} else { + repl.push(verto.eventSUBS[channel][j]); + } + } + + verto.eventSUBS[channel] = repl; + + if (verto.eventSUBS[channel].length === 0) { + delete verto.eventSUBS[channel]; + unsubChannels[channel]++; + } + } + } + } + + for (var u in unsubChannels) { + console.log("Sending Unsubscribe for: ", u); + sendChannels.push(u); + } + + if (sendChannels.length) { + verto.sendMethod("verto.unsubscribe", { + eventChannel: sendChannels.length == 1 ? sendChannels[0] : sendChannels + }); + } + } + }; + + $.verto.prototype.broadcast = function(channel, params) { + var verto = this; + var msg = { + eventChannel: channel, + data: {} + }; + for (var i in params) { + msg.data[i] = params[i]; + } + verto.sendMethod("verto.broadcast", msg); + }; + + $.verto.prototype.purge = function(callID) { + var verto = this; + var x = 0; + var i; + + for (i in verto.dialogs) { + if (!x) { + console.log("purging dialogs"); + } + x++; + verto.dialogs[i].setState($.verto.enum.state.purge); + } + + for (i in verto.eventSUBS) { + if (verto.eventSUBS[i]) { + console.log("purging subscription: " + i); + delete verto.eventSUBS[i]; + } + } + }; + + $.verto.prototype.hangup = function(callID) { + var verto = this; + if (callID) { + var dialog = verto.dialogs[callID]; + + if (dialog) { + dialog.hangup(); + } + } else { + for (var i in verto.dialogs) { + verto.dialogs[i].hangup(); + } + } + }; + + $.verto.prototype.newCall = function(args, callbacks) { + var verto = this; + + if (!verto.rpcClient.socketReady()) { + console.error("Not Connected..."); + return; + } + + if (args["useCamera"]) { + verto.options.deviceParams["useCamera"] = args["useCamera"]; + } + + var dialog = new $.verto.dialog($.verto.enum.direction.outbound, this, args); + + if (callbacks) { + dialog.callbacks = callbacks; + } + + dialog.invite(); + + return dialog; + }; + + $.verto.prototype.handleMessage = function(data) { + var verto = this; + + if (!(data && data.method)) { + console.error("Invalid Data", data); + return; + } + + if (data.params.callID) { + var dialog = verto.dialogs[data.params.callID]; + + if (data.method === "verto.attach" && dialog) { + delete dialog.verto.dialogs[dialog.callID]; + dialog.rtc.stop(); + dialog = null; + } + + if (dialog) { + + switch (data.method) { + case 'verto.bye': + dialog.hangup(data.params); + break; + case 'verto.answer': + dialog.handleAnswer(data.params); + break; + case 'verto.media': + dialog.handleMedia(data.params); + break; + case 'verto.display': + dialog.handleDisplay(data.params); + break; + case 'verto.info': + dialog.handleInfo(data.params); + break; + default: + console.debug("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED", dialog, data.method); + break; + } + } else { + + switch (data.method) { + case 'verto.attach': + data.params.attach = true; + + if (data.params.sdp && data.params.sdp.indexOf("m=video") > 0) { + data.params.useVideo = true; + } + + if (data.params.sdp && data.params.sdp.indexOf("stereo=1") > 0) { + data.params.useStereo = true; + } + + dialog = new $.verto.dialog($.verto.enum.direction.inbound, verto, data.params); + dialog.setState($.verto.enum.state.recovering); + + break; + case 'verto.invite': + + if (data.params.sdp && data.params.sdp.indexOf("m=video") > 0) { + data.params.wantVideo = true; + } + + if (data.params.sdp && data.params.sdp.indexOf("stereo=1") > 0) { + data.params.useStereo = true; + } + + dialog = new $.verto.dialog($.verto.enum.direction.inbound, verto, data.params); + break; + default: + console.debug("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED"); + break; + } + } + + return { + method: data.method + }; + } else { + switch (data.method) { + case 'verto.punt': + verto.purge(); + verto.logout(); + break; + case 'verto.event': + var list = null; + var key = null; + + if (data.params) { + key = data.params.eventChannel; + } + + if (key) { + list = verto.eventSUBS[key]; + + if (!list) { + list = verto.eventSUBS[key.split(".")[0]]; + } + } + + if (!list && key && key === verto.sessid) { + if (verto.callbacks.onMessage) { + verto.callbacks.onMessage(verto, null, $.verto.enum.message.pvtEvent, data.params); + } + } else if (!list && key && verto.dialogs[key]) { + verto.dialogs[key].sendMessage($.verto.enum.message.pvtEvent, data.params); + } else if (!list) { + if (!key) { + key = "UNDEFINED"; + } + console.error("UNSUBBED or invalid EVENT " + key + " IGNORED"); + } else { + for (var i in list) { + var sub = list[i]; + + if (!sub || !sub.ready) { + console.error("invalid EVENT for " + key + " IGNORED"); + } else if (sub.handler) { + sub.handler(verto, data.params, sub.userData); + } else if (verto.callbacks.onEvent) { + verto.callbacks.onEvent(verto, data.params, sub.userData); + } else { + console.log("EVENT:", data.params); + } + } + } + + break; + + case "verto.info": + if (verto.callbacks.onMessage) { + verto.callbacks.onMessage(verto, null, $.verto.enum.message.info, data.params.msg); + } + //console.error(data); + console.debug("MESSAGE from: " + data.params.msg.from, data.params.msg.body); + + break; + + case 'verto.clientReady': + if (verto.callbacks.onMessage) { + verto.callbacks.onMessage(verto, null, $.verto.enum.message.clientReady, data.params); + } + console.debug("CLIENT READY", data.params); + break; + + default: + console.error("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED", data.method); + break; + } + } + }; + + var del_array = function(array, name) { + var r = []; + var len = array.length; + + for (var i = 0; i < len; i++) { + if (array[i] != name) { + r.push(array[i]); + } + } + + return r; + }; + + var hashArray = function() { + var vha = this; + + var hash = {}; + var array = []; + + vha.reorder = function(a) { + array = a; + var h = hash; + hash = {}; + + var len = array.length; + + for (var i = 0; i < len; i++) { + var key = array[i]; + if (h[key]) { + hash[key] = h[key]; + delete h[key]; + } + } + h = undefined; + }; + + vha.clear = function() { + hash = undefined; + array = undefined; + hash = {}; + array = []; + }; + + vha.add = function(name, val, insertAt) { + var redraw = false; + + if (!hash[name]) { + if (insertAt === undefined || insertAt < 0 || insertAt >= array.length) { + array.push(name); + } else { + var x = 0; + var n = []; + var len = array.length; + + for (var i = 0; i < len; i++) { + if (x++==insertAt) { + n.push(name); + } + n.push(array[i]); + } + + array = undefined; + array = n; + n = undefined; + redraw = true; + } + } + + hash[name] = val; + + return redraw; + }; + + vha.del = function(name) { + var r = false; + + if (hash[name]) { + array = del_array(array, name); + delete hash[name]; + r = true; + } else { + console.error("can't del nonexistant key " + name); + } + + return r; + }; + + vha.get = function(name) { + return hash[name]; + }; + + vha.order = function() { + return array; + }; + + vha.hash = function() { + return hash; + }; + + vha.indexOf = function(name) { + var len = array.length; + + for (var i = 0; i < len; i++) { + if (array[i] == name) { + return i; + } + } + }; + + vha.arrayLen = function() { + return array.length; + }; + + vha.asArray = function() { + var r = []; + + var len = array.length; + + for (var i = 0; i < len; i++) { + var key = array[i]; + r.push(hash[key]); + } + + return r; + }; + + vha.each = function(cb) { + var len = array.length; + + for (var i = 0; i < len; i++) { + cb(array[i], hash[array[i]]); + } + }; + + vha.dump = function(html) { + var str = ""; + + vha.each(function(name, val) { + str += "name: " + name + " val: " + JSON.stringify(val) + (html ? "
" : "\n"); + }); + + return str; + }; + + }; + + $.verto.liveArray = function(verto, context, name, config) { + var la = this; + var lastSerno = 0; + var binding = null; + var user_obj = config.userObj; + var local = false; + + // Inherit methods of hashArray + hashArray.call(la); + + // Save the hashArray add, del, reorder, clear methods so we can make our own. + la._add = la.add; + la._del = la.del; + la._reorder = la.reorder; + la._clear = la.clear; + + la.context = context; + la.name = name; + la.user_obj = user_obj; + + la.verto = verto; + la.broadcast = function(channel, obj) { + verto.broadcast(channel, obj); + }; + la.errs = 0; + + la.clear = function() { + la._clear(); + lastSerno = 0; + + if (la.onChange) { + la.onChange(la, { + action: "clear" + }); + } + }; + + la.checkSerno = function(serno) { + if (serno < 0) { + return true; + } + + if (lastSerno > 0 && serno != (lastSerno + 1)) { + if (la.onErr) { + la.onErr(la, { + lastSerno: lastSerno, + serno: serno + }); + } + la.errs++; + console.debug(la.errs); + if (la.errs < 3) { + la.bootstrap(la.user_obj); + } + return false; + } else { + lastSerno = serno; + return true; + } + }; + + la.reorder = function(serno, a) { + if (la.checkSerno(serno)) { + la._reorder(a); + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "reorder" + }); + } + } + }; + + la.init = function(serno, val, key, index) { + if (key === null || key === undefined) { + key = serno; + } + if (la.checkSerno(serno)) { + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "init", + index: index, + key: key, + data: val + }); + } + } + }; + + la.bootObj = function(serno, val) { + if (la.checkSerno(serno)) { + + //la.clear(); + for (var i in val) { + la._add(val[i][0], val[i][1]); + } + + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "bootObj", + data: val, + redraw: true + }); + } + } + }; + + // @param serno La is the serial number for la particular request. + // @param key If looking at it as a hash table, la represents the key in the hashArray object where you want to store the val object. + // @param index If looking at it as an array, la represents the position in the array where you want to store the val object. + // @param val La is the object you want to store at the key or index location in the hash table / array. + la.add = function(serno, val, key, index) { + if (key === null || key === undefined) { + key = serno; + } + if (la.checkSerno(serno)) { + var redraw = la._add(key, val, index); + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "add", + index: index, + key: key, + data: val, + redraw: redraw + }); + } + } + }; + + la.modify = function(serno, val, key, index) { + if (key === null || key === undefined) { + key = serno; + } + if (la.checkSerno(serno)) { + la._add(key, val, index); + if (la.onChange) { + la.onChange(la, { + serno: serno, + action: "modify", + key: key, + data: val, + index: index + }); + } + } + }; + + la.del = function(serno, key, index) { + if (key === null || key === undefined) { + key = serno; + } + if (la.checkSerno(serno)) { + if (index === null || index < 0 || index === undefined) { + index = la.indexOf(key); + } + var ok = la._del(key); + + if (ok && la.onChange) { + la.onChange(la, { + serno: serno, + action: "del", + key: key, + index: index + }); + } + } + }; + + var eventHandler = function(v, e, la) { + var packet = e.data; + + //console.error("READ:", packet); + + if (packet.name != la.name) { + return; + } + + switch (packet.action) { + + case "init": + la.init(packet.wireSerno, packet.data, packet.hashKey, packet.arrIndex); + break; + + case "bootObj": + la.bootObj(packet.wireSerno, packet.data); + break; + case "add": + la.add(packet.wireSerno, packet.data, packet.hashKey, packet.arrIndex); + break; + + case "modify": + if (! (packet.arrIndex || packet.hashKey)) { + console.error("Invalid Packet", packet); + } else { + la.modify(packet.wireSerno, packet.data, packet.hashKey, packet.arrIndex); + } + break; + case "del": + if (! (packet.arrIndex || packet.hashKey)) { + console.error("Invalid Packet", packet); + } else { + la.del(packet.wireSerno, packet.hashKey, packet.arrIndex); + } + break; + + case "clear": + la.clear(); + break; + + case "reorder": + la.reorder(packet.wireSerno, packet.order); + break; + + default: + if (la.checkSerno(packet.wireSerno)) { + if (la.onChange) { + la.onChange(la, { + serno: packet.wireSerno, + action: packet.action, + data: packet.data + }); + } + } + break; + } + }; + + if (la.context) { + binding = la.verto.subscribe(la.context, { + handler: eventHandler, + userData: la, + subParams: config.subParams + }); + } + + la.destroy = function() { + la._clear(); + la.verto.unsubscribe(binding); + }; + + la.sendCommand = function(cmd, obj) { + var self = la; + self.broadcast(self.context, { + liveArray: { + command: cmd, + context: self.context, + name: self.name, + obj: obj + } + }); + }; + + la.bootstrap = function(obj) { + var self = la; + la.sendCommand("bootstrap", obj); + //self.heartbeat(); + }; + + la.changepage = function(obj) { + var self = la; + self.clear(); + self.broadcast(self.context, { + liveArray: { + command: "changepage", + context: la.context, + name: la.name, + obj: obj + } + }); + }; + + la.heartbeat = function(obj) { + var self = la; + + var callback = function() { + self.heartbeat.call(self, obj); + }; + self.broadcast(self.context, { + liveArray: { + command: "heartbeat", + context: self.context, + name: self.name, + obj: obj + } + }); + self.hb_pid = setTimeout(callback, 30000); + }; + + la.bootstrap(la.user_obj); + }; + + $.verto.liveTable = function(verto, context, name, jq, config) { + var dt; + var la = new $.verto.liveArray(verto, context, name, { + subParams: config.subParams + }); + var lt = this; + + lt.liveArray = la; + lt.dataTable = dt; + lt.verto = verto; + + lt.destroy = function() { + if (dt) { + dt.fnDestroy(); + } + if (la) { + la.destroy(); + } + + dt = null; + la = null; + }; + + la.onErr = function(obj, args) { + console.error("Error: ", obj, args); + }; + + /* back compat so jsonstatus can always be enabled */ + function genRow(data) { + if (typeof(data[4]) === "string" && data[4].indexOf("{") > -1) { + var tmp = $.parseJSON(data[4]); + data[4] = tmp.oldStatus; + data[5] = null; + } + return data; + } + + function genArray(obj) { + var data = obj.asArray(); + + for (var i in data) { + data[i] = genRow(data[i]); + } + + return data; + } + + + la.onChange = function(obj, args) { + var index = 0; + var iserr = 0; + + if (!dt) { + if (!config.aoColumns) { + if (args.action != "init") { + return; + } + + config.aoColumns = []; + + for (var i in args.data) { + config.aoColumns.push({ + "sTitle": args.data[i] + }); + } + } + + dt = jq.dataTable(config); + } + + if (dt && (args.action == "del" || args.action == "modify")) { + index = args.index; + + if (index === undefined && args.key) { + index = la.indexOf(args.key); + } + + if (index === undefined) { + console.error("INVALID PACKET Missing INDEX\n", args); + return; + } + } + + if (config.onChange) { + config.onChange(obj, args); + } + + try { + switch (args.action) { + case "bootObj": + if (!args.data) { + console.error("missing data"); + return; + } + dt.fnClearTable(); + dt.fnAddData(genArray(obj)); + dt.fnAdjustColumnSizing(); + break; + case "add": + if (!args.data) { + console.error("missing data"); + return; + } + if (args.redraw > -1) { + // specific position, more costly + dt.fnClearTable(); + dt.fnAddData(genArray(obj)); + } else { + dt.fnAddData(genRow(args.data)); + } + dt.fnAdjustColumnSizing(); + break; + case "modify": + if (!args.data) { + return; + } + //console.debug(args, index); + dt.fnUpdate(genRow(args.data), index); + dt.fnAdjustColumnSizing(); + break; + case "del": + dt.fnDeleteRow(index); + dt.fnAdjustColumnSizing(); + break; + case "clear": + dt.fnClearTable(); + break; + case "reorder": + // specific position, more costly + dt.fnClearTable(); + dt.fnAddData(genArray(obj)); + break; + case "hide": + jq.hide(); + break; + + case "show": + jq.show(); + break; + + } + } catch(err) { + console.error("ERROR: " + err); + iserr++; + } + + if (iserr) { + obj.errs++; + if (obj.errs < 3) { + obj.bootstrap(obj.user_obj); + } + } else { + obj.errs = 0; + } + + }; + + la.onChange(la, { + action: "init" + }); + + }; + + var CONFMAN_SERNO = 1; + + /* + Conference Manager without jQuery table. + */ + + $.verto.conf = function(verto, params) { + var conf = this; + + conf.params = $.extend({ + dialog: null, + hasVid: false, + laData: null, + onBroadcast: null, + onLaChange: null, + onLaRow: null + }, params); + + conf.verto = verto; + conf.serno = CONFMAN_SERNO++; + + createMainModeratorMethods(); + + verto.subscribe(conf.params.laData.modChannel, { + handler: function(v, e) { + if (conf.params.onBroadcast) { + conf.params.onBroadcast(verto, conf, e.data); + } + } + }); + + verto.subscribe(conf.params.laData.infoChannel, { + handler: function(v, e) { + if (typeof(conf.params.infoCallback) === "function") { + conf.params.infoCallback(v,e); + } + } + }); + + verto.subscribe(conf.params.laData.chatChannel, { + handler: function(v, e) { + if (typeof(conf.params.chatCallback) === "function") { + conf.params.chatCallback(v,e); + } + } + }); + }; + + $.verto.conf.prototype.modCommand = function(cmd, id, value) { + var conf = this; + + conf.verto.rpcClient.call("verto.broadcast", { + "eventChannel": conf.params.laData.modChannel, + "data": { + "application": "conf-control", + "command": cmd, + "id": id, + "value": value + } + }); + }; + + $.verto.conf.prototype.destroy = function() { + var conf = this; + + conf.destroyed = true; + conf.params.onBroadcast(conf.verto, conf, 'destroy'); + + if (conf.params.laData.modChannel) { + conf.verto.unsubscribe(conf.params.laData.modChannel); + } + + if (conf.params.laData.chatChannel) { + conf.verto.unsubscribe(conf.params.laData.chatChannel); + } + + if (conf.params.laData.infoChannel) { + conf.verto.unsubscribe(conf.params.laData.infoChannel); + } + }; + + function createMainModeratorMethods() { + $.verto.conf.prototype.listVideoLayouts = function() { + this.modCommand("list-videoLayouts", null, null); + }; + + $.verto.conf.prototype.play = function(file) { + this.modCommand("play", null, file); + }; + + $.verto.conf.prototype.stop = function() { + this.modCommand("stop", null, "all"); + }; + + $.verto.conf.prototype.deaf = function(memberID) { + this.modCommand("deaf", parseInt(memberID)); + }; + + $.verto.conf.prototype.undeaf = function(memberID) { + this.modCommand("undeaf", parseInt(memberID)); + }; + + $.verto.conf.prototype.record = function(file) { + this.modCommand("recording", null, ["start", file]); + }; + + $.verto.conf.prototype.stopRecord = function() { + this.modCommand("recording", null, ["stop", "all"]); + }; + + $.verto.conf.prototype.snapshot = function(file) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("vid-write-png", null, file); + }; + + $.verto.conf.prototype.setVideoLayout = function(layout, canvasID) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + if (canvasID) { + this.modCommand("vid-layout", null, [layout, canvasID]); + } else { + this.modCommand("vid-layout", null, layout); + } + }; + + $.verto.conf.prototype.kick = function(memberID) { + this.modCommand("kick", parseInt(memberID)); + }; + + $.verto.conf.prototype.muteMic = function(memberID) { + this.modCommand("tmute", parseInt(memberID)); + }; + + $.verto.conf.prototype.muteVideo = function(memberID) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("tvmute", parseInt(memberID)); + }; + + $.verto.conf.prototype.presenter = function(memberID) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("vid-res-id", parseInt(memberID), "presenter"); + }; + + $.verto.conf.prototype.videoFloor = function(memberID) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("vid-floor", parseInt(memberID), "force"); + }; + + $.verto.conf.prototype.banner = function(memberID, text) { + if (!this.params.hasVid) { + throw 'Conference has no video'; + } + this.modCommand("vid-banner", parseInt(memberID), escape(text)); + }; + + $.verto.conf.prototype.volumeDown = function(memberID) { + this.modCommand("volume_out", parseInt(memberID), "down"); + }; + + $.verto.conf.prototype.volumeUp = function(memberID) { + this.modCommand("volume_out", parseInt(memberID), "up"); + }; + + $.verto.conf.prototype.gainDown = function(memberID) { + this.modCommand("volume_in", parseInt(memberID), "down"); + }; + + $.verto.conf.prototype.gainUp = function(memberID) { + this.modCommand("volume_in", parseInt(memberID), "up"); + }; + + $.verto.conf.prototype.transfer = function(memberID, exten) { + this.modCommand("transfer", parseInt(memberID), exten); + }; + + $.verto.conf.prototype.sendChat = function(message, type) { + var conf = this; + conf.verto.rpcClient.call("verto.broadcast", { + "eventChannel": conf.params.laData.chatChannel, + "data": { + "action": "send", + "message": message, + "type": type + } + }); + }; + + } + + $.verto.modfuncs = {}; + + $.verto.confMan = function(verto, params) { + var confMan = this; + + confMan.params = $.extend({ + tableID: null, + statusID: null, + mainModID: null, + dialog: null, + hasVid: false, + laData: null, + onBroadcast: null, + onLaChange: null, + onLaRow: null + }, params); + + confMan.verto = verto; + confMan.serno = CONFMAN_SERNO++; + confMan.canvasCount = confMan.params.laData.canvasCount; + + function genMainMod(jq) { + var play_id = "play_" + confMan.serno; + var stop_id = "stop_" + confMan.serno; + var recording_id = "recording_" + confMan.serno; + var snapshot_id = "snapshot_" + confMan.serno; + var rec_stop_id = "recording_stop" + confMan.serno; + var div_id = "confman_" + confMan.serno; + + var html = "

" + + "" + + "" + + "" + + "" + + (confMan.params.hasVid ? "" : "") + + "

"; + + jq.html(html); + + $.verto.modfuncs.change_video_layout = function(id, canvas_id) { + var val = $("#" + id + " option:selected").text(); + if (val !== "none") { + confMan.modCommand("vid-layout", null, [val, canvas_id]); + } + }; + + if (confMan.params.hasVid) { + for (var j = 0; j < confMan.canvasCount; j++) { + var vlayout_id = "confman_vid_layout_" + j + "_" + confMan.serno; + var vlselect_id = "confman_vl_select_" + j + "_" + confMan.serno; + + + var vlhtml = "

" + + "Video Layout Canvas " + (j+1) + + " " + + "

"; + jq.append(vlhtml); + } + + $("#" + snapshot_id).click(function() { + var file = prompt("Please enter file name", ""); + if (file) { + confMan.modCommand("vid-write-png", null, file); + } + }); + } + + $("#" + play_id).click(function() { + var file = prompt("Please enter file name", ""); + if (file) { + confMan.modCommand("play", null, file); + } + }); + + $("#" + stop_id).click(function() { + confMan.modCommand("stop", null, "all"); + }); + + $("#" + recording_id).click(function() { + var file = prompt("Please enter file name", ""); + if (file) { + confMan.modCommand("recording", null, ["start", file]); + } + }); + + $("#" + rec_stop_id).click(function() { + confMan.modCommand("recording", null, ["stop", "all"]); + }); + + } + + function genControls(jq, rowid) { + var x = parseInt(rowid); + var kick_id = "kick_" + x; + var canvas_in_next_id = "canvas_in_next_" + x; + var canvas_in_prev_id = "canvas_in_prev_" + x; + var canvas_out_next_id = "canvas_out_next_" + x; + var canvas_out_prev_id = "canvas_out_prev_" + x; + + var canvas_in_set_id = "canvas_in_set_" + x; + var canvas_out_set_id = "canvas_out_set_" + x; + + var layer_set_id = "layer_set_" + x; + var layer_next_id = "layer_next_" + x; + var layer_prev_id = "layer_prev_" + x; + + var tmute_id = "tmute_" + x; + var tvmute_id = "tvmute_" + x; + var vbanner_id = "vbanner_" + x; + var tvpresenter_id = "tvpresenter_" + x; + var tvfloor_id = "tvfloor_" + x; + var box_id = "box_" + x; + var gainup_id = "gain_in_up" + x; + var gaindn_id = "gain_in_dn" + x; + var volup_id = "vol_in_up" + x; + var voldn_id = "vol_in_dn" + x; + var transfer_id = "transfer" + x; + + + var html = "
"; + + html += "General Controls
"; + + html += "" + + "" + + "" + + "" + + "" + + "" + + ""; + + if (confMan.params.hasVid) { + html += "

Video Controls
"; + + + html += "" + + "" + + "" + + ""; + + if (confMan.canvasCount > 1) { + html += "

Canvas Controls
" + + "" + + "" + + "" + + + "
" + + + "" + + "" + + ""; + } + + html += "
" + + + "" + + "" + + "" + + + + + "
"; + } + + jq.html(html); + + + if (!jq.data("mouse")) { + $("#" + box_id).hide(); + } + + jq.mouseover(function(e) { + jq.data({"mouse": true}); + $("#" + box_id).show(); + }); + + jq.mouseout(function(e) { + jq.data({"mouse": false}); + $("#" + box_id).hide(); + }); + + $("#" + transfer_id).click(function() { + var xten = prompt("Enter Extension"); + if (xten) { + confMan.modCommand("transfer", x, xten); + } + }); + + $("#" + kick_id).click(function() { + confMan.modCommand("kick", x); + }); + + + $("#" + layer_set_id).click(function() { + var cid = prompt("Please enter layer ID", ""); + if (cid) { + confMan.modCommand("vid-layer", x, cid); + } + }); + + $("#" + layer_next_id).click(function() { + confMan.modCommand("vid-layer", x, "next"); + }); + $("#" + layer_prev_id).click(function() { + confMan.modCommand("vid-layer", x, "prev"); + }); + + $("#" + canvas_in_set_id).click(function() { + var cid = prompt("Please enter canvas ID", ""); + if (cid) { + confMan.modCommand("vid-canvas", x, cid); + } + }); + + $("#" + canvas_out_set_id).click(function() { + var cid = prompt("Please enter canvas ID", ""); + if (cid) { + confMan.modCommand("vid-watching-canvas", x, cid); + } + }); + + $("#" + canvas_in_next_id).click(function() { + confMan.modCommand("vid-canvas", x, "next"); + }); + $("#" + canvas_in_prev_id).click(function() { + confMan.modCommand("vid-canvas", x, "prev"); + }); + + + $("#" + canvas_out_next_id).click(function() { + confMan.modCommand("vid-watching-canvas", x, "next"); + }); + $("#" + canvas_out_prev_id).click(function() { + confMan.modCommand("vid-watching-canvas", x, "prev"); + }); + + $("#" + tmute_id).click(function() { + confMan.modCommand("tmute", x); + }); + + if (confMan.params.hasVid) { + $("#" + tvmute_id).click(function() { + confMan.modCommand("tvmute", x); + }); + $("#" + tvpresenter_id).click(function() { + confMan.modCommand("vid-res-id", x, "presenter"); + }); + $("#" + tvfloor_id).click(function() { + confMan.modCommand("vid-floor", x, "force"); + }); + $("#" + vbanner_id).click(function() { + var text = prompt("Please enter text", ""); + if (text) { + confMan.modCommand("vid-banner", x, escape(text)); + } + }); + } + + $("#" + gainup_id).click(function() { + confMan.modCommand("volume_in", x, "up"); + }); + + $("#" + gaindn_id).click(function() { + confMan.modCommand("volume_in", x, "down"); + }); + + $("#" + volup_id).click(function() { + confMan.modCommand("volume_out", x, "up"); + }); + + $("#" + voldn_id).click(function() { + confMan.modCommand("volume_out", x, "down"); + }); + + return html; + } + + var atitle = ""; + var awidth = 0; + + //$(".jsDataTable").width(confMan.params.hasVid ? "900px" : "800px"); + + verto.subscribe(confMan.params.laData.infoChannel, { + handler: function(v, e) { + if (typeof(confMan.params.infoCallback) === "function") { + confMan.params.infoCallback(v,e); + } + } + }); + + verto.subscribe(confMan.params.laData.chatChannel, { + handler: function(v, e) { + if (typeof(confMan.params.chatCallback) === "function") { + confMan.params.chatCallback(v,e); + } + } + }); + + if (confMan.params.laData.role === "moderator") { + atitle = "Action"; + awidth = 600; + + if (confMan.params.mainModID) { + genMainMod($(confMan.params.mainModID)); + $(confMan.params.displayID).html("Moderator Controls Ready

"); + } else { + $(confMan.params.mainModID).html(""); + } + + verto.subscribe(confMan.params.laData.modChannel, { + handler: function(v, e) { + //console.error("MODDATA:", e.data); + if (confMan.params.onBroadcast) { + confMan.params.onBroadcast(verto, confMan, e.data); + } + + if (e.data["conf-command"] === "list-videoLayouts") { + for (var j = 0; j < confMan.canvasCount; j++) { + var vlselect_id = "#confman_vl_select_" + j + "_" + confMan.serno; + var vlayout_id = "#confman_vid_layout_" + j + "_" + confMan.serno; + + var x = 0; + var options; + + $(vlselect_id).selectmenu({}); + $(vlselect_id).selectmenu("enable"); + $(vlselect_id).empty(); + + $(vlselect_id).append(new Option("Choose a Layout", "none")); + + if (e.data.responseData) { + var rdata = []; + + for (var i in e.data.responseData) { + rdata.push(e.data.responseData[i].name); + } + + options = rdata.sort(function(a, b) { + var ga = a.substring(0, 6) == "group:" ? true : false; + var gb = b.substring(0, 6) == "group:" ? true : false; + + if ((ga || gb) && ga != gb) { + return ga ? -1 : 1; + } + + return ( ( a == b ) ? 0 : ( ( a > b ) ? 1 : -1 ) ); + }); + + for (var i in options) { + $(vlselect_id).append(new Option(options[i], options[i])); + x++; + } + } + + if (x) { + $(vlselect_id).selectmenu('refresh', true); + } else { + $(vlayout_id).hide(); + } + } + } else { + + if (!confMan.destroyed && confMan.params.displayID) { + $(confMan.params.displayID).html(e.data.response + "

"); + if (confMan.lastTimeout) { + clearTimeout(confMan.lastTimeout); + confMan.lastTimeout = 0; + } + confMan.lastTimeout = setTimeout(function() { $(confMan.params.displayID).html(confMan.destroyed ? "" : "Moderator Controls Ready

");}, 4000); + } + } + } + }); + + + if (confMan.params.hasVid) { + confMan.modCommand("list-videoLayouts", null, null); + } + } + + var row_callback = null; + + if (confMan.params.laData.role === "moderator") { + row_callback = function(nRow, aData, iDisplayIndex, iDisplayIndexFull) { + if (!aData[5]) { + var $row = $('td:eq(5)', nRow); + genControls($row, aData); + + if (confMan.params.onLaRow) { + confMan.params.onLaRow(verto, confMan, $row, aData); + } + } + }; + } + + confMan.lt = new $.verto.liveTable(verto, confMan.params.laData.laChannel, confMan.params.laData.laName, $(confMan.params.tableID), { + subParams: { + callID: confMan.params.dialog ? confMan.params.dialog.callID : null + }, + + "onChange": function(obj, args) { + $(confMan.params.statusID).text("Conference Members: " + " (" + obj.arrayLen() + " Total)"); + if (confMan.params.onLaChange) { + confMan.params.onLaChange(verto, confMan, $.verto.enum.confEvent.laChange, obj, args); + } + }, + + "aaData": [], + "aoColumns": [ + { + "sTitle": "ID", + "sWidth": "50" + }, + { + "sTitle": "Number", + "sWidth": "250" + }, + { + "sTitle": "Name", + "sWidth": "250" + }, + { + "sTitle": "Codec", + "sWidth": "100" + }, + { + "sTitle": "Status", + "sWidth": confMan.params.hasVid ? "200px" : "150px" + }, + { + "sTitle": atitle, + "sWidth": awidth, + } + ], + "bAutoWidth": true, + "bDestroy": true, + "bSort": false, + "bInfo": false, + "bFilter": false, + "bLengthChange": false, + "bPaginate": false, + "iDisplayLength": 1400, + + "oLanguage": { + "sEmptyTable": "The Conference is Empty....." + }, + + "fnRowCallback": row_callback + + }); + }; + + $.verto.confMan.prototype.modCommand = function(cmd, id, value) { + var confMan = this; + + confMan.verto.rpcClient.call("verto.broadcast", { + "eventChannel": confMan.params.laData.modChannel, + "data": { + "application": "conf-control", + "command": cmd, + "id": id, + "value": value + } + }); + }; + + $.verto.confMan.prototype.sendChat = function(message, type) { + var confMan = this; + confMan.verto.rpcClient.call("verto.broadcast", { + "eventChannel": confMan.params.laData.chatChannel, + "data": { + "action": "send", + "message": message, + "type": type + } + }); + }; + + + $.verto.confMan.prototype.destroy = function() { + var confMan = this; + + confMan.destroyed = true; + + if (confMan.lt) { + confMan.lt.destroy(); + } + + if (confMan.params.laData.chatChannel) { + confMan.verto.unsubscribe(confMan.params.laData.chatChannel); + } + + if (confMan.params.laData.modChannel) { + confMan.verto.unsubscribe(confMan.params.laData.modChannel); + } + + if (confMan.params.mainModID) { + $(confMan.params.mainModID).html(""); + } + }; + + $.verto.dialog = function(direction, verto, params) { + var dialog = this; + + dialog.params = $.extend({ + useVideo: verto.options.useVideo, + useStereo: verto.options.useStereo, + screenShare: false, + useCamera: false, + useMic: verto.options.deviceParams.useMic, + useSpeak: verto.options.deviceParams.useSpeak, + tag: verto.options.tag, + localTag: verto.options.localTag, + login: verto.options.login, + videoParams: verto.options.videoParams, + useStream: verto.options.useStream, + }, params); + + + if (!dialog.params.screenShare) { + dialog.params.useCamera = verto.options.deviceParams.useCamera; + } + + dialog.verto = verto; + dialog.direction = direction; + dialog.lastState = null; + dialog.state = dialog.lastState = $.verto.enum.state.new; + dialog.callbacks = verto.callbacks; + dialog.answered = false; + dialog.attach = params.attach || false; + dialog.screenShare = params.screenShare || false; + dialog.useCamera = dialog.params.useCamera; + dialog.useMic = dialog.params.useMic; + dialog.useSpeak = dialog.params.useSpeak; + + if (dialog.params.callID) { + dialog.callID = dialog.params.callID; + } else { + dialog.callID = dialog.params.callID = generateGUID(); + } + + if (typeof(dialog.params.tag) === "function") { + dialog.params.tag = dialog.params.tag(); + } + + if (dialog.params.tag) { + dialog.audioStream = document.getElementById(dialog.params.tag); + + if (dialog.params.useVideo) { + dialog.videoStream = dialog.audioStream; + } + } //else conjure one TBD + + if (dialog.params.localTag) { + dialog.localVideo = document.getElementById(dialog.params.localTag); + } + + dialog.verto.dialogs[dialog.callID] = dialog; + + var RTCcallbacks = {}; + + if (dialog.direction == $.verto.enum.direction.inbound) { + if (dialog.params.display_direction === "outbound") { + dialog.params.remote_caller_id_name = dialog.params.caller_id_name; + dialog.params.remote_caller_id_number = dialog.params.caller_id_number; + } else { + dialog.params.remote_caller_id_name = dialog.params.callee_id_name; + dialog.params.remote_caller_id_number = dialog.params.callee_id_number; + } + + if (!dialog.params.remote_caller_id_name) { + dialog.params.remote_caller_id_name = "Nobody"; + } + + if (!dialog.params.remote_caller_id_number) { + dialog.params.remote_caller_id_number = "UNKNOWN"; + } + + RTCcallbacks.onMessage = function(rtc, msg) { + console.debug(msg); + }; + + RTCcallbacks.onAnswerSDP = function(rtc, sdp) { + console.error("answer sdp", sdp); + }; + } else { + dialog.params.remote_caller_id_name = "Outbound Call"; + dialog.params.remote_caller_id_number = dialog.params.destination_number; + } + + RTCcallbacks.onICESDP = function(rtc) { + console.log("RECV " + rtc.type + " SDP", rtc.mediaData.SDP); + + if (dialog.state == $.verto.enum.state.requesting || dialog.state == $.verto.enum.state.answering || dialog.state == $.verto.enum.state.active) { + location.reload(); + return; + } + + if (rtc.type == "offer") { + if (dialog.state == $.verto.enum.state.active) { + dialog.setState($.verto.enum.state.requesting); + dialog.sendMethod("verto.attach", { + sdp: rtc.mediaData.SDP + }); + } else { + dialog.setState($.verto.enum.state.requesting); + + dialog.sendMethod("verto.invite", { + sdp: rtc.mediaData.SDP + }); + } + } else { //answer + dialog.setState($.verto.enum.state.answering); + + dialog.sendMethod(dialog.attach ? "verto.attach" : "verto.answer", { + sdp: dialog.rtc.mediaData.SDP + }); + } + }; + + RTCcallbacks.onICE = function(rtc) { + //console.log("cand", rtc.mediaData.candidate); + if (rtc.type == "offer") { + console.log("offer", rtc.mediaData.candidate); + return; + } + }; + + RTCcallbacks.onStream = function(rtc, stream) { + if (dialog.callbacks.permissionCallback && + typeof dialog.callbacks.permissionCallback.onGranted === 'function') { + dialog.callbacks.permissionCallback.onGranted(stream); + } + else if (dialog.verto.options.permissionCallback && + typeof dialog.verto.options.permissionCallback.onGranted === 'function'){ + dialog.verto.options.permissionCallback.onGranted(stream); + } + console.log("stream started"); + }; + + RTCcallbacks.onRemoteStream = function(rtc, stream) { + if (typeof dialog.callbacks.onRemoteStream === 'function') { + dialog.callbacks.onRemoteStream(stream, dialog); + } + console.log("remote stream started"); + }; + + RTCcallbacks.onError = function(e) { + if (dialog.callbacks.permissionCallback && + typeof dialog.callbacks.permissionCallback.onDenied === 'function') { + dialog.callbacks.permissionCallback.onDenied(); + } + else if (dialog.verto.options.permissionCallback && + typeof dialog.verto.options.permissionCallback.onDenied === 'function'){ + dialog.verto.options.permissionCallback.onDenied(); + } + console.error("ERROR:", e); + dialog.hangup({cause: "Device or Permission Error"}); + }; + + dialog.rtc = new $.FSRTC({ + callbacks: RTCcallbacks, + localVideo: dialog.screenShare ? null : dialog.localVideo, + useVideo: dialog.params.useVideo ? dialog.videoStream : null, + useAudio: dialog.audioStream, + useStereo: dialog.params.useStereo, + videoParams: dialog.params.videoParams, + audioParams: verto.options.audioParams, + iceServers: verto.options.iceServers, + screenShare: dialog.screenShare, + useCamera: dialog.useCamera, + useMic: dialog.useMic, + useSpeak: dialog.useSpeak, + turnServer: verto.options.turnServer, + useStream: dialog.params.useStream + }); + + dialog.rtc.verto = dialog.verto; + + if (dialog.direction == $.verto.enum.direction.inbound) { + if (dialog.attach) { + dialog.answer(); + } else { + dialog.ring(); + } + } + }; + + $.verto.dialog.prototype.invite = function() { + var dialog = this; + dialog.rtc.call(); + }; + + $.verto.dialog.prototype.sendMethod = function(method, obj) { + var dialog = this; + obj.dialogParams = {}; + + for (var i in dialog.params) { + if (i == "sdp" && method != "verto.invite" && method != "verto.attach") { + continue; + } + + if ((obj.noDialogParams && i != "callID")) { + continue; + } + + obj.dialogParams[i] = dialog.params[i]; + } + + delete obj.noDialogParams; + + dialog.verto.rpcClient.call(method, obj, + + function(e) { + /* Success */ + dialog.processReply(method, true, e); + }, + + function(e) { + /* Error */ + dialog.processReply(method, false, e); + }); + }; + + function checkStateChange(oldS, newS) { + + if (newS == $.verto.enum.state.purge || $.verto.enum.states[oldS.name][newS.name]) { + return true; + } + + return false; + } + + + // Attach audio output device to video element using device/sink ID. + function find_name(id) { + for (var i in $.verto.audioOutDevices) { + var source = $.verto.audioOutDevices[i]; + if (source.id === id) { + return(source.label); + } + } + + return id; + } + + $.verto.dialog.prototype.setAudioPlaybackDevice = function(sinkId, callback, arg) { + var dialog = this; + var element = dialog.audioStream; + + if (typeof element.sinkId !== 'undefined') { + var devname = find_name(sinkId); + console.info("Dialog: " + dialog.callID + " Setting speaker:", element, devname); + + element.setSinkId(sinkId) + .then(function() { + console.log("Dialog: " + dialog.callID + ' Success, audio output device attached: ' + sinkId); + if (callback) { + callback(true, devname, arg); + } + }) + .catch(function(error) { + var errorMessage = error; + if (error.name === 'SecurityError') { + errorMessage = "Dialog: " + dialog.callID + ' You need to use HTTPS for selecting audio output ' + + 'device: ' + error; + } + if (callback) { + callback(false, null, arg); + } + console.error(errorMessage); + }); + } else { + console.warn("Dialog: " + dialog.callID + ' Browser does not support output device selection.'); + if (callback) { + callback(false, null, arg); + } + } + } + + $.verto.dialog.prototype.setState = function(state) { + var dialog = this; + + if (dialog.state == $.verto.enum.state.ringing) { + dialog.stopRinging(); + } + + if (dialog.state == state || !checkStateChange(dialog.state, state)) { + console.error("Dialog " + dialog.callID + ": INVALID state change from " + dialog.state.name + " to " + state.name); + dialog.hangup(); + return false; + } + + console.log("Dialog " + dialog.callID + ": state change from " + dialog.state.name + " to " + state.name); + + dialog.lastState = dialog.state; + dialog.state = state; + + if (dialog.callbacks.onDialogState) { + dialog.callbacks.onDialogState(this); + } + + switch (dialog.state) { + + case $.verto.enum.state.early: + case $.verto.enum.state.active: + + var speaker = dialog.useSpeak; + console.info("Using Speaker: ", speaker); + + if (speaker && speaker !== "any" && speaker !== "none") { + setTimeout(function() { + dialog.setAudioPlaybackDevice(speaker); + }, 500); + } + + break; + + case $.verto.enum.state.trying: + setTimeout(function() { + if (dialog.state == $.verto.enum.state.trying) { + dialog.setState($.verto.enum.state.hangup); + } + }, 30000); + break; + case $.verto.enum.state.purge: + dialog.setState($.verto.enum.state.destroy); + break; + case $.verto.enum.state.hangup: + + if (dialog.lastState.val > $.verto.enum.state.requesting.val && dialog.lastState.val < $.verto.enum.state.hangup.val) { + dialog.sendMethod("verto.bye", {}); + } + + dialog.setState($.verto.enum.state.destroy); + break; + case $.verto.enum.state.destroy: + + if (typeof(dialog.verto.options.tag) === "function") { + $('#' + dialog.params.tag).remove(); + } + + delete dialog.verto.dialogs[dialog.callID]; + if (dialog.params.screenShare) { + dialog.rtc.stopPeer(); + } else { + dialog.rtc.stop(); + } + break; + } + + return true; + }; + + $.verto.dialog.prototype.processReply = function(method, success, e) { + var dialog = this; + + //console.log("Response: " + method + " State:" + dialog.state.name, success, e); + + switch (method) { + + case "verto.answer": + case "verto.attach": + if (success) { + dialog.setState($.verto.enum.state.active); + } else { + dialog.hangup(); + } + break; + case "verto.invite": + if (success) { + dialog.setState($.verto.enum.state.trying); + } else { + dialog.setState($.verto.enum.state.destroy); + } + break; + + case "verto.bye": + dialog.hangup(); + break; + + case "verto.modify": + if (e.holdState) { + if (e.holdState == "held") { + if (dialog.state != $.verto.enum.state.held) { + dialog.setState($.verto.enum.state.held); + } + } else if (e.holdState == "active") { + if (dialog.state != $.verto.enum.state.active) { + dialog.setState($.verto.enum.state.active); + } + } + } + + if (success) {} + + break; + + default: + break; + } + + }; + + $.verto.dialog.prototype.hangup = function(params) { + var dialog = this; + + if (params) { + if (params.causeCode) { + dialog.causeCode = params.causeCode; + } + + if (params.cause) { + dialog.cause = params.cause; + } + } + + if (!dialog.cause && !dialog.causeCode) { + dialog.cause = "NORMAL_CLEARING"; + } + + if (dialog.state.val >= $.verto.enum.state.new.val && dialog.state.val < $.verto.enum.state.hangup.val) { + dialog.setState($.verto.enum.state.hangup); + } else if (dialog.state.val < $.verto.enum.state.destroy) { + dialog.setState($.verto.enum.state.destroy); + } + }; + + $.verto.dialog.prototype.stopRinging = function() { + var dialog = this; + if (dialog.verto.ringer) { + dialog.verto.ringer.stop(); + } + }; + + $.verto.dialog.prototype.indicateRing = function() { + var dialog = this; + + if (dialog.verto.ringer) { + dialog.verto.ringer.attr("src", dialog.verto.options.ringFile)[0].play(); + + setTimeout(function() { + dialog.stopRinging(); + if (dialog.state == $.verto.enum.state.ringing) { + dialog.indicateRing(); + } + }, + dialog.verto.options.ringSleep); + } + }; + + $.verto.dialog.prototype.ring = function() { + var dialog = this; + + dialog.setState($.verto.enum.state.ringing); + dialog.indicateRing(); + }; + + $.verto.dialog.prototype.useVideo = function(on) { + var dialog = this; + + dialog.params.useVideo = on; + + if (on) { + dialog.videoStream = dialog.audioStream; + } else { + dialog.videoStream = null; + } + + dialog.rtc.useVideo(dialog.videoStream, dialog.localVideo); + + }; + + $.verto.dialog.prototype.setMute = function(what) { + var dialog = this; + return dialog.rtc.setMute(what); + }; + + $.verto.dialog.prototype.getMute = function() { + var dialog = this; + return dialog.rtc.getMute(); + }; + + $.verto.dialog.prototype.setVideoMute = function(what) { + var dialog = this; + return dialog.rtc.setVideoMute(what); + }; + + $.verto.dialog.prototype.getVideoMute = function() { + var dialog = this; + return dialog.rtc.getVideoMute(); + }; + + $.verto.dialog.prototype.useStereo = function(on) { + var dialog = this; + + dialog.params.useStereo = on; + dialog.rtc.useStereo(on); + }; + + $.verto.dialog.prototype.dtmf = function(digits) { + var dialog = this; + if (digits) { + dialog.sendMethod("verto.info", { + dtmf: digits + }); + } + }; + + $.verto.dialog.prototype.rtt = function(obj) { + var dialog = this; + var pobj = {}; + + if (!obj) { + return false; + } + + pobj.code = obj.code; + pobj.chars = obj.chars; + + + if (pobj.chars || pobj.code) { + dialog.sendMethod("verto.info", { + txt: obj, + noDialogParams: true + }); + } + }; + + $.verto.dialog.prototype.transfer = function(dest, params) { + var dialog = this; + if (dest) { + dialog.sendMethod("verto.modify", { + action: "transfer", + destination: dest, + params: params + }); + } + }; + + $.verto.dialog.prototype.replace = function(replaceCallID, params) { + var dialog = this; + if (replaceCallID) { + dialog.sendMethod("verto.modify", { + action: "replace", + replaceCallID: replaceCallID, + params: params + }); + } + }; + + $.verto.dialog.prototype.hold = function(params) { + var dialog = this; + + dialog.sendMethod("verto.modify", { + action: "hold", + params: params + }); + }; + + $.verto.dialog.prototype.unhold = function(params) { + var dialog = this; + + dialog.sendMethod("verto.modify", { + action: "unhold", + params: params + }); + }; + + $.verto.dialog.prototype.toggleHold = function(params) { + var dialog = this; + + dialog.sendMethod("verto.modify", { + action: "toggleHold", + params: params + }); + }; + + $.verto.dialog.prototype.message = function(msg) { + var dialog = this; + var err = 0; + + msg.from = dialog.params.login; + + if (!msg.to) { + console.error("Missing To"); + err++; + } + + if (!msg.body) { + console.error("Missing Body"); + err++; + } + + if (err) { + return false; + } + + dialog.sendMethod("verto.info", { + msg: msg + }); + + return true; + }; + + $.verto.dialog.prototype.answer = function(params) { + var dialog = this; + + if (!dialog.answered) { + if (!params) { + params = {}; + } + + params.sdp = dialog.params.sdp; + + if (params) { + if (params.useVideo) { + dialog.useVideo(true); + } + dialog.params.callee_id_name = params.callee_id_name; + dialog.params.callee_id_number = params.callee_id_number; + + if (params.useCamera) { + dialog.useCamera = params.useCamera; + } + + if (params.useMic) { + dialog.useMic = params.useMic; + } + + if (params.useSpeak) { + dialog.useSpeak = params.useSpeak; + } + } + + dialog.rtc.createAnswer(params); + dialog.answered = true; + } + }; + + $.verto.dialog.prototype.handleAnswer = function(params) { + var dialog = this; + + dialog.gotAnswer = true; + + if (dialog.state.val >= $.verto.enum.state.active.val) { + return; + } + + if (dialog.state.val >= $.verto.enum.state.early.val) { + dialog.setState($.verto.enum.state.active); + } else { + if (dialog.gotEarly) { + console.log("Dialog " + dialog.callID + " Got answer while still establishing early media, delaying..."); + } else { + console.log("Dialog " + dialog.callID + " Answering Channel"); + dialog.rtc.answer(params.sdp, function() { + dialog.setState($.verto.enum.state.active); + }, function(e) { + console.error(e); + dialog.hangup(); + }); + console.log("Dialog " + dialog.callID + "ANSWER SDP", params.sdp); + } + } + + + }; + + $.verto.dialog.prototype.cidString = function(enc) { + var dialog = this; + var party = dialog.params.remote_caller_id_name + (enc ? " <" : " <") + dialog.params.remote_caller_id_number + (enc ? ">" : ">"); + return party; + }; + + $.verto.dialog.prototype.sendMessage = function(msg, params) { + var dialog = this; + + if (dialog.callbacks.onMessage) { + dialog.callbacks.onMessage(dialog.verto, dialog, msg, params); + } + }; + + $.verto.dialog.prototype.handleInfo = function(params) { + var dialog = this; + + dialog.sendMessage($.verto.enum.message.info, params); + + }; + + $.verto.dialog.prototype.handleDisplay = function(params) { + var dialog = this; + + if (params.display_name) { + dialog.params.remote_caller_id_name = params.display_name; + } + if (params.display_number) { + dialog.params.remote_caller_id_number = params.display_number; + } + + dialog.sendMessage($.verto.enum.message.display, {}); + }; + + $.verto.dialog.prototype.handleMedia = function(params) { + var dialog = this; + + if (dialog.state.val >= $.verto.enum.state.early.val) { + return; + } + + dialog.gotEarly = true; + + dialog.rtc.answer(params.sdp, function() { + console.log("Dialog " + dialog.callID + "Establishing early media"); + dialog.setState($.verto.enum.state.early); + + if (dialog.gotAnswer) { + console.log("Dialog " + dialog.callID + "Answering Channel"); + dialog.setState($.verto.enum.state.active); + } + }, function(e) { + console.error(e); + dialog.hangup(); + }); + console.log("Dialog " + dialog.callID + "EARLY SDP", params.sdp); + }; + + $.verto.ENUM = function(s) { + var i = 0, + o = {}; + s.split(" ").map(function(x) { + o[x] = { + name: x, + val: i++ + }; + }); + return Object.freeze(o); + }; + + $.verto.enum = {}; + + $.verto.enum.states = Object.freeze({ + new: { + requesting: 1, + recovering: 1, + ringing: 1, + destroy: 1, + answering: 1, + hangup: 1 + }, + requesting: { + trying: 1, + hangup: 1, + active: 1 + }, + recovering: { + answering: 1, + hangup: 1 + }, + trying: { + active: 1, + early: 1, + hangup: 1 + }, + ringing: { + answering: 1, + hangup: 1 + }, + answering: { + active: 1, + hangup: 1 + }, + active: { + answering: 1, + requesting: 1, + hangup: 1, + held: 1 + }, + held: { + hangup: 1, + active: 1 + }, + early: { + hangup: 1, + active: 1 + }, + hangup: { + destroy: 1 + }, + destroy: {}, + purge: { + destroy: 1 + } + }); + + $.verto.enum.state = $.verto.ENUM("new requesting trying recovering ringing answering early active held hangup destroy purge"); + $.verto.enum.direction = $.verto.ENUM("inbound outbound"); + $.verto.enum.message = $.verto.ENUM("display info pvtEvent clientReady"); + + $.verto.enum = Object.freeze($.verto.enum); + + $.verto.saved = []; + + $.verto.unloadJobs = []; + + var unloadEventName = 'beforeunload'; + // Hacks for Mobile Safari + var iOS = ['iPad', 'iPhone', 'iPod'].indexOf(navigator.platform) >= 0; + if (iOS) { + unloadEventName = 'pagehide'; + } + + $(window).bind(unloadEventName, function() { + for (var f in $.verto.unloadJobs) { + $.verto.unloadJobs[f](); + } + + if ($.verto.haltClosure) + return $.verto.haltClosure(); + + for (var i in $.verto.saved) { + var verto = $.verto.saved[i]; + if (verto) { + verto.purge(); + verto.logout(); + } + } + + return $.verto.warnOnUnload; + }); + + $.verto.videoDevices = []; + $.verto.audioInDevices = []; + $.verto.audioOutDevices = []; + + var checkDevices = function(runtime) { + console.info("enumerating devices"); + var aud_in = [], aud_out = [], vid = []; + var has_video = 0, has_audio = 0; + var Xstream; + + function gotDevices(deviceInfos) { + // Handles being called several times to update labels. Preserve values. + for (var i = 0; i !== deviceInfos.length; ++i) { + var deviceInfo = deviceInfos[i]; + var text = ""; + + console.log(deviceInfo); + console.log(deviceInfo.kind + ": " + deviceInfo.label + " id = " + deviceInfo.deviceId); + + if (deviceInfo.kind === 'audioinput') { + text = deviceInfo.label || 'microphone ' + (aud_in.length + 1); + aud_in.push({id: deviceInfo.deviceId, kind: "audio_in", label: text}); + } else if (deviceInfo.kind === 'audiooutput') { + text = deviceInfo.label || 'speaker ' + (aud_out.length + 1); + aud_out.push({id: deviceInfo.deviceId, kind: "audio_out", label: text}); + } else if (deviceInfo.kind === 'videoinput') { + text = deviceInfo.label || 'camera ' + (vid.length + 1); + vid.push({id: deviceInfo.deviceId, kind: "video", label: text}); + } else { + console.log('Some other kind of source/device: ', deviceInfo); + } + } + + + $.verto.videoDevices = vid; + $.verto.audioInDevices = aud_in; + $.verto.audioOutDevices = aud_out; + + console.info("Audio IN Devices", $.verto.audioInDevices); + console.info("Audio Out Devices", $.verto.audioOutDevices); + console.info("Video Devices", $.verto.videoDevices); + + if (Xstream) { + Xstream.getTracks().forEach(function(track) {track.stop();}); + } + + if (runtime) { + runtime(true); + } + } + + + + + function handleError(error) { + console.log('device enumeration error: ', error); + if (runtime) runtime(false); + } + + + function checkTypes(devs) { + for (var i = 0; i !== devs.length; ++i) { + + if (devs[i].kind === 'audioinput') { + has_audio++; + } else if (devs[i].kind === 'videoinput') { + has_video++; + } + } + + navigator.getUserMedia({ audio: (has_audio > 0 ? true : false), video: (has_video > 0 ? true : false)}, + function(stream) { + Xstream = stream; + navigator.mediaDevices.enumerateDevices().then(gotDevices).catch(handleError); + }, + function(err) { + console.log("The following error occurred: " + err.name); + } + ); + } + + navigator.mediaDevices.enumerateDevices().then(checkTypes).catch(handleError); + + }; + + $.verto.refreshDevices = function(runtime) { + checkDevices(runtime); + } + + $.verto.init = function(obj, runtime) { + if (!obj) { + obj = {}; + } + + if (!obj.skipPermCheck && !obj.skipDeviceCheck) { + $.FSRTC.checkPerms(function(status) { + checkDevices(runtime); + }, true, true); + } else if (obj.skipPermCheck && !obj.skipDeviceCheck) { + checkDevices(runtime); + } else if (!obj.skipPermCheck && obj.skipDeviceCheck) { + $.FSRTC.checkPerms(function(status) { + runtime(status); + }, true, true); + } else { + runtime(null); + } + + } + + $.verto.genUUID = function () { + return generateGUID(); + } + + +})(jQuery); +(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.adapter = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o= 14393 && + url.indexOf('?transport=udp') === -1; + }); + + delete server.url; + server.urls = isString ? urls[0] : urls; + return !!urls.length; + } + }); +} + +// Determines the intersection of local and remote capabilities. +function getCommonCapabilities(localCapabilities, remoteCapabilities) { + var commonCapabilities = { + codecs: [], + headerExtensions: [], + fecMechanisms: [] + }; + + var findCodecByPayloadType = function(pt, codecs) { + pt = parseInt(pt, 10); + for (var i = 0; i < codecs.length; i++) { + if (codecs[i].payloadType === pt || + codecs[i].preferredPayloadType === pt) { + return codecs[i]; + } + } + }; + + var rtxCapabilityMatches = function(lRtx, rRtx, lCodecs, rCodecs) { + var lCodec = findCodecByPayloadType(lRtx.parameters.apt, lCodecs); + var rCodec = findCodecByPayloadType(rRtx.parameters.apt, rCodecs); + return lCodec && rCodec && + lCodec.name.toLowerCase() === rCodec.name.toLowerCase(); + }; + + localCapabilities.codecs.forEach(function(lCodec) { + for (var i = 0; i < remoteCapabilities.codecs.length; i++) { + var rCodec = remoteCapabilities.codecs[i]; + if (lCodec.name.toLowerCase() === rCodec.name.toLowerCase() && + lCodec.clockRate === rCodec.clockRate) { + if (lCodec.name.toLowerCase() === 'rtx' && + lCodec.parameters && rCodec.parameters.apt) { + // for RTX we need to find the local rtx that has a apt + // which points to the same local codec as the remote one. + if (!rtxCapabilityMatches(lCodec, rCodec, + localCapabilities.codecs, remoteCapabilities.codecs)) { + continue; + } + } + rCodec = JSON.parse(JSON.stringify(rCodec)); // deepcopy + // number of channels is the highest common number of channels + rCodec.numChannels = Math.min(lCodec.numChannels, + rCodec.numChannels); + // push rCodec so we reply with offerer payload type + commonCapabilities.codecs.push(rCodec); + + // determine common feedback mechanisms + rCodec.rtcpFeedback = rCodec.rtcpFeedback.filter(function(fb) { + for (var j = 0; j < lCodec.rtcpFeedback.length; j++) { + if (lCodec.rtcpFeedback[j].type === fb.type && + lCodec.rtcpFeedback[j].parameter === fb.parameter) { + return true; + } + } + return false; + }); + // FIXME: also need to determine .parameters + // see https://github.com/openpeer/ortc/issues/569 + break; + } + } + }); + + localCapabilities.headerExtensions.forEach(function(lHeaderExtension) { + for (var i = 0; i < remoteCapabilities.headerExtensions.length; + i++) { + var rHeaderExtension = remoteCapabilities.headerExtensions[i]; + if (lHeaderExtension.uri === rHeaderExtension.uri) { + commonCapabilities.headerExtensions.push(rHeaderExtension); + break; + } + } + }); + + // FIXME: fecMechanisms + return commonCapabilities; +} + +// is action=setLocalDescription with type allowed in signalingState +function isActionAllowedInSignalingState(action, type, signalingState) { + return { + offer: { + setLocalDescription: ['stable', 'have-local-offer'], + setRemoteDescription: ['stable', 'have-remote-offer'] + }, + answer: { + setLocalDescription: ['have-remote-offer', 'have-local-pranswer'], + setRemoteDescription: ['have-local-offer', 'have-remote-pranswer'] + } + }[type][action].indexOf(signalingState) !== -1; +} + +function maybeAddCandidate(iceTransport, candidate) { + // Edge's internal representation adds some fields therefore + // not all fieldѕ are taken into account. + var alreadyAdded = iceTransport.getRemoteCandidates() + .find(function(remoteCandidate) { + return candidate.foundation === remoteCandidate.foundation && + candidate.ip === remoteCandidate.ip && + candidate.port === remoteCandidate.port && + candidate.priority === remoteCandidate.priority && + candidate.protocol === remoteCandidate.protocol && + candidate.type === remoteCandidate.type; + }); + if (!alreadyAdded) { + iceTransport.addRemoteCandidate(candidate); + } + return !alreadyAdded; +} + + +// https://w3c.github.io/mediacapture-main/#mediastream +// Helper function to add the track to the stream and +// dispatch the event ourselves. +function addTrackToStreamAndFireEvent(track, stream) { + stream.addTrack(track); + var e = new Event('addtrack'); // TODO: MediaStreamTrackEvent + e.track = track; + stream.dispatchEvent(e); +} + +function removeTrackFromStreamAndFireEvent(track, stream) { + stream.removeTrack(track); + var e = new Event('removetrack'); // TODO: MediaStreamTrackEvent + e.track = track; + stream.dispatchEvent(e); +} + +function fireAddTrack(pc, track, receiver, streams) { + var trackEvent = new Event('track'); + trackEvent.track = track; + trackEvent.receiver = receiver; + trackEvent.transceiver = {receiver: receiver}; + trackEvent.streams = streams; + window.setTimeout(function() { + pc._dispatchEvent('track', trackEvent); + }); +} + +function makeError(name, description) { + var e = new Error(description); + e.name = name; + return e; +} + +module.exports = function(window, edgeVersion) { + var RTCPeerConnection = function(config) { + var pc = this; + + var _eventTarget = document.createDocumentFragment(); + ['addEventListener', 'removeEventListener', 'dispatchEvent'] + .forEach(function(method) { + pc[method] = _eventTarget[method].bind(_eventTarget); + }); + + this.canTrickleIceCandidates = null; + + this.needNegotiation = false; + + this.localStreams = []; + this.remoteStreams = []; + + this.localDescription = null; + this.remoteDescription = null; + + this.signalingState = 'stable'; + this.iceConnectionState = 'new'; + this.iceGatheringState = 'new'; + + config = JSON.parse(JSON.stringify(config || {})); + + this.usingBundle = config.bundlePolicy === 'max-bundle'; + if (config.rtcpMuxPolicy === 'negotiate') { + throw(makeError('NotSupportedError', + 'rtcpMuxPolicy \'negotiate\' is not supported')); + } else if (!config.rtcpMuxPolicy) { + config.rtcpMuxPolicy = 'require'; + } + + switch (config.iceTransportPolicy) { + case 'all': + case 'relay': + break; + default: + config.iceTransportPolicy = 'all'; + break; + } + + switch (config.bundlePolicy) { + case 'balanced': + case 'max-compat': + case 'max-bundle': + break; + default: + config.bundlePolicy = 'balanced'; + break; + } + + config.iceServers = filterIceServers(config.iceServers || [], edgeVersion); + + this._iceGatherers = []; + if (config.iceCandidatePoolSize) { + for (var i = config.iceCandidatePoolSize; i > 0; i--) { + this._iceGatherers = new window.RTCIceGatherer({ + iceServers: config.iceServers, + gatherPolicy: config.iceTransportPolicy + }); + } + } else { + config.iceCandidatePoolSize = 0; + } + + this._config = config; + + // per-track iceGathers, iceTransports, dtlsTransports, rtpSenders, ... + // everything that is needed to describe a SDP m-line. + this.transceivers = []; + + this._sdpSessionId = SDPUtils.generateSessionId(); + this._sdpSessionVersion = 0; + + this._dtlsRole = undefined; // role for a=setup to use in answers. + + this._isClosed = false; + }; + + // set up event handlers on prototype + RTCPeerConnection.prototype.onicecandidate = null; + RTCPeerConnection.prototype.onaddstream = null; + RTCPeerConnection.prototype.ontrack = null; + RTCPeerConnection.prototype.onremovestream = null; + RTCPeerConnection.prototype.onsignalingstatechange = null; + RTCPeerConnection.prototype.oniceconnectionstatechange = null; + RTCPeerConnection.prototype.onicegatheringstatechange = null; + RTCPeerConnection.prototype.onnegotiationneeded = null; + RTCPeerConnection.prototype.ondatachannel = null; + + RTCPeerConnection.prototype._dispatchEvent = function(name, event) { + if (this._isClosed) { + return; + } + this.dispatchEvent(event); + if (typeof this['on' + name] === 'function') { + this['on' + name](event); + } + }; + + RTCPeerConnection.prototype._emitGatheringStateChange = function() { + var event = new Event('icegatheringstatechange'); + this._dispatchEvent('icegatheringstatechange', event); + }; + + RTCPeerConnection.prototype.getConfiguration = function() { + return this._config; + }; + + RTCPeerConnection.prototype.getLocalStreams = function() { + return this.localStreams; + }; + + RTCPeerConnection.prototype.getRemoteStreams = function() { + return this.remoteStreams; + }; + + // internal helper to create a transceiver object. + // (whih is not yet the same as the WebRTC 1.0 transceiver) + RTCPeerConnection.prototype._createTransceiver = function(kind) { + var hasBundleTransport = this.transceivers.length > 0; + var transceiver = { + track: null, + iceGatherer: null, + iceTransport: null, + dtlsTransport: null, + localCapabilities: null, + remoteCapabilities: null, + rtpSender: null, + rtpReceiver: null, + kind: kind, + mid: null, + sendEncodingParameters: null, + recvEncodingParameters: null, + stream: null, + associatedRemoteMediaStreams: [], + wantReceive: true + }; + if (this.usingBundle && hasBundleTransport) { + transceiver.iceTransport = this.transceivers[0].iceTransport; + transceiver.dtlsTransport = this.transceivers[0].dtlsTransport; + } else { + var transports = this._createIceAndDtlsTransports(); + transceiver.iceTransport = transports.iceTransport; + transceiver.dtlsTransport = transports.dtlsTransport; + } + this.transceivers.push(transceiver); + return transceiver; + }; + + RTCPeerConnection.prototype.addTrack = function(track, stream) { + var alreadyExists = this.transceivers.find(function(s) { + return s.track === track; + }); + + if (alreadyExists) { + throw makeError('InvalidAccessError', 'Track already exists.'); + } + + if (this.signalingState === 'closed') { + throw makeError('InvalidStateError', + 'Attempted to call addTrack on a closed peerconnection.'); + } + + var transceiver; + for (var i = 0; i < this.transceivers.length; i++) { + if (!this.transceivers[i].track && + this.transceivers[i].kind === track.kind) { + transceiver = this.transceivers[i]; + } + } + if (!transceiver) { + transceiver = this._createTransceiver(track.kind); + } + + this._maybeFireNegotiationNeeded(); + + if (this.localStreams.indexOf(stream) === -1) { + this.localStreams.push(stream); + } + + transceiver.track = track; + transceiver.stream = stream; + transceiver.rtpSender = new window.RTCRtpSender(track, + transceiver.dtlsTransport); + return transceiver.rtpSender; + }; + + RTCPeerConnection.prototype.addStream = function(stream) { + var pc = this; + if (edgeVersion >= 15025) { + stream.getTracks().forEach(function(track) { + pc.addTrack(track, stream); + }); + } else { + // Clone is necessary for local demos mostly, attaching directly + // to two different senders does not work (build 10547). + // Fixed in 15025 (or earlier) + var clonedStream = stream.clone(); + stream.getTracks().forEach(function(track, idx) { + var clonedTrack = clonedStream.getTracks()[idx]; + track.addEventListener('enabled', function(event) { + clonedTrack.enabled = event.enabled; + }); + }); + clonedStream.getTracks().forEach(function(track) { + pc.addTrack(track, clonedStream); + }); + } + }; + + RTCPeerConnection.prototype.removeTrack = function(sender) { + if (!(sender instanceof window.RTCRtpSender)) { + throw new TypeError('Argument 1 of RTCPeerConnection.removeTrack ' + + 'does not implement interface RTCRtpSender.'); + } + + var transceiver = this.transceivers.find(function(t) { + return t.rtpSender === sender; + }); + + if (!transceiver) { + throw makeError('InvalidAccessError', + 'Sender was not created by this connection.'); + } + var stream = transceiver.stream; + + transceiver.rtpSender.stop(); + transceiver.rtpSender = null; + transceiver.track = null; + transceiver.stream = null; + + // remove the stream from the set of local streams + var localStreams = this.transceivers.map(function(t) { + return t.stream; + }); + if (localStreams.indexOf(stream) === -1 && + this.localStreams.indexOf(stream) > -1) { + this.localStreams.splice(this.localStreams.indexOf(stream), 1); + } + + this._maybeFireNegotiationNeeded(); + }; + + RTCPeerConnection.prototype.removeStream = function(stream) { + var pc = this; + stream.getTracks().forEach(function(track) { + var sender = pc.getSenders().find(function(s) { + return s.track === track; + }); + if (sender) { + pc.removeTrack(sender); + } + }); + }; + + RTCPeerConnection.prototype.getSenders = function() { + return this.transceivers.filter(function(transceiver) { + return !!transceiver.rtpSender; + }) + .map(function(transceiver) { + return transceiver.rtpSender; + }); + }; + + RTCPeerConnection.prototype.getReceivers = function() { + return this.transceivers.filter(function(transceiver) { + return !!transceiver.rtpReceiver; + }) + .map(function(transceiver) { + return transceiver.rtpReceiver; + }); + }; + + + RTCPeerConnection.prototype._createIceGatherer = function(sdpMLineIndex, + usingBundle) { + var pc = this; + if (usingBundle && sdpMLineIndex > 0) { + return this.transceivers[0].iceGatherer; + } else if (this._iceGatherers.length) { + return this._iceGatherers.shift(); + } + var iceGatherer = new window.RTCIceGatherer({ + iceServers: this._config.iceServers, + gatherPolicy: this._config.iceTransportPolicy + }); + Object.defineProperty(iceGatherer, 'state', + {value: 'new', writable: true} + ); + + this.transceivers[sdpMLineIndex].candidates = []; + this.transceivers[sdpMLineIndex].bufferCandidates = function(event) { + var end = !event.candidate || Object.keys(event.candidate).length === 0; + // polyfill since RTCIceGatherer.state is not implemented in + // Edge 10547 yet. + iceGatherer.state = end ? 'completed' : 'gathering'; + if (pc.transceivers[sdpMLineIndex].candidates !== null) { + pc.transceivers[sdpMLineIndex].candidates.push(event.candidate); + } + }; + iceGatherer.addEventListener('localcandidate', + this.transceivers[sdpMLineIndex].bufferCandidates); + return iceGatherer; + }; + + // start gathering from an RTCIceGatherer. + RTCPeerConnection.prototype._gather = function(mid, sdpMLineIndex) { + var pc = this; + var iceGatherer = this.transceivers[sdpMLineIndex].iceGatherer; + if (iceGatherer.onlocalcandidate) { + return; + } + var candidates = this.transceivers[sdpMLineIndex].candidates; + this.transceivers[sdpMLineIndex].candidates = null; + iceGatherer.removeEventListener('localcandidate', + this.transceivers[sdpMLineIndex].bufferCandidates); + iceGatherer.onlocalcandidate = function(evt) { + if (pc.usingBundle && sdpMLineIndex > 0) { + // if we know that we use bundle we can drop candidates with + // ѕdpMLineIndex > 0. If we don't do this then our state gets + // confused since we dispose the extra ice gatherer. + return; + } + var event = new Event('icecandidate'); + event.candidate = {sdpMid: mid, sdpMLineIndex: sdpMLineIndex}; + + var cand = evt.candidate; + // Edge emits an empty object for RTCIceCandidateComplete‥ + var end = !cand || Object.keys(cand).length === 0; + if (end) { + // polyfill since RTCIceGatherer.state is not implemented in + // Edge 10547 yet. + if (iceGatherer.state === 'new' || iceGatherer.state === 'gathering') { + iceGatherer.state = 'completed'; + } + } else { + if (iceGatherer.state === 'new') { + iceGatherer.state = 'gathering'; + } + // RTCIceCandidate doesn't have a component, needs to be added + cand.component = 1; + event.candidate.candidate = SDPUtils.writeCandidate(cand); + } + + // update local description. + var sections = SDPUtils.splitSections(pc.localDescription.sdp); + if (!end) { + sections[event.candidate.sdpMLineIndex + 1] += + 'a=' + event.candidate.candidate + '\r\n'; + } else { + sections[event.candidate.sdpMLineIndex + 1] += + 'a=end-of-candidates\r\n'; + } + pc.localDescription.sdp = sections.join(''); + var complete = pc.transceivers.every(function(transceiver) { + return transceiver.iceGatherer && + transceiver.iceGatherer.state === 'completed'; + }); + + if (pc.iceGatheringState !== 'gathering') { + pc.iceGatheringState = 'gathering'; + pc._emitGatheringStateChange(); + } + + // Emit candidate. Also emit null candidate when all gatherers are + // complete. + if (!end) { + pc._dispatchEvent('icecandidate', event); + } + if (complete) { + pc._dispatchEvent('icecandidate', new Event('icecandidate')); + pc.iceGatheringState = 'complete'; + pc._emitGatheringStateChange(); + } + }; + + // emit already gathered candidates. + window.setTimeout(function() { + candidates.forEach(function(candidate) { + var e = new Event('RTCIceGatherEvent'); + e.candidate = candidate; + iceGatherer.onlocalcandidate(e); + }); + }, 0); + }; + + // Create ICE transport and DTLS transport. + RTCPeerConnection.prototype._createIceAndDtlsTransports = function() { + var pc = this; + var iceTransport = new window.RTCIceTransport(null); + iceTransport.onicestatechange = function() { + pc._updateConnectionState(); + }; + + var dtlsTransport = new window.RTCDtlsTransport(iceTransport); + dtlsTransport.ondtlsstatechange = function() { + pc._updateConnectionState(); + }; + dtlsTransport.onerror = function() { + // onerror does not set state to failed by itpc. + Object.defineProperty(dtlsTransport, 'state', + {value: 'failed', writable: true}); + pc._updateConnectionState(); + }; + + return { + iceTransport: iceTransport, + dtlsTransport: dtlsTransport + }; + }; + + // Destroy ICE gatherer, ICE transport and DTLS transport. + // Without triggering the callbacks. + RTCPeerConnection.prototype._disposeIceAndDtlsTransports = function( + sdpMLineIndex) { + var iceGatherer = this.transceivers[sdpMLineIndex].iceGatherer; + if (iceGatherer) { + delete iceGatherer.onlocalcandidate; + delete this.transceivers[sdpMLineIndex].iceGatherer; + } + var iceTransport = this.transceivers[sdpMLineIndex].iceTransport; + if (iceTransport) { + delete iceTransport.onicestatechange; + delete this.transceivers[sdpMLineIndex].iceTransport; + } + var dtlsTransport = this.transceivers[sdpMLineIndex].dtlsTransport; + if (dtlsTransport) { + delete dtlsTransport.ondtlsstatechange; + delete dtlsTransport.onerror; + delete this.transceivers[sdpMLineIndex].dtlsTransport; + } + }; + + // Start the RTP Sender and Receiver for a transceiver. + RTCPeerConnection.prototype._transceive = function(transceiver, + send, recv) { + var params = getCommonCapabilities(transceiver.localCapabilities, + transceiver.remoteCapabilities); + if (send && transceiver.rtpSender) { + params.encodings = transceiver.sendEncodingParameters; + params.rtcp = { + cname: SDPUtils.localCName, + compound: transceiver.rtcpParameters.compound + }; + if (transceiver.recvEncodingParameters.length) { + params.rtcp.ssrc = transceiver.recvEncodingParameters[0].ssrc; + } + transceiver.rtpSender.send(params); + } + if (recv && transceiver.rtpReceiver && params.codecs.length > 0) { + // remove RTX field in Edge 14942 + if (transceiver.kind === 'video' + && transceiver.recvEncodingParameters + && edgeVersion < 15019) { + transceiver.recvEncodingParameters.forEach(function(p) { + delete p.rtx; + }); + } + if (transceiver.recvEncodingParameters.length) { + params.encodings = transceiver.recvEncodingParameters; + } + params.rtcp = { + compound: transceiver.rtcpParameters.compound + }; + if (transceiver.rtcpParameters.cname) { + params.rtcp.cname = transceiver.rtcpParameters.cname; + } + if (transceiver.sendEncodingParameters.length) { + params.rtcp.ssrc = transceiver.sendEncodingParameters[0].ssrc; + } + transceiver.rtpReceiver.receive(params); + } + }; + + RTCPeerConnection.prototype.setLocalDescription = function(description) { + var pc = this; + + if (!isActionAllowedInSignalingState('setLocalDescription', + description.type, this.signalingState) || this._isClosed) { + return Promise.reject(makeError('InvalidStateError', + 'Can not set local ' + description.type + + ' in state ' + pc.signalingState)); + } + + var sections; + var sessionpart; + if (description.type === 'offer') { + // VERY limited support for SDP munging. Limited to: + // * changing the order of codecs + sections = SDPUtils.splitSections(description.sdp); + sessionpart = sections.shift(); + sections.forEach(function(mediaSection, sdpMLineIndex) { + var caps = SDPUtils.parseRtpParameters(mediaSection); + pc.transceivers[sdpMLineIndex].localCapabilities = caps; + }); + + this.transceivers.forEach(function(transceiver, sdpMLineIndex) { + pc._gather(transceiver.mid, sdpMLineIndex); + }); + } else if (description.type === 'answer') { + sections = SDPUtils.splitSections(pc.remoteDescription.sdp); + sessionpart = sections.shift(); + var isIceLite = SDPUtils.matchPrefix(sessionpart, + 'a=ice-lite').length > 0; + sections.forEach(function(mediaSection, sdpMLineIndex) { + var transceiver = pc.transceivers[sdpMLineIndex]; + var iceGatherer = transceiver.iceGatherer; + var iceTransport = transceiver.iceTransport; + var dtlsTransport = transceiver.dtlsTransport; + var localCapabilities = transceiver.localCapabilities; + var remoteCapabilities = transceiver.remoteCapabilities; + + // treat bundle-only as not-rejected. + var rejected = SDPUtils.isRejected(mediaSection) && + SDPUtils.matchPrefix(mediaSection, 'a=bundle-only').length === 0; + + if (!rejected && !transceiver.isDatachannel) { + var remoteIceParameters = SDPUtils.getIceParameters( + mediaSection, sessionpart); + var remoteDtlsParameters = SDPUtils.getDtlsParameters( + mediaSection, sessionpart); + if (isIceLite) { + remoteDtlsParameters.role = 'server'; + } + + if (!pc.usingBundle || sdpMLineIndex === 0) { + pc._gather(transceiver.mid, sdpMLineIndex); + if (iceTransport.state === 'new') { + iceTransport.start(iceGatherer, remoteIceParameters, + isIceLite ? 'controlling' : 'controlled'); + } + if (dtlsTransport.state === 'new') { + dtlsTransport.start(remoteDtlsParameters); + } + } + + // Calculate intersection of capabilities. + var params = getCommonCapabilities(localCapabilities, + remoteCapabilities); + + // Start the RTCRtpSender. The RTCRtpReceiver for this + // transceiver has already been started in setRemoteDescription. + pc._transceive(transceiver, + params.codecs.length > 0, + false); + } + }); + } + + this.localDescription = { + type: description.type, + sdp: description.sdp + }; + switch (description.type) { + case 'offer': + this._updateSignalingState('have-local-offer'); + break; + case 'answer': + this._updateSignalingState('stable'); + break; + default: + throw new TypeError('unsupported type "' + description.type + + '"'); + } + + return Promise.resolve(); + }; + + RTCPeerConnection.prototype.setRemoteDescription = function(description) { + var pc = this; + + if (!isActionAllowedInSignalingState('setRemoteDescription', + description.type, this.signalingState) || this._isClosed) { + return Promise.reject(makeError('InvalidStateError', + 'Can not set remote ' + description.type + + ' in state ' + pc.signalingState)); + } + + var streams = {}; + this.remoteStreams.forEach(function(stream) { + streams[stream.id] = stream; + }); + var receiverList = []; + var sections = SDPUtils.splitSections(description.sdp); + var sessionpart = sections.shift(); + var isIceLite = SDPUtils.matchPrefix(sessionpart, + 'a=ice-lite').length > 0; + var usingBundle = SDPUtils.matchPrefix(sessionpart, + 'a=group:BUNDLE ').length > 0; + this.usingBundle = usingBundle; + var iceOptions = SDPUtils.matchPrefix(sessionpart, + 'a=ice-options:')[0]; + if (iceOptions) { + this.canTrickleIceCandidates = iceOptions.substr(14).split(' ') + .indexOf('trickle') >= 0; + } else { + this.canTrickleIceCandidates = false; + } + + sections.forEach(function(mediaSection, sdpMLineIndex) { + var lines = SDPUtils.splitLines(mediaSection); + var kind = SDPUtils.getKind(mediaSection); + // treat bundle-only as not-rejected. + var rejected = SDPUtils.isRejected(mediaSection) && + SDPUtils.matchPrefix(mediaSection, 'a=bundle-only').length === 0; + var protocol = lines[0].substr(2).split(' ')[2]; + + var direction = SDPUtils.getDirection(mediaSection, sessionpart); + var remoteMsid = SDPUtils.parseMsid(mediaSection); + + var mid = SDPUtils.getMid(mediaSection) || SDPUtils.generateIdentifier(); + + // Reject datachannels which are not implemented yet. + if (kind === 'application' && protocol === 'DTLS/SCTP') { + pc.transceivers[sdpMLineIndex] = { + mid: mid, + isDatachannel: true + }; + return; + } + + var transceiver; + var iceGatherer; + var iceTransport; + var dtlsTransport; + var rtpReceiver; + var sendEncodingParameters; + var recvEncodingParameters; + var localCapabilities; + + var track; + // FIXME: ensure the mediaSection has rtcp-mux set. + var remoteCapabilities = SDPUtils.parseRtpParameters(mediaSection); + var remoteIceParameters; + var remoteDtlsParameters; + if (!rejected) { + remoteIceParameters = SDPUtils.getIceParameters(mediaSection, + sessionpart); + remoteDtlsParameters = SDPUtils.getDtlsParameters(mediaSection, + sessionpart); + remoteDtlsParameters.role = 'client'; + } + recvEncodingParameters = + SDPUtils.parseRtpEncodingParameters(mediaSection); + + var rtcpParameters = SDPUtils.parseRtcpParameters(mediaSection); + + var isComplete = SDPUtils.matchPrefix(mediaSection, + 'a=end-of-candidates', sessionpart).length > 0; + var cands = SDPUtils.matchPrefix(mediaSection, 'a=candidate:') + .map(function(cand) { + return SDPUtils.parseCandidate(cand); + }) + .filter(function(cand) { + return cand.component === 1; + }); + + // Check if we can use BUNDLE and dispose transports. + if ((description.type === 'offer' || description.type === 'answer') && + !rejected && usingBundle && sdpMLineIndex > 0 && + pc.transceivers[sdpMLineIndex]) { + pc._disposeIceAndDtlsTransports(sdpMLineIndex); + pc.transceivers[sdpMLineIndex].iceGatherer = + pc.transceivers[0].iceGatherer; + pc.transceivers[sdpMLineIndex].iceTransport = + pc.transceivers[0].iceTransport; + pc.transceivers[sdpMLineIndex].dtlsTransport = + pc.transceivers[0].dtlsTransport; + if (pc.transceivers[sdpMLineIndex].rtpSender) { + pc.transceivers[sdpMLineIndex].rtpSender.setTransport( + pc.transceivers[0].dtlsTransport); + } + if (pc.transceivers[sdpMLineIndex].rtpReceiver) { + pc.transceivers[sdpMLineIndex].rtpReceiver.setTransport( + pc.transceivers[0].dtlsTransport); + } + } + if (description.type === 'offer' && !rejected) { + transceiver = pc.transceivers[sdpMLineIndex] || + pc._createTransceiver(kind); + transceiver.mid = mid; + + if (!transceiver.iceGatherer) { + transceiver.iceGatherer = pc._createIceGatherer(sdpMLineIndex, + usingBundle); + } + + if (cands.length && transceiver.iceTransport.state === 'new') { + if (isComplete && (!usingBundle || sdpMLineIndex === 0)) { + transceiver.iceTransport.setRemoteCandidates(cands); + } else { + cands.forEach(function(candidate) { + maybeAddCandidate(transceiver.iceTransport, candidate); + }); + } + } + + localCapabilities = window.RTCRtpReceiver.getCapabilities(kind); + + // filter RTX until additional stuff needed for RTX is implemented + // in adapter.js + if (edgeVersion < 15019) { + localCapabilities.codecs = localCapabilities.codecs.filter( + function(codec) { + return codec.name !== 'rtx'; + }); + } + + sendEncodingParameters = transceiver.sendEncodingParameters || [{ + ssrc: (2 * sdpMLineIndex + 2) * 1001 + }]; + + // TODO: rewrite to use http://w3c.github.io/webrtc-pc/#set-associated-remote-streams + var isNewTrack = false; + if (direction === 'sendrecv' || direction === 'sendonly') { + isNewTrack = !transceiver.rtpReceiver; + rtpReceiver = transceiver.rtpReceiver || + new window.RTCRtpReceiver(transceiver.dtlsTransport, kind); + + if (isNewTrack) { + var stream; + track = rtpReceiver.track; + // FIXME: does not work with Plan B. + if (remoteMsid && remoteMsid.stream === '-') { + // no-op. a stream id of '-' means: no associated stream. + } else if (remoteMsid) { + if (!streams[remoteMsid.stream]) { + streams[remoteMsid.stream] = new window.MediaStream(); + Object.defineProperty(streams[remoteMsid.stream], 'id', { + get: function() { + return remoteMsid.stream; + } + }); + } + Object.defineProperty(track, 'id', { + get: function() { + return remoteMsid.track; + } + }); + stream = streams[remoteMsid.stream]; + } else { + if (!streams.default) { + streams.default = new window.MediaStream(); + } + stream = streams.default; + } + if (stream) { + addTrackToStreamAndFireEvent(track, stream); + transceiver.associatedRemoteMediaStreams.push(stream); + } + receiverList.push([track, rtpReceiver, stream]); + } + } else if (transceiver.rtpReceiver && transceiver.rtpReceiver.track) { + transceiver.associatedRemoteMediaStreams.forEach(function(s) { + var nativeTrack = s.getTracks().find(function(t) { + return t.id === transceiver.rtpReceiver.track.id; + }); + if (nativeTrack) { + removeTrackFromStreamAndFireEvent(nativeTrack, s); + } + }); + transceiver.associatedRemoteMediaStreams = []; + } + + transceiver.localCapabilities = localCapabilities; + transceiver.remoteCapabilities = remoteCapabilities; + transceiver.rtpReceiver = rtpReceiver; + transceiver.rtcpParameters = rtcpParameters; + transceiver.sendEncodingParameters = sendEncodingParameters; + transceiver.recvEncodingParameters = recvEncodingParameters; + + // Start the RTCRtpReceiver now. The RTPSender is started in + // setLocalDescription. + pc._transceive(pc.transceivers[sdpMLineIndex], + false, + isNewTrack); + } else if (description.type === 'answer' && !rejected) { + transceiver = pc.transceivers[sdpMLineIndex]; + iceGatherer = transceiver.iceGatherer; + iceTransport = transceiver.iceTransport; + dtlsTransport = transceiver.dtlsTransport; + rtpReceiver = transceiver.rtpReceiver; + sendEncodingParameters = transceiver.sendEncodingParameters; + localCapabilities = transceiver.localCapabilities; + + pc.transceivers[sdpMLineIndex].recvEncodingParameters = + recvEncodingParameters; + pc.transceivers[sdpMLineIndex].remoteCapabilities = + remoteCapabilities; + pc.transceivers[sdpMLineIndex].rtcpParameters = rtcpParameters; + + if (cands.length && iceTransport.state === 'new') { + if ((isIceLite || isComplete) && + (!usingBundle || sdpMLineIndex === 0)) { + iceTransport.setRemoteCandidates(cands); + } else { + cands.forEach(function(candidate) { + maybeAddCandidate(transceiver.iceTransport, candidate); + }); + } + } + + if (!usingBundle || sdpMLineIndex === 0) { + if (iceTransport.state === 'new') { + iceTransport.start(iceGatherer, remoteIceParameters, + 'controlling'); + } + if (dtlsTransport.state === 'new') { + dtlsTransport.start(remoteDtlsParameters); + } + } + + pc._transceive(transceiver, + direction === 'sendrecv' || direction === 'recvonly', + direction === 'sendrecv' || direction === 'sendonly'); + + // TODO: rewrite to use http://w3c.github.io/webrtc-pc/#set-associated-remote-streams + if (rtpReceiver && + (direction === 'sendrecv' || direction === 'sendonly')) { + track = rtpReceiver.track; + if (remoteMsid) { + if (!streams[remoteMsid.stream]) { + streams[remoteMsid.stream] = new window.MediaStream(); + } + addTrackToStreamAndFireEvent(track, streams[remoteMsid.stream]); + receiverList.push([track, rtpReceiver, streams[remoteMsid.stream]]); + } else { + if (!streams.default) { + streams.default = new window.MediaStream(); + } + addTrackToStreamAndFireEvent(track, streams.default); + receiverList.push([track, rtpReceiver, streams.default]); + } + } else { + // FIXME: actually the receiver should be created later. + delete transceiver.rtpReceiver; + } + } + }); + + if (this._dtlsRole === undefined) { + this._dtlsRole = description.type === 'offer' ? 'active' : 'passive'; + } + + this.remoteDescription = { + type: description.type, + sdp: description.sdp + }; + switch (description.type) { + case 'offer': + this._updateSignalingState('have-remote-offer'); + break; + case 'answer': + this._updateSignalingState('stable'); + break; + default: + throw new TypeError('unsupported type "' + description.type + + '"'); + } + Object.keys(streams).forEach(function(sid) { + var stream = streams[sid]; + if (stream.getTracks().length) { + if (pc.remoteStreams.indexOf(stream) === -1) { + pc.remoteStreams.push(stream); + var event = new Event('addstream'); + event.stream = stream; + window.setTimeout(function() { + pc._dispatchEvent('addstream', event); + }); + } + + receiverList.forEach(function(item) { + var track = item[0]; + var receiver = item[1]; + if (stream.id !== item[2].id) { + return; + } + fireAddTrack(pc, track, receiver, [stream]); + }); + } + }); + receiverList.forEach(function(item) { + if (item[2]) { + return; + } + fireAddTrack(pc, item[0], item[1], []); + }); + + // check whether addIceCandidate({}) was called within four seconds after + // setRemoteDescription. + window.setTimeout(function() { + if (!(pc && pc.transceivers)) { + return; + } + pc.transceivers.forEach(function(transceiver) { + if (transceiver.iceTransport && + transceiver.iceTransport.state === 'new' && + transceiver.iceTransport.getRemoteCandidates().length > 0) { + console.warn('Timeout for addRemoteCandidate. Consider sending ' + + 'an end-of-candidates notification'); + transceiver.iceTransport.addRemoteCandidate({}); + } + }); + }, 4000); + + return Promise.resolve(); + }; + + RTCPeerConnection.prototype.close = function() { + this.transceivers.forEach(function(transceiver) { + /* not yet + if (transceiver.iceGatherer) { + transceiver.iceGatherer.close(); + } + */ + if (transceiver.iceTransport) { + transceiver.iceTransport.stop(); + } + if (transceiver.dtlsTransport) { + transceiver.dtlsTransport.stop(); + } + if (transceiver.rtpSender) { + transceiver.rtpSender.stop(); + } + if (transceiver.rtpReceiver) { + transceiver.rtpReceiver.stop(); + } + }); + // FIXME: clean up tracks, local streams, remote streams, etc + this._isClosed = true; + this._updateSignalingState('closed'); + }; + + // Update the signaling state. + RTCPeerConnection.prototype._updateSignalingState = function(newState) { + this.signalingState = newState; + var event = new Event('signalingstatechange'); + this._dispatchEvent('signalingstatechange', event); + }; + + // Determine whether to fire the negotiationneeded event. + RTCPeerConnection.prototype._maybeFireNegotiationNeeded = function() { + var pc = this; + if (this.signalingState !== 'stable' || this.needNegotiation === true) { + return; + } + this.needNegotiation = true; + window.setTimeout(function() { + if (pc.needNegotiation === false) { + return; + } + pc.needNegotiation = false; + var event = new Event('negotiationneeded'); + pc._dispatchEvent('negotiationneeded', event); + }, 0); + }; + + // Update the connection state. + RTCPeerConnection.prototype._updateConnectionState = function() { + var newState; + var states = { + 'new': 0, + closed: 0, + connecting: 0, + checking: 0, + connected: 0, + completed: 0, + disconnected: 0, + failed: 0 + }; + this.transceivers.forEach(function(transceiver) { + states[transceiver.iceTransport.state]++; + states[transceiver.dtlsTransport.state]++; + }); + // ICETransport.completed and connected are the same for this purpose. + states.connected += states.completed; + + newState = 'new'; + if (states.failed > 0) { + newState = 'failed'; + } else if (states.connecting > 0 || states.checking > 0) { + newState = 'connecting'; + } else if (states.disconnected > 0) { + newState = 'disconnected'; + } else if (states.new > 0) { + newState = 'new'; + } else if (states.connected > 0 || states.completed > 0) { + newState = 'connected'; + } + + if (newState !== this.iceConnectionState) { + this.iceConnectionState = newState; + var event = new Event('iceconnectionstatechange'); + this._dispatchEvent('iceconnectionstatechange', event); + } + }; + + RTCPeerConnection.prototype.createOffer = function() { + var pc = this; + + if (this._isClosed) { + return Promise.reject(makeError('InvalidStateError', + 'Can not call createOffer after close')); + } + + var numAudioTracks = this.transceivers.filter(function(t) { + return t.kind === 'audio'; + }).length; + var numVideoTracks = this.transceivers.filter(function(t) { + return t.kind === 'video'; + }).length; + + // Determine number of audio and video tracks we need to send/recv. + var offerOptions = arguments[0]; + if (offerOptions) { + // Reject Chrome legacy constraints. + if (offerOptions.mandatory || offerOptions.optional) { + throw new TypeError( + 'Legacy mandatory/optional constraints not supported.'); + } + if (offerOptions.offerToReceiveAudio !== undefined) { + if (offerOptions.offerToReceiveAudio === true) { + numAudioTracks = 1; + } else if (offerOptions.offerToReceiveAudio === false) { + numAudioTracks = 0; + } else { + numAudioTracks = offerOptions.offerToReceiveAudio; + } + } + if (offerOptions.offerToReceiveVideo !== undefined) { + if (offerOptions.offerToReceiveVideo === true) { + numVideoTracks = 1; + } else if (offerOptions.offerToReceiveVideo === false) { + numVideoTracks = 0; + } else { + numVideoTracks = offerOptions.offerToReceiveVideo; + } + } + } + + this.transceivers.forEach(function(transceiver) { + if (transceiver.kind === 'audio') { + numAudioTracks--; + if (numAudioTracks < 0) { + transceiver.wantReceive = false; + } + } else if (transceiver.kind === 'video') { + numVideoTracks--; + if (numVideoTracks < 0) { + transceiver.wantReceive = false; + } + } + }); + + // Create M-lines for recvonly streams. + while (numAudioTracks > 0 || numVideoTracks > 0) { + if (numAudioTracks > 0) { + this._createTransceiver('audio'); + numAudioTracks--; + } + if (numVideoTracks > 0) { + this._createTransceiver('video'); + numVideoTracks--; + } + } + + var sdp = SDPUtils.writeSessionBoilerplate(this._sdpSessionId, + this._sdpSessionVersion++); + this.transceivers.forEach(function(transceiver, sdpMLineIndex) { + // For each track, create an ice gatherer, ice transport, + // dtls transport, potentially rtpsender and rtpreceiver. + var track = transceiver.track; + var kind = transceiver.kind; + var mid = SDPUtils.generateIdentifier(); + transceiver.mid = mid; + + if (!transceiver.iceGatherer) { + transceiver.iceGatherer = pc._createIceGatherer(sdpMLineIndex, + pc.usingBundle); + } + + var localCapabilities = window.RTCRtpSender.getCapabilities(kind); + // filter RTX until additional stuff needed for RTX is implemented + // in adapter.js + if (edgeVersion < 15019) { + localCapabilities.codecs = localCapabilities.codecs.filter( + function(codec) { + return codec.name !== 'rtx'; + }); + } + localCapabilities.codecs.forEach(function(codec) { + // work around https://bugs.chromium.org/p/webrtc/issues/detail?id=6552 + // by adding level-asymmetry-allowed=1 + if (codec.name === 'H264' && + codec.parameters['level-asymmetry-allowed'] === undefined) { + codec.parameters['level-asymmetry-allowed'] = '1'; + } + }); + + // generate an ssrc now, to be used later in rtpSender.send + var sendEncodingParameters = transceiver.sendEncodingParameters || [{ + ssrc: (2 * sdpMLineIndex + 1) * 1001 + }]; + if (track) { + // add RTX + if (edgeVersion >= 15019 && kind === 'video' && + !sendEncodingParameters[0].rtx) { + sendEncodingParameters[0].rtx = { + ssrc: sendEncodingParameters[0].ssrc + 1 + }; + } + } + + if (transceiver.wantReceive) { + transceiver.rtpReceiver = new window.RTCRtpReceiver( + transceiver.dtlsTransport, kind); + } + + transceiver.localCapabilities = localCapabilities; + transceiver.sendEncodingParameters = sendEncodingParameters; + }); + + // always offer BUNDLE and dispose on return if not supported. + if (this._config.bundlePolicy !== 'max-compat') { + sdp += 'a=group:BUNDLE ' + this.transceivers.map(function(t) { + return t.mid; + }).join(' ') + '\r\n'; + } + sdp += 'a=ice-options:trickle\r\n'; + + this.transceivers.forEach(function(transceiver, sdpMLineIndex) { + sdp += writeMediaSection(transceiver, transceiver.localCapabilities, + 'offer', transceiver.stream, pc._dtlsRole); + sdp += 'a=rtcp-rsize\r\n'; + + if (transceiver.iceGatherer && pc.iceGatheringState !== 'new' && + (sdpMLineIndex === 0 || !pc.usingBundle)) { + transceiver.iceGatherer.getLocalCandidates().forEach(function(cand) { + cand.component = 1; + sdp += 'a=' + SDPUtils.writeCandidate(cand) + '\r\n'; + }); + + if (transceiver.iceGatherer.state === 'completed') { + sdp += 'a=end-of-candidates\r\n'; + } + } + }); + + var desc = new window.RTCSessionDescription({ + type: 'offer', + sdp: sdp + }); + return Promise.resolve(desc); + }; + + RTCPeerConnection.prototype.createAnswer = function() { + var pc = this; + + if (this._isClosed) { + return Promise.reject(makeError('InvalidStateError', + 'Can not call createAnswer after close')); + } + + var sdp = SDPUtils.writeSessionBoilerplate(this._sdpSessionId, + this._sdpSessionVersion++); + if (this.usingBundle) { + sdp += 'a=group:BUNDLE ' + this.transceivers.map(function(t) { + return t.mid; + }).join(' ') + '\r\n'; + } + var mediaSectionsInOffer = SDPUtils.splitSections( + this.remoteDescription.sdp).length - 1; + this.transceivers.forEach(function(transceiver, sdpMLineIndex) { + if (sdpMLineIndex + 1 > mediaSectionsInOffer) { + return; + } + if (transceiver.isDatachannel) { + sdp += 'm=application 0 DTLS/SCTP 5000\r\n' + + 'c=IN IP4 0.0.0.0\r\n' + + 'a=mid:' + transceiver.mid + '\r\n'; + return; + } + + // FIXME: look at direction. + if (transceiver.stream) { + var localTrack; + if (transceiver.kind === 'audio') { + localTrack = transceiver.stream.getAudioTracks()[0]; + } else if (transceiver.kind === 'video') { + localTrack = transceiver.stream.getVideoTracks()[0]; + } + if (localTrack) { + // add RTX + if (edgeVersion >= 15019 && transceiver.kind === 'video' && + !transceiver.sendEncodingParameters[0].rtx) { + transceiver.sendEncodingParameters[0].rtx = { + ssrc: transceiver.sendEncodingParameters[0].ssrc + 1 + }; + } + } + } + + // Calculate intersection of capabilities. + var commonCapabilities = getCommonCapabilities( + transceiver.localCapabilities, + transceiver.remoteCapabilities); + + var hasRtx = commonCapabilities.codecs.filter(function(c) { + return c.name.toLowerCase() === 'rtx'; + }).length; + if (!hasRtx && transceiver.sendEncodingParameters[0].rtx) { + delete transceiver.sendEncodingParameters[0].rtx; + } + + sdp += writeMediaSection(transceiver, commonCapabilities, + 'answer', transceiver.stream, pc._dtlsRole); + if (transceiver.rtcpParameters && + transceiver.rtcpParameters.reducedSize) { + sdp += 'a=rtcp-rsize\r\n'; + } + }); + + var desc = new window.RTCSessionDescription({ + type: 'answer', + sdp: sdp + }); + return Promise.resolve(desc); + }; + + RTCPeerConnection.prototype.addIceCandidate = function(candidate) { + var sections; + if (!candidate || candidate.candidate === '') { + for (var j = 0; j < this.transceivers.length; j++) { + if (this.transceivers[j].isDatachannel) { + continue; + } + this.transceivers[j].iceTransport.addRemoteCandidate({}); + sections = SDPUtils.splitSections(this.remoteDescription.sdp); + sections[j + 1] += 'a=end-of-candidates\r\n'; + this.remoteDescription.sdp = sections.join(''); + if (this.usingBundle) { + break; + } + } + } else if (!(candidate.sdpMLineIndex !== undefined || candidate.sdpMid)) { + throw new TypeError('sdpMLineIndex or sdpMid required'); + } else if (!this.remoteDescription) { + return Promise.reject(makeError('InvalidStateError', + 'Can not add ICE candidate without a remote description')); + } else { + var sdpMLineIndex = candidate.sdpMLineIndex; + if (candidate.sdpMid) { + for (var i = 0; i < this.transceivers.length; i++) { + if (this.transceivers[i].mid === candidate.sdpMid) { + sdpMLineIndex = i; + break; + } + } + } + var transceiver = this.transceivers[sdpMLineIndex]; + if (transceiver) { + if (transceiver.isDatachannel) { + return Promise.resolve(); + } + var cand = Object.keys(candidate.candidate).length > 0 ? + SDPUtils.parseCandidate(candidate.candidate) : {}; + // Ignore Chrome's invalid candidates since Edge does not like them. + if (cand.protocol === 'tcp' && (cand.port === 0 || cand.port === 9)) { + return Promise.resolve(); + } + // Ignore RTCP candidates, we assume RTCP-MUX. + if (cand.component && cand.component !== 1) { + return Promise.resolve(); + } + // when using bundle, avoid adding candidates to the wrong + // ice transport. And avoid adding candidates added in the SDP. + if (sdpMLineIndex === 0 || (sdpMLineIndex > 0 && + transceiver.iceTransport !== this.transceivers[0].iceTransport)) { + if (!maybeAddCandidate(transceiver.iceTransport, cand)) { + return Promise.reject(makeError('OperationError', + 'Can not add ICE candidate')); + } + } + + // update the remoteDescription. + var candidateString = candidate.candidate.trim(); + if (candidateString.indexOf('a=') === 0) { + candidateString = candidateString.substr(2); + } + sections = SDPUtils.splitSections(this.remoteDescription.sdp); + sections[sdpMLineIndex + 1] += 'a=' + + (cand.type ? candidateString : 'end-of-candidates') + + '\r\n'; + this.remoteDescription.sdp = sections.join(''); + } else { + return Promise.reject(makeError('OperationError', + 'Can not add ICE candidate')); + } + } + return Promise.resolve(); + }; + + RTCPeerConnection.prototype.getStats = function() { + var promises = []; + this.transceivers.forEach(function(transceiver) { + ['rtpSender', 'rtpReceiver', 'iceGatherer', 'iceTransport', + 'dtlsTransport'].forEach(function(method) { + if (transceiver[method]) { + promises.push(transceiver[method].getStats()); + } + }); + }); + var fixStatsType = function(stat) { + return { + inboundrtp: 'inbound-rtp', + outboundrtp: 'outbound-rtp', + candidatepair: 'candidate-pair', + localcandidate: 'local-candidate', + remotecandidate: 'remote-candidate' + }[stat.type] || stat.type; + }; + return new Promise(function(resolve) { + // shim getStats with maplike support + var results = new Map(); + Promise.all(promises).then(function(res) { + res.forEach(function(result) { + Object.keys(result).forEach(function(id) { + result[id].type = fixStatsType(result[id]); + results.set(id, result[id]); + }); + }); + resolve(results); + }); + }); + }; + + // legacy callback shims. Should be moved to adapter.js some days. + var methods = ['createOffer', 'createAnswer']; + methods.forEach(function(method) { + var nativeMethod = RTCPeerConnection.prototype[method]; + RTCPeerConnection.prototype[method] = function() { + var args = arguments; + if (typeof args[0] === 'function' || + typeof args[1] === 'function') { // legacy + return nativeMethod.apply(this, [arguments[2]]) + .then(function(description) { + if (typeof args[0] === 'function') { + args[0].apply(null, [description]); + } + }, function(error) { + if (typeof args[1] === 'function') { + args[1].apply(null, [error]); + } + }); + } + return nativeMethod.apply(this, arguments); + }; + }); + + methods = ['setLocalDescription', 'setRemoteDescription', 'addIceCandidate']; + methods.forEach(function(method) { + var nativeMethod = RTCPeerConnection.prototype[method]; + RTCPeerConnection.prototype[method] = function() { + var args = arguments; + if (typeof args[1] === 'function' || + typeof args[2] === 'function') { // legacy + return nativeMethod.apply(this, arguments) + .then(function() { + if (typeof args[1] === 'function') { + args[1].apply(null); + } + }, function(error) { + if (typeof args[2] === 'function') { + args[2].apply(null, [error]); + } + }); + } + return nativeMethod.apply(this, arguments); + }; + }); + + // getStats is special. It doesn't have a spec legacy method yet we support + // getStats(something, cb) without error callbacks. + ['getStats'].forEach(function(method) { + var nativeMethod = RTCPeerConnection.prototype[method]; + RTCPeerConnection.prototype[method] = function() { + var args = arguments; + if (typeof args[1] === 'function') { + return nativeMethod.apply(this, arguments) + .then(function() { + if (typeof args[1] === 'function') { + args[1].apply(null); + } + }); + } + return nativeMethod.apply(this, arguments); + }; + }); + + return RTCPeerConnection; +}; + +},{"sdp":2}],2:[function(require,module,exports){ + /* eslint-env node */ +'use strict'; + +// SDP helpers. +var SDPUtils = {}; + +// Generate an alphanumeric identifier for cname or mids. +// TODO: use UUIDs instead? https://gist.github.com/jed/982883 +SDPUtils.generateIdentifier = function() { + return Math.random().toString(36).substr(2, 10); +}; + +// The RTCP CNAME used by all peerconnections from the same JS. +SDPUtils.localCName = SDPUtils.generateIdentifier(); + +// Splits SDP into lines, dealing with both CRLF and LF. +SDPUtils.splitLines = function(blob) { + return blob.trim().split('\n').map(function(line) { + return line.trim(); + }); +}; +// Splits SDP into sessionpart and mediasections. Ensures CRLF. +SDPUtils.splitSections = function(blob) { + var parts = blob.split('\nm='); + return parts.map(function(part, index) { + return (index > 0 ? 'm=' + part : part).trim() + '\r\n'; + }); +}; + +// Returns lines that start with a certain prefix. +SDPUtils.matchPrefix = function(blob, prefix) { + return SDPUtils.splitLines(blob).filter(function(line) { + return line.indexOf(prefix) === 0; + }); +}; + +// Parses an ICE candidate line. Sample input: +// candidate:702786350 2 udp 41819902 8.8.8.8 60769 typ relay raddr 8.8.8.8 +// rport 55996" +SDPUtils.parseCandidate = function(line) { + var parts; + // Parse both variants. + if (line.indexOf('a=candidate:') === 0) { + parts = line.substring(12).split(' '); + } else { + parts = line.substring(10).split(' '); + } + + var candidate = { + foundation: parts[0], + component: parseInt(parts[1], 10), + protocol: parts[2].toLowerCase(), + priority: parseInt(parts[3], 10), + ip: parts[4], + port: parseInt(parts[5], 10), + // skip parts[6] == 'typ' + type: parts[7] + }; + + for (var i = 8; i < parts.length; i += 2) { + switch (parts[i]) { + case 'raddr': + candidate.relatedAddress = parts[i + 1]; + break; + case 'rport': + candidate.relatedPort = parseInt(parts[i + 1], 10); + break; + case 'tcptype': + candidate.tcpType = parts[i + 1]; + break; + case 'ufrag': + candidate.ufrag = parts[i + 1]; // for backward compability. + candidate.usernameFragment = parts[i + 1]; + break; + default: // extension handling, in particular ufrag + candidate[parts[i]] = parts[i + 1]; + break; + } + } + return candidate; +}; + +// Translates a candidate object into SDP candidate attribute. +SDPUtils.writeCandidate = function(candidate) { + var sdp = []; + sdp.push(candidate.foundation); + sdp.push(candidate.component); + sdp.push(candidate.protocol.toUpperCase()); + sdp.push(candidate.priority); + sdp.push(candidate.ip); + sdp.push(candidate.port); + + var type = candidate.type; + sdp.push('typ'); + sdp.push(type); + if (type !== 'host' && candidate.relatedAddress && + candidate.relatedPort) { + sdp.push('raddr'); + sdp.push(candidate.relatedAddress); // was: relAddr + sdp.push('rport'); + sdp.push(candidate.relatedPort); // was: relPort + } + if (candidate.tcpType && candidate.protocol.toLowerCase() === 'tcp') { + sdp.push('tcptype'); + sdp.push(candidate.tcpType); + } + if (candidate.ufrag) { + sdp.push('ufrag'); + sdp.push(candidate.ufrag); + } + return 'candidate:' + sdp.join(' '); +}; + +// Parses an ice-options line, returns an array of option tags. +// a=ice-options:foo bar +SDPUtils.parseIceOptions = function(line) { + return line.substr(14).split(' '); +} + +// Parses an rtpmap line, returns RTCRtpCoddecParameters. Sample input: +// a=rtpmap:111 opus/48000/2 +SDPUtils.parseRtpMap = function(line) { + var parts = line.substr(9).split(' '); + var parsed = { + payloadType: parseInt(parts.shift(), 10) // was: id + }; + + parts = parts[0].split('/'); + + parsed.name = parts[0]; + parsed.clockRate = parseInt(parts[1], 10); // was: clockrate + // was: channels + parsed.numChannels = parts.length === 3 ? parseInt(parts[2], 10) : 1; + return parsed; +}; + +// Generate an a=rtpmap line from RTCRtpCodecCapability or +// RTCRtpCodecParameters. +SDPUtils.writeRtpMap = function(codec) { + var pt = codec.payloadType; + if (codec.preferredPayloadType !== undefined) { + pt = codec.preferredPayloadType; + } + return 'a=rtpmap:' + pt + ' ' + codec.name + '/' + codec.clockRate + + (codec.numChannels !== 1 ? '/' + codec.numChannels : '') + '\r\n'; +}; + +// Parses an a=extmap line (headerextension from RFC 5285). Sample input: +// a=extmap:2 urn:ietf:params:rtp-hdrext:toffset +// a=extmap:2/sendonly urn:ietf:params:rtp-hdrext:toffset +SDPUtils.parseExtmap = function(line) { + var parts = line.substr(9).split(' '); + return { + id: parseInt(parts[0], 10), + direction: parts[0].indexOf('/') > 0 ? parts[0].split('/')[1] : 'sendrecv', + uri: parts[1] + }; +}; + +// Generates a=extmap line from RTCRtpHeaderExtensionParameters or +// RTCRtpHeaderExtension. +SDPUtils.writeExtmap = function(headerExtension) { + return 'a=extmap:' + (headerExtension.id || headerExtension.preferredId) + + (headerExtension.direction && headerExtension.direction !== 'sendrecv' + ? '/' + headerExtension.direction + : '') + + ' ' + headerExtension.uri + '\r\n'; +}; + +// Parses an ftmp line, returns dictionary. Sample input: +// a=fmtp:96 vbr=on;cng=on +// Also deals with vbr=on; cng=on +SDPUtils.parseFmtp = function(line) { + var parsed = {}; + var kv; + var parts = line.substr(line.indexOf(' ') + 1).split(';'); + for (var j = 0; j < parts.length; j++) { + kv = parts[j].trim().split('='); + parsed[kv[0].trim()] = kv[1]; + } + return parsed; +}; + +// Generates an a=ftmp line from RTCRtpCodecCapability or RTCRtpCodecParameters. +SDPUtils.writeFmtp = function(codec) { + var line = ''; + var pt = codec.payloadType; + if (codec.preferredPayloadType !== undefined) { + pt = codec.preferredPayloadType; + } + if (codec.parameters && Object.keys(codec.parameters).length) { + var params = []; + Object.keys(codec.parameters).forEach(function(param) { + params.push(param + '=' + codec.parameters[param]); + }); + line += 'a=fmtp:' + pt + ' ' + params.join(';') + '\r\n'; + } + return line; +}; + +// Parses an rtcp-fb line, returns RTCPRtcpFeedback object. Sample input: +// a=rtcp-fb:98 nack rpsi +SDPUtils.parseRtcpFb = function(line) { + var parts = line.substr(line.indexOf(' ') + 1).split(' '); + return { + type: parts.shift(), + parameter: parts.join(' ') + }; +}; +// Generate a=rtcp-fb lines from RTCRtpCodecCapability or RTCRtpCodecParameters. +SDPUtils.writeRtcpFb = function(codec) { + var lines = ''; + var pt = codec.payloadType; + if (codec.preferredPayloadType !== undefined) { + pt = codec.preferredPayloadType; + } + if (codec.rtcpFeedback && codec.rtcpFeedback.length) { + // FIXME: special handling for trr-int? + codec.rtcpFeedback.forEach(function(fb) { + lines += 'a=rtcp-fb:' + pt + ' ' + fb.type + + (fb.parameter && fb.parameter.length ? ' ' + fb.parameter : '') + + '\r\n'; + }); + } + return lines; +}; + +// Parses an RFC 5576 ssrc media attribute. Sample input: +// a=ssrc:3735928559 cname:something +SDPUtils.parseSsrcMedia = function(line) { + var sp = line.indexOf(' '); + var parts = { + ssrc: parseInt(line.substr(7, sp - 7), 10) + }; + var colon = line.indexOf(':', sp); + if (colon > -1) { + parts.attribute = line.substr(sp + 1, colon - sp - 1); + parts.value = line.substr(colon + 1); + } else { + parts.attribute = line.substr(sp + 1); + } + return parts; +}; + +// Extracts the MID (RFC 5888) from a media section. +// returns the MID or undefined if no mid line was found. +SDPUtils.getMid = function(mediaSection) { + var mid = SDPUtils.matchPrefix(mediaSection, 'a=mid:')[0]; + if (mid) { + return mid.substr(6); + } +} + +SDPUtils.parseFingerprint = function(line) { + var parts = line.substr(14).split(' '); + return { + algorithm: parts[0].toLowerCase(), // algorithm is case-sensitive in Edge. + value: parts[1] + }; +}; + +// Extracts DTLS parameters from SDP media section or sessionpart. +// FIXME: for consistency with other functions this should only +// get the fingerprint line as input. See also getIceParameters. +SDPUtils.getDtlsParameters = function(mediaSection, sessionpart) { + var lines = SDPUtils.matchPrefix(mediaSection + sessionpart, + 'a=fingerprint:'); + // Note: a=setup line is ignored since we use the 'auto' role. + // Note2: 'algorithm' is not case sensitive except in Edge. + return { + role: 'auto', + fingerprints: lines.map(SDPUtils.parseFingerprint) + }; +}; + +// Serializes DTLS parameters to SDP. +SDPUtils.writeDtlsParameters = function(params, setupType) { + var sdp = 'a=setup:' + setupType + '\r\n'; + params.fingerprints.forEach(function(fp) { + sdp += 'a=fingerprint:' + fp.algorithm + ' ' + fp.value + '\r\n'; + }); + return sdp; +}; +// Parses ICE information from SDP media section or sessionpart. +// FIXME: for consistency with other functions this should only +// get the ice-ufrag and ice-pwd lines as input. +SDPUtils.getIceParameters = function(mediaSection, sessionpart) { + var lines = SDPUtils.splitLines(mediaSection); + // Search in session part, too. + lines = lines.concat(SDPUtils.splitLines(sessionpart)); + var iceParameters = { + usernameFragment: lines.filter(function(line) { + return line.indexOf('a=ice-ufrag:') === 0; + })[0].substr(12), + password: lines.filter(function(line) { + return line.indexOf('a=ice-pwd:') === 0; + })[0].substr(10) + }; + return iceParameters; +}; + +// Serializes ICE parameters to SDP. +SDPUtils.writeIceParameters = function(params) { + return 'a=ice-ufrag:' + params.usernameFragment + '\r\n' + + 'a=ice-pwd:' + params.password + '\r\n'; +}; + +// Parses the SDP media section and returns RTCRtpParameters. +SDPUtils.parseRtpParameters = function(mediaSection) { + var description = { + codecs: [], + headerExtensions: [], + fecMechanisms: [], + rtcp: [] + }; + var lines = SDPUtils.splitLines(mediaSection); + var mline = lines[0].split(' '); + for (var i = 3; i < mline.length; i++) { // find all codecs from mline[3..] + var pt = mline[i]; + var rtpmapline = SDPUtils.matchPrefix( + mediaSection, 'a=rtpmap:' + pt + ' ')[0]; + if (rtpmapline) { + var codec = SDPUtils.parseRtpMap(rtpmapline); + var fmtps = SDPUtils.matchPrefix( + mediaSection, 'a=fmtp:' + pt + ' '); + // Only the first a=fmtp: is considered. + codec.parameters = fmtps.length ? SDPUtils.parseFmtp(fmtps[0]) : {}; + codec.rtcpFeedback = SDPUtils.matchPrefix( + mediaSection, 'a=rtcp-fb:' + pt + ' ') + .map(SDPUtils.parseRtcpFb); + description.codecs.push(codec); + // parse FEC mechanisms from rtpmap lines. + switch (codec.name.toUpperCase()) { + case 'RED': + case 'ULPFEC': + description.fecMechanisms.push(codec.name.toUpperCase()); + break; + default: // only RED and ULPFEC are recognized as FEC mechanisms. + break; + } + } + } + SDPUtils.matchPrefix(mediaSection, 'a=extmap:').forEach(function(line) { + description.headerExtensions.push(SDPUtils.parseExtmap(line)); + }); + // FIXME: parse rtcp. + return description; +}; + +// Generates parts of the SDP media section describing the capabilities / +// parameters. +SDPUtils.writeRtpDescription = function(kind, caps) { + var sdp = ''; + + // Build the mline. + sdp += 'm=' + kind + ' '; + sdp += caps.codecs.length > 0 ? '9' : '0'; // reject if no codecs. + sdp += ' UDP/TLS/RTP/SAVPF '; + sdp += caps.codecs.map(function(codec) { + if (codec.preferredPayloadType !== undefined) { + return codec.preferredPayloadType; + } + return codec.payloadType; + }).join(' ') + '\r\n'; + + sdp += 'c=IN IP4 0.0.0.0\r\n'; + sdp += 'a=rtcp:9 IN IP4 0.0.0.0\r\n'; + + // Add a=rtpmap lines for each codec. Also fmtp and rtcp-fb. + caps.codecs.forEach(function(codec) { + sdp += SDPUtils.writeRtpMap(codec); + sdp += SDPUtils.writeFmtp(codec); + sdp += SDPUtils.writeRtcpFb(codec); + }); + var maxptime = 0; + caps.codecs.forEach(function(codec) { + if (codec.maxptime > maxptime) { + maxptime = codec.maxptime; + } + }); + if (maxptime > 0) { + sdp += 'a=maxptime:' + maxptime + '\r\n'; + } + sdp += 'a=rtcp-mux\r\n'; + + caps.headerExtensions.forEach(function(extension) { + sdp += SDPUtils.writeExtmap(extension); + }); + // FIXME: write fecMechanisms. + return sdp; +}; + +// Parses the SDP media section and returns an array of +// RTCRtpEncodingParameters. +SDPUtils.parseRtpEncodingParameters = function(mediaSection) { + var encodingParameters = []; + var description = SDPUtils.parseRtpParameters(mediaSection); + var hasRed = description.fecMechanisms.indexOf('RED') !== -1; + var hasUlpfec = description.fecMechanisms.indexOf('ULPFEC') !== -1; + + // filter a=ssrc:... cname:, ignore PlanB-msid + var ssrcs = SDPUtils.matchPrefix(mediaSection, 'a=ssrc:') + .map(function(line) { + return SDPUtils.parseSsrcMedia(line); + }) + .filter(function(parts) { + return parts.attribute === 'cname'; + }); + var primarySsrc = ssrcs.length > 0 && ssrcs[0].ssrc; + var secondarySsrc; + + var flows = SDPUtils.matchPrefix(mediaSection, 'a=ssrc-group:FID') + .map(function(line) { + var parts = line.split(' '); + parts.shift(); + return parts.map(function(part) { + return parseInt(part, 10); + }); + }); + if (flows.length > 0 && flows[0].length > 1 && flows[0][0] === primarySsrc) { + secondarySsrc = flows[0][1]; + } + + description.codecs.forEach(function(codec) { + if (codec.name.toUpperCase() === 'RTX' && codec.parameters.apt) { + var encParam = { + ssrc: primarySsrc, + codecPayloadType: parseInt(codec.parameters.apt, 10), + rtx: { + ssrc: secondarySsrc + } + }; + encodingParameters.push(encParam); + if (hasRed) { + encParam = JSON.parse(JSON.stringify(encParam)); + encParam.fec = { + ssrc: secondarySsrc, + mechanism: hasUlpfec ? 'red+ulpfec' : 'red' + }; + encodingParameters.push(encParam); + } + } + }); + if (encodingParameters.length === 0 && primarySsrc) { + encodingParameters.push({ + ssrc: primarySsrc + }); + } + + // we support both b=AS and b=TIAS but interpret AS as TIAS. + var bandwidth = SDPUtils.matchPrefix(mediaSection, 'b='); + if (bandwidth.length) { + if (bandwidth[0].indexOf('b=TIAS:') === 0) { + bandwidth = parseInt(bandwidth[0].substr(7), 10); + } else if (bandwidth[0].indexOf('b=AS:') === 0) { + // use formula from JSEP to convert b=AS to TIAS value. + bandwidth = parseInt(bandwidth[0].substr(5), 10) * 1000 * 0.95 + - (50 * 40 * 8); + } else { + bandwidth = undefined; + } + encodingParameters.forEach(function(params) { + params.maxBitrate = bandwidth; + }); + } + return encodingParameters; +}; + +// parses http://draft.ortc.org/#rtcrtcpparameters* +SDPUtils.parseRtcpParameters = function(mediaSection) { + var rtcpParameters = {}; + + var cname; + // Gets the first SSRC. Note that with RTX there might be multiple + // SSRCs. + var remoteSsrc = SDPUtils.matchPrefix(mediaSection, 'a=ssrc:') + .map(function(line) { + return SDPUtils.parseSsrcMedia(line); + }) + .filter(function(obj) { + return obj.attribute === 'cname'; + })[0]; + if (remoteSsrc) { + rtcpParameters.cname = remoteSsrc.value; + rtcpParameters.ssrc = remoteSsrc.ssrc; + } + + // Edge uses the compound attribute instead of reducedSize + // compound is !reducedSize + var rsize = SDPUtils.matchPrefix(mediaSection, 'a=rtcp-rsize'); + rtcpParameters.reducedSize = rsize.length > 0; + rtcpParameters.compound = rsize.length === 0; + + // parses the rtcp-mux attrіbute. + // Note that Edge does not support unmuxed RTCP. + var mux = SDPUtils.matchPrefix(mediaSection, 'a=rtcp-mux'); + rtcpParameters.mux = mux.length > 0; + + return rtcpParameters; +}; + +// parses either a=msid: or a=ssrc:... msid lines and returns +// the id of the MediaStream and MediaStreamTrack. +SDPUtils.parseMsid = function(mediaSection) { + var parts; + var spec = SDPUtils.matchPrefix(mediaSection, 'a=msid:'); + if (spec.length === 1) { + parts = spec[0].substr(7).split(' '); + return {stream: parts[0], track: parts[1]}; + } + var planB = SDPUtils.matchPrefix(mediaSection, 'a=ssrc:') + .map(function(line) { + return SDPUtils.parseSsrcMedia(line); + }) + .filter(function(parts) { + return parts.attribute === 'msid'; + }); + if (planB.length > 0) { + parts = planB[0].value.split(' '); + return {stream: parts[0], track: parts[1]}; + } +}; + +// Generate a session ID for SDP. +// https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-20#section-5.2.1 +// recommends using a cryptographically random +ve 64-bit value +// but right now this should be acceptable and within the right range +SDPUtils.generateSessionId = function() { + return Math.random().toString().substr(2, 21); +}; + +// Write boilder plate for start of SDP +// sessId argument is optional - if not supplied it will +// be generated randomly +// sessVersion is optional and defaults to 2 +SDPUtils.writeSessionBoilerplate = function(sessId, sessVer) { + var sessionId; + var version = sessVer !== undefined ? sessVer : 2; + if (sessId) { + sessionId = sessId; + } else { + sessionId = SDPUtils.generateSessionId(); + } + // FIXME: sess-id should be an NTP timestamp. + return 'v=0\r\n' + + 'o=thisisadapterortc ' + sessionId + ' ' + version + ' IN IP4 127.0.0.1\r\n' + + 's=-\r\n' + + 't=0 0\r\n'; +}; + +SDPUtils.writeMediaSection = function(transceiver, caps, type, stream) { + var sdp = SDPUtils.writeRtpDescription(transceiver.kind, caps); + + // Map ICE parameters (ufrag, pwd) to SDP. + sdp += SDPUtils.writeIceParameters( + transceiver.iceGatherer.getLocalParameters()); + + // Map DTLS parameters to SDP. + sdp += SDPUtils.writeDtlsParameters( + transceiver.dtlsTransport.getLocalParameters(), + type === 'offer' ? 'actpass' : 'active'); + + sdp += 'a=mid:' + transceiver.mid + '\r\n'; + + if (transceiver.direction) { + sdp += 'a=' + transceiver.direction + '\r\n'; + } else if (transceiver.rtpSender && transceiver.rtpReceiver) { + sdp += 'a=sendrecv\r\n'; + } else if (transceiver.rtpSender) { + sdp += 'a=sendonly\r\n'; + } else if (transceiver.rtpReceiver) { + sdp += 'a=recvonly\r\n'; + } else { + sdp += 'a=inactive\r\n'; + } + + if (transceiver.rtpSender) { + // spec. + var msid = 'msid:' + stream.id + ' ' + + transceiver.rtpSender.track.id + '\r\n'; + sdp += 'a=' + msid; + + // for Chrome. + sdp += 'a=ssrc:' + transceiver.sendEncodingParameters[0].ssrc + + ' ' + msid; + if (transceiver.sendEncodingParameters[0].rtx) { + sdp += 'a=ssrc:' + transceiver.sendEncodingParameters[0].rtx.ssrc + + ' ' + msid; + sdp += 'a=ssrc-group:FID ' + + transceiver.sendEncodingParameters[0].ssrc + ' ' + + transceiver.sendEncodingParameters[0].rtx.ssrc + + '\r\n'; + } + } + // FIXME: this should be written by writeRtpDescription. + sdp += 'a=ssrc:' + transceiver.sendEncodingParameters[0].ssrc + + ' cname:' + SDPUtils.localCName + '\r\n'; + if (transceiver.rtpSender && transceiver.sendEncodingParameters[0].rtx) { + sdp += 'a=ssrc:' + transceiver.sendEncodingParameters[0].rtx.ssrc + + ' cname:' + SDPUtils.localCName + '\r\n'; + } + return sdp; +}; + +// Gets the direction from the mediaSection or the sessionpart. +SDPUtils.getDirection = function(mediaSection, sessionpart) { + // Look for sendrecv, sendonly, recvonly, inactive, default to sendrecv. + var lines = SDPUtils.splitLines(mediaSection); + for (var i = 0; i < lines.length; i++) { + switch (lines[i]) { + case 'a=sendrecv': + case 'a=sendonly': + case 'a=recvonly': + case 'a=inactive': + return lines[i].substr(2); + default: + // FIXME: What should happen here? + } + } + if (sessionpart) { + return SDPUtils.getDirection(sessionpart); + } + return 'sendrecv'; +}; + +SDPUtils.getKind = function(mediaSection) { + var lines = SDPUtils.splitLines(mediaSection); + var mline = lines[0].split(' '); + return mline[0].substr(2); +}; + +SDPUtils.isRejected = function(mediaSection) { + return mediaSection.split(' ', 2)[1] === '0'; +}; + +SDPUtils.parseMLine = function(mediaSection) { + var lines = SDPUtils.splitLines(mediaSection); + var mline = lines[0].split(' '); + return { + kind: mline[0].substr(2), + port: parseInt(mline[1], 10), + protocol: mline[2], + fmt: mline.slice(3).join(' ') + }; +}; + +// Expose public methods. +if (typeof module === 'object') { + module.exports = SDPUtils; +} + +},{}],3:[function(require,module,exports){ +(function (global){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ + +'use strict'; + +var adapterFactory = require('./adapter_factory.js'); +module.exports = adapterFactory({window: global.window}); + +}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{"./adapter_factory.js":4}],4:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ + +'use strict'; + +var utils = require('./utils'); +// Shimming starts here. +module.exports = function(dependencies, opts) { + var window = dependencies && dependencies.window; + + var options = { + shimChrome: true, + shimFirefox: true, + shimEdge: true, + shimSafari: true, + }; + + for (var key in opts) { + if (hasOwnProperty.call(opts, key)) { + options[key] = opts[key]; + } + } + + // Utils. + var logging = utils.log; + var browserDetails = utils.detectBrowser(window); + + // Uncomment the line below if you want logging to occur, including logging + // for the switch statement below. Can also be turned on in the browser via + // adapter.disableLog(false), but then logging from the switch statement below + // will not appear. + // require('./utils').disableLog(false); + + // Browser shims. + var chromeShim = require('./chrome/chrome_shim') || null; + var edgeShim = require('./edge/edge_shim') || null; + var firefoxShim = require('./firefox/firefox_shim') || null; + var safariShim = require('./safari/safari_shim') || null; + var commonShim = require('./common_shim') || null; + + // Export to the adapter global object visible in the browser. + var adapter = { + browserDetails: browserDetails, + commonShim: commonShim, + extractVersion: utils.extractVersion, + disableLog: utils.disableLog, + disableWarnings: utils.disableWarnings + }; + + // Shim browser if found. + switch (browserDetails.browser) { + case 'chrome': + if (!chromeShim || !chromeShim.shimPeerConnection || + !options.shimChrome) { + logging('Chrome shim is not included in this adapter release.'); + return adapter; + } + logging('adapter.js shimming chrome.'); + // Export to the adapter global object visible in the browser. + adapter.browserShim = chromeShim; + commonShim.shimCreateObjectURL(window); + + chromeShim.shimGetUserMedia(window); + chromeShim.shimMediaStream(window); + chromeShim.shimSourceObject(window); + chromeShim.shimPeerConnection(window); + chromeShim.shimOnTrack(window); + chromeShim.shimAddTrackRemoveTrack(window); + chromeShim.shimGetSendersWithDtmf(window); + + commonShim.shimRTCIceCandidate(window); + commonShim.shimMaxMessageSize(window); + commonShim.shimSendThrowTypeError(window); + break; + case 'firefox': + if (!firefoxShim || !firefoxShim.shimPeerConnection || + !options.shimFirefox) { + logging('Firefox shim is not included in this adapter release.'); + return adapter; + } + logging('adapter.js shimming firefox.'); + // Export to the adapter global object visible in the browser. + adapter.browserShim = firefoxShim; + commonShim.shimCreateObjectURL(window); + + firefoxShim.shimGetUserMedia(window); + firefoxShim.shimSourceObject(window); + firefoxShim.shimPeerConnection(window); + firefoxShim.shimOnTrack(window); + firefoxShim.shimRemoveStream(window); + + commonShim.shimRTCIceCandidate(window); + commonShim.shimMaxMessageSize(window); + commonShim.shimSendThrowTypeError(window); + break; + case 'edge': + if (!edgeShim || !edgeShim.shimPeerConnection || !options.shimEdge) { + logging('MS edge shim is not included in this adapter release.'); + return adapter; + } + logging('adapter.js shimming edge.'); + // Export to the adapter global object visible in the browser. + adapter.browserShim = edgeShim; + commonShim.shimCreateObjectURL(window); + + edgeShim.shimGetUserMedia(window); + edgeShim.shimPeerConnection(window); + edgeShim.shimReplaceTrack(window); + + // the edge shim implements the full RTCIceCandidate object. + + commonShim.shimMaxMessageSize(window); + commonShim.shimSendThrowTypeError(window); + break; + case 'safari': + if (!safariShim || !options.shimSafari) { + logging('Safari shim is not included in this adapter release.'); + return adapter; + } + logging('adapter.js shimming safari.'); + // Export to the adapter global object visible in the browser. + adapter.browserShim = safariShim; + commonShim.shimCreateObjectURL(window); + + safariShim.shimRTCIceServerUrls(window); + safariShim.shimCallbacksAPI(window); + safariShim.shimLocalStreamsAPI(window); + safariShim.shimRemoteStreamsAPI(window); + safariShim.shimTrackEventTransceiver(window); + safariShim.shimGetUserMedia(window); + safariShim.shimCreateOfferLegacy(window); + + commonShim.shimRTCIceCandidate(window); + commonShim.shimMaxMessageSize(window); + commonShim.shimSendThrowTypeError(window); + break; + default: + logging('Unsupported browser!'); + break; + } + + return adapter; +}; + +},{"./chrome/chrome_shim":5,"./common_shim":7,"./edge/edge_shim":8,"./firefox/firefox_shim":10,"./safari/safari_shim":12,"./utils":13}],5:[function(require,module,exports){ + +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; +var utils = require('../utils.js'); +var logging = utils.log; + +module.exports = { + shimGetUserMedia: require('./getusermedia'), + shimMediaStream: function(window) { + window.MediaStream = window.MediaStream || window.webkitMediaStream; + }, + + shimOnTrack: function(window) { + if (typeof window === 'object' && window.RTCPeerConnection && !('ontrack' in + window.RTCPeerConnection.prototype)) { + Object.defineProperty(window.RTCPeerConnection.prototype, 'ontrack', { + get: function() { + return this._ontrack; + }, + set: function(f) { + if (this._ontrack) { + this.removeEventListener('track', this._ontrack); + } + this.addEventListener('track', this._ontrack = f); + } + }); + var origSetRemoteDescription = + window.RTCPeerConnection.prototype.setRemoteDescription; + window.RTCPeerConnection.prototype.setRemoteDescription = function() { + var pc = this; + if (!pc._ontrackpoly) { + pc._ontrackpoly = function(e) { + // onaddstream does not fire when a track is added to an existing + // stream. But stream.onaddtrack is implemented so we use that. + e.stream.addEventListener('addtrack', function(te) { + var receiver; + if (window.RTCPeerConnection.prototype.getReceivers) { + receiver = pc.getReceivers().find(function(r) { + return r.track && r.track.id === te.track.id; + }); + } else { + receiver = {track: te.track}; + } + + var event = new Event('track'); + event.track = te.track; + event.receiver = receiver; + event.transceiver = {receiver: receiver}; + event.streams = [e.stream]; + pc.dispatchEvent(event); + }); + e.stream.getTracks().forEach(function(track) { + var receiver; + if (window.RTCPeerConnection.prototype.getReceivers) { + receiver = pc.getReceivers().find(function(r) { + return r.track && r.track.id === track.id; + }); + } else { + receiver = {track: track}; + } + var event = new Event('track'); + event.track = track; + event.receiver = receiver; + event.transceiver = {receiver: receiver}; + event.streams = [e.stream]; + pc.dispatchEvent(event); + }); + }; + pc.addEventListener('addstream', pc._ontrackpoly); + } + return origSetRemoteDescription.apply(pc, arguments); + }; + } else if (!('RTCRtpTransceiver' in window)) { + utils.wrapPeerConnectionEvent(window, 'track', function(e) { + if (!e.transceiver) { + e.transceiver = {receiver: e.receiver}; + } + return e; + }); + } + }, + + shimGetSendersWithDtmf: function(window) { + // Overrides addTrack/removeTrack, depends on shimAddTrackRemoveTrack. + if (typeof window === 'object' && window.RTCPeerConnection && + !('getSenders' in window.RTCPeerConnection.prototype) && + 'createDTMFSender' in window.RTCPeerConnection.prototype) { + var shimSenderWithDtmf = function(pc, track) { + return { + track: track, + get dtmf() { + if (this._dtmf === undefined) { + if (track.kind === 'audio') { + this._dtmf = pc.createDTMFSender(track); + } else { + this._dtmf = null; + } + } + return this._dtmf; + }, + _pc: pc + }; + }; + + // augment addTrack when getSenders is not available. + if (!window.RTCPeerConnection.prototype.getSenders) { + window.RTCPeerConnection.prototype.getSenders = function() { + this._senders = this._senders || []; + return this._senders.slice(); // return a copy of the internal state. + }; + var origAddTrack = window.RTCPeerConnection.prototype.addTrack; + window.RTCPeerConnection.prototype.addTrack = function(track, stream) { + var pc = this; + var sender = origAddTrack.apply(pc, arguments); + if (!sender) { + sender = shimSenderWithDtmf(pc, track); + pc._senders.push(sender); + } + return sender; + }; + + var origRemoveTrack = window.RTCPeerConnection.prototype.removeTrack; + window.RTCPeerConnection.prototype.removeTrack = function(sender) { + var pc = this; + origRemoveTrack.apply(pc, arguments); + var idx = pc._senders.indexOf(sender); + if (idx !== -1) { + pc._senders.splice(idx, 1); + } + }; + } + var origAddStream = window.RTCPeerConnection.prototype.addStream; + window.RTCPeerConnection.prototype.addStream = function(stream) { + var pc = this; + pc._senders = pc._senders || []; + origAddStream.apply(pc, [stream]); + stream.getTracks().forEach(function(track) { + pc._senders.push(shimSenderWithDtmf(pc, track)); + }); + }; + + var origRemoveStream = window.RTCPeerConnection.prototype.removeStream; + window.RTCPeerConnection.prototype.removeStream = function(stream) { + var pc = this; + pc._senders = pc._senders || []; + origRemoveStream.apply(pc, [stream]); + + stream.getTracks().forEach(function(track) { + var sender = pc._senders.find(function(s) { + return s.track === track; + }); + if (sender) { + pc._senders.splice(pc._senders.indexOf(sender), 1); // remove sender + } + }); + }; + } else if (typeof window === 'object' && window.RTCPeerConnection && + 'getSenders' in window.RTCPeerConnection.prototype && + 'createDTMFSender' in window.RTCPeerConnection.prototype && + window.RTCRtpSender && + !('dtmf' in window.RTCRtpSender.prototype)) { + var origGetSenders = window.RTCPeerConnection.prototype.getSenders; + window.RTCPeerConnection.prototype.getSenders = function() { + var pc = this; + var senders = origGetSenders.apply(pc, []); + senders.forEach(function(sender) { + sender._pc = pc; + }); + return senders; + }; + + Object.defineProperty(window.RTCRtpSender.prototype, 'dtmf', { + get: function() { + if (this._dtmf === undefined) { + if (this.track.kind === 'audio') { + this._dtmf = this._pc.createDTMFSender(this.track); + } else { + this._dtmf = null; + } + } + return this._dtmf; + } + }); + } + }, + + shimSourceObject: function(window) { + var URL = window && window.URL; + + if (typeof window === 'object') { + if (window.HTMLMediaElement && + !('srcObject' in window.HTMLMediaElement.prototype)) { + // Shim the srcObject property, once, when HTMLMediaElement is found. + Object.defineProperty(window.HTMLMediaElement.prototype, 'srcObject', { + get: function() { + return this._srcObject; + }, + set: function(stream) { + var self = this; + // Use _srcObject as a private property for this shim + this._srcObject = stream; + if (this.src) { + URL.revokeObjectURL(this.src); + } + + if (!stream) { + this.src = ''; + return undefined; + } + this.src = URL.createObjectURL(stream); + // We need to recreate the blob url when a track is added or + // removed. Doing it manually since we want to avoid a recursion. + stream.addEventListener('addtrack', function() { + if (self.src) { + URL.revokeObjectURL(self.src); + } + self.src = URL.createObjectURL(stream); + }); + stream.addEventListener('removetrack', function() { + if (self.src) { + URL.revokeObjectURL(self.src); + } + self.src = URL.createObjectURL(stream); + }); + } + }); + } + } + }, + + shimAddTrackRemoveTrackWithNative: function(window) { + // shim addTrack/removeTrack with native variants in order to make + // the interactions with legacy getLocalStreams behave as in other browsers. + // Keeps a mapping stream.id => [stream, rtpsenders...] + window.RTCPeerConnection.prototype.getLocalStreams = function() { + var pc = this; + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + return Object.keys(this._shimmedLocalStreams).map(function(streamId) { + return pc._shimmedLocalStreams[streamId][0]; + }); + }; + + var origAddTrack = window.RTCPeerConnection.prototype.addTrack; + window.RTCPeerConnection.prototype.addTrack = function(track, stream) { + if (!stream) { + return origAddTrack.apply(this, arguments); + } + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + + var sender = origAddTrack.apply(this, arguments); + if (!this._shimmedLocalStreams[stream.id]) { + this._shimmedLocalStreams[stream.id] = [stream, sender]; + } else if (this._shimmedLocalStreams[stream.id].indexOf(sender) === -1) { + this._shimmedLocalStreams[stream.id].push(sender); + } + return sender; + }; + + var origAddStream = window.RTCPeerConnection.prototype.addStream; + window.RTCPeerConnection.prototype.addStream = function(stream) { + var pc = this; + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + + stream.getTracks().forEach(function(track) { + var alreadyExists = pc.getSenders().find(function(s) { + return s.track === track; + }); + if (alreadyExists) { + throw new DOMException('Track already exists.', + 'InvalidAccessError'); + } + }); + var existingSenders = pc.getSenders(); + origAddStream.apply(this, arguments); + var newSenders = pc.getSenders().filter(function(newSender) { + return existingSenders.indexOf(newSender) === -1; + }); + this._shimmedLocalStreams[stream.id] = [stream].concat(newSenders); + }; + + var origRemoveStream = window.RTCPeerConnection.prototype.removeStream; + window.RTCPeerConnection.prototype.removeStream = function(stream) { + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + delete this._shimmedLocalStreams[stream.id]; + return origRemoveStream.apply(this, arguments); + }; + + var origRemoveTrack = window.RTCPeerConnection.prototype.removeTrack; + window.RTCPeerConnection.prototype.removeTrack = function(sender) { + var pc = this; + this._shimmedLocalStreams = this._shimmedLocalStreams || {}; + if (sender) { + Object.keys(this._shimmedLocalStreams).forEach(function(streamId) { + var idx = pc._shimmedLocalStreams[streamId].indexOf(sender); + if (idx !== -1) { + pc._shimmedLocalStreams[streamId].splice(idx, 1); + } + if (pc._shimmedLocalStreams[streamId].length === 1) { + delete pc._shimmedLocalStreams[streamId]; + } + }); + } + return origRemoveTrack.apply(this, arguments); + }; + }, + + shimAddTrackRemoveTrack: function(window) { + var browserDetails = utils.detectBrowser(window); + // shim addTrack and removeTrack. + if (window.RTCPeerConnection.prototype.addTrack && + browserDetails.version >= 65) { + return this.shimAddTrackRemoveTrackWithNative(window); + } + + // also shim pc.getLocalStreams when addTrack is shimmed + // to return the original streams. + var origGetLocalStreams = window.RTCPeerConnection.prototype + .getLocalStreams; + window.RTCPeerConnection.prototype.getLocalStreams = function() { + var pc = this; + var nativeStreams = origGetLocalStreams.apply(this); + pc._reverseStreams = pc._reverseStreams || {}; + return nativeStreams.map(function(stream) { + return pc._reverseStreams[stream.id]; + }); + }; + + var origAddStream = window.RTCPeerConnection.prototype.addStream; + window.RTCPeerConnection.prototype.addStream = function(stream) { + var pc = this; + pc._streams = pc._streams || {}; + pc._reverseStreams = pc._reverseStreams || {}; + + stream.getTracks().forEach(function(track) { + var alreadyExists = pc.getSenders().find(function(s) { + return s.track === track; + }); + if (alreadyExists) { + throw new DOMException('Track already exists.', + 'InvalidAccessError'); + } + }); + // Add identity mapping for consistency with addTrack. + // Unless this is being used with a stream from addTrack. + if (!pc._reverseStreams[stream.id]) { + var newStream = new window.MediaStream(stream.getTracks()); + pc._streams[stream.id] = newStream; + pc._reverseStreams[newStream.id] = stream; + stream = newStream; + } + origAddStream.apply(pc, [stream]); + }; + + var origRemoveStream = window.RTCPeerConnection.prototype.removeStream; + window.RTCPeerConnection.prototype.removeStream = function(stream) { + var pc = this; + pc._streams = pc._streams || {}; + pc._reverseStreams = pc._reverseStreams || {}; + + origRemoveStream.apply(pc, [(pc._streams[stream.id] || stream)]); + delete pc._reverseStreams[(pc._streams[stream.id] ? + pc._streams[stream.id].id : stream.id)]; + delete pc._streams[stream.id]; + }; + + window.RTCPeerConnection.prototype.addTrack = function(track, stream) { + var pc = this; + if (pc.signalingState === 'closed') { + throw new DOMException( + 'The RTCPeerConnection\'s signalingState is \'closed\'.', + 'InvalidStateError'); + } + var streams = [].slice.call(arguments, 1); + if (streams.length !== 1 || + !streams[0].getTracks().find(function(t) { + return t === track; + })) { + // this is not fully correct but all we can manage without + // [[associated MediaStreams]] internal slot. + throw new DOMException( + 'The adapter.js addTrack polyfill only supports a single ' + + ' stream which is associated with the specified track.', + 'NotSupportedError'); + } + + var alreadyExists = pc.getSenders().find(function(s) { + return s.track === track; + }); + if (alreadyExists) { + throw new DOMException('Track already exists.', + 'InvalidAccessError'); + } + + pc._streams = pc._streams || {}; + pc._reverseStreams = pc._reverseStreams || {}; + var oldStream = pc._streams[stream.id]; + if (oldStream) { + // this is using odd Chrome behaviour, use with caution: + // https://bugs.chromium.org/p/webrtc/issues/detail?id=7815 + // Note: we rely on the high-level addTrack/dtmf shim to + // create the sender with a dtmf sender. + oldStream.addTrack(track); + + // Trigger ONN async. + Promise.resolve().then(function() { + pc.dispatchEvent(new Event('negotiationneeded')); + }); + } else { + var newStream = new window.MediaStream([track]); + pc._streams[stream.id] = newStream; + pc._reverseStreams[newStream.id] = stream; + pc.addStream(newStream); + } + return pc.getSenders().find(function(s) { + return s.track === track; + }); + }; + + // replace the internal stream id with the external one and + // vice versa. + function replaceInternalStreamId(pc, description) { + var sdp = description.sdp; + Object.keys(pc._reverseStreams || []).forEach(function(internalId) { + var externalStream = pc._reverseStreams[internalId]; + var internalStream = pc._streams[externalStream.id]; + sdp = sdp.replace(new RegExp(internalStream.id, 'g'), + externalStream.id); + }); + return new RTCSessionDescription({ + type: description.type, + sdp: sdp + }); + } + function replaceExternalStreamId(pc, description) { + var sdp = description.sdp; + Object.keys(pc._reverseStreams || []).forEach(function(internalId) { + var externalStream = pc._reverseStreams[internalId]; + var internalStream = pc._streams[externalStream.id]; + sdp = sdp.replace(new RegExp(externalStream.id, 'g'), + internalStream.id); + }); + return new RTCSessionDescription({ + type: description.type, + sdp: sdp + }); + } + ['createOffer', 'createAnswer'].forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + var pc = this; + var args = arguments; + var isLegacyCall = arguments.length && + typeof arguments[0] === 'function'; + if (isLegacyCall) { + return nativeMethod.apply(pc, [ + function(description) { + var desc = replaceInternalStreamId(pc, description); + args[0].apply(null, [desc]); + }, + function(err) { + if (args[1]) { + args[1].apply(null, err); + } + }, arguments[2] + ]); + } + return nativeMethod.apply(pc, arguments) + .then(function(description) { + return replaceInternalStreamId(pc, description); + }); + }; + }); + + var origSetLocalDescription = + window.RTCPeerConnection.prototype.setLocalDescription; + window.RTCPeerConnection.prototype.setLocalDescription = function() { + var pc = this; + if (!arguments.length || !arguments[0].type) { + return origSetLocalDescription.apply(pc, arguments); + } + arguments[0] = replaceExternalStreamId(pc, arguments[0]); + return origSetLocalDescription.apply(pc, arguments); + }; + + // TODO: mangle getStats: https://w3c.github.io/webrtc-stats/#dom-rtcmediastreamstats-streamidentifier + + var origLocalDescription = Object.getOwnPropertyDescriptor( + window.RTCPeerConnection.prototype, 'localDescription'); + Object.defineProperty(window.RTCPeerConnection.prototype, + 'localDescription', { + get: function() { + var pc = this; + var description = origLocalDescription.get.apply(this); + if (description.type === '') { + return description; + } + return replaceInternalStreamId(pc, description); + } + }); + + window.RTCPeerConnection.prototype.removeTrack = function(sender) { + var pc = this; + if (pc.signalingState === 'closed') { + throw new DOMException( + 'The RTCPeerConnection\'s signalingState is \'closed\'.', + 'InvalidStateError'); + } + // We can not yet check for sender instanceof RTCRtpSender + // since we shim RTPSender. So we check if sender._pc is set. + if (!sender._pc) { + throw new DOMException('Argument 1 of RTCPeerConnection.removeTrack ' + + 'does not implement interface RTCRtpSender.', 'TypeError'); + } + var isLocal = sender._pc === pc; + if (!isLocal) { + throw new DOMException('Sender was not created by this connection.', + 'InvalidAccessError'); + } + + // Search for the native stream the senders track belongs to. + pc._streams = pc._streams || {}; + var stream; + Object.keys(pc._streams).forEach(function(streamid) { + var hasTrack = pc._streams[streamid].getTracks().find(function(track) { + return sender.track === track; + }); + if (hasTrack) { + stream = pc._streams[streamid]; + } + }); + + if (stream) { + if (stream.getTracks().length === 1) { + // if this is the last track of the stream, remove the stream. This + // takes care of any shimmed _senders. + pc.removeStream(pc._reverseStreams[stream.id]); + } else { + // relying on the same odd chrome behaviour as above. + stream.removeTrack(sender.track); + } + pc.dispatchEvent(new Event('negotiationneeded')); + } + }; + }, + + shimPeerConnection: function(window) { + var browserDetails = utils.detectBrowser(window); + + // The RTCPeerConnection object. + if (!window.RTCPeerConnection && window.webkitRTCPeerConnection) { + window.RTCPeerConnection = function(pcConfig, pcConstraints) { + // Translate iceTransportPolicy to iceTransports, + // see https://code.google.com/p/webrtc/issues/detail?id=4869 + // this was fixed in M56 along with unprefixing RTCPeerConnection. + logging('PeerConnection'); + if (pcConfig && pcConfig.iceTransportPolicy) { + pcConfig.iceTransports = pcConfig.iceTransportPolicy; + } + + return new window.webkitRTCPeerConnection(pcConfig, pcConstraints); + }; + window.RTCPeerConnection.prototype = + window.webkitRTCPeerConnection.prototype; + // wrap static methods. Currently just generateCertificate. + if (window.webkitRTCPeerConnection.generateCertificate) { + Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { + get: function() { + return window.webkitRTCPeerConnection.generateCertificate; + } + }); + } + } else { + // migrate from non-spec RTCIceServer.url to RTCIceServer.urls + var OrigPeerConnection = window.RTCPeerConnection; + window.RTCPeerConnection = function(pcConfig, pcConstraints) { + if (pcConfig && pcConfig.iceServers) { + var newIceServers = []; + for (var i = 0; i < pcConfig.iceServers.length; i++) { + var server = pcConfig.iceServers[i]; + if (!server.hasOwnProperty('urls') && + server.hasOwnProperty('url')) { + utils.deprecated('RTCIceServer.url', 'RTCIceServer.urls'); + server = JSON.parse(JSON.stringify(server)); + server.urls = server.url; + newIceServers.push(server); + } else { + newIceServers.push(pcConfig.iceServers[i]); + } + } + pcConfig.iceServers = newIceServers; + } + return new OrigPeerConnection(pcConfig, pcConstraints); + }; + window.RTCPeerConnection.prototype = OrigPeerConnection.prototype; + // wrap static methods. Currently just generateCertificate. + Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { + get: function() { + return OrigPeerConnection.generateCertificate; + } + }); + } + + var origGetStats = window.RTCPeerConnection.prototype.getStats; + window.RTCPeerConnection.prototype.getStats = function(selector, + successCallback, errorCallback) { + var pc = this; + var args = arguments; + + // If selector is a function then we are in the old style stats so just + // pass back the original getStats format to avoid breaking old users. + if (arguments.length > 0 && typeof selector === 'function') { + return origGetStats.apply(this, arguments); + } + + // When spec-style getStats is supported, return those when called with + // either no arguments or the selector argument is null. + if (origGetStats.length === 0 && (arguments.length === 0 || + typeof arguments[0] !== 'function')) { + return origGetStats.apply(this, []); + } + + var fixChromeStats_ = function(response) { + var standardReport = {}; + var reports = response.result(); + reports.forEach(function(report) { + var standardStats = { + id: report.id, + timestamp: report.timestamp, + type: { + localcandidate: 'local-candidate', + remotecandidate: 'remote-candidate' + }[report.type] || report.type + }; + report.names().forEach(function(name) { + standardStats[name] = report.stat(name); + }); + standardReport[standardStats.id] = standardStats; + }); + + return standardReport; + }; + + // shim getStats with maplike support + var makeMapStats = function(stats) { + return new Map(Object.keys(stats).map(function(key) { + return [key, stats[key]]; + })); + }; + + if (arguments.length >= 2) { + var successCallbackWrapper_ = function(response) { + args[1](makeMapStats(fixChromeStats_(response))); + }; + + return origGetStats.apply(this, [successCallbackWrapper_, + arguments[0]]); + } + + // promise-support + return new Promise(function(resolve, reject) { + origGetStats.apply(pc, [ + function(response) { + resolve(makeMapStats(fixChromeStats_(response))); + }, reject]); + }).then(successCallback, errorCallback); + }; + + // add promise support -- natively available in Chrome 51 + if (browserDetails.version < 51) { + ['setLocalDescription', 'setRemoteDescription', 'addIceCandidate'] + .forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + var args = arguments; + var pc = this; + var promise = new Promise(function(resolve, reject) { + nativeMethod.apply(pc, [args[0], resolve, reject]); + }); + if (args.length < 2) { + return promise; + } + return promise.then(function() { + args[1].apply(null, []); + }, + function(err) { + if (args.length >= 3) { + args[2].apply(null, [err]); + } + }); + }; + }); + } + + // promise support for createOffer and createAnswer. Available (without + // bugs) since M52: crbug/619289 + if (browserDetails.version < 52) { + ['createOffer', 'createAnswer'].forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + var pc = this; + if (arguments.length < 1 || (arguments.length === 1 && + typeof arguments[0] === 'object')) { + var opts = arguments.length === 1 ? arguments[0] : undefined; + return new Promise(function(resolve, reject) { + nativeMethod.apply(pc, [resolve, reject, opts]); + }); + } + return nativeMethod.apply(this, arguments); + }; + }); + } + + // shim implicit creation of RTCSessionDescription/RTCIceCandidate + ['setLocalDescription', 'setRemoteDescription', 'addIceCandidate'] + .forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + arguments[0] = new ((method === 'addIceCandidate') ? + window.RTCIceCandidate : + window.RTCSessionDescription)(arguments[0]); + return nativeMethod.apply(this, arguments); + }; + }); + + // support for addIceCandidate(null or undefined) + var nativeAddIceCandidate = + window.RTCPeerConnection.prototype.addIceCandidate; + window.RTCPeerConnection.prototype.addIceCandidate = function() { + if (!arguments[0]) { + if (arguments[1]) { + arguments[1].apply(null); + } + return Promise.resolve(); + } + return nativeAddIceCandidate.apply(this, arguments); + }; + } +}; + +},{"../utils.js":13,"./getusermedia":6}],6:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; +var utils = require('../utils.js'); +var logging = utils.log; + +// Expose public methods. +module.exports = function(window) { + var browserDetails = utils.detectBrowser(window); + var navigator = window && window.navigator; + + var constraintsToChrome_ = function(c) { + if (typeof c !== 'object' || c.mandatory || c.optional) { + return c; + } + var cc = {}; + Object.keys(c).forEach(function(key) { + if (key === 'require' || key === 'advanced' || key === 'mediaSource') { + return; + } + var r = (typeof c[key] === 'object') ? c[key] : {ideal: c[key]}; + if (r.exact !== undefined && typeof r.exact === 'number') { + r.min = r.max = r.exact; + } + var oldname_ = function(prefix, name) { + if (prefix) { + return prefix + name.charAt(0).toUpperCase() + name.slice(1); + } + return (name === 'deviceId') ? 'sourceId' : name; + }; + if (r.ideal !== undefined) { + cc.optional = cc.optional || []; + var oc = {}; + if (typeof r.ideal === 'number') { + oc[oldname_('min', key)] = r.ideal; + cc.optional.push(oc); + oc = {}; + oc[oldname_('max', key)] = r.ideal; + cc.optional.push(oc); + } else { + oc[oldname_('', key)] = r.ideal; + cc.optional.push(oc); + } + } + if (r.exact !== undefined && typeof r.exact !== 'number') { + cc.mandatory = cc.mandatory || {}; + cc.mandatory[oldname_('', key)] = r.exact; + } else { + ['min', 'max'].forEach(function(mix) { + if (r[mix] !== undefined) { + cc.mandatory = cc.mandatory || {}; + cc.mandatory[oldname_(mix, key)] = r[mix]; + } + }); + } + }); + if (c.advanced) { + cc.optional = (cc.optional || []).concat(c.advanced); + } + return cc; + }; + + var shimConstraints_ = function(constraints, func) { + if (browserDetails.version >= 61) { + return func(constraints); + } + constraints = JSON.parse(JSON.stringify(constraints)); + if (constraints && typeof constraints.audio === 'object') { + var remap = function(obj, a, b) { + if (a in obj && !(b in obj)) { + obj[b] = obj[a]; + delete obj[a]; + } + }; + constraints = JSON.parse(JSON.stringify(constraints)); + remap(constraints.audio, 'autoGainControl', 'googAutoGainControl'); + remap(constraints.audio, 'noiseSuppression', 'googNoiseSuppression'); + constraints.audio = constraintsToChrome_(constraints.audio); + } + if (constraints && typeof constraints.video === 'object') { + // Shim facingMode for mobile & surface pro. + var face = constraints.video.facingMode; + face = face && ((typeof face === 'object') ? face : {ideal: face}); + var getSupportedFacingModeLies = browserDetails.version < 66; + + if ((face && (face.exact === 'user' || face.exact === 'environment' || + face.ideal === 'user' || face.ideal === 'environment')) && + !(navigator.mediaDevices.getSupportedConstraints && + navigator.mediaDevices.getSupportedConstraints().facingMode && + !getSupportedFacingModeLies)) { + delete constraints.video.facingMode; + var matches; + if (face.exact === 'environment' || face.ideal === 'environment') { + matches = ['back', 'rear']; + } else if (face.exact === 'user' || face.ideal === 'user') { + matches = ['front']; + } + if (matches) { + // Look for matches in label, or use last cam for back (typical). + return navigator.mediaDevices.enumerateDevices() + .then(function(devices) { + devices = devices.filter(function(d) { + return d.kind === 'videoinput'; + }); + var dev = devices.find(function(d) { + return matches.some(function(match) { + return d.label.toLowerCase().indexOf(match) !== -1; + }); + }); + if (!dev && devices.length && matches.indexOf('back') !== -1) { + dev = devices[devices.length - 1]; // more likely the back cam + } + if (dev) { + constraints.video.deviceId = face.exact ? {exact: dev.deviceId} : + {ideal: dev.deviceId}; + } + constraints.video = constraintsToChrome_(constraints.video); + logging('chrome: ' + JSON.stringify(constraints)); + return func(constraints); + }); + } + } + constraints.video = constraintsToChrome_(constraints.video); + } + logging('chrome: ' + JSON.stringify(constraints)); + return func(constraints); + }; + + var shimError_ = function(e) { + return { + name: { + PermissionDeniedError: 'NotAllowedError', + InvalidStateError: 'NotReadableError', + DevicesNotFoundError: 'NotFoundError', + ConstraintNotSatisfiedError: 'OverconstrainedError', + TrackStartError: 'NotReadableError', + MediaDeviceFailedDueToShutdown: 'NotReadableError', + MediaDeviceKillSwitchOn: 'NotReadableError' + }[e.name] || e.name, + message: e.message, + constraint: e.constraintName, + toString: function() { + return this.name + (this.message && ': ') + this.message; + } + }; + }; + + var getUserMedia_ = function(constraints, onSuccess, onError) { + shimConstraints_(constraints, function(c) { + navigator.webkitGetUserMedia(c, onSuccess, function(e) { + if (onError) { + onError(shimError_(e)); + } + }); + }); + }; + + navigator.getUserMedia = getUserMedia_; + + // Returns the result of getUserMedia as a Promise. + var getUserMediaPromise_ = function(constraints) { + return new Promise(function(resolve, reject) { + navigator.getUserMedia(constraints, resolve, reject); + }); + }; + + if (!navigator.mediaDevices) { + navigator.mediaDevices = { + getUserMedia: getUserMediaPromise_, + enumerateDevices: function() { + return new Promise(function(resolve) { + var kinds = {audio: 'audioinput', video: 'videoinput'}; + return window.MediaStreamTrack.getSources(function(devices) { + resolve(devices.map(function(device) { + return {label: device.label, + kind: kinds[device.kind], + deviceId: device.id, + groupId: ''}; + })); + }); + }); + }, + getSupportedConstraints: function() { + return { + deviceId: true, echoCancellation: true, facingMode: true, + frameRate: true, height: true, width: true + }; + } + }; + } + + // A shim for getUserMedia method on the mediaDevices object. + // TODO(KaptenJansson) remove once implemented in Chrome stable. + if (!navigator.mediaDevices.getUserMedia) { + navigator.mediaDevices.getUserMedia = function(constraints) { + return getUserMediaPromise_(constraints); + }; + } else { + // Even though Chrome 45 has navigator.mediaDevices and a getUserMedia + // function which returns a Promise, it does not accept spec-style + // constraints. + var origGetUserMedia = navigator.mediaDevices.getUserMedia. + bind(navigator.mediaDevices); + navigator.mediaDevices.getUserMedia = function(cs) { + return shimConstraints_(cs, function(c) { + return origGetUserMedia(c).then(function(stream) { + if (c.audio && !stream.getAudioTracks().length || + c.video && !stream.getVideoTracks().length) { + stream.getTracks().forEach(function(track) { + track.stop(); + }); + throw new DOMException('', 'NotFoundError'); + } + return stream; + }, function(e) { + return Promise.reject(shimError_(e)); + }); + }); + }; + } + + // Dummy devicechange event methods. + // TODO(KaptenJansson) remove once implemented in Chrome stable. + if (typeof navigator.mediaDevices.addEventListener === 'undefined') { + navigator.mediaDevices.addEventListener = function() { + logging('Dummy mediaDevices.addEventListener called.'); + }; + } + if (typeof navigator.mediaDevices.removeEventListener === 'undefined') { + navigator.mediaDevices.removeEventListener = function() { + logging('Dummy mediaDevices.removeEventListener called.'); + }; + } +}; + +},{"../utils.js":13}],7:[function(require,module,exports){ +/* + * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var SDPUtils = require('sdp'); +var utils = require('./utils'); + +module.exports = { + shimRTCIceCandidate: function(window) { + // foundation is arbitrarily chosen as an indicator for full support for + // https://w3c.github.io/webrtc-pc/#rtcicecandidate-interface + if (window.RTCIceCandidate && 'foundation' in + window.RTCIceCandidate.prototype) { + return; + } + + var NativeRTCIceCandidate = window.RTCIceCandidate; + window.RTCIceCandidate = function(args) { + // Remove the a= which shouldn't be part of the candidate string. + if (typeof args === 'object' && args.candidate && + args.candidate.indexOf('a=') === 0) { + args = JSON.parse(JSON.stringify(args)); + args.candidate = args.candidate.substr(2); + } + + // Augment the native candidate with the parsed fields. + var nativeCandidate = new NativeRTCIceCandidate(args); + var parsedCandidate = SDPUtils.parseCandidate(args.candidate); + var augmentedCandidate = Object.assign(nativeCandidate, + parsedCandidate); + + // Add a serializer that does not serialize the extra attributes. + augmentedCandidate.toJSON = function() { + return { + candidate: augmentedCandidate.candidate, + sdpMid: augmentedCandidate.sdpMid, + sdpMLineIndex: augmentedCandidate.sdpMLineIndex, + usernameFragment: augmentedCandidate.usernameFragment, + }; + }; + return augmentedCandidate; + }; + + // Hook up the augmented candidate in onicecandidate and + // addEventListener('icecandidate', ...) + utils.wrapPeerConnectionEvent(window, 'icecandidate', function(e) { + if (e.candidate) { + Object.defineProperty(e, 'candidate', { + value: new window.RTCIceCandidate(e.candidate), + writable: 'false' + }); + } + return e; + }); + }, + + // shimCreateObjectURL must be called before shimSourceObject to avoid loop. + + shimCreateObjectURL: function(window) { + var URL = window && window.URL; + + if (!(typeof window === 'object' && window.HTMLMediaElement && + 'srcObject' in window.HTMLMediaElement.prototype && + URL.createObjectURL && URL.revokeObjectURL)) { + // Only shim CreateObjectURL using srcObject if srcObject exists. + return undefined; + } + + var nativeCreateObjectURL = URL.createObjectURL.bind(URL); + var nativeRevokeObjectURL = URL.revokeObjectURL.bind(URL); + var streams = new Map(), newId = 0; + + URL.createObjectURL = function(stream) { + if ('getTracks' in stream) { + var url = 'polyblob:' + (++newId); + streams.set(url, stream); + utils.deprecated('URL.createObjectURL(stream)', + 'elem.srcObject = stream'); + return url; + } + return nativeCreateObjectURL(stream); + }; + URL.revokeObjectURL = function(url) { + nativeRevokeObjectURL(url); + streams.delete(url); + }; + + var dsc = Object.getOwnPropertyDescriptor(window.HTMLMediaElement.prototype, + 'src'); + Object.defineProperty(window.HTMLMediaElement.prototype, 'src', { + get: function() { + return dsc.get.apply(this); + }, + set: function(url) { + this.srcObject = streams.get(url) || null; + return dsc.set.apply(this, [url]); + } + }); + + var nativeSetAttribute = window.HTMLMediaElement.prototype.setAttribute; + window.HTMLMediaElement.prototype.setAttribute = function() { + if (arguments.length === 2 && + ('' + arguments[0]).toLowerCase() === 'src') { + this.srcObject = streams.get(arguments[1]) || null; + } + return nativeSetAttribute.apply(this, arguments); + }; + }, + + shimMaxMessageSize: function(window) { + if (window.RTCSctpTransport || !window.RTCPeerConnection) { + return; + } + var browserDetails = utils.detectBrowser(window); + + if (!('sctp' in window.RTCPeerConnection.prototype)) { + Object.defineProperty(window.RTCPeerConnection.prototype, 'sctp', { + get: function() { + return typeof this._sctp === 'undefined' ? null : this._sctp; + } + }); + } + + var sctpInDescription = function(description) { + var sections = SDPUtils.splitSections(description.sdp); + sections.shift(); + return sections.some(function(mediaSection) { + var mLine = SDPUtils.parseMLine(mediaSection); + return mLine && mLine.kind === 'application' + && mLine.protocol.indexOf('SCTP') !== -1; + }); + }; + + var getRemoteFirefoxVersion = function(description) { + // TODO: Is there a better solution for detecting Firefox? + var match = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/); + if (match === null || match.length < 2) { + return -1; + } + var version = parseInt(match[1], 10); + // Test for NaN (yes, this is ugly) + return version !== version ? -1 : version; + }; + + var getCanSendMaxMessageSize = function(remoteIsFirefox) { + // Every implementation we know can send at least 64 KiB. + // Note: Although Chrome is technically able to send up to 256 KiB, the + // data does not reach the other peer reliably. + // See: https://bugs.chromium.org/p/webrtc/issues/detail?id=8419 + var canSendMaxMessageSize = 65536; + if (browserDetails.browser === 'firefox') { + if (browserDetails.version < 57) { + if (remoteIsFirefox === -1) { + // FF < 57 will send in 16 KiB chunks using the deprecated PPID + // fragmentation. + canSendMaxMessageSize = 16384; + } else { + // However, other FF (and RAWRTC) can reassemble PPID-fragmented + // messages. Thus, supporting ~2 GiB when sending. + canSendMaxMessageSize = 2147483637; + } + } else { + // Currently, all FF >= 57 will reset the remote maximum message size + // to the default value when a data channel is created at a later + // stage. :( + // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1426831 + canSendMaxMessageSize = + browserDetails.version === 57 ? 65535 : 65536; + } + } + return canSendMaxMessageSize; + }; + + var getMaxMessageSize = function(description, remoteIsFirefox) { + // Note: 65536 bytes is the default value from the SDP spec. Also, + // every implementation we know supports receiving 65536 bytes. + var maxMessageSize = 65536; + + // FF 57 has a slightly incorrect default remote max message size, so + // we need to adjust it here to avoid a failure when sending. + // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1425697 + if (browserDetails.browser === 'firefox' + && browserDetails.version === 57) { + maxMessageSize = 65535; + } + + var match = SDPUtils.matchPrefix(description.sdp, 'a=max-message-size:'); + if (match.length > 0) { + maxMessageSize = parseInt(match[0].substr(19), 10); + } else if (browserDetails.browser === 'firefox' && + remoteIsFirefox !== -1) { + // If the maximum message size is not present in the remote SDP and + // both local and remote are Firefox, the remote peer can receive + // ~2 GiB. + maxMessageSize = 2147483637; + } + return maxMessageSize; + }; + + var origSetRemoteDescription = + window.RTCPeerConnection.prototype.setRemoteDescription; + window.RTCPeerConnection.prototype.setRemoteDescription = function() { + var pc = this; + pc._sctp = null; + + if (sctpInDescription(arguments[0])) { + // Check if the remote is FF. + var isFirefox = getRemoteFirefoxVersion(arguments[0]); + + // Get the maximum message size the local peer is capable of sending + var canSendMMS = getCanSendMaxMessageSize(isFirefox); + + // Get the maximum message size of the remote peer. + var remoteMMS = getMaxMessageSize(arguments[0], isFirefox); + + // Determine final maximum message size + var maxMessageSize; + if (canSendMMS === 0 && remoteMMS === 0) { + maxMessageSize = Number.POSITIVE_INFINITY; + } else if (canSendMMS === 0 || remoteMMS === 0) { + maxMessageSize = Math.max(canSendMMS, remoteMMS); + } else { + maxMessageSize = Math.min(canSendMMS, remoteMMS); + } + + // Create a dummy RTCSctpTransport object and the 'maxMessageSize' + // attribute. + var sctp = {}; + Object.defineProperty(sctp, 'maxMessageSize', { + get: function() { + return maxMessageSize; + } + }); + pc._sctp = sctp; + } + + return origSetRemoteDescription.apply(pc, arguments); + }; + }, + + shimSendThrowTypeError: function(window) { + // Note: Although Firefox >= 57 has a native implementation, the maximum + // message size can be reset for all data channels at a later stage. + // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1426831 + + var origCreateDataChannel = + window.RTCPeerConnection.prototype.createDataChannel; + window.RTCPeerConnection.prototype.createDataChannel = function() { + var pc = this; + var dataChannel = origCreateDataChannel.apply(pc, arguments); + var origDataChannelSend = dataChannel.send; + + // Patch 'send' method + dataChannel.send = function() { + var dc = this; + var data = arguments[0]; + var length = data.length || data.size || data.byteLength; + if (length > pc.sctp.maxMessageSize) { + throw new DOMException('Message too large (can send a maximum of ' + + pc.sctp.maxMessageSize + ' bytes)', 'TypeError'); + } + return origDataChannelSend.apply(dc, arguments); + }; + + return dataChannel; + }; + } +}; + +},{"./utils":13,"sdp":2}],8:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var utils = require('../utils'); +var shimRTCPeerConnection = require('rtcpeerconnection-shim'); + +module.exports = { + shimGetUserMedia: require('./getusermedia'), + shimPeerConnection: function(window) { + var browserDetails = utils.detectBrowser(window); + + if (window.RTCIceGatherer) { + // ORTC defines an RTCIceCandidate object but no constructor. + // Not implemented in Edge. + if (!window.RTCIceCandidate) { + window.RTCIceCandidate = function(args) { + return args; + }; + } + // ORTC does not have a session description object but + // other browsers (i.e. Chrome) that will support both PC and ORTC + // in the future might have this defined already. + if (!window.RTCSessionDescription) { + window.RTCSessionDescription = function(args) { + return args; + }; + } + // this adds an additional event listener to MediaStrackTrack that signals + // when a tracks enabled property was changed. Workaround for a bug in + // addStream, see below. No longer required in 15025+ + if (browserDetails.version < 15025) { + var origMSTEnabled = Object.getOwnPropertyDescriptor( + window.MediaStreamTrack.prototype, 'enabled'); + Object.defineProperty(window.MediaStreamTrack.prototype, 'enabled', { + set: function(value) { + origMSTEnabled.set.call(this, value); + var ev = new Event('enabled'); + ev.enabled = value; + this.dispatchEvent(ev); + } + }); + } + } + + // ORTC defines the DTMF sender a bit different. + // https://github.com/w3c/ortc/issues/714 + if (window.RTCRtpSender && !('dtmf' in window.RTCRtpSender.prototype)) { + Object.defineProperty(window.RTCRtpSender.prototype, 'dtmf', { + get: function() { + if (this._dtmf === undefined) { + if (this.track.kind === 'audio') { + this._dtmf = new window.RTCDtmfSender(this); + } else if (this.track.kind === 'video') { + this._dtmf = null; + } + } + return this._dtmf; + } + }); + } + + window.RTCPeerConnection = + shimRTCPeerConnection(window, browserDetails.version); + }, + shimReplaceTrack: function(window) { + // ORTC has replaceTrack -- https://github.com/w3c/ortc/issues/614 + if (window.RTCRtpSender && + !('replaceTrack' in window.RTCRtpSender.prototype)) { + window.RTCRtpSender.prototype.replaceTrack = + window.RTCRtpSender.prototype.setTrack; + } + } +}; + +},{"../utils":13,"./getusermedia":9,"rtcpeerconnection-shim":1}],9:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +// Expose public methods. +module.exports = function(window) { + var navigator = window && window.navigator; + + var shimError_ = function(e) { + return { + name: {PermissionDeniedError: 'NotAllowedError'}[e.name] || e.name, + message: e.message, + constraint: e.constraint, + toString: function() { + return this.name; + } + }; + }; + + // getUserMedia error shim. + var origGetUserMedia = navigator.mediaDevices.getUserMedia. + bind(navigator.mediaDevices); + navigator.mediaDevices.getUserMedia = function(c) { + return origGetUserMedia(c).catch(function(e) { + return Promise.reject(shimError_(e)); + }); + }; +}; + +},{}],10:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var utils = require('../utils'); + +module.exports = { + shimGetUserMedia: require('./getusermedia'), + shimOnTrack: function(window) { + if (typeof window === 'object' && window.RTCPeerConnection && !('ontrack' in + window.RTCPeerConnection.prototype)) { + Object.defineProperty(window.RTCPeerConnection.prototype, 'ontrack', { + get: function() { + return this._ontrack; + }, + set: function(f) { + if (this._ontrack) { + this.removeEventListener('track', this._ontrack); + this.removeEventListener('addstream', this._ontrackpoly); + } + this.addEventListener('track', this._ontrack = f); + this.addEventListener('addstream', this._ontrackpoly = function(e) { + e.stream.getTracks().forEach(function(track) { + var event = new Event('track'); + event.track = track; + event.receiver = {track: track}; + event.transceiver = {receiver: event.receiver}; + event.streams = [e.stream]; + this.dispatchEvent(event); + }.bind(this)); + }.bind(this)); + } + }); + } + if (typeof window === 'object' && window.RTCTrackEvent && + ('receiver' in window.RTCTrackEvent.prototype) && + !('transceiver' in window.RTCTrackEvent.prototype)) { + Object.defineProperty(window.RTCTrackEvent.prototype, 'transceiver', { + get: function() { + return {receiver: this.receiver}; + } + }); + } + }, + + shimSourceObject: function(window) { + // Firefox has supported mozSrcObject since FF22, unprefixed in 42. + if (typeof window === 'object') { + if (window.HTMLMediaElement && + !('srcObject' in window.HTMLMediaElement.prototype)) { + // Shim the srcObject property, once, when HTMLMediaElement is found. + Object.defineProperty(window.HTMLMediaElement.prototype, 'srcObject', { + get: function() { + return this.mozSrcObject; + }, + set: function(stream) { + this.mozSrcObject = stream; + } + }); + } + } + }, + + shimPeerConnection: function(window) { + var browserDetails = utils.detectBrowser(window); + + if (typeof window !== 'object' || !(window.RTCPeerConnection || + window.mozRTCPeerConnection)) { + return; // probably media.peerconnection.enabled=false in about:config + } + // The RTCPeerConnection object. + if (!window.RTCPeerConnection) { + window.RTCPeerConnection = function(pcConfig, pcConstraints) { + if (browserDetails.version < 38) { + // .urls is not supported in FF < 38. + // create RTCIceServers with a single url. + if (pcConfig && pcConfig.iceServers) { + var newIceServers = []; + for (var i = 0; i < pcConfig.iceServers.length; i++) { + var server = pcConfig.iceServers[i]; + if (server.hasOwnProperty('urls')) { + for (var j = 0; j < server.urls.length; j++) { + var newServer = { + url: server.urls[j] + }; + if (server.urls[j].indexOf('turn') === 0) { + newServer.username = server.username; + newServer.credential = server.credential; + } + newIceServers.push(newServer); + } + } else { + newIceServers.push(pcConfig.iceServers[i]); + } + } + pcConfig.iceServers = newIceServers; + } + } + return new window.mozRTCPeerConnection(pcConfig, pcConstraints); + }; + window.RTCPeerConnection.prototype = + window.mozRTCPeerConnection.prototype; + + // wrap static methods. Currently just generateCertificate. + if (window.mozRTCPeerConnection.generateCertificate) { + Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { + get: function() { + return window.mozRTCPeerConnection.generateCertificate; + } + }); + } + + window.RTCSessionDescription = window.mozRTCSessionDescription; + window.RTCIceCandidate = window.mozRTCIceCandidate; + } + + // shim away need for obsolete RTCIceCandidate/RTCSessionDescription. + ['setLocalDescription', 'setRemoteDescription', 'addIceCandidate'] + .forEach(function(method) { + var nativeMethod = window.RTCPeerConnection.prototype[method]; + window.RTCPeerConnection.prototype[method] = function() { + arguments[0] = new ((method === 'addIceCandidate') ? + window.RTCIceCandidate : + window.RTCSessionDescription)(arguments[0]); + return nativeMethod.apply(this, arguments); + }; + }); + + // support for addIceCandidate(null or undefined) + var nativeAddIceCandidate = + window.RTCPeerConnection.prototype.addIceCandidate; + window.RTCPeerConnection.prototype.addIceCandidate = function() { + if (!arguments[0]) { + if (arguments[1]) { + arguments[1].apply(null); + } + return Promise.resolve(); + } + return nativeAddIceCandidate.apply(this, arguments); + }; + + // shim getStats with maplike support + var makeMapStats = function(stats) { + var map = new Map(); + Object.keys(stats).forEach(function(key) { + map.set(key, stats[key]); + map[key] = stats[key]; + }); + return map; + }; + + var modernStatsTypes = { + inboundrtp: 'inbound-rtp', + outboundrtp: 'outbound-rtp', + candidatepair: 'candidate-pair', + localcandidate: 'local-candidate', + remotecandidate: 'remote-candidate' + }; + + var nativeGetStats = window.RTCPeerConnection.prototype.getStats; + window.RTCPeerConnection.prototype.getStats = function( + selector, + onSucc, + onErr + ) { + return nativeGetStats.apply(this, [selector || null]) + .then(function(stats) { + if (browserDetails.version < 48) { + stats = makeMapStats(stats); + } + if (browserDetails.version < 53 && !onSucc) { + // Shim only promise getStats with spec-hyphens in type names + // Leave callback version alone; misc old uses of forEach before Map + try { + stats.forEach(function(stat) { + stat.type = modernStatsTypes[stat.type] || stat.type; + }); + } catch (e) { + if (e.name !== 'TypeError') { + throw e; + } + // Avoid TypeError: "type" is read-only, in old versions. 34-43ish + stats.forEach(function(stat, i) { + stats.set(i, Object.assign({}, stat, { + type: modernStatsTypes[stat.type] || stat.type + })); + }); + } + } + return stats; + }) + .then(onSucc, onErr); + }; + }, + + shimRemoveStream: function(window) { + if (!window.RTCPeerConnection || + 'removeStream' in window.RTCPeerConnection.prototype) { + return; + } + window.RTCPeerConnection.prototype.removeStream = function(stream) { + var pc = this; + utils.deprecated('removeStream', 'removeTrack'); + this.getSenders().forEach(function(sender) { + if (sender.track && stream.getTracks().indexOf(sender.track) !== -1) { + pc.removeTrack(sender); + } + }); + }; + } +}; + +},{"../utils":13,"./getusermedia":11}],11:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var utils = require('../utils'); +var logging = utils.log; + +// Expose public methods. +module.exports = function(window) { + var browserDetails = utils.detectBrowser(window); + var navigator = window && window.navigator; + var MediaStreamTrack = window && window.MediaStreamTrack; + + var shimError_ = function(e) { + return { + name: { + InternalError: 'NotReadableError', + NotSupportedError: 'TypeError', + PermissionDeniedError: 'NotAllowedError', + SecurityError: 'NotAllowedError' + }[e.name] || e.name, + message: { + 'The operation is insecure.': 'The request is not allowed by the ' + + 'user agent or the platform in the current context.' + }[e.message] || e.message, + constraint: e.constraint, + toString: function() { + return this.name + (this.message && ': ') + this.message; + } + }; + }; + + // getUserMedia constraints shim. + var getUserMedia_ = function(constraints, onSuccess, onError) { + var constraintsToFF37_ = function(c) { + if (typeof c !== 'object' || c.require) { + return c; + } + var require = []; + Object.keys(c).forEach(function(key) { + if (key === 'require' || key === 'advanced' || key === 'mediaSource') { + return; + } + var r = c[key] = (typeof c[key] === 'object') ? + c[key] : {ideal: c[key]}; + if (r.min !== undefined || + r.max !== undefined || r.exact !== undefined) { + require.push(key); + } + if (r.exact !== undefined) { + if (typeof r.exact === 'number') { + r. min = r.max = r.exact; + } else { + c[key] = r.exact; + } + delete r.exact; + } + if (r.ideal !== undefined) { + c.advanced = c.advanced || []; + var oc = {}; + if (typeof r.ideal === 'number') { + oc[key] = {min: r.ideal, max: r.ideal}; + } else { + oc[key] = r.ideal; + } + c.advanced.push(oc); + delete r.ideal; + if (!Object.keys(r).length) { + delete c[key]; + } + } + }); + if (require.length) { + c.require = require; + } + return c; + }; + constraints = JSON.parse(JSON.stringify(constraints)); + if (browserDetails.version < 38) { + logging('spec: ' + JSON.stringify(constraints)); + if (constraints.audio) { + constraints.audio = constraintsToFF37_(constraints.audio); + } + if (constraints.video) { + constraints.video = constraintsToFF37_(constraints.video); + } + logging('ff37: ' + JSON.stringify(constraints)); + } + return navigator.mozGetUserMedia(constraints, onSuccess, function(e) { + onError(shimError_(e)); + }); + }; + + // Returns the result of getUserMedia as a Promise. + var getUserMediaPromise_ = function(constraints) { + return new Promise(function(resolve, reject) { + getUserMedia_(constraints, resolve, reject); + }); + }; + + // Shim for mediaDevices on older versions. + if (!navigator.mediaDevices) { + navigator.mediaDevices = {getUserMedia: getUserMediaPromise_, + addEventListener: function() { }, + removeEventListener: function() { } + }; + } + navigator.mediaDevices.enumerateDevices = + navigator.mediaDevices.enumerateDevices || function() { + return new Promise(function(resolve) { + var infos = [ + {kind: 'audioinput', deviceId: 'default', label: '', groupId: ''}, + {kind: 'videoinput', deviceId: 'default', label: '', groupId: ''} + ]; + resolve(infos); + }); + }; + + if (browserDetails.version < 41) { + // Work around http://bugzil.la/1169665 + var orgEnumerateDevices = + navigator.mediaDevices.enumerateDevices.bind(navigator.mediaDevices); + navigator.mediaDevices.enumerateDevices = function() { + return orgEnumerateDevices().then(undefined, function(e) { + if (e.name === 'NotFoundError') { + return []; + } + throw e; + }); + }; + } + if (browserDetails.version < 49) { + var origGetUserMedia = navigator.mediaDevices.getUserMedia. + bind(navigator.mediaDevices); + navigator.mediaDevices.getUserMedia = function(c) { + return origGetUserMedia(c).then(function(stream) { + // Work around https://bugzil.la/802326 + if (c.audio && !stream.getAudioTracks().length || + c.video && !stream.getVideoTracks().length) { + stream.getTracks().forEach(function(track) { + track.stop(); + }); + throw new DOMException('The object can not be found here.', + 'NotFoundError'); + } + return stream; + }, function(e) { + return Promise.reject(shimError_(e)); + }); + }; + } + if (!(browserDetails.version > 55 && + 'autoGainControl' in navigator.mediaDevices.getSupportedConstraints())) { + var remap = function(obj, a, b) { + if (a in obj && !(b in obj)) { + obj[b] = obj[a]; + delete obj[a]; + } + }; + + var nativeGetUserMedia = navigator.mediaDevices.getUserMedia. + bind(navigator.mediaDevices); + navigator.mediaDevices.getUserMedia = function(c) { + if (typeof c === 'object' && typeof c.audio === 'object') { + c = JSON.parse(JSON.stringify(c)); + remap(c.audio, 'autoGainControl', 'mozAutoGainControl'); + remap(c.audio, 'noiseSuppression', 'mozNoiseSuppression'); + } + return nativeGetUserMedia(c); + }; + + if (MediaStreamTrack && MediaStreamTrack.prototype.getSettings) { + var nativeGetSettings = MediaStreamTrack.prototype.getSettings; + MediaStreamTrack.prototype.getSettings = function() { + var obj = nativeGetSettings.apply(this, arguments); + remap(obj, 'mozAutoGainControl', 'autoGainControl'); + remap(obj, 'mozNoiseSuppression', 'noiseSuppression'); + return obj; + }; + } + + if (MediaStreamTrack && MediaStreamTrack.prototype.applyConstraints) { + var nativeApplyConstraints = MediaStreamTrack.prototype.applyConstraints; + MediaStreamTrack.prototype.applyConstraints = function(c) { + if (this.kind === 'audio' && typeof c === 'object') { + c = JSON.parse(JSON.stringify(c)); + remap(c, 'autoGainControl', 'mozAutoGainControl'); + remap(c, 'noiseSuppression', 'mozNoiseSuppression'); + } + return nativeApplyConstraints.apply(this, [c]); + }; + } + } + navigator.getUserMedia = function(constraints, onSuccess, onError) { + if (browserDetails.version < 44) { + return getUserMedia_(constraints, onSuccess, onError); + } + // Replace Firefox 44+'s deprecation warning with unprefixed version. + utils.deprecated('navigator.getUserMedia', + 'navigator.mediaDevices.getUserMedia'); + navigator.mediaDevices.getUserMedia(constraints).then(onSuccess, onError); + }; +}; + +},{"../utils":13}],12:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ +'use strict'; +var utils = require('../utils'); + +module.exports = { + shimLocalStreamsAPI: function(window) { + if (typeof window !== 'object' || !window.RTCPeerConnection) { + return; + } + if (!('getLocalStreams' in window.RTCPeerConnection.prototype)) { + window.RTCPeerConnection.prototype.getLocalStreams = function() { + if (!this._localStreams) { + this._localStreams = []; + } + return this._localStreams; + }; + } + if (!('getStreamById' in window.RTCPeerConnection.prototype)) { + window.RTCPeerConnection.prototype.getStreamById = function(id) { + var result = null; + if (this._localStreams) { + this._localStreams.forEach(function(stream) { + if (stream.id === id) { + result = stream; + } + }); + } + if (this._remoteStreams) { + this._remoteStreams.forEach(function(stream) { + if (stream.id === id) { + result = stream; + } + }); + } + return result; + }; + } + if (!('addStream' in window.RTCPeerConnection.prototype)) { + var _addTrack = window.RTCPeerConnection.prototype.addTrack; + window.RTCPeerConnection.prototype.addStream = function(stream) { + if (!this._localStreams) { + this._localStreams = []; + } + if (this._localStreams.indexOf(stream) === -1) { + this._localStreams.push(stream); + } + var pc = this; + stream.getTracks().forEach(function(track) { + _addTrack.call(pc, track, stream); + }); + }; + + window.RTCPeerConnection.prototype.addTrack = function(track, stream) { + if (stream) { + if (!this._localStreams) { + this._localStreams = [stream]; + } else if (this._localStreams.indexOf(stream) === -1) { + this._localStreams.push(stream); + } + } + return _addTrack.call(this, track, stream); + }; + } + if (!('removeStream' in window.RTCPeerConnection.prototype)) { + window.RTCPeerConnection.prototype.removeStream = function(stream) { + if (!this._localStreams) { + this._localStreams = []; + } + var index = this._localStreams.indexOf(stream); + if (index === -1) { + return; + } + this._localStreams.splice(index, 1); + var pc = this; + var tracks = stream.getTracks(); + this.getSenders().forEach(function(sender) { + if (tracks.indexOf(sender.track) !== -1) { + pc.removeTrack(sender); + } + }); + }; + } + }, + shimRemoteStreamsAPI: function(window) { + if (typeof window !== 'object' || !window.RTCPeerConnection) { + return; + } + if (!('getRemoteStreams' in window.RTCPeerConnection.prototype)) { + window.RTCPeerConnection.prototype.getRemoteStreams = function() { + return this._remoteStreams ? this._remoteStreams : []; + }; + } + if (!('onaddstream' in window.RTCPeerConnection.prototype)) { + Object.defineProperty(window.RTCPeerConnection.prototype, 'onaddstream', { + get: function() { + return this._onaddstream; + }, + set: function(f) { + var pc = this; + if (this._onaddstream) { + this.removeEventListener('addstream', this._onaddstream); + this.removeEventListener('track', this._onaddstreampoly); + } + this.addEventListener('addstream', this._onaddstream = f); + this.addEventListener('track', this._onaddstreampoly = function(e) { + e.streams.forEach(function(stream) { + if (!pc._remoteStreams) { + pc._remoteStreams = []; + } + if (pc._remoteStreams.indexOf(stream) >= 0) { + return; + } + pc._remoteStreams.push(stream); + var event = new Event('addstream'); + event.stream = stream; + pc.dispatchEvent(event); + }); + }); + } + }); + } + }, + shimCallbacksAPI: function(window) { + if (typeof window !== 'object' || !window.RTCPeerConnection) { + return; + } + var prototype = window.RTCPeerConnection.prototype; + var createOffer = prototype.createOffer; + var createAnswer = prototype.createAnswer; + var setLocalDescription = prototype.setLocalDescription; + var setRemoteDescription = prototype.setRemoteDescription; + var addIceCandidate = prototype.addIceCandidate; + + prototype.createOffer = function(successCallback, failureCallback) { + var options = (arguments.length >= 2) ? arguments[2] : arguments[0]; + var promise = createOffer.apply(this, [options]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + + prototype.createAnswer = function(successCallback, failureCallback) { + var options = (arguments.length >= 2) ? arguments[2] : arguments[0]; + var promise = createAnswer.apply(this, [options]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + + var withCallback = function(description, successCallback, failureCallback) { + var promise = setLocalDescription.apply(this, [description]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + prototype.setLocalDescription = withCallback; + + withCallback = function(description, successCallback, failureCallback) { + var promise = setRemoteDescription.apply(this, [description]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + prototype.setRemoteDescription = withCallback; + + withCallback = function(candidate, successCallback, failureCallback) { + var promise = addIceCandidate.apply(this, [candidate]); + if (!failureCallback) { + return promise; + } + promise.then(successCallback, failureCallback); + return Promise.resolve(); + }; + prototype.addIceCandidate = withCallback; + }, + shimGetUserMedia: function(window) { + var navigator = window && window.navigator; + + if (!navigator.getUserMedia) { + if (navigator.webkitGetUserMedia) { + navigator.getUserMedia = navigator.webkitGetUserMedia.bind(navigator); + } else if (navigator.mediaDevices && + navigator.mediaDevices.getUserMedia) { + navigator.getUserMedia = function(constraints, cb, errcb) { + navigator.mediaDevices.getUserMedia(constraints) + .then(cb, errcb); + }.bind(navigator); + } + } + }, + shimRTCIceServerUrls: function(window) { + // migrate from non-spec RTCIceServer.url to RTCIceServer.urls + var OrigPeerConnection = window.RTCPeerConnection; + window.RTCPeerConnection = function(pcConfig, pcConstraints) { + if (pcConfig && pcConfig.iceServers) { + var newIceServers = []; + for (var i = 0; i < pcConfig.iceServers.length; i++) { + var server = pcConfig.iceServers[i]; + if (!server.hasOwnProperty('urls') && + server.hasOwnProperty('url')) { + utils.deprecated('RTCIceServer.url', 'RTCIceServer.urls'); + server = JSON.parse(JSON.stringify(server)); + server.urls = server.url; + delete server.url; + newIceServers.push(server); + } else { + newIceServers.push(pcConfig.iceServers[i]); + } + } + pcConfig.iceServers = newIceServers; + } + return new OrigPeerConnection(pcConfig, pcConstraints); + }; + window.RTCPeerConnection.prototype = OrigPeerConnection.prototype; + // wrap static methods. Currently just generateCertificate. + if ('generateCertificate' in window.RTCPeerConnection) { + Object.defineProperty(window.RTCPeerConnection, 'generateCertificate', { + get: function() { + return OrigPeerConnection.generateCertificate; + } + }); + } + }, + shimTrackEventTransceiver: function(window) { + // Add event.transceiver member over deprecated event.receiver + if (typeof window === 'object' && window.RTCPeerConnection && + ('receiver' in window.RTCTrackEvent.prototype) && + // can't check 'transceiver' in window.RTCTrackEvent.prototype, as it is + // defined for some reason even when window.RTCTransceiver is not. + !window.RTCTransceiver) { + Object.defineProperty(window.RTCTrackEvent.prototype, 'transceiver', { + get: function() { + return {receiver: this.receiver}; + } + }); + } + }, + + shimCreateOfferLegacy: function(window) { + var origCreateOffer = window.RTCPeerConnection.prototype.createOffer; + window.RTCPeerConnection.prototype.createOffer = function(offerOptions) { + var pc = this; + if (offerOptions) { + var audioTransceiver = pc.getTransceivers().find(function(transceiver) { + return transceiver.sender.track && + transceiver.sender.track.kind === 'audio'; + }); + if (offerOptions.offerToReceiveAudio === false && audioTransceiver) { + if (audioTransceiver.direction === 'sendrecv') { + if (audioTransceiver.setDirection) { + audioTransceiver.setDirection('sendonly'); + } else { + audioTransceiver.direction = 'sendonly'; + } + } else if (audioTransceiver.direction === 'recvonly') { + if (audioTransceiver.setDirection) { + audioTransceiver.setDirection('inactive'); + } else { + audioTransceiver.direction = 'inactive'; + } + } + } else if (offerOptions.offerToReceiveAudio === true && + !audioTransceiver) { + pc.addTransceiver('audio'); + } + + var videoTransceiver = pc.getTransceivers().find(function(transceiver) { + return transceiver.sender.track && + transceiver.sender.track.kind === 'video'; + }); + if (offerOptions.offerToReceiveVideo === false && videoTransceiver) { + if (videoTransceiver.direction === 'sendrecv') { + videoTransceiver.setDirection('sendonly'); + } else if (videoTransceiver.direction === 'recvonly') { + videoTransceiver.setDirection('inactive'); + } + } else if (offerOptions.offerToReceiveVideo === true && + !videoTransceiver) { + pc.addTransceiver('video'); + } + } + return origCreateOffer.apply(pc, arguments); + }; + } +}; + +},{"../utils":13}],13:[function(require,module,exports){ +/* + * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. + */ + /* eslint-env node */ +'use strict'; + +var logDisabled_ = true; +var deprecationWarnings_ = true; + +/** + * Extract browser version out of the provided user agent string. + * + * @param {!string} uastring userAgent string. + * @param {!string} expr Regular expression used as match criteria. + * @param {!number} pos position in the version string to be returned. + * @return {!number} browser version. + */ +function extractVersion(uastring, expr, pos) { + var match = uastring.match(expr); + return match && match.length >= pos && parseInt(match[pos], 10); +} + +// Wraps the peerconnection event eventNameToWrap in a function +// which returns the modified event object. +function wrapPeerConnectionEvent(window, eventNameToWrap, wrapper) { + if (!window.RTCPeerConnection) { + return; + } + var proto = window.RTCPeerConnection.prototype; + var nativeAddEventListener = proto.addEventListener; + proto.addEventListener = function(nativeEventName, cb) { + if (nativeEventName !== eventNameToWrap) { + return nativeAddEventListener.apply(this, arguments); + } + var wrappedCallback = function(e) { + cb(wrapper(e)); + }; + this._eventMap = this._eventMap || {}; + this._eventMap[cb] = wrappedCallback; + return nativeAddEventListener.apply(this, [nativeEventName, + wrappedCallback]); + }; + + var nativeRemoveEventListener = proto.removeEventListener; + proto.removeEventListener = function(nativeEventName, cb) { + if (nativeEventName !== eventNameToWrap || !this._eventMap + || !this._eventMap[cb]) { + return nativeRemoveEventListener.apply(this, arguments); + } + var unwrappedCb = this._eventMap[cb]; + delete this._eventMap[cb]; + return nativeRemoveEventListener.apply(this, [nativeEventName, + unwrappedCb]); + }; + + Object.defineProperty(proto, 'on' + eventNameToWrap, { + get: function() { + return this['_on' + eventNameToWrap]; + }, + set: function(cb) { + if (this['_on' + eventNameToWrap]) { + this.removeEventListener(eventNameToWrap, + this['_on' + eventNameToWrap]); + delete this['_on' + eventNameToWrap]; + } + if (cb) { + this.addEventListener(eventNameToWrap, + this['_on' + eventNameToWrap] = cb); + } + } + }); +} + +// Utility methods. +module.exports = { + extractVersion: extractVersion, + wrapPeerConnectionEvent: wrapPeerConnectionEvent, + disableLog: function(bool) { + if (typeof bool !== 'boolean') { + return new Error('Argument type: ' + typeof bool + + '. Please use a boolean.'); + } + logDisabled_ = bool; + return (bool) ? 'adapter.js logging disabled' : + 'adapter.js logging enabled'; + }, + + /** + * Disable or enable deprecation warnings + * @param {!boolean} bool set to true to disable warnings. + */ + disableWarnings: function(bool) { + if (typeof bool !== 'boolean') { + return new Error('Argument type: ' + typeof bool + + '. Please use a boolean.'); + } + deprecationWarnings_ = !bool; + return 'adapter.js deprecation warnings ' + (bool ? 'disabled' : 'enabled'); + }, + + log: function() { + if (typeof window === 'object') { + if (logDisabled_) { + return; + } + if (typeof console !== 'undefined' && typeof console.log === 'function') { + console.log.apply(console, arguments); + } + } + }, + + /** + * Shows a deprecation warning suggesting the modern and spec-compatible API. + */ + deprecated: function(oldMethod, newMethod) { + if (!deprecationWarnings_) { + return; + } + console.warn(oldMethod + ' is deprecated, please use ' + newMethod + + ' instead.'); + }, + + /** + * Browser detector. + * + * @return {object} result containing browser and version + * properties. + */ + detectBrowser: function(window) { + var navigator = window && window.navigator; + + // Returned result object. + var result = {}; + result.browser = null; + result.version = null; + + // Fail early if it's not a browser + if (typeof window === 'undefined' || !window.navigator) { + result.browser = 'Not a browser.'; + return result; + } + + if (navigator.mozGetUserMedia) { // Firefox. + result.browser = 'firefox'; + result.version = extractVersion(navigator.userAgent, + /Firefox\/(\d+)\./, 1); + } else if (navigator.webkitGetUserMedia) { + // Chrome, Chromium, Webview, Opera. + // Version matches Chrome/WebRTC version. + result.browser = 'chrome'; + result.version = extractVersion(navigator.userAgent, + /Chrom(e|ium)\/(\d+)\./, 2); + } else if (navigator.mediaDevices && + navigator.userAgent.match(/Edge\/(\d+).(\d+)$/)) { // Edge. + result.browser = 'edge'; + result.version = extractVersion(navigator.userAgent, + /Edge\/(\d+).(\d+)$/, 2); + } else if (navigator.mediaDevices && + navigator.userAgent.match(/AppleWebKit\/(\d+)\./)) { // Safari. + result.browser = 'safari'; + result.version = extractVersion(navigator.userAgent, + /AppleWebKit\/(\d+)\./, 1); + } else { // Default fallthrough: not supported. + result.browser = 'Not a supported browser.'; + return result; + } + + return result; + } +}; + +},{}]},{},[3])(3) +}); \ No newline at end of file diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index b4a5838175..8c1bf24933 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -753,7 +753,7 @@ static void *msg_thread_run(esl_thread_t *me, void *obj) int known = 1; const char *type = esl_event_get_header(handle->last_event, "content-type"); if (!esl_strlen_zero(type)) { - if (!strcasecmp(type, "log/data")) { + if (!strcasecmp(type, "log/data") && handle->last_event->body) { const char *userdata = esl_event_get_header(handle->last_event, "user-data"); if (esl_strlen_zero(userdata) || esl_strlen_zero(filter_uuid) || !strcasecmp(filter_uuid, userdata)) { int level = 0; diff --git a/libs/sofia-sip/libsofia-sip-ua/msg/msg_mime.c b/libs/sofia-sip/libsofia-sip-ua/msg/msg_mime.c index 6adf89b22c..617babe04b 100644 --- a/libs/sofia-sip/libsofia-sip-ua/msg/msg_mime.c +++ b/libs/sofia-sip/libsofia-sip-ua/msg/msg_mime.c @@ -381,6 +381,8 @@ msg_multipart_t *msg_multipart_parse(su_home_t *home, char *b, *end; msg_param_t param; + if (!pl) return NULL; + p = pl->pl_data; len = pl->pl_len; end = p + len; su_home_init(msg_home(msg)); diff --git a/libs/sofia-sip/libsofia-sip-ua/nua/nua_client.c b/libs/sofia-sip/libsofia-sip-ua/nua/nua_client.c index 43e36f3018..5fa444a227 100644 --- a/libs/sofia-sip/libsofia-sip-ua/nua/nua_client.c +++ b/libs/sofia-sip/libsofia-sip-ua/nua/nua_client.c @@ -1600,7 +1600,7 @@ int nua_client_next_request(nua_client_request_t *cr, int invite) for (; cr; cr = cr->cr_next) { if (cr->cr_method == sip_method_cancel) continue; - break; + break; } if (cr && !nua_client_request_in_progress(cr)) { diff --git a/libs/sofia-sip/libsofia-sip-ua/sdp/sdp.c b/libs/sofia-sip/libsofia-sip-ua/sdp/sdp.c index 9b46dd09fd..a4f71207c5 100644 --- a/libs/sofia-sip/libsofia-sip-ua/sdp/sdp.c +++ b/libs/sofia-sip/libsofia-sip-ua/sdp/sdp.c @@ -1858,7 +1858,9 @@ int sdp_rtpmap_match(sdp_rtpmap_t const *a, sdp_rtpmap_t const *b) if (aparam == bparam) return 1; - if (!aparam) aparam = "1"; if (!bparam) bparam = "1"; + if (!aparam) aparam = "1"; + + if (!bparam) bparam = "1"; if (!su_casematch(aparam, bparam)) return 0; @@ -1895,7 +1897,10 @@ sdp_rtpmap_t *sdp_rtpmap_find_matching(sdp_rtpmap_t const *list, break; } - if (!lparam) lparam = "1"; if (!rparam) rparam = "1"; + if (!lparam) lparam = "1"; + + if (!rparam) rparam = "1"; + if (!su_casematch(lparam, rparam)) continue; diff --git a/libs/sofia-sip/libsofia-sip-ua/su/su_socket_port.c b/libs/sofia-sip/libsofia-sip-ua/su/su_socket_port.c index 90a0541163..e1372e5888 100644 --- a/libs/sofia-sip/libsofia-sip-ua/su/su_socket_port.c +++ b/libs/sofia-sip/libsofia-sip-ua/su/su_socket_port.c @@ -170,10 +170,12 @@ void su_socket_port_deinit(su_port_t *self) self->sup_mbox_index = 0; if (self->sup_mbox[0] && self->sup_mbox[0] != INVALID_SOCKET) - su_close(self->sup_mbox[0]); self->sup_mbox[0] = INVALID_SOCKET; + su_close(self->sup_mbox[0]); + self->sup_mbox[0] = INVALID_SOCKET; #if HAVE_SOCKETPAIR if (self->sup_mbox[1] && self->sup_mbox[1] != INVALID_SOCKET) - su_close(self->sup_mbox[1]); self->sup_mbox[1] = INVALID_SOCKET; + su_close(self->sup_mbox[1]); + self->sup_mbox[1] = INVALID_SOCKET; #endif su_pthread_port_deinit(self); diff --git a/libs/spandsp/src/libtiff.2017.vcxproj b/libs/spandsp/src/libtiff.2017.vcxproj index 21a67fbed2..309ada1b7d 100644 --- a/libs/spandsp/src/libtiff.2017.vcxproj +++ b/libs/spandsp/src/libtiff.2017.vcxproj @@ -68,6 +68,7 @@ + @@ -200,11 +201,6 @@ if not exist "$(TiffDir)/tif_config.h" copy "$(TiffDir)\tif_config.vc.h" "$(Tiff - - - {583d8cea-4171-4493-9025-b63265f408d8} - - diff --git a/libs/win32/Download 16khz Sounds.2017.vcxproj b/libs/win32/Download 16khz Sounds.2017.vcxproj deleted file mode 100644 index a33c0caa91..0000000000 --- a/libs/win32/Download 16khz Sounds.2017.vcxproj +++ /dev/null @@ -1,78 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download 16khzsound - {87A1FE3D-F410-4C8E-9591-8C625985BC70} - Download 16khzsound - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\16khzsounds\$(Configuration)\ - $(PlatformName)\16khzsounds\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading 16khzsound. - if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\16000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzipSounds en-us-callie 16000 "$(ProjectDir)..\sounds" "$(ProjectDir)..\..\build\sounds_version.txt" - $(ProjectDir)..\sounds\en\us\callie\voicemail\16000;%(Outputs) - Downloading 16khzsound. - if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\16000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzipSounds en-us-callie 16000 "$(ProjectDir)..\sounds" "$(ProjectDir)..\..\build\sounds_version.txt" - $(ProjectDir)..\sounds\en\us\callie\voicemail\16000;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download 16khz music.2017.vcxproj b/libs/win32/Download 16khz music.2017.vcxproj deleted file mode 100644 index 259b8f5877..0000000000 --- a/libs/win32/Download 16khz music.2017.vcxproj +++ /dev/null @@ -1,84 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download 16khz music - {E10571C4-E7F4-4608-B5F2-B22E7EB95400} - Download 16khz music - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\16khzmusic\$(Configuration)\ - $(PlatformName)\16khzmusic\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading 16khzsound. - set /P SOUND_VERSION=<"$(ProjectDir)..\..\build\moh_version.txt" -if not exist "$(ProjectDir)..\sounds\music\16000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-%SOUND_VERSION%.tar.gz "$(ProjectDir)..\sounds" - - - $(ProjectDir)..\sounds\music\16000;%(Outputs) - Downloading 16khzsound. - set /P SOUND_VERSION=<"$(ProjectDir)..\..\build\moh_version.txt" -if not exist "$(ProjectDir)..\sounds\music\16000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-16000-%SOUND_VERSION%.tar.gz "$(ProjectDir)..\sounds" - - - $(ProjectDir)..\sounds\music\16000;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download 32khz Sounds.2017.vcxproj b/libs/win32/Download 32khz Sounds.2017.vcxproj deleted file mode 100644 index 8c5ee153f1..0000000000 --- a/libs/win32/Download 32khz Sounds.2017.vcxproj +++ /dev/null @@ -1,77 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download 32khzsound - {6E49F6C2-ADDA-4BFB-81FE-AB9AF51B455F} - Download 32khzsound - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\32khzsounds\$(Configuration)\ - $(PlatformName)\32khzsounds\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading 32khzsound. - if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\32000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzipSounds en-us-callie 32000 "$(ProjectDir)..\sounds" "$(ProjectDir)..\..\build\sounds_version.txt" - $(ProjectDir)..\sounds\en\us\callie\voicemail\32000;%(Outputs) - Downloading 32khzsound. - if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\32000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzipSounds en-us-callie 32000 "$(ProjectDir)..\sounds" "$(ProjectDir)..\..\build\sounds_version.txt" - $(ProjectDir)..\sounds\en\us\callie\voicemail\32000;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download 32khz music.2017.vcxproj b/libs/win32/Download 32khz music.2017.vcxproj deleted file mode 100644 index 40bfc687da..0000000000 --- a/libs/win32/Download 32khz music.2017.vcxproj +++ /dev/null @@ -1,84 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download 32khz music - {1F0A8A77-E661-418F-BB92-82172AE43803} - Download 32khz music - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\32khzmusic\$(Configuration)\ - $(PlatformName)\32khzmusic\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading 32khzsound. - set /P SOUND_VERSION=<"$(ProjectDir)..\..\build\moh_version.txt" -if not exist "$(ProjectDir)..\sounds\music\32000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-%SOUND_VERSION%.tar.gz "$(ProjectDir)..\sounds" - - - $(ProjectDir)..\sounds\music\32000;%(Outputs) - Downloading 32khzsound. - set /P SOUND_VERSION=<"$(ProjectDir)..\..\build\moh_version.txt" -if not exist "$(ProjectDir)..\sounds\music\32000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-32000-%SOUND_VERSION%.tar.gz "$(ProjectDir)..\sounds" - - - $(ProjectDir)..\sounds\music\32000;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download 8khz Sounds.2017.vcxproj b/libs/win32/Download 8khz Sounds.2017.vcxproj deleted file mode 100644 index 9a178bb5b5..0000000000 --- a/libs/win32/Download 8khz Sounds.2017.vcxproj +++ /dev/null @@ -1,78 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download 8khzsound - {3CE1DC99-8246-4DB1-A709-74F19F08EC67} - Download 8khzsound - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\8khzsounds\$(Configuration)\ - $(PlatformName)\8khzsounds\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading 8khzsound. - if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\8000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzipSounds en-us-callie 8000 "$(ProjectDir)..\sounds" "$(ProjectDir)..\..\build\sounds_version.txt" - $(ProjectDir)..\sounds\en\us\callie\voicemail\8000;%(Outputs) - Downloading 8khzsound. - if not exist "$(ProjectDir)..\sounds\en\us\callie\voicemail\8000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzipSounds en-us-callie 8000 "$(ProjectDir)..\sounds" "$(ProjectDir)..\..\build\sounds_version.txt" - $(ProjectDir)..\sounds\en\us\callie\voicemail\8000;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download 8khz music.2017.vcxproj b/libs/win32/Download 8khz music.2017.vcxproj deleted file mode 100644 index d64735a0df..0000000000 --- a/libs/win32/Download 8khz music.2017.vcxproj +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download 8khz music - {4F5C9D55-98EF-4256-8311-32D7BD360406} - Download 8khz music - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\8khzmusic\$(Configuration)\ - $(PlatformName)\8khzmusic\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading 8khzsound. - set /P SOUND_VERSION=<"$(ProjectDir)..\..\build\moh_version.txt" -if not exist "$(ProjectDir)..\sounds\music\8000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-%SOUND_VERSION%.tar.gz "$(ProjectDir)..\sounds" - - $(ProjectDir)..\sounds\music\8000;%(Outputs) - Downloading 8khzsound. - set /P SOUND_VERSION=<"$(ProjectDir)..\..\build\moh_version.txt" -if not exist "$(ProjectDir)..\sounds\music\8000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/freeswitch-sounds-music-8000-%SOUND_VERSION%.tar.gz "$(ProjectDir)..\sounds" - - $(ProjectDir)..\sounds\music\8000;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download CELT.2017.vcxproj b/libs/win32/Download CELT.2017.vcxproj deleted file mode 100644 index fcb4a331d4..0000000000 --- a/libs/win32/Download CELT.2017.vcxproj +++ /dev/null @@ -1,88 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - {FFF82F9B-6A2B-4BE3-95D8-DC5A4FC71E19} - Download CELT - Win32Proj - Download CELT - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\CELT\$(Configuration)\ - $(PlatformName)\CELT\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - - - - - Document - Downloading CELT. - if not exist "$(ProjectDir)..\celt-0.10.0" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/celt-0.10.0.tar.gz "$(ProjectDir).." -xcopy "$(ProjectDir)\celt\config.h" "$(ProjectDir)..\celt-0.10.0\libcelt" /C /D /Y /S /I -xcopy "$(ProjectDir)\celt\float_cast.h" "$(ProjectDir)..\celt-0.10.0\libcelt" /C /D /Y /S /I - - $(ProjectDir)..\CELT;%(Outputs) - Downloading CELT. - if not exist "$(ProjectDir)..\celt-0.10.0" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/celt-0.10.0.tar.gz "$(ProjectDir).." -xcopy "$(ProjectDir)\celt\config.h" "$(ProjectDir)..\celt-0.10.0\libcelt" /C /D /Y /S /I -xcopy "$(ProjectDir)\celt\float_cast.h" "$(ProjectDir)..\celt-0.10.0\libcelt" /C /D /Y /S /I - - $(ProjectDir)..\CELT;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download LAME.2017.vcxproj b/libs/win32/Download LAME.2017.vcxproj deleted file mode 100644 index 2203eebb94..0000000000 --- a/libs/win32/Download LAME.2017.vcxproj +++ /dev/null @@ -1,84 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download LAME - {D5D2BF72-29FE-4982-A9FA-82AB2086DB1B} - Download LAME - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\LAME\$(Configuration)\ - $(PlatformName)\LAME\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - - - - - Document - Downloading Lame. - if not exist "$(ProjectDir)..\lame-3.98.4" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/lame-3.98.4-1.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\lame-3.98.4;%(Outputs) - Downloading Lame. - if not exist "$(ProjectDir)..\lame-3.98.4" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/lame-3.98.4-1.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\lame-3.98.4;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download LDNS.2017.vcxproj b/libs/win32/Download LDNS.2017.vcxproj deleted file mode 100644 index cc398216fe..0000000000 --- a/libs/win32/Download LDNS.2017.vcxproj +++ /dev/null @@ -1,84 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download LDNS - {5BE9A596-F11F-4379-928C-412F81AE182B} - Download LDNS - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\LDNS\$(Configuration)\ - $(PlatformName)\LDNS\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - - - - - Document - Downloading LDNS. - if not exist "$(ProjectDir)..\ldns" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/ldns-1.6.9-1-win.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\ldns;%(Outputs) - Downloading LDNS. - if not exist "$(ProjectDir)..\ldns" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/ldns-1.6.9-1-win.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\ldns;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download LIBSHOUT.2017.vcxproj b/libs/win32/Download LIBSHOUT.2017.vcxproj deleted file mode 100644 index b9d1dfb6fc..0000000000 --- a/libs/win32/Download LIBSHOUT.2017.vcxproj +++ /dev/null @@ -1,84 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download LIBSHOUT - {D5D2BF72-29FE-4982-A9FA-82AB3086DB1B} - Download LIBSHOUT - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\LIBSHOUT\$(Configuration)\ - $(PlatformName)\LIBSHOUT\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - - - - - Document - Downloading libshout. - if not exist "$(ProjectDir)..\libshout-2.2.2" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/libshout-2.2.2.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\libshout-2.2.2;%(Outputs) - Downloading libshout. - if not exist "$(ProjectDir)..\libshout-2.2.2" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/libshout-2.2.2.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\libshout-2.2.2;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download OGG.2017.vcxproj b/libs/win32/Download OGG.2017.vcxproj deleted file mode 100644 index d90abbefa4..0000000000 --- a/libs/win32/Download OGG.2017.vcxproj +++ /dev/null @@ -1,84 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download OGG - {D5D2BF72-29FE-4982-A9FA-82AB1086DB1B} - Download OGG - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\OGG\$(Configuration)\ - $(PlatformName)\OGG\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - - - - - Document - Downloading OGG. - if not exist "$(ProjectDir)..\libogg-1.1.3" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\libogg-1.1.3;%(Outputs) - Downloading OGG. - if not exist "$(ProjectDir)..\libogg-1.1.3" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\libogg-1.1.3;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download OPUS.2017.vcxproj b/libs/win32/Download OPUS.2017.vcxproj deleted file mode 100644 index 56c2db2125..0000000000 --- a/libs/win32/Download OPUS.2017.vcxproj +++ /dev/null @@ -1,80 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download OPUS - {092124C9-09ED-43C7-BD6D-4AE5D6B3C547} - Download OPUS - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\OPUS\$(Configuration)\ - $(PlatformName)\OPUS\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading OPUS. - if not exist "$(ProjectDir)..\opus-1.1" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/opus-1.1.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\opus-1.1;%(Outputs) - Downloading OPUS. - if not exist "$(ProjectDir)..\opus-1.1" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/opus-1.1.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\opus-1.1;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download PORTAUDIO.2017.vcxproj b/libs/win32/Download PORTAUDIO.2017.vcxproj deleted file mode 100644 index f7d0b90a01..0000000000 --- a/libs/win32/Download PORTAUDIO.2017.vcxproj +++ /dev/null @@ -1,84 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download PORTAUDIO - {C0779BCC-C037-4F58-B890-EF37BA956B3C} - Download PORTAUDIO - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\PORTAUDIO\$(Configuration)\ - $(PlatformName)\PORTAUDIO\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - - - - - Document - Downloading PORTAUDIO. - if not exist "$(ProjectDir)..\portaudio" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/pa_stable_v19_20140130.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\portaudio;%(Outputs) - Downloading PORTAUDIO. - if not exist "$(ProjectDir)..\portaudio" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/pa_stable_v19_20140130.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\portaudio;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download PTHREAD.2017.vcxproj b/libs/win32/Download PTHREAD.2017.vcxproj deleted file mode 100644 index 208f30c48a..0000000000 --- a/libs/win32/Download PTHREAD.2017.vcxproj +++ /dev/null @@ -1,80 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download PTHREAD - {8B3B4C4C-13C2-446C-BEB0-F412CC2CFB9A} - Download PTHREAD - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\PTHREAD\$(Configuration)\ - $(PlatformName)\PTHREAD\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading PTHREAD. - if not exist "$(ProjectDir)..\pthreads-w32-2-9-1" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/pthreads-w32-2-9-1.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\pthreads-w32-2-9-1;%(Outputs) - Downloading PTHREAD. - if not exist "$(ProjectDir)..\pthreads-w32-2-9-1" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/pthreads-w32-2-9-1.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\pthreads-w32-2-9-1;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download SPEEX.2017.vcxproj b/libs/win32/Download SPEEX.2017.vcxproj deleted file mode 100644 index ace2ba4886..0000000000 --- a/libs/win32/Download SPEEX.2017.vcxproj +++ /dev/null @@ -1,85 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download SPEEX - {1BDAB935-27DC-47E3-95EA-17E024D39C31} - Download SPEEX - Win32Proj - 8.1 - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\SPEEX\$(Configuration)\ - $(PlatformName)\SPEEX\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - - - - - Document - Downloading SPEEX. - if not exist "$(ProjectDir)..\speex-1.2rc1" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/speex-1.2rc1.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\speex-1.2rc1;%(Outputs) - Downloading SPEEX. - if not exist "$(ProjectDir)..\speex-1.2rc1" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/speex-1.2rc1.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\speex-1.2rc1;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download SQLITE.2017.vcxproj b/libs/win32/Download SQLITE.2017.vcxproj deleted file mode 100644 index 2b1334cf85..0000000000 --- a/libs/win32/Download SQLITE.2017.vcxproj +++ /dev/null @@ -1,85 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download SQLITE - {97D25665-34CD-4E0C-96E7-88F0795B8883} - Download SQLITE - Win32Proj - 8.1 - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\SQLITE\$(Configuration)\ - $(PlatformName)\SQLITE\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - - - - - Document - Downloading SQLITE. - if not exist "$(ProjectDir)..\sqlite-amalgamation-3080401" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/sqlite-amalgamation-3080401.zip "$(ProjectDir).." - - $(ProjectDir)..\sqlite-amalgamation-3080401;%(Outputs) - Downloading SQLITE. - if not exist "$(ProjectDir)..\sqlite-amalgamation-3080401" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/sqlite-amalgamation-3080401.zip "$(ProjectDir).." - - $(ProjectDir)..\sqlite-amalgamation-3080401;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download broadvoice.2017.vcxproj b/libs/win32/Download broadvoice.2017.vcxproj deleted file mode 100644 index e2ca45abb6..0000000000 --- a/libs/win32/Download broadvoice.2017.vcxproj +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download broadvoice - Download broadvoice - Win32Proj - {46502007-0D94-47AC-A640-C2B5EEA98333} - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\broadvoice\$(Configuration)\ - $(PlatformName)\broadvoice\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading broadvoice. - if not exist "$(broadvoiceLibDir)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/broadvoice-$(broadvoice_Version).tar.gz "$(ProjectDir).." - - $(broadvoiceLibDir);%(Outputs) - Downloading broadvoice. - if not exist "$(broadvoiceLibDir)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/broadvoice-$(broadvoice_Version).tar.gz "$(ProjectDir).." - - $(broadvoiceLibDir);%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download freetype.2017.vcxproj b/libs/win32/Download freetype.2017.vcxproj deleted file mode 100644 index be38c22566..0000000000 --- a/libs/win32/Download freetype.2017.vcxproj +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download freetype - {0AD87FDA-989F-4638-B6E1-B0132BB0560A} - Download freetype - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\freetype\$(Configuration)\ - $(PlatformName)\freetype\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading freetype. - if not exist "$(ProjectDir)..\freetype" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/freetype.tar.bz2 "$(ProjectDir).." - - $(ProjectDir)..\freetype;%(Outputs) - Downloading freetype. - if not exist "$(ProjectDir)..\freetype" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/freetype.tar.bz2 "$(ProjectDir).." - - $(ProjectDir)..\freetype;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download g722_1.2017.vcxproj b/libs/win32/Download g722_1.2017.vcxproj deleted file mode 100644 index 5af4fed270..0000000000 --- a/libs/win32/Download g722_1.2017.vcxproj +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download g722_1 - Download g722_1 - Win32Proj - {36603FE1-253F-4C2C-AAB6-12927A626135} - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\g722_1\$(Configuration)\ - $(PlatformName)\g722_1\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading g722_1. - if not exist "$(g722_1LibDir)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/g722_1-$(g722_1_Version).tar.gz "$(ProjectDir).." - - $(g722_1LibDir);%(Outputs) - Downloading g722_1. - if not exist "$(g722_1LibDir)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/g722_1-$(g722_1_Version).tar.gz "$(ProjectDir).." - - $(g722_1LibDir);%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download iLBC.2017.vcxproj b/libs/win32/Download iLBC.2017.vcxproj deleted file mode 100644 index 1f169d8972..0000000000 --- a/libs/win32/Download iLBC.2017.vcxproj +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download iLBC - Download iLBC - Win32Proj - {53AADA60-DF12-46FF-BF94-566BBF849336} - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\iLBC\$(Configuration)\ - $(PlatformName)\iLBC\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading iLBC. - if not exist "$(iLBCLibDir)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/ilbc-$(iLBC_Version).tar.gz "$(ProjectDir).." - - $(iLBCLibDir);%(Outputs) - Downloading iLBC. - if not exist "$(iLBCLibDir)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/ilbc-$(iLBC_Version).tar.gz "$(ProjectDir).." - - $(iLBCLibDir);%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download libav.2017.vcxproj b/libs/win32/Download libav.2017.vcxproj deleted file mode 100644 index e0dcb03339..0000000000 --- a/libs/win32/Download libav.2017.vcxproj +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download libav - Download libav - Win32Proj - {77C9E0A2-177D-4BD6-9EFD-75A56F886325} - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\libav\$(Configuration)\ - $(PlatformName)\libav\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading libav. - if not exist "$(ProjectDir)..\libav" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/libav-12.tar.bz2 "$(ProjectDir).." - - $(ProjectDir)..\libav;%(Outputs) - Downloading libav. - if not exist "$(ProjectDir)..\libav" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/libav-12.tar.bz2 "$(ProjectDir).." - - $(ProjectDir)..\libav;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download libcodec2.2017.vcxproj b/libs/win32/Download libcodec2.2017.vcxproj deleted file mode 100644 index 7e85186c7f..0000000000 --- a/libs/win32/Download libcodec2.2017.vcxproj +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download libcodec2 - Download libcodec2 - Win32Proj - {9CFA562C-C611-48A7-90A2-BB031B47FE6D} - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\libcodec2\$(Configuration)\ - $(PlatformName)\libcodec2\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading libcodec2. - if not exist "$(libcodec2LibDir)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/libcodec2-$(libcodec2_Version).tar.gz "$(ProjectDir).." - - $(libcodec2LibDir);%(Outputs) - Downloading libcodec2. - if not exist "$(libcodec2LibDir)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/libcodec2-$(libcodec2_Version).tar.gz "$(ProjectDir).." - - $(libcodec2LibDir);%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download libjpeg.2017.vcxproj b/libs/win32/Download libjpeg.2017.vcxproj deleted file mode 100644 index 4aa5113de2..0000000000 --- a/libs/win32/Download libjpeg.2017.vcxproj +++ /dev/null @@ -1,84 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download libjpeg - {652AD5F7-8488-489F-AAD0-7FBE064703B6} - Download libjpeg - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\jpeg-8d\$(Configuration)\ - $(PlatformName)\jpeg-8d\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - - - - - Document - Downloading libjpeg. - if not exist "$(ProjectDir)..\jpeg-8d" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://www.ijg.org/files/jpegsrc.v8d.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\jpeg-8d;%(Outputs) - Downloading libjpeg. - if not exist "$(ProjectDir)..\jpeg-8d" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://www.ijg.org/files/jpegsrc.v8d.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\jpeg-8d;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download libpng.2017.vcxproj b/libs/win32/Download libpng.2017.vcxproj deleted file mode 100644 index cabea06a76..0000000000 --- a/libs/win32/Download libpng.2017.vcxproj +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download libpng - {C2D5EB6D-F4DE-4DEE-B5B8-B6FD26C22D33} - Download libpng - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\libpng\$(Configuration)\ - $(PlatformName)\libpng\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading libpng. - if not exist "$(ProjectDir)..\libpng" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/libpng.tar.bz2 "$(ProjectDir).." - - $(ProjectDir)..\libpng;%(Outputs) - Downloading libpng. - if not exist "$(ProjectDir)..\libpng" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/libpng.tar.bz2 "$(ProjectDir).." - - $(ProjectDir)..\libpng;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download libsilk.2017.vcxproj b/libs/win32/Download libsilk.2017.vcxproj deleted file mode 100644 index 544d4b0dbe..0000000000 --- a/libs/win32/Download libsilk.2017.vcxproj +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download libsilk - Download libsilk - Win32Proj - {08782D64-E775-4E96-B707-CC633A226F32} - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\libsilk\$(Configuration)\ - $(PlatformName)\libsilk\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading libsilk. - if not exist "$(libsilkLibDir)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/libsilk-$(libsilk_Version).tar.gz "$(ProjectDir).." - - $(libsilkLibDir);%(Outputs) - Downloading libsilk. - if not exist "$(libsilkLibDir)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/libsilk-$(libsilk_Version).tar.gz "$(ProjectDir).." - - $(libsilkLibDir);%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download libx264.2017.vcxproj b/libs/win32/Download libx264.2017.vcxproj deleted file mode 100644 index 938bf3cba4..0000000000 --- a/libs/win32/Download libx264.2017.vcxproj +++ /dev/null @@ -1,84 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download libx264 - Download libx264 - Win32Proj - {6D1BC01C-3F97-4C08-8A45-69C9B94281AA} - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\libx264\$(Configuration)\ - $(PlatformName)\libx264\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading libx264. - if not exist "$(ProjectDir)..\libx264" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/libx264.tar.bz2 "$(ProjectDir).." -if not exist "$(ProjectDir)..\vsyasm.exe" cscript /nologo "$(ProjectDir)util.vbs" GetVSYasmEXE "$(ProjectDir)\..\" - - $(ProjectDir)..\libx264;%(Outputs) - Downloading libx264. - if not exist "$(ProjectDir)..\libx264" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/libx264.tar.bz2 "$(ProjectDir).." -if not exist "$(ProjectDir)..\vsyasm.exe" cscript /nologo "$(ProjectDir)util.vbs" GetVSYasmEXE "$(ProjectDir)\..\" - - $(ProjectDir)..\libx264;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download mpg123.2017.vcxproj b/libs/win32/Download mpg123.2017.vcxproj deleted file mode 100644 index 39fccba18b..0000000000 --- a/libs/win32/Download mpg123.2017.vcxproj +++ /dev/null @@ -1,86 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download mpg123 - {E796E337-DE78-4303-8614-9A590862EE95} - Download mpg123 - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\mpg123\$(Configuration)\ - $(PlatformName)\mpg123\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - - - - - Document - Downloading mpg123. - if not exist "$(ProjectDir)..\libmpg123" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/mpg123-1.14.4.tar.bz2 "$(ProjectDir).." -if not exist "$(ProjectDir)..\libmpg123" move "$(ProjectDir)..\mpg123-1.14.4" "$(ProjectDir)..\libmpg123" - - $(ProjectDir)..\libmpg123;%(Outputs) - Downloading mpg123. - if not exist "$(ProjectDir)..\libmpg123" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/mpg123-1.14.4.tar.bz2 "$(ProjectDir).." -if not exist "$(ProjectDir)..\libmpg123" move "$(ProjectDir)..\mpg123-1.14.4" "$(ProjectDir)..\libmpg123" - - $(ProjectDir)..\libmpg123;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download pocketsphinx.2017.vcxproj b/libs/win32/Download pocketsphinx.2017.vcxproj deleted file mode 100644 index 7ede947247..0000000000 --- a/libs/win32/Download pocketsphinx.2017.vcxproj +++ /dev/null @@ -1,80 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download pocketsphinx - {AF8163EE-FA76-4904-A11D-7D70A1B5BA2E} - Download pocketsphinx - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\pocketsphinx\$(Configuration)\ - $(PlatformName)\pocketsphinx\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading pocketsphinx. - if not exist "$(ProjectDir)..\pocketsphinx-0.7" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/pocketsphinx-0.7.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\pocketsphinx-0.7;%(Outputs) - Downloading pocketsphinx. - if not exist "$(ProjectDir)..\pocketsphinx-0.7" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/pocketsphinx-0.7.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\pocketsphinx-0.7;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download sphinxbase.2017.vcxproj b/libs/win32/Download sphinxbase.2017.vcxproj deleted file mode 100644 index 74b9856374..0000000000 --- a/libs/win32/Download sphinxbase.2017.vcxproj +++ /dev/null @@ -1,80 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download sphinxbase - {4F92B672-DADB-4047-8D6A-4BB3796733FD} - Download sphinxbase - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\sphinxbase\$(Configuration)\ - $(PlatformName)\sphinxbase\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading sphinxbase. - if not exist "$(ProjectDir)..\sphinxbase-0.7" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/sphinxbase-0.7.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\sphinxbase-0.7;%(Outputs) - Downloading sphinxbase. - if not exist "$(ProjectDir)..\sphinxbase-0.7" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/sphinxbase-0.7.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\sphinxbase-0.7;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download sphinxmodel.2017.vcxproj b/libs/win32/Download sphinxmodel.2017.vcxproj deleted file mode 100644 index 83876e5009..0000000000 --- a/libs/win32/Download sphinxmodel.2017.vcxproj +++ /dev/null @@ -1,83 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download sphinxmodel - {2DEE4895-1134-439C-B688-52203E57D878} - Download sphinxmodel - Win32Proj - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\sphinxmodel\$(Configuration)\ - $(PlatformName)\sphinxmodel\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - - - - - Document - Downloading sphinxmodel. - if not exist "$(SolutionDir)\libs\Communicator_semi_40.cd_semi_6000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/communicator_semi_6000_20080321.tar.gz "$(ProjectDir).." - - $(ProjectDir)..\Communicator_semi_40.cd_semi_6000;%(Outputs) - Downloading sphinxmodel. - if not exist "$(SolutionDir)\libs\Communicator_semi_40.cd_semi_6000" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/communicator_semi_6000_20080321.tar.gz "$(ProjectDir).." - $(ProjectDir)..\Communicator_semi_40.cd_semi_6000;%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Download tiff.2017.vcxproj b/libs/win32/Download tiff.2017.vcxproj deleted file mode 100644 index bd590988e5..0000000000 --- a/libs/win32/Download tiff.2017.vcxproj +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - Download tiff - Download tiff - Win32Proj - {583D8CEA-4171-4493-9025-B63265F408D8} - - - - Utility - MultiByte - v141 - - - Utility - MultiByte - v141 - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(PlatformName)\tiff\$(Configuration)\ - $(PlatformName)\tiff\$(Configuration)\ - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - $(IntDir)BuildLog $(ProjectName).htm - - - - - - - - - Document - Downloading tiff. - if not exist "$(TiffLibDir)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/tiff-$(TiffVersion).tar.gz "$(ProjectDir).." - - $(TiffLibDir);%(Outputs) - Downloading tiff. - if not exist "$(TiffLibDir)" cscript /nologo "$(ProjectDir)util.vbs" GetUnzip http://files.freeswitch.org/downloads/libs/tiff-$(TiffVersion).tar.gz "$(ProjectDir).." - - $(TiffLibDir);%(Outputs) - - - - - - \ No newline at end of file diff --git a/libs/win32/Sound_Files/16khz.2017.vcxproj b/libs/win32/Sound_Files/16khz.2017.vcxproj index 345104617a..03d84483d2 100644 --- a/libs/win32/Sound_Files/16khz.2017.vcxproj +++ b/libs/win32/Sound_Files/16khz.2017.vcxproj @@ -22,7 +22,6 @@ 16khz {7EB71250-F002-4ED8-92CA-CA218114537A} My16khz - 8.1 @@ -47,111 +46,19 @@ MultiByte v141 + + en-us-callie + 16000 + en\us\callie\voicemail\$(SoundQuality) + + + $(PlatformName)\$(Configuration)\$(ProjectName)\$(SoundQuality) + + - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - - -xcopy "$(SolutionDir)libs\sounds\en\us\callie\voicemail\16000\*.*" "$(OutDir)sounds\en\us\callie\voicemail\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ivr\16000\*.*" "$(OutDir)sounds\en\us\callie\ivr\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\conference\16000\*.*" "$(OutDir)sounds\en\us\callie\conference\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\time\16000\*.*" "$(OutDir)sounds\en\us\callie\time\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\digits\16000\*.*" "$(OutDir)sounds\en\us\callie\digits\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ascii\16000\*.*" "$(OutDir)sounds\en\us\callie\ascii\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\misc\16000\*.*" "$(OutDir)sounds\en\us\callie\misc\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\currency\16000\*.*" "$(OutDir)sounds\en\us\callie\currency\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\phonetic-ascii\16000\*.*" "$(OutDir)sounds\en\us\callie\phonetic-ascii\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\directory\16000\*.*" "$(OutDir)sounds\en\us\callie\directory\16000" /C /D /Y /S /I - - - - - - -xcopy "$(SolutionDir)libs\sounds\en\us\callie\voicemail\16000\*.*" "$(OutDir)sounds\en\us\callie\voicemail\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ivr\16000\*.*" "$(OutDir)sounds\en\us\callie\ivr\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\conference\16000\*.*" "$(OutDir)sounds\en\us\callie\conference\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\time\16000\*.*" "$(OutDir)sounds\en\us\callie\time\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\digits\16000\*.*" "$(OutDir)sounds\en\us\callie\digits\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ascii\16000\*.*" "$(OutDir)sounds\en\us\callie\ascii\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\misc\16000\*.*" "$(OutDir)sounds\en\us\callie\misc\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\currency\16000\*.*" "$(OutDir)sounds\en\us\callie\currency\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\phonetic-ascii\16000\*.*" "$(OutDir)sounds\en\us\callie\phonetic-ascii\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\directory\16000\*.*" "$(OutDir)sounds\en\us\callie\directory\16000" /C /D /Y /S /I - - - - - - -xcopy "$(SolutionDir)libs\sounds\en\us\callie\voicemail\16000\*.*" "$(OutDir)sounds\en\us\callie\voicemail\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ivr\16000\*.*" "$(OutDir)sounds\en\us\callie\ivr\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\conference\16000\*.*" "$(OutDir)sounds\en\us\callie\conference\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\time\16000\*.*" "$(OutDir)sounds\en\us\callie\time\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\digits\16000\*.*" "$(OutDir)sounds\en\us\callie\digits\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ascii\16000\*.*" "$(OutDir)sounds\en\us\callie\ascii\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\misc\16000\*.*" "$(OutDir)sounds\en\us\callie\misc\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\currency\16000\*.*" "$(OutDir)sounds\en\us\callie\currency\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\phonetic-ascii\16000\*.*" "$(OutDir)sounds\en\us\callie\phonetic-ascii\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\directory\16000\*.*" "$(OutDir)sounds\en\us\callie\directory\16000" /C /D /Y /S /I - - - - - - -xcopy "$(SolutionDir)libs\sounds\en\us\callie\voicemail\16000\*.*" "$(OutDir)sounds\en\us\callie\voicemail\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ivr\16000\*.*" "$(OutDir)sounds\en\us\callie\ivr\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\conference\16000\*.*" "$(OutDir)sounds\en\us\callie\conference\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\time\16000\*.*" "$(OutDir)sounds\en\us\callie\time\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\digits\16000\*.*" "$(OutDir)sounds\en\us\callie\digits\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ascii\16000\*.*" "$(OutDir)sounds\en\us\callie\ascii\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\misc\16000\*.*" "$(OutDir)sounds\en\us\callie\misc\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\currency\16000\*.*" "$(OutDir)sounds\en\us\callie\currency\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\phonetic-ascii\16000\*.*" "$(OutDir)sounds\en\us\callie\phonetic-ascii\16000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\directory\16000\*.*" "$(OutDir)sounds\en\us\callie\directory\16000" /C /D /Y /S /I - - - - - - {87a1fe3d-f410-4c8e-9591-8c625985bc70} - false - - diff --git a/libs/win32/Sound_Files/16khzmusic.2017.vcxproj b/libs/win32/Sound_Files/16khzmusic.2017.vcxproj index 3309d2611b..7ae9877f00 100644 --- a/libs/win32/Sound_Files/16khzmusic.2017.vcxproj +++ b/libs/win32/Sound_Files/16khzmusic.2017.vcxproj @@ -22,7 +22,6 @@ 16khz music {BA599D0A-4310-4505-91DA-6A6447B3E289} My16khzmusic - 8.1 @@ -47,71 +46,19 @@ MultiByte v141 + + music + 16000 + music\$(SoundQuality) + + + $(PlatformName)\$(Configuration)\$(ProjectName)\$(SoundQuality) + + - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - - xcopy "$(SolutionDir)libs\sounds\music\16000\*.*" "$(OutDir)sounds\music\16000" /C /D /Y /S /I - - - - - - xcopy "$(SolutionDir)libs\sounds\music\16000\*.*" "$(OutDir)sounds\music\16000" /C /D /Y /S /I - - - - - - xcopy "$(SolutionDir)libs\sounds\music\16000\*.*" "$(OutDir)sounds\music\16000" /C /D /Y /S /I - - - - - - xcopy "$(SolutionDir)libs\sounds\music\16000\*.*" "$(OutDir)sounds\music\16000" /C /D /Y /S /I - - - - - - {e10571c4-e7f4-4608-b5f2-b22e7eb95400} - false - - diff --git a/libs/win32/Sound_Files/32khz.2017.vcxproj b/libs/win32/Sound_Files/32khz.2017.vcxproj index cb96a82c8e..8f32759b6b 100644 --- a/libs/win32/Sound_Files/32khz.2017.vcxproj +++ b/libs/win32/Sound_Files/32khz.2017.vcxproj @@ -22,7 +22,6 @@ 32khz {464AAB78-5489-4916-BE51-BF8D61822311} My32khz - 8.1 @@ -47,111 +46,19 @@ MultiByte v141 + + en-us-callie + 32000 + en\us\callie\voicemail\$(SoundQuality) + + + $(PlatformName)\$(Configuration)\$(ProjectName)\$(SoundQuality) + + - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - - -xcopy "$(SolutionDir)libs\sounds\en\us\callie\voicemail\32000\*.*" "$(OutDir)sounds\en\us\callie\voicemail\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ivr\32000\*.*" "$(OutDir)sounds\en\us\callie\ivr\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\conference\32000\*.*" "$(OutDir)sounds\en\us\callie\conference\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\time\32000\*.*" "$(OutDir)sounds\en\us\callie\time\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\digits\32000\*.*" "$(OutDir)sounds\en\us\callie\digits\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ascii\32000\*.*" "$(OutDir)sounds\en\us\callie\ascii\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\misc\32000\*.*" "$(OutDir)sounds\en\us\callie\misc\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\currency\32000\*.*" "$(OutDir)sounds\en\us\callie\currency\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\phonetic-ascii\32000\*.*" "$(OutDir)sounds\en\us\callie\phonetic-ascii\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\directory\32000\*.*" "$(OutDir)sounds\en\us\callie\directory\32000" /C /D /Y /S /I - - - - - - -xcopy "$(SolutionDir)libs\sounds\en\us\callie\voicemail\32000\*.*" "$(OutDir)sounds\en\us\callie\voicemail\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ivr\32000\*.*" "$(OutDir)sounds\en\us\callie\ivr\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\conference\32000\*.*" "$(OutDir)sounds\en\us\callie\conference\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\time\32000\*.*" "$(OutDir)sounds\en\us\callie\time\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\digits\32000\*.*" "$(OutDir)sounds\en\us\callie\digits\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ascii\32000\*.*" "$(OutDir)sounds\en\us\callie\ascii\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\misc\32000\*.*" "$(OutDir)sounds\en\us\callie\misc\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\currency\32000\*.*" "$(OutDir)sounds\en\us\callie\currency\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\phonetic-ascii\32000\*.*" "$(OutDir)sounds\en\us\callie\phonetic-ascii\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\directory\32000\*.*" "$(OutDir)sounds\en\us\callie\directory\32000" /C /D /Y /S /I - - - - - - -xcopy "$(SolutionDir)libs\sounds\en\us\callie\voicemail\32000\*.*" "$(OutDir)sounds\en\us\callie\voicemail\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ivr\32000\*.*" "$(OutDir)sounds\en\us\callie\ivr\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\conference\32000\*.*" "$(OutDir)sounds\en\us\callie\conference\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\time\32000\*.*" "$(OutDir)sounds\en\us\callie\time\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\digits\32000\*.*" "$(OutDir)sounds\en\us\callie\digits\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ascii\32000\*.*" "$(OutDir)sounds\en\us\callie\ascii\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\misc\32000\*.*" "$(OutDir)sounds\en\us\callie\misc\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\currency\32000\*.*" "$(OutDir)sounds\en\us\callie\currency\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\phonetic-ascii\32000\*.*" "$(OutDir)sounds\en\us\callie\phonetic-ascii\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\directory\32000\*.*" "$(OutDir)sounds\en\us\callie\directory\32000" /C /D /Y /S /I - - - - - - -xcopy "$(SolutionDir)libs\sounds\en\us\callie\voicemail\32000\*.*" "$(OutDir)sounds\en\us\callie\voicemail\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ivr\32000\*.*" "$(OutDir)sounds\en\us\callie\ivr\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\conference\32000\*.*" "$(OutDir)sounds\en\us\callie\conference\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\time\32000\*.*" "$(OutDir)sounds\en\us\callie\time\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\digits\32000\*.*" "$(OutDir)sounds\en\us\callie\digits\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ascii\32000\*.*" "$(OutDir)sounds\en\us\callie\ascii\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\misc\32000\*.*" "$(OutDir)sounds\en\us\callie\misc\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\currency\32000\*.*" "$(OutDir)sounds\en\us\callie\currency\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\phonetic-ascii\32000\*.*" "$(OutDir)sounds\en\us\callie\phonetic-ascii\32000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\directory\32000\*.*" "$(OutDir)sounds\en\us\callie\directory\32000" /C /D /Y /S /I - - - - - - {6e49f6c2-adda-4bfb-81fe-ab9af51b455f} - false - - diff --git a/libs/win32/Sound_Files/32khzmusic.2017.vcxproj b/libs/win32/Sound_Files/32khzmusic.2017.vcxproj index a25542d716..6ba336d7c1 100644 --- a/libs/win32/Sound_Files/32khzmusic.2017.vcxproj +++ b/libs/win32/Sound_Files/32khzmusic.2017.vcxproj @@ -22,7 +22,6 @@ 32khz music {EED13FC7-4F81-4E6F-93DB-CDB7DF5CF959} My32khz music - 8.1 @@ -47,67 +46,19 @@ MultiByte v141 + + music + 32000 + music\$(SoundQuality) + + + $(PlatformName)\$(Configuration)\$(ProjectName)\$(SoundQuality) + + - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - - xcopy "$(SolutionDir)libs\sounds\music\32000\*.*" "$(OutDir)sounds\music\32000" /C /D /Y /S /I - - - - - xcopy "$(SolutionDir)libs\sounds\music\32000\*.*" "$(OutDir)sounds\music\32000" /C /D /Y /S /I - - - - - xcopy "$(SolutionDir)libs\sounds\music\32000\*.*" "$(OutDir)sounds\music\32000" /C /D /Y /S /I - - - - - xcopy "$(SolutionDir)libs\sounds\music\32000\*.*" "$(OutDir)sounds\music\32000" /C /D /Y /S /I - - - - - {1f0a8a77-e661-418f-bb92-82172ae43803} - false - - diff --git a/libs/win32/Sound_Files/8khz.2017.vcxproj b/libs/win32/Sound_Files/8khz.2017.vcxproj index eeb84c9a34..39e395c1c5 100644 --- a/libs/win32/Sound_Files/8khz.2017.vcxproj +++ b/libs/win32/Sound_Files/8khz.2017.vcxproj @@ -22,7 +22,6 @@ 8khz {7A8D8174-B355-4114-AFC1-04777CB9DE0A} Sound_Files - 8.1 @@ -47,111 +46,19 @@ MultiByte v141 + + en-us-callie + 8000 + en\us\callie\voicemail\$(SoundQuality) + + + $(PlatformName)\$(Configuration)\$(ProjectName)\$(SoundQuality) + + - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - - -xcopy "$(SolutionDir)libs\sounds\en\us\callie\voicemail\8000\*.*" "$(OutDir)sounds\en\us\callie\voicemail\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ivr\8000\*.*" "$(OutDir)sounds\en\us\callie\ivr\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\conference\8000\*.*" "$(OutDir)sounds\en\us\callie\conference\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\time\8000\*.*" "$(OutDir)sounds\en\us\callie\time\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\digits\8000\*.*" "$(OutDir)sounds\en\us\callie\digits\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ascii\8000\*.*" "$(OutDir)sounds\en\us\callie\ascii\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\misc\8000\*.*" "$(OutDir)sounds\en\us\callie\misc\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\currency\8000\*.*" "$(OutDir)sounds\en\us\callie\currency\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\phonetic-ascii\8000\*.*" "$(OutDir)sounds\en\us\callie\phonetic-ascii\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\directory\8000\*.*" "$(OutDir)sounds\en\us\callie\directory\8000" /C /D /Y /S /I - - - - - - -xcopy "$(SolutionDir)libs\sounds\en\us\callie\voicemail\8000\*.*" "$(OutDir)sounds\en\us\callie\voicemail\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ivr\8000\*.*" "$(OutDir)sounds\en\us\callie\ivr\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\conference\8000\*.*" "$(OutDir)sounds\en\us\callie\conference\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\time\8000\*.*" "$(OutDir)sounds\en\us\callie\time\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\digits\8000\*.*" "$(OutDir)sounds\en\us\callie\digits\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ascii\8000\*.*" "$(OutDir)sounds\en\us\callie\ascii\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\misc\8000\*.*" "$(OutDir)sounds\en\us\callie\misc\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\currency\8000\*.*" "$(OutDir)sounds\en\us\callie\currency\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\phonetic-ascii\8000\*.*" "$(OutDir)sounds\en\us\callie\phonetic-ascii\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\directory\8000\*.*" "$(OutDir)sounds\en\us\callie\directory\8000" /C /D /Y /S /I - - - - - - -xcopy "$(SolutionDir)libs\sounds\en\us\callie\voicemail\8000\*.*" "$(OutDir)sounds\en\us\callie\voicemail\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ivr\8000\*.*" "$(OutDir)sounds\en\us\callie\ivr\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\conference\8000\*.*" "$(OutDir)sounds\en\us\callie\conference\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\time\8000\*.*" "$(OutDir)sounds\en\us\callie\time\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\digits\8000\*.*" "$(OutDir)sounds\en\us\callie\digits\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ascii\8000\*.*" "$(OutDir)sounds\en\us\callie\ascii\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\misc\8000\*.*" "$(OutDir)sounds\en\us\callie\misc\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\currency\8000\*.*" "$(OutDir)sounds\en\us\callie\currency\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\phonetic-ascii\8000\*.*" "$(OutDir)sounds\en\us\callie\phonetic-ascii\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\directory\8000\*.*" "$(OutDir)sounds\en\us\callie\directory\8000" /C /D /Y /S /I - - - - - - -xcopy "$(SolutionDir)libs\sounds\en\us\callie\voicemail\8000\*.*" "$(OutDir)sounds\en\us\callie\voicemail\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ivr\8000\*.*" "$(OutDir)sounds\en\us\callie\ivr\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\conference\8000\*.*" "$(OutDir)sounds\en\us\callie\conference\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\time\8000\*.*" "$(OutDir)sounds\en\us\callie\time\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\digits\8000\*.*" "$(OutDir)sounds\en\us\callie\digits\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\ascii\8000\*.*" "$(OutDir)sounds\en\us\callie\ascii\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\misc\8000\*.*" "$(OutDir)sounds\en\us\callie\misc\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\currency\8000\*.*" "$(OutDir)sounds\en\us\callie\currency\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\phonetic-ascii\8000\*.*" "$(OutDir)sounds\en\us\callie\phonetic-ascii\8000" /C /D /Y /S /I -xcopy "$(SolutionDir)libs\sounds\en\us\callie\directory\8000\*.*" "$(OutDir)sounds\en\us\callie\directory\8000" /C /D /Y /S /I - - - - - - {3ce1dc99-8246-4db1-a709-74f19f08ec67} - false - - diff --git a/libs/win32/Sound_Files/8khzmusic.2017.vcxproj b/libs/win32/Sound_Files/8khzmusic.2017.vcxproj index 77a8569299..e142c100d7 100644 --- a/libs/win32/Sound_Files/8khzmusic.2017.vcxproj +++ b/libs/win32/Sound_Files/8khzmusic.2017.vcxproj @@ -22,7 +22,6 @@ 8khz music {D1ABE208-6442-4FB4-9AAD-1677E41BC870} 8khz music - 8.1 @@ -47,71 +46,19 @@ MultiByte v141 + + music + 8000 + music\$(SoundQuality) + + + $(PlatformName)\$(Configuration)\$(ProjectName)\$(SoundQuality) + + - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - $(PlatformName)\$(Configuration)\$(ProjectName)\ - - - - xcopy "$(SolutionDir)libs\sounds\music\8000\*.*" "$(OutDir)sounds\music\8000" /C /D /Y /S /I - - - - - - xcopy "$(SolutionDir)libs\sounds\music\8000\*.*" "$(OutDir)sounds\music\8000" /C /D /Y /S /I - - - - - - xcopy "$(SolutionDir)libs\sounds\music\8000\*.*" "$(OutDir)sounds\music\8000" /C /D /Y /S /I - - - - - - xcopy "$(SolutionDir)libs\sounds\music\8000\*.*" "$(OutDir)sounds\music\8000" /C /D /Y /S /I - - - - - - {4f5c9d55-98ef-4256-8311-32d7bd360406} - false - - diff --git a/libs/win32/broadvoice/libbroadvoice.2017.vcxproj b/libs/win32/broadvoice/libbroadvoice.2017.vcxproj index a6da2a5e99..c4aac64476 100644 --- a/libs/win32/broadvoice/libbroadvoice.2017.vcxproj +++ b/libs/win32/broadvoice/libbroadvoice.2017.vcxproj @@ -200,11 +200,6 @@ - - - {46502007-0d94-47ac-a640-c2b5eea98333} - - diff --git a/libs/win32/celt/libcelt.2017.vcxproj b/libs/win32/celt/libcelt.2017.vcxproj index b66efba609..d2eda96973 100644 --- a/libs/win32/celt/libcelt.2017.vcxproj +++ b/libs/win32/celt/libcelt.2017.vcxproj @@ -48,6 +48,7 @@ v141 + @@ -70,6 +71,11 @@ <_ProjectFileVersion>10.0.30319.1 + + + .\;%(AdditionalIncludeDirectories) + + Disabled @@ -145,12 +151,6 @@ - - - {fff82f9b-6a2b-4be3-95d8-dc5a4fc71e19} - false - - diff --git a/libs/win32/ffmpeg/ffmpeg.2017.vcxproj b/libs/win32/ffmpeg/ffmpeg.2017.vcxproj new file mode 100644 index 0000000000..6ab4c5f3bc --- /dev/null +++ b/libs/win32/ffmpeg/ffmpeg.2017.vcxproj @@ -0,0 +1,5967 @@ + + + + + Debug + x64 + + + Release + x64 + + + + ffmpeg + ffmpeg + 10.0.17134.0 + {BC1FD72E-1CD5-4525-A7F5-17C5740BFDED} + + + + + + + + + StaticLibrary + v141 + MultiByte + false + yasm.exe -f x64 -I./../../ffmpeg-$(ffmpegVersion)/ -I./../../ffmpeg-$(ffmpegVersion)/include_x64 -P.\..\..\libs\ffmpeg-$(ffmpegVersion)\include_x64\config.asm + + + StaticLibrary + v141 + MultiByte + yasm.exe -f x64 -I./../../ffmpeg-$(ffmpegVersion)/ -I./../../ffmpeg-$(ffmpegVersion)/include_x64 -P.\..\..\libs\ffmpeg-$(ffmpegVersion)\include_x64\config.asm + + + v141 + + + v141 + + + + + + + + + + + + + + + X64 + + + MaxSpeed + "..\..\ffmpeg-$(ffmpegVersion)\include_x64";"..\..\ffmpeg-$(ffmpegVersion)";"..\..\libx264";"..\..\libx264\SMP";%(AdditionalIncludeDirectories) + WIN32;_DEBUG;HAVE_AV_CONFIG_H;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions) + MultiThreadedDebug + Level3 + false + NotUsing + false + 4267;4334;4101;4018;4146;4244;4305;4554;%(DisableSpecificWarnings) + true + true + + + + + X64 + + + "..\..\ffmpeg-$(ffmpegVersion)\include_x64";"..\..\ffmpeg-$(ffmpegVersion)";"..\..\libx264";"..\..\libx264\SMP";%(AdditionalIncludeDirectories) + WIN32;NDEBUG;HAVE_AV_CONFIG_H;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions) + MultiThreadedDebug + Level3 + false + NotUsing + false + 4267;4334;4101;4018;4146;4244;4305;4554;%(DisableSpecificWarnings) + true + true + Full + + + + + <_ProjectFileVersion>10.0.30319.1 + + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + Assembling %(Filename)%(Extension) + $(YasmCommand) -I %(RelativeDir) -o $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj "%(FullPath)" + $(IntDir)$([System.String]::Copy(%(RelativeDir)).Replace('\','_')).%(FileName).obj + + + + + {20179127-853b-4fe9-b7c0-9e817e6a3a72} + + + + + + diff --git a/libs/win32/freetype/freetype.2017.vcxproj b/libs/win32/freetype/freetype.2017.vcxproj index 629d041817..46c53d7d40 100644 --- a/libs/win32/freetype/freetype.2017.vcxproj +++ b/libs/win32/freetype/freetype.2017.vcxproj @@ -47,6 +47,7 @@ v141 + @@ -631,11 +632,6 @@ - - - {0ad87fda-989f-4638-b6e1-b0132bb0560a} - - diff --git a/libs/win32/ilbc/libilbc.2017.vcxproj b/libs/win32/ilbc/libilbc.2017.vcxproj index e3dec17bb6..dd524f6b63 100644 --- a/libs/win32/ilbc/libilbc.2017.vcxproj +++ b/libs/win32/ilbc/libilbc.2017.vcxproj @@ -49,6 +49,7 @@ + @@ -166,11 +167,6 @@ - - - {53aada60-df12-46ff-bf94-566bbf849336} - - diff --git a/libs/win32/ldns/ldns-lib/ldns-lib.2017.vcxproj b/libs/win32/ldns/ldns-lib/ldns-lib.2017.vcxproj index 92ca65a874..212e89d2ae 100644 --- a/libs/win32/ldns/ldns-lib/ldns-lib.2017.vcxproj +++ b/libs/win32/ldns/ldns-lib/ldns-lib.2017.vcxproj @@ -47,6 +47,7 @@ v141 + @@ -260,11 +261,6 @@ if not exist "$(ProjectDir)..\..\..\ldns\ldns\net.h" type "$(ProjectDir)\net.h" - - - {5be9a596-f11f-4379-928c-412f81ae182b} - - diff --git a/libs/win32/libav/libav.2017.vcxproj b/libs/win32/libav/libav.2017.vcxproj index 7a1381e0c4..b7c93afd33 100644 --- a/libs/win32/libav/libav.2017.vcxproj +++ b/libs/win32/libav/libav.2017.vcxproj @@ -24,32 +24,34 @@ 8.1 {841C345F-FCC7-4F64-8F54-0281CEABEB01} + + StaticLibrary v141 MultiByte false - $(SolutionDir)libs\yasm.exe -f win32 -DPREFIX -I./../../libav/ -P.\..\..\libs\libav\config_x86\config.asm + yasm.exe -f win32 -DPREFIX -I./../../libav/ -P.\..\..\libs\libav\config_x86\config.asm StaticLibrary v141 MultiByte - $(SolutionDir)libs\yasm.exe -f win32 -DPREFIX -I./../../libav/ -P.\..\..\libs\libav\config_x86\config.asm + yasm.exe -f win32 -DPREFIX -I./../../libav/ -P.\..\..\libs\libav\config_x86\config.asm StaticLibrary v141 MultiByte false - $(SolutionDir)libs\yasm.exe -f x64 -I./../../libav/ -P.\..\..\libs\libav\config_x64\config.asm + yasm.exe -f x64 -I./../../libav/ -P.\..\..\libs\libav\config_x64\config.asm StaticLibrary v141 MultiByte - $(SolutionDir)libs\yasm.exe -f x64 -I./../../libav/ -P.\..\..\libs\libav\config_x64\config.asm + yasm.exe -f x64 -I./../../libav/ -P.\..\..\libs\libav\config_x64\config.asm @@ -141,12 +143,6 @@ <_ProjectFileVersion>10.0.30319.1 - - Document - Downloading Yasm Modular Assembler (yasm.exe). - if not exist "$(SolutionDir)libs\yasm.exe" cscript /nologo "$(ProjectDir)..\util.vbs" GetYasmEXE "$(SolutionDir)libs\" - $(ProjectDir)yasm.exe;%(Outputs) - @@ -1642,9 +1638,6 @@ - - {77c9e0a2-177d-4bd6-9efd-75a56f886325} - {20179127-853b-4fe9-b7c0-9e817e6a3a72} diff --git a/libs/win32/libcodec2/generate.bat b/libs/win32/libcodec2/generate.bat index 4503b2667c..59a6bcfeb1 100644 --- a/libs/win32/libcodec2/generate.bat +++ b/libs/win32/libcodec2/generate.bat @@ -3,7 +3,7 @@ REM In order to regenerate headers REM execute this generate.bat from the "VS2015 x86 Native Tools Command Prompt" REM -cd ../../libcodec2-2.59/src +cd ../../libcodec2-2.59/codec2 cl /EHsc generate_codebook.c generate_codebook.exe lsp_cb codebook/lsp1.txt codebook/lsp2.txt codebook/lsp3.txt codebook/lsp4.txt codebook/lsp5.txt codebook/lsp6.txt codebook/lsp7.txt codebook/lsp8.txt codebook/lsp9.txt codebook/lsp10.txt > codebook.c generate_codebook.exe lsp_cbd codebook/dlsp1.txt codebook/dlsp2.txt codebook/dlsp3.txt codebook/dlsp4.txt codebook/dlsp5.txt codebook/dlsp6.txt codebook/dlsp7.txt codebook/dlsp8.txt codebook/dlsp9.txt codebook/dlsp10.txt > codebookd.c diff --git a/libs/win32/libcodec2/libcodec2.2017.vcxproj b/libs/win32/libcodec2/libcodec2.2017.vcxproj index 986051c822..adc1f8a356 100644 --- a/libs/win32/libcodec2/libcodec2.2017.vcxproj +++ b/libs/win32/libcodec2/libcodec2.2017.vcxproj @@ -49,6 +49,7 @@ + @@ -118,62 +119,57 @@ -xcopy "$(ProjectDir)generated\*" "$(libcodec2LibDir)\src\" /C /D /Y +xcopy "$(ProjectDir)generated\*" "$(libcodec2LibDir)\codec2\" /C /D /Y - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - {9cfa562c-c611-48a7-90a2-bb031b47fe6d} - + + + + + + + + + + + + + + + + + + + + + + diff --git a/libs/win32/libg722_1/libg722_1.2017.vcxproj b/libs/win32/libg722_1/libg722_1.2017.vcxproj index e272f5e73c..dd3ca8f6eb 100644 --- a/libs/win32/libg722_1/libg722_1.2017.vcxproj +++ b/libs/win32/libg722_1/libg722_1.2017.vcxproj @@ -49,6 +49,7 @@ + @@ -148,11 +149,6 @@ - - - {36603fe1-253f-4c2c-aab6-12927a626135} - - diff --git a/libs/win32/libjpeg/libjpeg.2017.vcxproj b/libs/win32/libjpeg/libjpeg.2017.vcxproj index 7ab8df590a..604d5347ca 100644 --- a/libs/win32/libjpeg/libjpeg.2017.vcxproj +++ b/libs/win32/libjpeg/libjpeg.2017.vcxproj @@ -18,6 +18,7 @@ x64 + diff --git a/libs/win32/libmp3lame/libmp3lame.2017.vcxproj b/libs/win32/libmp3lame/libmp3lame.2017.vcxproj index 9074fc38c8..a66baef99a 100644 --- a/libs/win32/libmp3lame/libmp3lame.2017.vcxproj +++ b/libs/win32/libmp3lame/libmp3lame.2017.vcxproj @@ -45,6 +45,7 @@ v141 + @@ -466,12 +467,6 @@ - - - {d5d2bf72-29fe-4982-a9fa-82ab2086db1b} - false - - diff --git a/libs/win32/libogg/libogg.2017.vcxproj b/libs/win32/libogg/libogg.2017.vcxproj index 58ab9e4dfd..4f91ce79d6 100644 --- a/libs/win32/libogg/libogg.2017.vcxproj +++ b/libs/win32/libogg/libogg.2017.vcxproj @@ -45,6 +45,7 @@ v141 + @@ -197,12 +198,6 @@ - - - {d5d2bf72-29fe-4982-a9fa-82ab1086db1b} - false - - diff --git a/libs/win32/libpng/libpng.2017.vcxproj b/libs/win32/libpng/libpng.2017.vcxproj index f808287b7a..a1641690dc 100644 --- a/libs/win32/libpng/libpng.2017.vcxproj +++ b/libs/win32/libpng/libpng.2017.vcxproj @@ -48,6 +48,7 @@ v141 + @@ -229,11 +230,6 @@ - - - {c2d5eb6d-f4de-4dee-b5b8-b6fd26c22d33} - - diff --git a/libs/win32/libshout/libshout.2017.vcxproj b/libs/win32/libshout/libshout.2017.vcxproj index a387a70a03..3a0350dfd6 100644 --- a/libs/win32/libshout/libshout.2017.vcxproj +++ b/libs/win32/libshout/libshout.2017.vcxproj @@ -45,6 +45,7 @@ v141 + @@ -177,10 +178,6 @@ - - {d5d2bf72-29fe-4982-a9fa-82ab3086db1b} - false - {0feeaec6-4399-4c46-b7db-62ece80d15b4} false diff --git a/libs/win32/libsilk/Silk_FIX.2017.vcxproj b/libs/win32/libsilk/Silk_FIX.2017.vcxproj index 4039879cd9..d43eb300c9 100644 --- a/libs/win32/libsilk/Silk_FIX.2017.vcxproj +++ b/libs/win32/libsilk/Silk_FIX.2017.vcxproj @@ -49,6 +49,7 @@ + @@ -264,11 +265,6 @@ - - - {08782d64-e775-4e96-b707-cc633a226f32} - - diff --git a/libs/win32/libvpx/libvpx.2017.vcxproj b/libs/win32/libvpx/libvpx.2017.vcxproj index 752b587e04..95942997c8 100644 --- a/libs/win32/libvpx/libvpx.2017.vcxproj +++ b/libs/win32/libvpx/libvpx.2017.vcxproj @@ -24,6 +24,7 @@ libvpx ManagedCProj + StaticLibrary @@ -118,12 +119,6 @@ - - Document - Downloading Yasm Modular Assembler (yasm.exe). - if not exist "$(ProjectDir)yasm.exe" cscript /nologo "$(ProjectDir)..\util.vbs" GetYasmEXE "$(ProjectDir)" - $(ProjectDir)yasm.exe;%(Outputs) - $(IntDir)vpx_src_vpx_decoder.obj diff --git a/libs/win32/libx264/libx264.2017.vcxproj b/libs/win32/libx264/libx264.2017.vcxproj index 498a7c4469..0519f270d9 100644 --- a/libs/win32/libx264/libx264.2017.vcxproj +++ b/libs/win32/libx264/libx264.2017.vcxproj @@ -24,6 +24,8 @@ libx264 + + StaticLibrary true @@ -491,11 +493,6 @@ del /f /q $(OutDir)\x264.txt $(VC_IncludePath)\;$(WindowsSDK_IncludePath)\;$(VCInstallDir)\include;%(AdditionalIncludeDirectories) - - - {6d1bc01c-3f97-4c08-8a45-69c9b94281aa} - - diff --git a/libs/win32/libx264/libx264.2015.vcxproj.filters b/libs/win32/libx264/libx264.2017.vcxproj.filters similarity index 99% rename from libs/win32/libx264/libx264.2015.vcxproj.filters rename to libs/win32/libx264/libx264.2017.vcxproj.filters index 910488e902..19608a44ae 100644 --- a/libs/win32/libx264/libx264.2015.vcxproj.filters +++ b/libs/win32/libx264/libx264.2017.vcxproj.filters @@ -1,4 +1,4 @@ - + @@ -151,4 +151,4 @@ - \ No newline at end of file + diff --git a/libs/win32/mpg123/libmpg123.2017.vcxproj b/libs/win32/mpg123/libmpg123.2017.vcxproj index 0ae15e003c..87e5544fa6 100644 --- a/libs/win32/mpg123/libmpg123.2017.vcxproj +++ b/libs/win32/mpg123/libmpg123.2017.vcxproj @@ -161,6 +161,7 @@ v141 + @@ -1325,11 +1326,6 @@ yasm -a x86 -p gas -r raw -f win32 -g null -m x86 -o "$(ProjectDir)..\libmpg123\ - - - {e796e337-de78-4303-8614-9a590862ee95} - - diff --git a/libs/win32/opus/opus.2017.vcxproj b/libs/win32/opus/opus.2017.vcxproj index 86ef8e7688..5f4bced56e 100644 --- a/libs/win32/opus/opus.2017.vcxproj +++ b/libs/win32/opus/opus.2017.vcxproj @@ -46,6 +46,7 @@ v141 + @@ -235,14 +236,6 @@ - - {092124c9-09ed-43c7-bd6d-4ae5d6b3c547} - false - false - false - false - false - {245603e3-f580-41a5-9632-b25fe3372cbf} diff --git a/libs/win32/opus/opus.celt.2017.vcxproj b/libs/win32/opus/opus.celt.2017.vcxproj index 8af97696a1..a20a369ec0 100644 --- a/libs/win32/opus/opus.celt.2017.vcxproj +++ b/libs/win32/opus/opus.celt.2017.vcxproj @@ -52,6 +52,7 @@ v141 + @@ -251,11 +252,6 @@ - - - {092124c9-09ed-43c7-bd6d-4ae5d6b3c547} - - diff --git a/libs/win32/opus/opus.silk_common.2017.vcxproj b/libs/win32/opus/opus.silk_common.2017.vcxproj index 6ddf75c73a..0e1526055e 100644 --- a/libs/win32/opus/opus.silk_common.2017.vcxproj +++ b/libs/win32/opus/opus.silk_common.2017.vcxproj @@ -25,6 +25,7 @@ opus.silk_common + StaticLibrary true @@ -306,11 +307,6 @@ - - - {092124c9-09ed-43c7-bd6d-4ae5d6b3c547} - - diff --git a/libs/win32/opus/opus.silk_fixed.2017.vcxproj b/libs/win32/opus/opus.silk_fixed.2017.vcxproj index 16da6b597e..6774124d26 100644 --- a/libs/win32/opus/opus.silk_fixed.2017.vcxproj +++ b/libs/win32/opus/opus.silk_fixed.2017.vcxproj @@ -25,6 +25,7 @@ opus.silk_fixed + StaticLibrary true @@ -191,9 +192,6 @@ - - {092124c9-09ed-43c7-bd6d-4ae5d6b3c547} - {c303d2fc-ff97-49b8-9ddd-467b4c9a0b16} diff --git a/libs/win32/opus/opus.silk_float.2017.vcxproj b/libs/win32/opus/opus.silk_float.2017.vcxproj index e420354909..14dc1ffc14 100644 --- a/libs/win32/opus/opus.silk_float.2017.vcxproj +++ b/libs/win32/opus/opus.silk_float.2017.vcxproj @@ -25,6 +25,7 @@ opus.silk_float + StaticLibrary true @@ -242,9 +243,6 @@ - - {092124c9-09ed-43c7-bd6d-4ae5d6b3c547} - {c303d2fc-ff97-49b8-9ddd-467b4c9a0b16} diff --git a/libs/win32/pocketsphinx/pocketsphinx.2017.vcxproj b/libs/win32/pocketsphinx/pocketsphinx.2017.vcxproj index 4a8dd95ca1..32083ae0e2 100644 --- a/libs/win32/pocketsphinx/pocketsphinx.2017.vcxproj +++ b/libs/win32/pocketsphinx/pocketsphinx.2017.vcxproj @@ -24,6 +24,7 @@ pocketsphinx + DynamicLibrary false @@ -389,10 +390,6 @@ - - {af8163ee-fa76-4904-a11d-7d70a1b5ba2e} - false - {2f025ead-99bd-40f5-b2cc-f0a28cad7f2d} false diff --git a/libs/win32/portaudio/portaudio.2017.vcxproj b/libs/win32/portaudio/portaudio.2017.vcxproj index 3ba285f451..5401536cf5 100644 --- a/libs/win32/portaudio/portaudio.2017.vcxproj +++ b/libs/win32/portaudio/portaudio.2017.vcxproj @@ -40,6 +40,7 @@ portaudio + StaticLibrary false @@ -852,11 +853,6 @@ - - - {c0779bcc-c037-4f58-b890-ef37ba956b3c} - - diff --git a/libs/win32/pthread/pthread.2017.vcxproj b/libs/win32/pthread/pthread.2017.vcxproj index f9f6f9c817..ce73ff35b4 100644 --- a/libs/win32/pthread/pthread.2017.vcxproj +++ b/libs/win32/pthread/pthread.2017.vcxproj @@ -40,6 +40,7 @@ pthread + DynamicLibrary false @@ -444,12 +445,6 @@ %(AdditionalIncludeDirectories) - - - {8b3b4c4c-13c2-446c-beb0-f412cc2cfb9a} - false - - diff --git a/libs/win32/sofia/libsofia_sip_ua_static.2017.vcxproj b/libs/win32/sofia/libsofia_sip_ua_static.2017.vcxproj index faf9b7094a..adc8d9fd5e 100644 --- a/libs/win32/sofia/libsofia_sip_ua_static.2017.vcxproj +++ b/libs/win32/sofia/libsofia_sip_ua_static.2017.vcxproj @@ -49,6 +49,7 @@ v141 + @@ -74,8 +75,7 @@ - if not exist "$(ProjectDir)..\..\sofia-sip\win32\gawk.exe" cscript /nologo "$(ProjectDir)..\util.vbs" Get http://files.freeswitch.org/downloads/win32/gawk.exe "$(ProjectDir)..\..\sofia-sip\win32\" -cd /D "$(ProjectDir)..\..\sofia-sip\win32\" + cd /D "$(ProjectDir)..\..\sofia-sip\win32\" set AWK="$(ProjectDir)..\..\sofia-sip\win32\gawk.exe" if not exist "$(ProjectDir)..\..\sofia-sip\libsofia-sip-ua\http\http_parser_table.c" "autogen.cmd" if not exist "$(ProjectDir)$(IntDir)\auth_client.obj" "autogen.cmd" @@ -107,8 +107,7 @@ if not exist "$(ProjectDir)$(IntDir)\auth_client.obj" "autogen.cmd" - if not exist "$(ProjectDir)..\..\sofia-sip\win32\gawk.exe" cscript /nologo "$(ProjectDir)..\util.vbs" Get http://files.freeswitch.org/downloads/win32/gawk.exe "$(ProjectDir)..\..\sofia-sip\win32\" -cd /D "$(ProjectDir)..\..\sofia-sip\win32\" + cd /D "$(ProjectDir)..\..\sofia-sip\win32\" set AWK="$(ProjectDir)..\..\sofia-sip\win32\gawk.exe" if not exist "$(ProjectDir)..\..\sofia-sip\libsofia-sip-ua\http\http_parser_table.c" "autogen.cmd" if not exist "$(ProjectDir)$(IntDir)\auth_client.obj" "autogen.cmd" @@ -144,8 +143,7 @@ if not exist "$(ProjectDir)$(IntDir)\auth_client.obj" "autogen.cmd" - if not exist "$(ProjectDir)..\..\sofia-sip\win32\gawk.exe" cscript /nologo "$(ProjectDir)..\util.vbs" Get http://files.freeswitch.org/downloads/win32/gawk.exe "$(ProjectDir)..\..\sofia-sip\win32\" -cd /D "$(ProjectDir)..\..\sofia-sip\win32\" + cd /D "$(ProjectDir)..\..\sofia-sip\win32\" set AWK="$(ProjectDir)..\..\sofia-sip\win32\gawk.exe" if not exist "$(ProjectDir)..\..\sofia-sip\libsofia-sip-ua\http\http_parser_table.c" "autogen.cmd" if not exist "$(ProjectDir)$(IntDir)\auth_client.obj" "autogen.cmd" @@ -179,8 +177,7 @@ if not exist "$(ProjectDir)$(IntDir)\auth_client.obj" "autogen.cmd" - if not exist "$(ProjectDir)..\..\sofia-sip\win32\gawk.exe" cscript /nologo "$(ProjectDir)..\util.vbs" Get http://files.freeswitch.org/downloads/win32/gawk.exe "$(ProjectDir)..\..\sofia-sip\win32\" -cd /D "$(ProjectDir)..\..\sofia-sip\win32\" + cd /D "$(ProjectDir)..\..\sofia-sip\win32\" set AWK="$(ProjectDir)..\..\sofia-sip\win32\gawk.exe" if not exist "$(ProjectDir)..\..\sofia-sip\libsofia-sip-ua\http\http_parser_table.c" "autogen.cmd" if not exist "$(ProjectDir)$(IntDir)\auth_client.obj" "autogen.cmd" @@ -514,10 +511,6 @@ if not exist "$(ProjectDir)$(IntDir)\auth_client.obj" "autogen.cmd" - - {8b3b4c4c-13c2-446c-beb0-f412cc2cfb9a} - false - {df018947-0fff-4eb3-bdee-441dc81da7a4} false diff --git a/libs/win32/speex/libspeex.2017.vcxproj b/libs/win32/speex/libspeex.2017.vcxproj index 990bba9591..30945d77fe 100644 --- a/libs/win32/speex/libspeex.2017.vcxproj +++ b/libs/win32/speex/libspeex.2017.vcxproj @@ -65,6 +65,7 @@ libspeex + StaticLibrary MultiByte @@ -637,11 +638,6 @@ - - - {1bdab935-27dc-47e3-95ea-17e024d39c31} - - diff --git a/libs/win32/speex/libspeexdsp.2017.vcxproj b/libs/win32/speex/libspeexdsp.2017.vcxproj index a62eacefda..23b7199f4c 100644 --- a/libs/win32/speex/libspeexdsp.2017.vcxproj +++ b/libs/win32/speex/libspeexdsp.2017.vcxproj @@ -41,6 +41,7 @@ 8.1 + StaticLibrary MultiByte @@ -374,11 +375,6 @@ - - - {1bdab935-27dc-47e3-95ea-17e024d39c31} - - diff --git a/libs/win32/sphinxbase/sphinxbase.2017.vcxproj b/libs/win32/sphinxbase/sphinxbase.2017.vcxproj index 2b4fd6cb22..9babe94f5c 100644 --- a/libs/win32/sphinxbase/sphinxbase.2017.vcxproj +++ b/libs/win32/sphinxbase/sphinxbase.2017.vcxproj @@ -24,6 +24,8 @@ sphinxbase + + DynamicLibrary false @@ -643,16 +645,6 @@ - - - {4f92b672-dadb-4047-8d6a-4bb3796733fd} - false - - - {2dee4895-1134-439c-b688-52203e57d878} - false - - diff --git a/libs/win32/sqlite/sqlite.2017.vcxproj b/libs/win32/sqlite/sqlite.2017.vcxproj index 3c85ec0763..d5b5a3af5c 100644 --- a/libs/win32/sqlite/sqlite.2017.vcxproj +++ b/libs/win32/sqlite/sqlite.2017.vcxproj @@ -41,6 +41,7 @@ Win32Proj + DynamicLibrary MultiByte @@ -327,11 +328,6 @@ - - - {97d25665-34cd-4e0c-96e7-88f0795b8883} - - diff --git a/libs/win32/util.vbs b/libs/win32/util.vbs deleted file mode 100644 index e8bfce9953..0000000000 --- a/libs/win32/util.vbs +++ /dev/null @@ -1,490 +0,0 @@ -' -' Contributor(s): -' Michael Jerris -' David A. Horner http://dave.thehorners.com -'---------------------------------------------- - -' ************** -' Initialization -' ************** - -Set WshShell = CreateObject("WScript.Shell") -Set FSO = CreateObject("Scripting.FileSystemObject") -Set WshSysEnv = WshShell.Environment("SYSTEM") -Set xml = CreateObject("Msxml2.ServerXMLHTTP") -Dim UseWgetEXE - -On Error Resume Next -Set oStream = CreateObject("Adodb.Stream") -On Error Goto 0 - -If Not IsObject(oStream) Then - wscript.echo("Failed to create Adodb.Stream, using alternative download method.") - UseWgetEXE=true -Else - UseWgetEXE=false -End If -Randomize -Set objArgs = WScript.Arguments -quote=Chr(34) -ScriptDir=Left(WScript.ScriptFullName,Len(WScript.ScriptFullName)-Len(WScript.ScriptName)) -UtilsDir=Showpath(ScriptDir) -ToolsBase="http://files.freeswitch.org/downloads/win32/" - -If UseWgetEXE Then - GetWgetEXE UtilsDir -End If - -If objArgs.Count >=3 Then - Select Case objArgs(0) - Case "Get" - Wget objArgs(1), Showpath(objArgs(2)) - Case "GetUnzip" - WgetUnCompress objArgs(1), Showpath(objArgs(2)) - Case "GetUnzipSounds" - WgetSounds objArgs(1), objArgs(2), Showpath(objArgs(3)), objArgs(4) - Case "Version" - 'CreateVersion(tmpFolder, VersionDir, includebase, includedest) - CreateVersion Showpath(objArgs(1)), Showpath(objArgs(2)), objArgs(3), objArgs(4) - End Select -End If - -If objArgs.Count = 2 Then - Select Case objArgs(0) - Case "GetYasmEXE" - GetYasmEXE objArgs(1) - Case "GetVSYasmEXE" - GetVSYasmEXE objArgs(1) - End Select -End If - -' ******************* -' Utility Subroutines -' ******************* - -Sub WgetSounds(PrimaryName, Freq, DestFolder, VersionFile) - BaseURL = "http://files.freeswitch.org/releases/sounds/freeswitch-sounds" - Set objFSO = CreateObject("Scripting.FileSystemObject") - Set objTextFile = objFSO.OpenTextFile(VersionFile,1) - Do Until objTextFile.AtEndOfStream - strLine = objTextFile.Readline - if Len(strLine) > 2 then - versionPos = InstrRev(strLine, " ", -1, 1) - name = Left(strLine, versionPos-1) - if name = PrimaryName Then - version = Right(strLine, Len(strLine) - versionPos) - Wscript.Echo "Sound name: " & name & " Version " & version - URL = BaseURL & "-" & name & "-" & Freq &"-" & version & ".tar.gz" - Wscript.Echo "URL: " & URL - WgetUnCompress URL, Showpath(DestFolder) - End If - End if - Loop -End Sub - -Sub WgetUnCompress(URL, DestFolder) - If Right(DestFolder, 1) <> "\" Then DestFolder = DestFolder & "\" End If - StartPos = InstrRev(URL, "/", -1, 1) - strlength = Len(URL) - filename=Right(URL,strlength-StartPos) - NameEnd = InstrRev(filename, ".",-1, 1) - filestrlength = Len(filename) - filebase = Left(filename,NameEnd) - fileext = Right(filename, Len(filename) - NameEnd) - Wget URL, DestFolder - If fileext = "zip" Then - UnCompress Destfolder & filename, DestFolder - Else - UnCompress Destfolder & filename, DestFolder - End If -End Sub - -Sub GetCompressionTools(DestFolder) - Dim tries - Dim max_tries - Dim MyFile - - tries = 0 - max_tries = 10 - If Right(DestFolder, 1) <> "\" Then DestFolder = DestFolder & "\" End If - If Not FSO.FileExists(DestFolder & "7za1701.exe") Then - On Error Resume Next - Set MyFile = FSO.CreateTextFile(DestFolder & "7za.tag", False) - If Err <> 0 Then Wscript.echo("Downloading 7za: " & DestFolder & "7za.tag - " & Err.Description) End If - On Error Goto 0 - If Not IsEmpty(MyFile) Then - MyFile.WriteLine("This file marks a pending download for 7za1701.exe so we don't download it twice at the same time") - MyFile.Close - Wget ToolsBase & "7za1701.exe", DestFolder - FSO.DeleteFile DestFolder & "7za.tag", true - Wscript.echo("Downloaded 7za1701.exe") - End If - Set MyFile = Nothing - WScript.Sleep(500) - End If - Do While FSO.FileExists(DestFolder & "7za.tag") And tries < max_tries - Wscript.echo("Waiting for 7za1701.exe to be downloaded") - WScript.Sleep(1000) - tries = tries + 1 - Loop - If tries = max_tries Then - Wscript.echo("ERROR: Download of 7za1701.exe takes too much time") - Wscript.quit 99 - End If -End Sub - -Sub GetWgetEXE(DestFolder) - Dim oExec - If Right(DestFolder, 1) <> "\" Then DestFolder = DestFolder & "\" End If - If Not FSO.FileExists(DestFolder & "wget.exe") Then - Slow_Wget ToolsBase & "wget.exe", DestFolder - End If -End Sub - -Sub GetYasmEXE(DestFolder) - Dim oExec - If Right(DestFolder, 1) <> "\" Then DestFolder = DestFolder & "\" End If - If Not FSO.FileExists(DestFolder & "yasm.exe") Then - Wget ToolsBase & "yasm.exe", DestFolder - End If -End Sub - -Sub GetVSYasmEXE(DestFolder) - Dim oExec - If Right(DestFolder, 1) <> "\" Then DestFolder = DestFolder & "\" End If - If Not FSO.FileExists(DestFolder & "vsyasm.exe") Then - Wget ToolsBase & "vsyasm.exe", DestFolder - End If -End Sub - -Function Strip(Str) - Set oRE = New Regexp - oRE.Pattern = "[\W_]" - oRE.Global = True - Strip = Right(oRE.Replace(Str, ""), 20) -End Function - -Sub ExecPrintOutput(Str) - Dim Process - - Set Process = WshShell.Exec(Str) - - Do - If Not Process.StdOut.atEndOfStream Then - WScript.Echo Process.StdOut.ReadLine() - End If - Loop Until (Process.Status <> 0) And (Process.StdOut.atEndOfStream) - - Process.Terminate - WScript.Sleep(500) -End Sub - -Sub UnCompress(Archive, DestFolder) - Dim Fn - Dim batname - Dim MyFile - - GetCompressionTools UtilsDir - - batname = "tmp" & Strip(Archive) & CStr(Int(10000*Rnd)) & ".bat" - wscript.echo("Extracting: " & Archive & " - using: " & batname) - Set MyFile = FSO.CreateTextFile(UtilsDir & batname, True) - MyFile.WriteLine("@" & quote & UtilsDir & "7za1701.exe" & quote & " x " & quote & Archive & quote & " -y -o" & quote & DestFolder & quote ) - MyFile.Close - Set MyFile = Nothing - ExecPrintOutput(UtilsDir & batname) - wscript.echo("Ready extracting: " & Archive) - Fn = fso.GetParentFolderName(Archive) & "\" & FSO.getbasename(Archive) - If FSO.FileExists(Fn) Then - Set MyFile = FSO.CreateTextFile(UtilsDir & batname, True) - MyFile.WriteLine("@" & quote & UtilsDir & "7za1701.exe" & quote & " x " & quote & Fn & quote & " -y -o" & quote & DestFolder & quote ) - MyFile.Close - Set MyFile = Nothing - ExecPrintOutput(UtilsDir & batname) - wscript.echo("Ready extracting: " & Fn) - wscript.echo("Deleting: " & Fn) - FSO.DeleteFile Fn,true - End If - If FSO.FileExists(Fn) Then - Set MyFile = FSO.CreateTextFile(UtilsDir & batname, True) - MyFile.WriteLine("@" & quote & UtilsDir & "7za1701.exe" & quote & " x " & quote & Fn & quote & " -y -o" & quote & DestFolder & quote ) - MyFile.Close - Set MyFile = Nothing - ExecPrintOutput(UtilsDir & batname) - wscript.echo("Ready extracting: " & Fn ) - wscript.echo("Deleting: " & Fn) - FSO.DeleteFile Fn,true - End If - - WScript.Sleep(500) - If FSO.FileExists(UtilsDir & batname) Then - FSO.DeleteFile UtilsDir & batname, True - End If -End Sub - -Sub Wget(URL, DestFolder) - Dim MyFile - - StartPos = InstrRev(URL, "/", -1, 1) - strlength = Len(URL) - filename=Right(URL,strlength-StartPos) - If Right(DestFolder, 1) <> "\" Then DestFolder = DestFolder & "\" End If - - If UseWgetEXE Then - Wscript.echo("wget: " & URL) - batname = "tmp" & CStr(Int(10000*Rnd)) & ".bat" - Set MyFile = FSO.CreateTextFile(UtilsDir & batname, True) - MyFile.WriteLine("@cd " & quote & DestFolder & quote) - MyFile.WriteLine("@" & quote & UtilsDir & "wget.exe" & quote & " " & URL) - MyFile.Close - Set MyFile = Nothing - ExecPrintOutput(UtilsDir & batname) - Else - Wscript.echo("XMLHTTP GET: " & URL) - - xml.Open "GET", URL, False - xml.Send - - Const adTypeBinary = 1 - Const adSaveCreateOverWrite = 2 - Const adSaveCreateNotExist = 1 - - oStream.type = adTypeBinary - oStream.open - oStream.write xml.responseBody - oStream.savetofile DestFolder & filename, adSaveCreateOverWrite - oStream.close - End If - -End Sub - -Sub Slow_Wget(URL, DestFolder) - Dim MyFile - - StartPos = InstrRev(URL, "/", -1, 1) - strlength = Len(URL) - filename=Right(URL,strlength-StartPos) - If Right(DestFolder, 1) <> "\" Then DestFolder = DestFolder & "\" End If - - Wscript.echo("Downloading: " & URL) - xml.Open "GET", URL, False - xml.Send - - const ForReading = 1 , ForWriting = 2 , ForAppending = 8 - Set MyFile = FSO.OpenTextFile(DestFolder & filename ,ForWriting, True) - For i = 1 to lenb(xml.responseBody) - MyFile.write Chr(Ascb(midb(xml.responseBody,i,1))) - Next - MyFile.Close() - Set MyFile = Nothing - -End Sub - -Function Showpath(folderspec) - Set f = FSO.GetFolder(folderspec) - showpath = f.path & "\" -End Function - - -Function FindVersionStringInConfigure(strConfigFile, strVersionString) - - Set objRegEx = CreateObject("VBScript.RegExp") - objRegEx.Pattern = "[^#]AC_SUBST\(" & strVersionString & ".*\[([^\[]*)\]" - - Set objFSO = CreateObject("Scripting.FileSystemObject") - Set objFile = objFSO.OpenTextFile(strConfigFile, 1) - strSearchString = objFile.ReadAll - objFile.Close - - Set colMatches = objRegEx.Execute(strSearchString) - - strResult = "" - If colMatches.Count > 0 Then - For Each strMatch in colMatches - strResult = objRegEx.Replace(strMatch.Value, "$1") - Next - End If - - FindVersionStringInConfigure = strResult - -End Function - -Sub FindReplaceInFile(FileName, sFind, sReplace) - Const OpenAsASCII = 0 ' Opens the file as ASCII (TristateFalse) - Const OpenAsUnicode = -1 ' Opens the file as Unicode (TristateTrue) - Const OpenAsDefault = -2 ' Opens the file using the system default - - Const OverwriteIfExist = -1 - Const FailIfNotExist = 0 - Const ForReading = 1 - - Set fOrgFile = FSO.OpenTextFile(FileName, ForReading, FailIfNotExist, OpenAsASCII) -' Wscript.echo("FindReplaceInFile: " & FileName & " s/" & sFind & "/" & sReplace) - sText = fOrgFile.ReadAll - fOrgFile.Close - sText = Replace(sText, sFind, sReplace) - Set fNewFile = FSO.CreateTextFile(FileName, OverwriteIfExist, OpenAsASCII) - fNewFile.WriteLine sText - fNewFile.Close -End Sub - -Function ExecAndGetResult(tmpFolder, VersionDir, execStr) - Dim MyFile - - Set MyFile = FSO.CreateTextFile(tmpFolder & "tmpExec.Bat", True) - MyFile.WriteLine("@" & "cd " & quote & VersionDir & quote) - MyFile.WriteLine("@" & execStr) - MyFile.Close - Set MyFile = Nothing - - Set oExec = WshShell.Exec("cmd /C " & quote & tmpFolder & "tmpExec.Bat" & quote) - - ExecAndGetResult = Trim(OExec.StdOut.ReadLine()) - - Do - Loop Until (oExec.Status <> 0) And (oExec.StdOut.atEndOfStream) - - oExec.Terminate - WScript.Sleep(500) - - FSO.DeleteFile(tmpFolder & "tmpExec.Bat") - -End Function - -Function ExecAndGetExitCode(tmpFolder, VersionDir, execStr) - Dim MyFile - - Set MyFile = FSO.CreateTextFile(tmpFolder & "tmpExec.Bat", True) - MyFile.WriteLine("@" & "cd " & quote & VersionDir & quote) - MyFile.WriteLine("@" & execStr) - MyFile.WriteLine("@exit %ERRORLEVEL%") - MyFile.Close - Set MyFile = Nothing - - ExecAndGetExitCode = WshShell.Run("cmd /C " & quote & tmpFolder & "tmpExec.Bat" & quote, 0, True) - - FSO.DeleteFile(tmpFolder & "tmpExec.Bat") - -End Function - -Function pd(n, totalDigits) - If totalDigits > len(n) then - pd = String(totalDigits-len(n),"0") & n - Else - pd = n - End If -End Function - -Function GetTimeUTC() - - iOffset = WshShell.RegRead("HKLM\System\CurrentControlSet\Control\TimeZoneInformation\ActiveTimeBias") - - If IsNumeric(iOffset) Then - GetTimeUTC = DateAdd("n", iOffset, Now()) - Else - GetTimeUTC = Now() - End If - -End Function - -Sub CreateVersion(tmpFolder, VersionDir, includebase, includedest) - Dim oExec - - Wscript.echo("Checking if we're building a newer git version") - - strVerMajor = FindVersionStringInConfigure(VersionDir & "configure.ac", "SWITCH_VERSION_MAJOR") - strVerMinor = FindVersionStringInConfigure(VersionDir & "configure.ac", "SWITCH_VERSION_MINOR") - strVerMicro = FindVersionStringInConfigure(VersionDir & "configure.ac", "SWITCH_VERSION_MICRO") - strVerRev = FindVersionStringInConfigure(VersionDir & "configure.ac", "SWITCH_VERSION_REVISION") - strVerHuman = FindVersionStringInConfigure(VersionDir & "configure.ac", "SWITCH_VERSION_REVISION_HUMAN") - - 'Set version to the one reported by configure.in - If strVerRev <> "" Then - VERSION = strVerRev - End If - - Dim sLastFile - Const ForReading = 1 - Const ShowUnclean = False 'Don't show unclean state for now - - 'Try To read revision from git - If FSO.FolderExists(VersionDir & ".git") Then - 'Get timestamp for last commit - strFromProc = ExecAndGetResult(tmpFolder, VersionDir, "git log -n1 --format=" & quote & "%%ct" & quote & " HEAD") - If IsNumeric(strFromProc) Then - lastChangedDateTime = DateAdd("s", strFromProc, "01/01/1970 00:00:00") - strLastCommit = YEAR(lastChangedDateTime) & Pd(Month(lastChangedDateTime), 2) & Pd(DAY(lastChangedDateTime), 2) & "T" & Pd(Hour(lastChangedDateTime), 2) & Pd(Minute(lastChangedDateTime), 2) & Pd(Second(lastChangedDateTime), 2) & "Z" - strLastCommitHuman = YEAR(lastChangedDateTime) & "-" & Pd(Month(lastChangedDateTime), 2) & "-" & Pd(DAY(lastChangedDateTime), 2) & " " & Pd(Hour(lastChangedDateTime), 2) & ":" & Pd(Minute(lastChangedDateTime), 2) & ":" & Pd(Second(lastChangedDateTime), 2) & "Z" - Else - strLastCommit = "" - strLastCommitHuman = "" - End If - - 'Get revision hash - strRevision = ExecAndGetResult(tmpFolder, VersionDir, "git rev-list -n1 --abbrev=10 --abbrev-commit HEAD") - strRevisionHuman = ExecAndGetResult(tmpFolder, VersionDir, "git rev-list -n1 --abbrev=7 --abbrev-commit HEAD") - - If strLastCommit <> "" And strLastCommitHuman <> "" And strRevision <> "" And strRevisionHuman <> "" Then - 'Build version string - strGitVer = "+git~" & strLastCommit & "~" & strRevision - strVerHuman = "git " & strRevisionHuman & " " & strLastCommitHuman - - 'Check for local changes, if found, append to git revision string - If ShowUnclean Then - If ExecAndGetExitCode(tmpFolder, VersionDir, "git diff-index --quiet HEAD") <> 0 Then - lastChangedDateTime = GetTimeUTC() - strGitVer = strGitVer & "+unclean~" & YEAR(lastChangedDateTime) & Pd(Month(lastChangedDateTime), 2) & Pd(DAY(lastChangedDateTime), 2) & "T" & Pd(Hour(lastChangedDateTime), 2) & Pd(Minute(lastChangedDateTime), 2) & Pd(Second(lastChangedDateTime), 2) & "Z" - strVerHuman = strVerHuman & " unclean " & YEAR(lastChangedDateTime) & "-" & Pd(Month(lastChangedDateTime), 2) & "-" & Pd(DAY(lastChangedDateTime), 2) & " " & Pd(Hour(lastChangedDateTime), 2) & ":" & Pd(Minute(lastChangedDateTime), 2) & ":" & Pd(Second(lastChangedDateTime), 2) & "Z" - End If - End If - Else - strGitVer = "" - strVerHuman = "" - End If - - VERSION=VERSION & strGitVer - - sLastVersion = "" - Set sLastFile = FSO.OpenTextFile(tmpFolder & "lastversion", ForReading, True, OpenAsASCII) - If Not sLastFile.atEndOfStream Then - sLastVersion = sLastFile.ReadLine() - End If - sLastFile.Close - Set sLastFile = Nothing - End If - - Source = "source code" - If FSO.GetExtensionName(includedest) <> "inc" Then - Dim IncFn - - IncFn = VersionDir & "\w32\Library\switch_version.inc" - If FSO.FileExists(IncFn) Then - Wscript.echo("CreateVersion: deleting - " & IncFn) - FSO.DeleteFile IncFn - End If - Else - Source = "resource files" - End If - - sNewVersion = VERSION & " " & strVerHuman - If sNewVersion <> sLastVersion Or not FSO.FileExists(includedest) Then - Dim MyFile - - Set MyFile = FSO.CreateTextFile(tmpFolder & "lastversion", True) - MyFile.WriteLine(sNewVersion) - MyFile.Close - Set MyFile = Nothing - - Wscript.echo("Updating " & Source & " from " & sLastVersion & " to " & sNewVersion) - - FSO.CopyFile includebase, includedest, true - FindReplaceInFile includedest, "@SWITCH_VERSION_REVISION@", VERSION - FindReplaceInFile includedest, "@SWITCH_VERSION_MAJOR@", strVerMajor - FindReplaceInFile includedest, "@SWITCH_VERSION_MINOR@", strVerMinor - FindReplaceInFile includedest, "@SWITCH_VERSION_MICRO@", strVerMicro - FindReplaceInFile includedest, "@SWITCH_VERSION_REVISION_HUMAN@", strVerHuman - FindReplaceInFile includedest, "@SWITCH_VERSION_YEAR@", YEAR(lastChangedDateTime) - End If - -End Sub - diff --git a/msbuild.cmd b/msbuild.cmd new file mode 100644 index 0000000000..e165c5e55b --- /dev/null +++ b/msbuild.cmd @@ -0,0 +1,20 @@ +@REM check and set VS2017 environment +rem VS2017U2 contains vswhere.exe +if "%VSWHERE%"=="" set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" + +rem Use %ProgramFiles% in a 32-bit program prior to Windows 10) +If Not Exist "%VSWHERE%" set "VSWHERE=%ProgramFiles%\Microsoft Visual Studio\Installer\vswhere.exe" + +If Not Exist "%VSWHERE%" ( + echo "WARNING: Can't find vswhere.exe. It is a part of VS 2017 version 15.2 or later. Trying known path..." + set "InstallDir=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community" +) ELSE ( + for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do ( + set InstallDir=%%i + ) +) + +echo Install dir is "%InstallDir%" +if exist "%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" ( + set msbuild="%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" +) diff --git a/src/include/switch_channel.h b/src/include/switch_channel.h index 86d6769bc6..8e24893fdc 100644 --- a/src/include/switch_channel.h +++ b/src/include/switch_channel.h @@ -320,6 +320,9 @@ SWITCH_DECLARE(switch_status_t) switch_channel_get_variables(switch_channel_t *c SWITCH_DECLARE(switch_status_t) switch_channel_pass_callee_id(switch_channel_t *channel, switch_channel_t *other_channel); +static inline int switch_channel_var_false(switch_channel_t *channel, const char *variable) { + return switch_false(switch_channel_get_variable_dup(channel, variable, SWITCH_FALSE, -1)); +} static inline int switch_channel_var_true(switch_channel_t *channel, const char *variable) { return switch_true(switch_channel_get_variable_dup(channel, variable, SWITCH_FALSE, -1)); diff --git a/src/include/switch_core.h b/src/include/switch_core.h index d597c601a3..298639d6ab 100644 --- a/src/include/switch_core.h +++ b/src/include/switch_core.h @@ -409,7 +409,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_bug_remove_all_function(_In_ s #define switch_core_media_bug_remove_all(_s) switch_core_media_bug_remove_all_function(_s, NULL) SWITCH_DECLARE(switch_status_t) switch_core_media_bug_enumerate(switch_core_session_t *session, switch_stream_handle_t *stream); -SWITCH_DECLARE(switch_status_t) switch_core_media_bug_transfer_recordings(switch_core_session_t *orig_session, switch_core_session_t *new_session); SWITCH_DECLARE(switch_status_t) switch_core_media_bug_transfer_callback(switch_core_session_t *orig_session, switch_core_session_t *new_session, switch_media_bug_callback_t callback, void * (*user_data_dup_func) (switch_core_session_t *, void *)); @@ -1943,6 +1942,12 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_set_string(_In_ switch_file_han */ SWITCH_DECLARE(switch_status_t) switch_core_file_get_string(_In_ switch_file_handle_t *fh, switch_audio_col_t col, const char **string); +/*! + \brief Pre close an open file handle, then can get file size etc., no more wirte to the file + \param fh the file handle to close + \return SWITCH_STATUS_SUCCESS if the file handle was pre closed +*/ +SWITCH_DECLARE(switch_status_t) switch_core_file_pre_close(_In_ switch_file_handle_t *fh); /*! \brief Close an open file handle diff --git a/src/include/switch_cpp.h b/src/include/switch_cpp.h index 1e050b2846..21126ea571 100644 --- a/src/include/switch_cpp.h +++ b/src/include/switch_cpp.h @@ -316,6 +316,10 @@ SWITCH_DECLARE(bool) email(char *to, char *from, char *headers = NULL, char *bod SWITCH_DECLARE(char *) read(int min_digits, int max_digits, const char *prompt_audio_file, int timeout, const char *valid_terminators, int digit_timeout = 0); + + SWITCH_DECLARE(void) detectSpeech(char *arg0, char *arg1 = NULL, char *arg2 = NULL, char *arg3 = NULL); + + /** \brief Play a file into channel and collect dtmfs * * See API docs in switch_ivr.h: switch_play_and_get_digits(..) @@ -331,6 +335,14 @@ SWITCH_DECLARE(bool) email(char *to, char *from, char *headers = NULL, char *bod char *digits_regex, const char *var_name = NULL, int digit_timeout = 0, const char *transfer_on_failure = NULL); + + /** \brief Play a file and detect speech + * See API docs switch_ivr_play_and_detect_speech(...) + */ + + SWITCH_DECLARE(char *) playAndDetectSpeech(char *file, char *engine, char *grammar); + + /** \brief Play a file that resides on disk into the channel * * \param file - the path to the .wav/.mp3 to be played diff --git a/src/include/switch_ivr.h b/src/include/switch_ivr.h index a142927568..3525ab28ff 100644 --- a/src/include/switch_ivr.h +++ b/src/include/switch_ivr.h @@ -66,11 +66,11 @@ SWITCH_BEGIN_EXTERN_C struct switch_unicast_conninfo { typedef struct switch_unicast_conninfo switch_unicast_conninfo_t; #define SWITCH_IVR_VERIFY_SILENCE_DIVISOR(divisor) \ - { \ + do { \ if ((divisor) <= 0 && (divisor) != -1) { \ divisor = 400; \ } \ - } + } while (0) /** * @defgroup switch_ivr IVR Library @@ -510,7 +510,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess const char *cid_name_override, const char *cid_num_override, switch_caller_profile_t *caller_profile_override, - switch_event_t *ovars, switch_originate_flag_t flags, switch_call_cause_t *cancel_cause); + switch_event_t *ovars, switch_originate_flag_t flags, + switch_call_cause_t *cancel_cause, + switch_dial_handle_t *dh); SWITCH_DECLARE(switch_status_t) switch_ivr_enterprise_originate(switch_core_session_t *session, switch_core_session_t **bleg, @@ -540,6 +542,14 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(_In_ switch_cor switch_input_callback_function_t dtmf_callback, void *session_data, void *peer_session_data); +/*! + \brief Bridge leaving b-leg in the control of another thread. Call from b-leg first then call switch_ivr_multi_threaded_bridge on a-leg and b-leg. + \param session b-leg session + \return SWITCH_STATUS_SUCCESS if all is well +*/ +SWITCH_DECLARE(switch_status_t) switch_ivr_bridge_bleg(switch_core_session_t *session, switch_core_session_t *peer_session, uint32_t max_wait_ms); + + /*! \brief Bridge Signalling from one session to another \param session one session @@ -1024,6 +1034,22 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_video_write_overlay_session(switch_co SWITCH_DECLARE(switch_status_t) switch_ivr_capture_text(switch_core_session_t *session, switch_bool_t on); +SWITCH_DECLARE(switch_status_t) switch_dial_handle_create(switch_dial_handle_t **handle); +SWITCH_DECLARE(void) switch_dial_handle_destroy(switch_dial_handle_t **handle); +SWITCH_DECLARE(void) switch_dial_handle_add_leg_list(switch_dial_handle_t *handle, switch_dial_leg_list_t **leg_listP); +SWITCH_DECLARE(void) switch_dial_leg_list_add_leg(switch_dial_leg_list_t *parent, switch_dial_leg_t **legP, const char *dial_string); +SWITCH_DECLARE(void) switch_dial_leg_list_add_leg_printf(switch_dial_leg_list_t *parent, switch_dial_leg_t **legP, const char *fmt, ...); +SWITCH_DECLARE(void) switch_dial_handle_add_global_var(switch_dial_handle_t *handle, const char *var, const char *val); +SWITCH_DECLARE(void) switch_dial_handle_add_global_var_printf(switch_dial_handle_t *handle, const char *var, const char *fmt, ...); +SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var(switch_dial_leg_t *leg, const char *var, const char *val); +SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var_printf(switch_dial_leg_t *leg, const char *var, const char *fmt, ...); +SWITCH_DECLARE(int) switch_dial_handle_get_peers(switch_dial_handle_t *handle, int idx, char **array, int max); +SWITCH_DECLARE(int) switch_dial_handle_get_vars(switch_dial_handle_t *handle, int idx, switch_event_t **array, int max); +SWITCH_DECLARE(switch_event_t *) switch_dial_handle_get_global_vars(switch_dial_handle_t *handle); +SWITCH_DECLARE(switch_event_t *) switch_dial_leg_get_vars(switch_dial_leg_t *leg); +SWITCH_DECLARE(int) switch_dial_handle_get_total(switch_dial_handle_t *handle); +SWITCH_DECLARE(void) switch_ivr_orig_and_bridge(switch_core_session_t *session, const char *data, switch_dial_handle_t *dh); + /** @} */ SWITCH_END_EXTERN_C diff --git a/src/include/switch_module_interfaces.h b/src/include/switch_module_interfaces.h index 067660253f..798695d090 100644 --- a/src/include/switch_module_interfaces.h +++ b/src/include/switch_module_interfaces.h @@ -298,6 +298,8 @@ struct switch_file_interface { switch_status_t (*file_set_string) (switch_file_handle_t *fh, switch_audio_col_t col, const char *string); /*! function to get meta data */ switch_status_t (*file_get_string) (switch_file_handle_t *fh, switch_audio_col_t col, const char **string); + /*! function to pre close the file to read params */ + switch_status_t (*file_pre_close) (switch_file_handle_t *fh); /*! function to control the underlying tech of the file */ switch_status_t (*file_command) (switch_file_handle_t *fh, switch_file_command_t command); /*! list of supported file extensions */ diff --git a/src/include/switch_rtp.h b/src/include/switch_rtp.h index 5566d36ff6..41e8637683 100644 --- a/src/include/switch_rtp.h +++ b/src/include/switch_rtp.h @@ -65,6 +65,7 @@ typedef enum { typedef struct switch_srtp_crypto_suite_s { char *name; + const char *alias; switch_rtp_crypto_key_type_t type; int keysalt_len; int salt_len; diff --git a/src/include/switch_types.h b/src/include/switch_types.h index a85d7be59a..926c8a6bea 100644 --- a/src/include/switch_types.h +++ b/src/include/switch_types.h @@ -583,12 +583,22 @@ typedef enum { typedef uint32_t switch_caller_profile_flag_t; typedef enum { + // flags matching libsndfile SWITCH_AUDIO_COL_STR_TITLE = 0x01, SWITCH_AUDIO_COL_STR_COPYRIGHT = 0x02, SWITCH_AUDIO_COL_STR_SOFTWARE = 0x03, SWITCH_AUDIO_COL_STR_ARTIST = 0x04, SWITCH_AUDIO_COL_STR_COMMENT = 0x05, - SWITCH_AUDIO_COL_STR_DATE = 0x06 + SWITCH_AUDIO_COL_STR_DATE = 0x06, + SWITCH_AUDIO_COL_STR_ALBUM = 0x07, + SWITCH_AUDIO_COL_STR_LICENSE = 0x08, + SWITCH_AUDIO_COL_STR_TRACKNUMBER = 0x09, + SWITCH_AUDIO_COL_STR_GENRE = 0x10, + + // custom flags + SWITCH_AUDIO_COL_STR_FILE_SIZE = 0xF0, + SWITCH_AUDIO_COL_STR_FILE_TRIMMED = 0xF1, + SWITCH_AUDIO_COL_STR_FILE_TRIMMED_MS = 0xF2 } switch_audio_col_t; typedef enum { @@ -1356,6 +1366,7 @@ CF_ACCEPT_CNG - Channel will accept CNG frames CF_REDIRECT - Channel is being redirected CF_BRIDGED - Channel in a bridge CF_HOLD - Channel is on hold +CF_HOLD_BLEG - B leg is on hold CF_SERVICE - Channel has a service thread CF_TAGGED - Channel is tagged CF_WINNER - Channel is the winner @@ -1407,6 +1418,7 @@ typedef enum { CF_REDIRECT, CF_BRIDGED, CF_HOLD, + CF_HOLD_BLEG, CF_SERVICE, CF_TAGGED, CF_WINNER, @@ -1559,6 +1571,8 @@ typedef enum { CF_AWAITING_STREAM_CHANGE, CF_PROCESSING_STREAM_CHANGE, CF_STREAM_CHANGED, + CF_ARRANGED_BRIDGE, + CF_STATE_REPEAT, /* WARNING: DO NOT ADD ANY FLAGS BELOW THIS LINE */ /* IF YOU ADD NEW ONES CHECK IF THEY SHOULD PERSIST OR ZERO THEM IN switch_core_session.c switch_core_session_request_xml() */ CF_FLAG_MAX @@ -2776,6 +2790,16 @@ typedef struct secure_settings_s { /* max number of MKI in a single crypto line supported */ #define SWITCH_CRYPTO_MKI_MAX 20 +struct switch_dial_handle_s; +typedef struct switch_dial_handle_s switch_dial_handle_t; + +struct switch_dial_leg_s; +typedef struct switch_dial_leg_s switch_dial_leg_t; + +struct switch_dial_leg_list_s; +typedef struct switch_dial_leg_list_s switch_dial_leg_list_t; + + SWITCH_END_EXTERN_C #endif /* For Emacs: diff --git a/src/include/switch_utils.h b/src/include/switch_utils.h index 4b7d949579..10242525f1 100644 --- a/src/include/switch_utils.h +++ b/src/include/switch_utils.h @@ -992,6 +992,7 @@ SWITCH_DECLARE(const char *) switch_stristr(const char *instr, const char *str); SWITCH_DECLARE(switch_bool_t) switch_is_lan_addr(const char *ip); SWITCH_DECLARE(char *) switch_replace_char(char *str, char from, char to, switch_bool_t dup); SWITCH_DECLARE(switch_bool_t) switch_ast2regex(const char *pat, char *rbuf, size_t len); +SWITCH_DECLARE(char *) switch_pool_strip_whitespace(switch_memory_pool_t *pool, const char *str); /*! \brief Escape a string by prefixing a list of characters with an escape character @@ -1087,7 +1088,7 @@ static inline int32_t switch_parse_bandwidth_string(const char *bwv) static inline uint32_t switch_parse_cpu_string(const char *cpu) { int cpu_count = switch_core_cpu_count(); - int ncpu = cpu_count; + int ncpu; if (!cpu) return 1; diff --git a/src/include/switch_vad.h b/src/include/switch_vad.h index 8cc6c63f05..d2a7f4a816 100644 --- a/src/include/switch_vad.h +++ b/src/include/switch_vad.h @@ -52,6 +52,8 @@ SWITCH_DECLARE(switch_vad_state_t) switch_vad_process(switch_vad_t *vad, int16_t SWITCH_DECLARE(void) switch_vad_reset(switch_vad_t *vad); SWITCH_DECLARE(void) switch_vad_destroy(switch_vad_t **vad); +SWITCH_DECLARE(const char *) switch_vad_state2str(switch_vad_state_t state); + SWITCH_END_EXTERN_C #endif /* For Emacs: diff --git a/src/mod/applications/mod_av/avcodec.c b/src/mod/applications/mod_av/avcodec.c index f6629413c2..39b426acd6 100644 --- a/src/mod/applications/mod_av/avcodec.c +++ b/src/mod/applications/mod_av/avcodec.c @@ -45,6 +45,8 @@ int SLICE_SIZE = SWITCH_DEFAULT_VIDEO_SIZE; #define H263_MODE_B // else Mode A only #define KEY_FRAME_MIN_FREQ 250000 +// #define DUMP_ENCODER_CTX + SWITCH_MODULE_LOAD_FUNCTION(mod_avcodec_load); SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_avcodec_shutdown); @@ -103,6 +105,207 @@ const uint8_t *fs_avc_find_startcode(const uint8_t *p, const uint8_t *end){ return out; } +static void dump_encoder_ctx(AVCodecContext *ctx) +{ +#ifdef DUMP_ENCODER_CTX +#define STRINGIFY(x) #x +#define my_dump_int(x) switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_ERROR, STRINGIFY(x) " = %d\n", ctx->x); +#define my_dump_int64(x) switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_ERROR, STRINGIFY(x) " = % " SWITCH_INT64_T_FMT "\n", ctx->x); +#define my_dump_float(x) switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_ERROR, STRINGIFY(x) " = %f\n", ctx->x); +#define my_dump_enum(x) switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_ERROR, STRINGIFY(x) " = %d\n", ctx->x); +#define my_dump_uint(x) switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_ERROR, STRINGIFY(x) " = 0x%x\n", ctx->x); + + my_dump_int(log_level_offset); + my_dump_enum(codec_type); /* see AVMEDIA_TYPE_xxx */ + my_dump_enum(codec_id); /* see AV_CODEC_ID_xxx */ + my_dump_int(codec_tag); + my_dump_int64(bit_rate); + my_dump_int(bit_rate_tolerance); + my_dump_int(global_quality); + my_dump_int(compression_level); + my_dump_uint(flags); + my_dump_uint(flags2); + my_dump_int(extradata_size); + my_dump_int(time_base.num); + my_dump_int(time_base.den); + my_dump_int(ticks_per_frame); + my_dump_int(delay); + my_dump_int(width); + my_dump_int(height); + my_dump_int(coded_width); + my_dump_int(coded_height); + my_dump_int(gop_size); + my_dump_enum(pix_fmt); + my_dump_int(max_b_frames); + my_dump_float(b_quant_factor); + my_dump_float(b_quant_offset); + my_dump_int(has_b_frames); + my_dump_float(i_quant_factor); + my_dump_float(i_quant_offset); + my_dump_float(lumi_masking); + my_dump_float(temporal_cplx_masking); + my_dump_float(spatial_cplx_masking); + my_dump_float(p_masking); + my_dump_float(dark_masking); + my_dump_int(slice_count); + my_dump_int(sample_aspect_ratio.num); + my_dump_int(sample_aspect_ratio.den); + my_dump_int(me_cmp); + my_dump_int(me_sub_cmp); + my_dump_int(mb_cmp); + my_dump_int(ildct_cmp); + my_dump_int(dia_size); + my_dump_int(last_predictor_count); + my_dump_int(me_pre_cmp); + my_dump_int(pre_dia_size); + my_dump_int(me_subpel_quality); + my_dump_int(me_range); + my_dump_uint(slice_flags); + my_dump_int(mb_decision); + my_dump_int(scenechange_threshold); + my_dump_int(noise_reduction); + // my_dump_int(me_threshold); + // my_dump_int(mb_threshold); + my_dump_int(intra_dc_precision); + my_dump_int(skip_top); + my_dump_int(skip_bottom); + my_dump_int(mb_lmin); + my_dump_int(mb_lmax); + my_dump_int(me_penalty_compensation); + my_dump_int(bidir_refine); + my_dump_int(brd_scale); + my_dump_int(keyint_min); + my_dump_int(refs); + my_dump_int(chromaoffset); + my_dump_int(mv0_threshold); + my_dump_int(b_sensitivity); + my_dump_enum(color_primaries); + my_dump_enum(color_trc); + my_dump_enum(colorspace); + my_dump_enum(color_range); + my_dump_enum(chroma_sample_location); + my_dump_int(slices); + my_dump_enum(field_order); + my_dump_int(sample_rate); ///< samples per second + my_dump_int(channels); ///< number of audio channels + my_dump_enum(sample_fmt); ///< sample format + my_dump_int(frame_size); + my_dump_int(frame_number); + my_dump_int(block_align); + my_dump_int(cutoff); + my_dump_int64(channel_layout); + my_dump_int64(request_channel_layout); + my_dump_enum(audio_service_type); + my_dump_enum(request_sample_fmt); + my_dump_int(refcounted_frames); + my_dump_float(qcompress); ///< amount of qscale change between easy & hard scenes (0.0-1.0) + my_dump_float(qblur); ///< amount of qscale smoothing over time (0.0-1.0) + my_dump_int(qmin); + my_dump_int(qmax); + my_dump_int(max_qdiff); + my_dump_int(rc_buffer_size); + my_dump_int(rc_override_count); + my_dump_int64(rc_max_rate); + my_dump_int64(rc_min_rate); + my_dump_float(rc_max_available_vbv_use); + my_dump_float(rc_min_vbv_overflow_use); + my_dump_int(rc_initial_buffer_occupancy); + my_dump_int(trellis); + my_dump_int(workaround_bugs); + my_dump_int(strict_std_compliance); + my_dump_int(error_concealment); + my_dump_int(debug); + my_dump_int(debug_mv); + my_dump_int(err_recognition); + my_dump_int64(reordered_opaque); + my_dump_int(dct_algo); + my_dump_int(idct_algo); + my_dump_int(bits_per_coded_sample); + my_dump_int(bits_per_raw_sample); + my_dump_int(lowres); + my_dump_int(thread_count); + my_dump_int(thread_type); + my_dump_int(active_thread_type); + my_dump_int(thread_safe_callbacks); + my_dump_int(nsse_weight); + my_dump_int(profile); + my_dump_int(level); + my_dump_enum(skip_loop_filter); + my_dump_enum(skip_idct); + my_dump_enum(skip_frame); + my_dump_int(subtitle_header_size); + my_dump_int(initial_padding); + my_dump_int(framerate.num); + my_dump_int(framerate.den); + my_dump_enum(sw_pix_fmt); + my_dump_int(pkt_timebase.num); + my_dump_int(pkt_timebase.den); + my_dump_int(lowres); + my_dump_int64(pts_correction_num_faulty_pts); /// Number of incorrect PTS values so far + my_dump_int64(pts_correction_num_faulty_dts); /// Number of incorrect DTS values so far + my_dump_int64(pts_correction_last_pts); /// PTS of the last frame + my_dump_int64(pts_correction_last_dts); /// DTS of the last frame + my_dump_int(sub_charenc_mode); + my_dump_int(skip_alpha); + my_dump_int(seek_preroll); + my_dump_int(debug_mv); + my_dump_int(sub_text_format); + my_dump_int(trailing_padding); + my_dump_int64(max_pixels); + my_dump_int(hwaccel_flags); + my_dump_int(apply_cropping); + +#if 0 + // depracated + my_dump_int(rc_strategy); + my_dump_int(b_frame_strategy); + my_dump_int(prediction_method); + my_dump_int(pre_me); + my_dump_int(intra_quant_bias); + my_dump_int(inter_quant_bias); + my_dump_int(xvmc_acceleration); + my_dump_int(scenechange_factor); + my_dump_float(rc_qsquish); + my_dump_float(rc_qmod_amp); + my_dump_int(rc_qmod_freq); + my_dump_float(rc_buffer_aggressivity); + my_dump_float(rc_initial_cplx); + my_dump_int(coder_type); + my_dump_int(context_model); + // my_dump_int(lmin); + // my_dump_int(lmax); + my_dump_int(frame_skip_threshold); + my_dump_int(frame_skip_factor); + my_dump_int(frame_skip_exp); + my_dump_int(frame_skip_cmp); + my_dump_int(min_prediction_order); + my_dump_int(max_prediction_order); + my_dump_int64(timecode_frame_start); + my_dump_int(rtp_payload_size); + my_dump_int(mv_bits); + my_dump_int(header_bits); + my_dump_int(i_tex_bits); + my_dump_int(p_tex_bits); + my_dump_int(i_count); + my_dump_int(p_count); + my_dump_int(skip_count); + my_dump_int(misc_bits); + my_dump_int(frame_bits); + // my_dump_int64(vbv_delay); + my_dump_int(side_data_only_packets); +#endif + + +#undef my_dump_int +#undef my_dump_int64 +#undef my_dump_float +#undef my_dump_enum +#undef my_dump_uint + +#endif +} + + /* RFC 2190 MODE A 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 @@ -195,7 +398,11 @@ typedef struct h264_codec_context_s { int hw_encoder; } h264_codec_context_t; -static uint8_t ff_input_buffer_padding[FF_INPUT_BUFFER_PADDING_SIZE] = { 0 }; +#ifndef AV_INPUT_BUFFER_PADDING_SIZE +#define AV_INPUT_BUFFER_PADDING_SIZE FF_INPUT_BUFFER_PADDING_SIZE +#endif + +static uint8_t ff_input_buffer_padding[AV_INPUT_BUFFER_PADDING_SIZE] = { 0 }; #define MAX_CODECS 4 @@ -503,8 +710,13 @@ void rtp_callback(struct AVCodecContext *avctx, void *data, int size, int mb_nb) } #endif +#ifdef WIN32 +const uint8_t *fs_h263_find_resync_marker_reverse(const uint8_t *av_restrict start, + const uint8_t *av_restrict end) +#else const uint8_t *fs_h263_find_resync_marker_reverse(const uint8_t *restrict start, const uint8_t *restrict end) +#endif { const uint8_t *p = end - 1; start += 1; /* Make sure we never return the original start. */ @@ -872,12 +1084,53 @@ static switch_status_t consume_nalu(h264_codec_context_t *context, switch_frame_ return consume_h264_bitstream(context, frame); } +static void set_h264_private_data(h264_codec_context_t *context, avcodec_profile_t *profile) +{ + if (context->hw_encoder) { + av_opt_set(context->encoder_ctx->priv_data, "preset", "llhp", 0); + av_opt_set_int(context->encoder_ctx->priv_data, "2pass", 1, 0); + return; + } + + av_opt_set(context->encoder_ctx->priv_data, "preset", "veryfast", 0); + av_opt_set(context->encoder_ctx->priv_data, "intra-refresh", "1", 0); + av_opt_set(context->encoder_ctx->priv_data, "tune", "animation+zerolatency", 0); + av_opt_set(context->encoder_ctx->priv_data, "sc_threshold", "40", 0); + av_opt_set(context->encoder_ctx->priv_data, "crf", "18", 0); + + if (profile->options) { + switch_event_header_t *hp; + + for (hp = profile->options->headers; hp; hp = hp->next) { + // switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "%s: %s\n", hp->name, hp->value); + av_opt_set(context->encoder_ctx->priv_data, hp->name, hp->value, 0); + } + } + + context->encoder_ctx->colorspace = profile->ctx.colorspace; + context->encoder_ctx->color_range = profile->ctx.color_range; + + context->encoder_ctx->flags |= profile->ctx.flags; // CODEC_FLAG_LOOP_FILTER; // flags=+loop + if (profile->ctx.me_cmp >= 0) context->encoder_ctx->me_cmp = profile->ctx.me_cmp; // cmp=+chroma, where CHROMA = 1 + if (profile->ctx.me_range >= 0) context->encoder_ctx->me_range = profile->ctx.me_range; + if (profile->ctx.max_b_frames >= 0) context->encoder_ctx->max_b_frames = profile->ctx.max_b_frames; + if (profile->ctx.refs >= 0) context->encoder_ctx->refs = profile->ctx.refs; + if (profile->ctx.gop_size >= 0) context->encoder_ctx->gop_size = profile->ctx.gop_size; + if (profile->ctx.keyint_min >= 0) context->encoder_ctx->keyint_min = profile->ctx.keyint_min; + if (profile->ctx.i_quant_factor >= 0) context->encoder_ctx->i_quant_factor = profile->ctx.i_quant_factor; + if (profile->ctx.b_quant_factor >= 0) context->encoder_ctx->b_quant_factor = profile->ctx.b_quant_factor; + if (profile->ctx.qcompress >= 0) context->encoder_ctx->qcompress = profile->ctx.qcompress; + if (profile->ctx.qmin >= 0) context->encoder_ctx->qmin = profile->ctx.qmin; + if (profile->ctx.qmax >= 0) context->encoder_ctx->qmax = profile->ctx.qmax; + if (profile->ctx.max_qdiff >= 0) context->encoder_ctx->max_qdiff = profile->ctx.max_qdiff; +} + static switch_status_t open_encoder(h264_codec_context_t *context, uint32_t width, uint32_t height) { int fps = 15; avcodec_profile_t *profile = NULL; - -#ifdef NVENC_SUPPORT + char codec_string[1024]; + if (!context->encoder) { if (context->av_codec_id == AV_CODEC_ID_H264) { if (context->codec_settings.video.try_hardware_encoder && (context->encoder = avcodec_find_encoder_by_name("nvenc_h264"))) { @@ -888,14 +1141,11 @@ static switch_status_t open_encoder(h264_codec_context_t *context, uint32_t widt } } } -#endif - if (!context->encoder) { context->encoder = avcodec_find_encoder(context->av_codec_id); } - if (!context->encoder) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot find encoder id: %d\n", context->av_codec_id); return SWITCH_STATUS_FALSE; @@ -1004,42 +1254,40 @@ FF_ENABLE_DEPRECATION_WARNINGS context->encoder_ctx->profile = profile->ctx.profile; context->encoder_ctx->level = profile->ctx.level; - if (context->hw_encoder) { - av_opt_set(context->encoder_ctx->priv_data, "preset", "llhp", 0); - av_opt_set_int(context->encoder_ctx->priv_data, "2pass", 1, 0); - } else { - if (profile->options) { - switch_event_header_t *hp; + set_h264_private_data(context, profile); + } - for (hp = profile->options->headers; hp; hp = hp->next) { - // switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "%s: %s\n", hp->name, hp->value); - av_opt_set(context->encoder_ctx->priv_data, hp->name, hp->value, 0); - } - } +GCC_DIAG_OFF(deprecated-declarations) + avcodec_string(codec_string, sizeof(codec_string), context->encoder_ctx, 0); +GCC_DIAG_ON(deprecated-declarations) - context->encoder_ctx->colorspace = profile->ctx.colorspace; - context->encoder_ctx->color_range = profile->ctx.color_range; + dump_encoder_ctx(context->encoder_ctx); - context->encoder_ctx->flags |= profile->ctx.flags; // CODEC_FLAG_LOOP_FILTER; // flags=+loop - if (profile->ctx.me_cmp >= 0) context->encoder_ctx->me_cmp = profile->ctx.me_cmp; // cmp=+chroma, where CHROMA = 1 - if (profile->ctx.me_range >= 0) context->encoder_ctx->me_range = profile->ctx.me_range; - if (profile->ctx.max_b_frames >= 0) context->encoder_ctx->max_b_frames = profile->ctx.max_b_frames; - if (profile->ctx.refs >= 0) context->encoder_ctx->refs = profile->ctx.refs; - if (profile->ctx.gop_size >= 0) context->encoder_ctx->gop_size = profile->ctx.gop_size; - if (profile->ctx.keyint_min >= 0) context->encoder_ctx->keyint_min = profile->ctx.keyint_min; - if (profile->ctx.i_quant_factor >= 0) context->encoder_ctx->i_quant_factor = profile->ctx.i_quant_factor; - if (profile->ctx.b_quant_factor >= 0) context->encoder_ctx->b_quant_factor = profile->ctx.b_quant_factor; - if (profile->ctx.qcompress >= 0) context->encoder_ctx->qcompress = profile->ctx.qcompress; - if (profile->ctx.qmin >= 0) context->encoder_ctx->qmin = profile->ctx.qmin; - if (profile->ctx.qmax >= 0) context->encoder_ctx->qmax = profile->ctx.qmax; - if (profile->ctx.max_qdiff >= 0) context->encoder_ctx->max_qdiff = profile->ctx.max_qdiff; + if (avcodec_open2(context->encoder_ctx, context->encoder, NULL) < 0) { + if (!context->hw_encoder) { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Could not open codec %s\n", codec_string); + return SWITCH_STATUS_FALSE; + } + + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Could not open hardware codec %s, trying software encoder\n", codec_string); + + context->hw_encoder = 0; + av_opt_free(context->encoder_ctx->priv_data); + set_h264_private_data(context, profile); + context->encoder = avcodec_find_encoder(context->av_codec_id); + + if (!context->encoder) { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot find encoder id: %d\n", context->av_codec_id); + return SWITCH_STATUS_FALSE; + } + + if (avcodec_open2(context->encoder_ctx, context->encoder, NULL) < 0) { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Could not open codec %s\n", codec_string); + return SWITCH_STATUS_FALSE; } } - if (avcodec_open2(context->encoder_ctx, context->encoder, NULL) < 0) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Could not open codec\n"); - return SWITCH_STATUS_FALSE; - } + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "codec opened: %s\n", codec_string); return SWITCH_STATUS_SUCCESS; } @@ -1644,10 +1892,18 @@ static void load_config() profile->ctx.qmin = -1; profile->ctx.qmax = -1; profile->ctx.max_qdiff = -1; + profile->ctx.thread_count = switch_parse_cpu_string("cpu/2/4"); + profile->decoder_thread_count = switch_parse_cpu_string("cpu/2/4"); if (!strcasecmp(CODEC_MAPS[i], "H264")) { profile->ctx.profile = FF_PROFILE_H264_BASELINE; profile->ctx.level = 41; +#ifdef AV_CODEC_FLAG_PSNR + profile->ctx.flags |= AV_CODEC_FLAG_PSNR; +#endif +#ifdef CODEC_FLAG_LOOP_FILTER + profile->ctx.flags |= CODEC_FLAG_LOOP_FILTER; +#endif } } @@ -1679,14 +1935,14 @@ static void load_config() avcodec_globals.key_frame_min_freq *= 1000; } else if (!strcmp(name, "dec-threads")) { int i; - uint threads = switch_parse_cpu_string(value); + unsigned int threads = switch_parse_cpu_string(value); for (i = 0; i < MAX_CODECS; i++) { avcodec_globals.profiles[i].decoder_thread_count = threads; } } else if (!strcmp(name, "enc-threads")) { int i; - uint threads = switch_parse_cpu_string(value); + unsigned int threads = switch_parse_cpu_string(value); for (i = 0; i < MAX_CODECS; i++) { avcodec_globals.profiles[i].ctx.thread_count = threads; diff --git a/src/mod/applications/mod_av/avformat.c b/src/mod/applications/mod_av/avformat.c index d35a853df8..84900b601c 100644 --- a/src/mod/applications/mod_av/avformat.c +++ b/src/mod/applications/mod_av/avformat.c @@ -1100,7 +1100,8 @@ GCC_DIAG_ON(deprecated-declarations) context->video_st.st = context->fc->streams[i]; if (switch_test_flag(handle, SWITCH_FILE_FLAG_VIDEO)) { context->has_video = 1; - handle->duration = av_rescale_q(context->video_st.st->duration, context->video_st.st->time_base, AV_TIME_BASE_Q); + handle->duration = av_rescale_q(context->video_st.st->duration != AV_NOPTS_VALUE ? context->video_st.st->duration : context->fc->duration / AV_TIME_BASE * 1000, + context->video_st.st->time_base, AV_TIME_BASE_Q); } if (context->video_st.st->avg_frame_rate.num) { handle->mm.source_fps = ceil(av_q2d(context->video_st.st->avg_frame_rate)); @@ -2397,7 +2398,7 @@ GCC_DIAG_OFF(deprecated-declarations) if (!context->video_start_time) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "start: %" SWITCH_INT64_T_FMT " ticks: %d ticks_per_frame: %d st num:%d st den:%d codec num:%d codec den:%d start: %" SWITCH_TIME_T_FMT ", duration:%" SWITCH_INT64_T_FMT " nb_frames:%" SWITCH_INT64_T_FMT " q2d:%f\n", context->video_start_time, ticks, st->codec->ticks_per_frame, st->time_base.num, st->time_base.den, st->codec->time_base.num, st->codec->time_base.den, - st->start_time, st->duration, st->nb_frames, av_q2d(st->time_base)); + st->start_time, st->duration == AV_NOPTS_VALUE ? context->fc->duration / AV_TIME_BASE * 1000 : st->duration, st->nb_frames, av_q2d(st->time_base)); } GCC_DIAG_ON(deprecated-declarations) diff --git a/src/mod/applications/mod_av/mod_av.2017.vcxproj b/src/mod/applications/mod_av/mod_av.2017.vcxproj index 0ce841de08..3bd1816c6f 100644 --- a/src/mod/applications/mod_av/mod_av.2017.vcxproj +++ b/src/mod/applications/mod_av/mod_av.2017.vcxproj @@ -46,7 +46,7 @@ v141 - + @@ -141,9 +141,8 @@ - - {841C345F-FCC7-4F64-8F54-0281CEABEB01} - false + + {bc1fd72e-1cd5-4525-a7f5-17c5740bfded} {202d7a4e-760d-4d0e-afa1-d7459ced30ff} diff --git a/src/mod/applications/mod_callcenter/mod_callcenter.c b/src/mod/applications/mod_callcenter/mod_callcenter.c index 2ac47a11d2..bc320eb0d2 100644 --- a/src/mod/applications/mod_callcenter/mod_callcenter.c +++ b/src/mod/applications/mod_callcenter/mod_callcenter.c @@ -1707,7 +1707,7 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa dialstr = switch_channel_expand_variables(member_channel, h->originate_string); switch_channel_set_app_flag_key(CC_APP_KEY, member_channel, CC_APP_AGENT_CONNECTING); - status = switch_ivr_originate(NULL, &agent_session, &cause, dialstr, 60, NULL, cid_name ? cid_name : h->member_cid_name, cid_number ? cid_number : h->member_cid_number, NULL, ovars, SOF_NONE, NULL); + status = switch_ivr_originate(NULL, &agent_session, &cause, dialstr, 60, NULL, cid_name ? cid_name : h->member_cid_name, cid_number ? cid_number : h->member_cid_number, NULL, ovars, SOF_NONE, NULL, NULL); /* Search for loopback agent */ if (status == SWITCH_STATUS_SUCCESS) { diff --git a/src/mod/applications/mod_cidlookup/mod_cidlookup.2017.vcxproj b/src/mod/applications/mod_cidlookup/mod_cidlookup.2017.vcxproj new file mode 100644 index 0000000000..2675c0e4ec --- /dev/null +++ b/src/mod/applications/mod_cidlookup/mod_cidlookup.2017.vcxproj @@ -0,0 +1,136 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + mod_cidlookup + mod_cidlookup + Win32Proj + {0A130A8B-3076-4619-BADF-9E86F621AEEC} + + + + DynamicLibrary + MultiByte + v141 + + + DynamicLibrary + MultiByte + v141 + + + DynamicLibrary + MultiByte + v141 + + + DynamicLibrary + MultiByte + v141 + + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + + + + + + + + false + + + + + + + X64 + + + + + + + false + + + MachineX64 + + + + + + + + + false + + + + + + + X64 + + + + + + + false + + + MachineX64 + + + + + + + + {202d7a4e-760d-4d0e-afa1-d7459ced30ff} + false + + + + + + diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index 1c3e59adfb..38a688792e 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -2976,7 +2976,7 @@ SWITCH_STANDARD_API(transfer_function) tsession = other_session; other_session = NULL; if (switch_true(switch_channel_get_variable(channel, "recording_follow_transfer"))) { - switch_core_media_bug_transfer_recordings(tmp, tsession); + switch_ivr_transfer_recordings(tmp, tsession); } switch_core_session_rwunlock(tmp); } @@ -5042,7 +5042,7 @@ SWITCH_STANDARD_API(originate_function) timeout = atoi(argv[6]); } - if (switch_ivr_originate(NULL, &caller_session, &cause, aleg, timeout, NULL, cid_name, cid_num, NULL, NULL, SOF_NONE, NULL) != SWITCH_STATUS_SUCCESS + if (switch_ivr_originate(NULL, &caller_session, &cause, aleg, timeout, NULL, cid_name, cid_num, NULL, NULL, SOF_NONE, NULL, NULL) != SWITCH_STATUS_SUCCESS || !caller_session) { stream->write_function(stream, "-ERR %s\n", switch_channel_cause2str(cause)); goto done; @@ -5334,7 +5334,7 @@ SWITCH_STANDARD_API(bgapi_function) switch_threadattr_t *thd_attr = NULL; const char *p, *arg = cmd; - char my_uuid[SWITCH_UUID_FORMATTED_LENGTH + 1]; + char my_uuid[SWITCH_UUID_FORMATTED_LENGTH + 1] = ""; if (!cmd) { stream->write_function(stream, "-ERR Invalid syntax\n"); diff --git a/src/mod/applications/mod_conference/conference_api.c b/src/mod/applications/mod_conference/conference_api.c index 96c2bc8bc4..6f6b1a41f9 100644 --- a/src/mod/applications/mod_conference/conference_api.c +++ b/src/mod/applications/mod_conference/conference_api.c @@ -112,7 +112,7 @@ api_command_t conference_api_sub_commands[] = { {"vid-mute-img", (void_fn_t) & conference_api_sub_vid_mute_img, CONF_API_SUB_MEMBER_TARGET, "vid-mute-img", " [|clear]"}, {"vid-logo-img", (void_fn_t) & conference_api_sub_vid_logo_img, CONF_API_SUB_MEMBER_TARGET, "vid-logo-img", " [|clear]"}, {"vid-codec-group", (void_fn_t) & conference_api_sub_vid_codec_group, CONF_API_SUB_MEMBER_TARGET, "vid-codec-group", " [|clear]"}, - {"vid-res-id", (void_fn_t) & conference_api_sub_vid_res_id, CONF_API_SUB_MEMBER_TARGET, "vid-res-id", " |clear"}, + {"vid-res-id", (void_fn_t) & conference_api_sub_vid_res_id, CONF_API_SUB_ARGS_SPLIT, "vid-res-id", "|all |clear [force]"}, {"vid-role-id", (void_fn_t) & conference_api_sub_vid_role_id, CONF_API_SUB_MEMBER_TARGET, "vid-role-id", " |clear"}, {"get-uuid", (void_fn_t) & conference_api_sub_get_uuid, CONF_API_SUB_MEMBER_TARGET, "get-uuid", ""}, {"clear-vid-floor", (void_fn_t) & conference_api_sub_clear_vid_floor, CONF_API_SUB_ARGS_AS_ONE, "clear-vid-floor", ""}, @@ -315,15 +315,10 @@ switch_status_t conference_api_sub_mute(conference_member_t *member, switch_stre if (member == NULL) return SWITCH_STATUS_GENERR; - if (conference_utils_member_test_flag(member, MFLAG_HOLD)) { - if (stream) stream->write_function(stream, "-ERR mute %u\n", member->id); - return SWITCH_STATUS_SUCCESS; - } - conference_utils_member_clear_flag_locked(member, MFLAG_CAN_SPEAK); conference_utils_member_clear_flag_locked(member, MFLAG_TALKING); - if (member->session && !conference_utils_member_test_flag(member, MFLAG_MUTE_DETECT)) { + if (member->session && !conference_utils_member_test_flag(member, MFLAG_MUTE_DETECT) && !conference_utils_member_test_flag(member, MFLAG_HOLD)) { switch_core_media_hard_mute(member->session, SWITCH_TRUE); } @@ -460,11 +455,6 @@ switch_status_t conference_api_sub_tmute(conference_member_t *member, switch_str if (member == NULL) return SWITCH_STATUS_GENERR; - if (conference_utils_member_test_flag(member, MFLAG_HOLD)) { - if (stream) stream->write_function(stream, "-ERR mute %u\n", member->id); - return SWITCH_STATUS_SUCCESS; - } - if (conference_utils_member_test_flag(member, MFLAG_CAN_SPEAK)) { return conference_api_sub_mute(member, stream, data); } @@ -480,11 +470,6 @@ switch_status_t conference_api_sub_unmute(conference_member_t *member, switch_st if (member == NULL) return SWITCH_STATUS_GENERR; - if (conference_utils_member_test_flag(member, MFLAG_HOLD)) { - if (stream) stream->write_function(stream, "-ERR unmute %u\n", member->id); - return SWITCH_STATUS_SUCCESS; - } - conference_utils_member_set_flag_locked(member, MFLAG_CAN_SPEAK); if (member->session && !conference_utils_member_test_flag(member, MFLAG_MUTE_DETECT)) { @@ -672,22 +657,18 @@ switch_status_t conference_api_sub_vblind(conference_member_t *member, switch_st if (member == NULL) return SWITCH_STATUS_GENERR; - if (conference_utils_member_test_flag(member, MFLAG_HOLD)) { - if (stream) stream->write_function(stream, "-ERR member %u is on hold\n", member->id); - return SWITCH_STATUS_SUCCESS; - } - - switch_core_session_write_blank_video(member->session, 50); conference_utils_member_clear_flag_locked(member, MFLAG_CAN_SEE); - conference_video_reset_video_bitrate_counters(member); + + if (!conference_utils_member_test_flag(member, MFLAG_HOLD)) { + switch_core_session_write_blank_video(member->session, 50); + conference_video_reset_video_bitrate_counters(member); + } if (!(data) || !strstr((char *) data, "quiet")) { conference_utils_member_set_flag(member, MFLAG_INDICATE_BLIND); } - if (stream != NULL) { - stream->write_function(stream, "+OK vblind %u\n", member->id); - } + if (stream) stream->write_function(stream, "+OK vblind %u\n", member->id); if (test_eflag(member->conference, EFLAG_BLIND_MEMBER) && switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, CONF_EVENT_MAINT) == SWITCH_STATUS_SUCCESS) { @@ -708,11 +689,6 @@ switch_status_t conference_api_sub_tvblind(conference_member_t *member, switch_s if (member == NULL) return SWITCH_STATUS_GENERR; - if (conference_utils_member_test_flag(member, MFLAG_HOLD)) { - if (stream) stream->write_function(stream, "-ERR member %u is on hold\n", member->id); - return SWITCH_STATUS_SUCCESS; - } - if (conference_utils_member_test_flag(member, MFLAG_CAN_SEE)) { return conference_api_sub_vblind(member, stream, data); } @@ -728,15 +704,12 @@ switch_status_t conference_api_sub_unvblind(conference_member_t *member, switch_ if (member == NULL) return SWITCH_STATUS_GENERR; - if (conference_utils_member_test_flag(member, MFLAG_HOLD)) { - if (stream) stream->write_function(stream, "-ERR member %u is on hold\n", member->id); - return SWITCH_STATUS_SUCCESS; - } - conference_utils_member_set_flag_locked(member, MFLAG_CAN_SEE); - conference_video_reset_video_bitrate_counters(member); - switch_channel_set_flag(member->channel, CF_VIDEO_REFRESH_REQ); + if (!conference_utils_member_test_flag(member, MFLAG_HOLD)) { + conference_video_reset_video_bitrate_counters(member); + switch_channel_set_flag(member->channel, CF_VIDEO_REFRESH_REQ); + } if (!(data) || !strstr((char *) data, "quiet")) { conference_utils_member_set_flag(member, MFLAG_INDICATE_UNBLIND); @@ -766,11 +739,6 @@ switch_status_t conference_api_sub_deaf(conference_member_t *member, switch_stre if (member == NULL) return SWITCH_STATUS_GENERR; - if (conference_utils_member_test_flag(member, MFLAG_HOLD)) { - if (stream) stream->write_function(stream, "-ERR member %u is on hold\n", member->id); - return SWITCH_STATUS_SUCCESS; - } - conference_utils_member_clear_flag_locked(member, MFLAG_CAN_HEAR); if (!(data) || !strstr((char *) data, "quiet")) { @@ -813,11 +781,6 @@ switch_status_t conference_api_sub_undeaf(conference_member_t *member, switch_st if (member == NULL) return SWITCH_STATUS_GENERR; - if (conference_utils_member_test_flag(member, MFLAG_HOLD)) { - if (stream) stream->write_function(stream, "-ERR member %u is on hold\n", member->id); - return SWITCH_STATUS_SUCCESS; - } - conference_utils_member_set_flag_locked(member, MFLAG_CAN_HEAR); if (!(data) || !strstr((char *) data, "quiet")) { @@ -2306,7 +2269,7 @@ switch_status_t conference_api_sub_floor(conference_member_t *member, switch_str if (member == NULL) return SWITCH_STATUS_GENERR; - if (conference_utils_member_test_flag(member, MFLAG_DED_VID_LAYER)) { + if (conference_utils_member_test_flag(member, MFLAG_DED_VID_LAYER) && !conference_utils_test_flag(member->conference, CFLAG_DED_VID_LAYER_AUDIO_FLOOR)) { if (stream != NULL) { stream->write_function(stream, "-ERR cannot set floor on a member in an active video role\n"); } @@ -2497,13 +2460,58 @@ static void clear_role_id(conference_obj_t *conference, conference_member_t *mem switch_mutex_unlock(conference->member_mutex); } -switch_status_t conference_api_sub_vid_res_id(conference_member_t *member, switch_stream_handle_t *stream, void *data) +switch_status_t conference_api_sub_vid_res_id(conference_obj_t *conference, switch_stream_handle_t *stream, int argc, char **argv) { - char *text = (char *) data; + uint8_t all = 0, clear = 0, force = 0; + uint32_t member_id; + char *res_id = NULL; + conference_member_t *member; - if (member == NULL) + if (argc < 3 || argc > 5) return SWITCH_STATUS_GENERR; + res_id = argv[3]; + + if (argc > 3) { + if (!strcasecmp(res_id, "clear")) { + clear = 1; + } + } else { + clear = 1; + } + + if (argc > 4) + force = strcasecmp(argv[4], "force") ? 0 : 1; + + if (!(member_id = atoi(argv[2]))) { + all = strcasecmp(argv[2], "all") ? 0 : 1; + } + + if (all && clear) { + switch_mutex_lock(conference->member_mutex); + for (member = conference->members; member; member = member->next) { + if (member->session && !conference_utils_member_test_flag(member, MFLAG_NOCHANNEL)) { + conference_api_sub_vid_res_id_member(member, stream, res_id, clear, force); + } + } + switch_mutex_unlock(conference->member_mutex); + } else if (member_id) { + if (!(member = conference_member_get(conference, member_id))) + return SWITCH_STATUS_GENERR; + conference_api_sub_vid_res_id_member(member, stream, res_id, clear, force); + switch_thread_rwlock_unlock(member->rwlock); + } else { + return SWITCH_STATUS_GENERR; + } + + return SWITCH_STATUS_SUCCESS; + +} + + +switch_status_t conference_api_sub_vid_res_id_member(conference_member_t *member, switch_stream_handle_t *stream, char *res_id, int clear, int force) +{ + if (!switch_channel_test_flag(member->channel, CF_VIDEO)) { return SWITCH_STATUS_FALSE; } @@ -2513,22 +2521,20 @@ switch_status_t conference_api_sub_vid_res_id(conference_member_t *member, switc return SWITCH_STATUS_SUCCESS; } - if (zstr(text) || !strcasecmp(text, "clear") || (member->video_reservation_id && !strcasecmp(text, member->video_reservation_id))) { + if (clear || (!force && member->video_reservation_id && !strcasecmp(res_id, member->video_reservation_id))) { member->video_reservation_id = NULL; stream->write_function(stream, "+OK reservation_id cleared\n"); conference_video_detach_video_layer(member); } else { - clear_res_id(member->conference, member, text); - if (!member->video_reservation_id || strcmp(member->video_reservation_id, text)) { - member->video_reservation_id = switch_core_strdup(member->pool, text); + clear_res_id(member->conference, member, res_id); + if (!member->video_reservation_id || strcmp(member->video_reservation_id, res_id)) { + member->video_reservation_id = switch_core_strdup(member->pool, res_id); } - stream->write_function(stream, "+OK reservation_id %s\n", text); + stream->write_function(stream, "+OK reservation_id %s\n", res_id); conference_video_detach_video_layer(member); conference_video_find_floor(member, SWITCH_FALSE); } - - return SWITCH_STATUS_SUCCESS; } diff --git a/src/mod/applications/mod_conference/conference_member.c b/src/mod/applications/mod_conference/conference_member.c index d72fcf5153..152dfb8aa5 100644 --- a/src/mod/applications/mod_conference/conference_member.c +++ b/src/mod/applications/mod_conference/conference_member.c @@ -1081,7 +1081,7 @@ void conference_member_set_floor_holder(conference_obj_t *conference, conference member = lmember = conference_member_get(conference, id); } - if (member && conference_utils_member_test_flag(member, MFLAG_DED_VID_LAYER)) { + if (member && conference_utils_member_test_flag(member, MFLAG_DED_VID_LAYER) && !conference_utils_test_flag(conference, CFLAG_DED_VID_LAYER_AUDIO_FLOOR)) { goto end; } diff --git a/src/mod/applications/mod_conference/conference_record.c b/src/mod/applications/mod_conference/conference_record.c index e54c8fcb96..c02bb3bcff 100644 --- a/src/mod/applications/mod_conference/conference_record.c +++ b/src/mod/applications/mod_conference/conference_record.c @@ -167,6 +167,9 @@ void *SWITCH_THREAD_FUNC conference_record_thread_run(switch_thread_t *thread, v switch_size_t len = 0; int flags = 0; mcu_canvas_t *canvas = NULL; + const char *file_size = NULL; + const char *file_trimmed = NULL; + const char *file_trimmed_ms = NULL; if (switch_thread_rwlock_tryrdlock(conference->rwlock) != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Read Lock Fail\n"); @@ -412,10 +415,15 @@ void *SWITCH_THREAD_FUNC conference_record_thread_run(switch_thread_t *thread, v if (switch_test_flag((&member->rec->fh), SWITCH_FILE_OPEN)) { switch_mutex_lock(conference->mutex); switch_mutex_unlock(conference->mutex); + switch_core_file_pre_close(&member->rec->fh); + switch_core_file_get_string(&member->rec->fh, SWITCH_AUDIO_COL_STR_FILE_SIZE, &file_size); + switch_core_file_get_string(&member->rec->fh, SWITCH_AUDIO_COL_STR_FILE_TRIMMED, &file_trimmed); + switch_core_file_get_string(&member->rec->fh, SWITCH_AUDIO_COL_STR_FILE_TRIMMED_MS, &file_trimmed_ms); switch_core_file_close(&member->rec->fh); } switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Recording of %s Stopped\n", rec->path); + if (switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, CONF_EVENT_MAINT) == SWITCH_STATUS_SUCCESS) { conference_event_add_data(conference, event); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Action", "stop-recording"); @@ -424,6 +432,15 @@ void *SWITCH_THREAD_FUNC conference_record_thread_run(switch_thread_t *thread, v switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Samples-Out", "%ld", (long) member->rec->fh.samples_out); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Samplerate", "%ld", (long) member->rec->fh.samplerate); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Milliseconds-Elapsed", "%ld", (long) member->rec->fh.samples_out / (member->rec->fh.samplerate / 1000)); + + if (file_trimmed_ms) { + switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Milliseconds-File-Trimmed", "%s", file_trimmed_ms); + switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Record-File-Duration", "%d", atoi(file_trimmed_ms)/1000); + } + + if (file_size) switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Record-File-Size", "%s", file_size); + if (file_trimmed) switch_event_add_header(event, SWITCH_STACK_BOTTOM, "File-Trimmed", "%s", file_trimmed); + switch_event_fire(&event); } diff --git a/src/mod/applications/mod_conference/conference_utils.c b/src/mod/applications/mod_conference/conference_utils.c index c1932ead74..22de5ce6c3 100644 --- a/src/mod/applications/mod_conference/conference_utils.c +++ b/src/mod/applications/mod_conference/conference_utils.c @@ -214,6 +214,8 @@ void conference_utils_set_cflags(const char *flags, conference_flag_t *f) f[CFLAG_MANAGE_INBOUND_VIDEO_BITRATE] = 1; } else if (!strcasecmp(argv[i], "video-muxing-personal-canvas")) { f[CFLAG_PERSONAL_CANVAS] = 1; + } else if (!strcasecmp(argv[i], "ded-vid-layer-audio-floor")) { + f[CFLAG_DED_VID_LAYER_AUDIO_FLOOR] = 1; } } diff --git a/src/mod/applications/mod_conference/conference_video.c b/src/mod/applications/mod_conference/conference_video.c index 859b135515..7a78e1b1a8 100644 --- a/src/mod/applications/mod_conference/conference_video.c +++ b/src/mod/applications/mod_conference/conference_video.c @@ -525,9 +525,9 @@ void conference_video_scale_and_patch(mcu_layer_t *layer, switch_image_t *ximg, if (img->d_w && layer->last_w) { if (img->d_w < layer->last_w) { - change_scale = layer->last_w / img->d_w; + change_scale = (double) layer->last_w / img->d_w; } else { - change_scale = img->d_w / layer->last_w; + change_scale = (double) img->d_w / layer->last_w; } layer->crop_x = (int)(layer->crop_x * change_scale); @@ -637,7 +637,7 @@ void conference_video_scale_and_patch(mcu_layer_t *layer, switch_image_t *ximg, int can_zoom = 0; int did_zoom = 0; - if (screen_aspect < img_aspect) { + if (screen_aspect <= img_aspect) { if (img->d_h != layer->screen_h) { scale = (double)layer->screen_h / img->d_h; } @@ -723,7 +723,7 @@ void conference_video_scale_and_patch(mcu_layer_t *layer, switch_image_t *ximg, crop_y = c_y; } - set_bounds(&crop_x, &crop_y, img->d_w, img->d_h, crop_w, crop_h); + set_bounds(&crop_x, &crop_y, img->w, img->h, crop_w, crop_h); //printf("ZOOM %d,%d %d,%d %dx%d\n", crop_x, crop_y, c_x, c_y, zoom_w, zoom_h); } @@ -744,8 +744,8 @@ void conference_video_scale_and_patch(mcu_layer_t *layer, switch_image_t *ximg, } else { crop_x = use_geometry->x; } - } else if (screen_aspect < img_aspect) { - crop_x = img->d_w / 4; + } else if (screen_aspect <= img_aspect) { + crop_x = img->w / 4; } if (can_pan) { @@ -755,7 +755,7 @@ void conference_video_scale_and_patch(mcu_layer_t *layer, switch_image_t *ximg, crop_y = use_geometry->y; } } else if (screen_aspect > img_aspect) { - crop_y = img->d_h / 4; + crop_y = img->h / 4; } crop_x = switch_round_to_step(crop_x, layer->cam_opts.snap_factor); @@ -763,7 +763,7 @@ void conference_video_scale_and_patch(mcu_layer_t *layer, switch_image_t *ximg, } //printf("BOUNDS B4 %d,%d %dx%d %dx%d\n", crop_x, crop_y, img->d_w, img->d_h, crop_w, crop_h); - set_bounds(&crop_x, &crop_y, img->d_w, img->d_h, crop_w, crop_h); + set_bounds(&crop_x, &crop_y, img->w, img->h, crop_w, crop_h); //printf("BOUNDS AF %d,%d %dx%d %dx%d\n", crop_x, crop_y, img->d_w, img->d_h, crop_w, crop_h); if (img_changed) { @@ -789,7 +789,7 @@ void conference_video_scale_and_patch(mcu_layer_t *layer, switch_image_t *ximg, layer->crop_h = layer->crop_w / screen_aspect; if (layer->crop_h > img->d_h) layer->crop_h = img->d_h; - set_bounds(&layer->crop_x, &layer->crop_y, img->d_w, img->d_h, layer->crop_w, layer->crop_h); + set_bounds(&layer->crop_x, &layer->crop_y, img->w, img->h, layer->crop_w, layer->crop_h); assert(layer->crop_w > 0); @@ -1272,8 +1272,8 @@ void conference_member_set_logo(conference_member_t *member, const char *path) void conference_video_layer_set_banner(conference_member_t *member, mcu_layer_t *layer, const char *text) { switch_rgb_color_t fgcolor, bgcolor; - int font_scale = 1; - uint16_t font_size = 0; + float font_scale = 1; + uint16_t min_font_size = 5, max_font_size = 24, font_size = 0; const char *fg = "#cccccc"; const char *bg = "#142e55"; char *parsed = NULL; @@ -1338,8 +1338,22 @@ void conference_video_layer_set_banner(conference_member_t *member, mcu_layer_t font_face = var; } - if ((var = switch_event_get_header(params, "font_scale"))) { + if ((var = switch_event_get_header(params, "min_font_size"))) { int tmp = atoi(var); + if (tmp >= min_font_size && tmp <= max_font_size) { + min_font_size = tmp; + } + } + + if ((var = switch_event_get_header(params, "max_font_size"))) { + int tmp = atoi(var); + if (tmp >= min_font_size && tmp <= max_font_size) { + max_font_size = tmp; + } + } + + if ((var = switch_event_get_header(params, "font_scale"))) { + float tmp = atof(var); if (tmp >= 0 && tmp <= 50) { font_scale = tmp; @@ -1351,8 +1365,8 @@ void conference_video_layer_set_banner(conference_member_t *member, mcu_layer_t font_size = (uint16_t)(((double)layer->screen_w / ((double)strlen(text) / 1.2f)) * font_scale); - if (font_size <= 5) font_size = 5; - if (font_size >= 24) font_size = 24; + if (font_size <= min_font_size) font_size = min_font_size; + if (font_size >= max_font_size) font_size = max_font_size; switch_color_set_rgb(&fgcolor, fg); switch_color_set_rgb(&bgcolor, bg); @@ -1662,6 +1676,13 @@ void conference_video_init_canvas_layers(conference_obj_t *conference, mcu_canva conference_video_set_canvas_bgimg(canvas, conference->video_canvas_bgimg); } + switch_mutex_lock(conference->file_mutex); + if (conference->fnode && (conference->fnode->canvas_id == canvas->canvas_id || conference->fnode->canvas_id == -1)) { + conference_video_canvas_del_fnode_layer(conference, conference->fnode); + conference_video_fnode_check(conference->fnode, canvas->canvas_id); + } + switch_mutex_unlock(conference->file_mutex); + switch_mutex_unlock(canvas->write_mutex); switch_mutex_unlock(canvas->mutex); @@ -2421,6 +2442,7 @@ void conference_video_check_avatar(conference_member_t *member, switch_bool_t fo const char *avatar = NULL, *var = NULL; mcu_canvas_t *canvas; int novid = 0; + switch_event_t *event; if (member->canvas_id < 0) { return; @@ -2469,6 +2491,11 @@ void conference_video_check_avatar(conference_member_t *member, switch_bool_t fo avatar = var; } + if (conference_utils_test_flag(member->conference, CFLAG_VIDEO_REQUIRED_FOR_CANVAS) || conference_utils_test_flag(member->conference, CFLAG_VIDEO_MUTE_EXIT_CANVAS)) { + avatar = NULL; + force = 0; + } + switch_mutex_lock(member->flag_mutex); switch_img_free(&member->avatar_png_img); @@ -2478,6 +2505,14 @@ void conference_video_check_avatar(conference_member_t *member, switch_bool_t fo } if (force && !member->avatar_png_img && member->video_mute_img) { + switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, CONF_EVENT_MAINT); + if (member->conference) { + conference_event_add_data(member->conference, event); + } + conference_member_add_event_data(member, event); + switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Action", "vfi-triggered-member"); + switch_event_fire(&event); + switch_img_copy(member->video_mute_img, &member->avatar_png_img); } diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 6efb7c72df..ccac9cc99f 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -312,7 +312,7 @@ void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, void *ob //(!conference_utils_test_flag(conference, CFLAG_VID_FLOOR) || switch_channel_test_flag(channel, CF_VIDEO))) { - if (!conference_utils_member_test_flag(imember, MFLAG_DED_VID_LAYER)) { + if (!conference_utils_member_test_flag(imember, MFLAG_DED_VID_LAYER) || conference_utils_test_flag(conference, CFLAG_DED_VID_LAYER_AUDIO_FLOOR)) { conference_member_set_floor_holder(conference, imember, 0); floor_holder = conference->floor_holder; } @@ -1520,7 +1520,7 @@ switch_status_t conference_outcall(conference_obj_t *conference, if (conference == NULL) { char *dialstr = switch_mprintf("{ignore_early_media=true}%s", bridgeto); - status = switch_ivr_originate(NULL, &peer_session, cause, dialstr, 60, NULL, cid_name, cid_num, NULL, var_event, SOF_NO_LIMITS, NULL); + status = switch_ivr_originate(NULL, &peer_session, cause, dialstr, 60, NULL, cid_name, cid_num, NULL, var_event, SOF_NO_LIMITS, NULL, NULL); switch_safe_free(dialstr); if (status != SWITCH_STATUS_SUCCESS) { @@ -1562,7 +1562,7 @@ switch_status_t conference_outcall(conference_obj_t *conference, } - status = switch_ivr_originate(session, &peer_session, cause, bridgeto, timeout, NULL, cid_name, cid_num, NULL, var_event, SOF_NO_LIMITS, cancel_cause); + status = switch_ivr_originate(session, &peer_session, cause, bridgeto, timeout, NULL, cid_name, cid_num, NULL, var_event, SOF_NO_LIMITS, cancel_cause, NULL); switch_mutex_lock(conference->mutex); conference->originating--; switch_mutex_unlock(conference->mutex); diff --git a/src/mod/applications/mod_conference/mod_conference.h b/src/mod/applications/mod_conference/mod_conference.h index 60920410a2..bb887536e1 100644 --- a/src/mod/applications/mod_conference/mod_conference.h +++ b/src/mod/applications/mod_conference/mod_conference.h @@ -261,6 +261,7 @@ typedef enum { CFLAG_REFRESH_LAYOUT, CFLAG_VIDEO_MUTE_EXIT_CANVAS, CFLAG_NO_MOH, + CFLAG_DED_VID_LAYER_AUDIO_FLOOR, ///////////////////////////////// CFLAG_MAX } conference_flag_t; @@ -1223,7 +1224,8 @@ switch_status_t conference_api_sub_exit_sound(conference_obj_t *conference, swit switch_status_t conference_api_sub_vid_banner(conference_member_t *member, switch_stream_handle_t *stream, void *data); switch_status_t conference_api_sub_enter_sound(conference_obj_t *conference, switch_stream_handle_t *stream, int argc, char **argv); switch_status_t conference_api_sub_set(conference_obj_t *conference, switch_stream_handle_t *stream, int argc, char **argv); -switch_status_t conference_api_sub_vid_res_id(conference_member_t *member, switch_stream_handle_t *stream, void *data); +switch_status_t conference_api_sub_vid_res_id(conference_obj_t *conference, switch_stream_handle_t *stream, int argc, char **argv); +switch_status_t conference_api_sub_vid_res_id_member(conference_member_t *member, switch_stream_handle_t *stream, char *res_id, int clear, int force); switch_status_t conference_api_sub_vid_role_id(conference_member_t *member, switch_stream_handle_t *stream, void *data); switch_status_t conference_api_sub_get_uuid(conference_member_t *member, switch_stream_handle_t *stream, void *data); switch_status_t conference_api_sub_get(conference_obj_t *conference, switch_stream_handle_t *stream, int argc, char **argv); diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 3d22b350ef..aa68cb2c5b 100644 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -2565,7 +2565,7 @@ void *SWITCH_THREAD_FUNC att_thread_run(switch_thread_t *thread, void *obj) switch_core_session_rwunlock(b_session); } - if (switch_ivr_originate(session, &peer_session, &cause, data, 0, NULL, NULL, NULL, NULL, NULL, SOF_NONE, NULL) + if (switch_ivr_originate(session, &peer_session, &cause, data, 0, NULL, NULL, NULL, NULL, NULL, SOF_NONE, NULL, NULL) != SWITCH_STATUS_SUCCESS || !peer_session) { switch_channel_set_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE, bond); goto end; @@ -3480,7 +3480,7 @@ SWITCH_STANDARD_APP(audio_bridge_function) status = switch_ivr_originate(NULL, &peer_session, &cause, camp_data, campon_timeout, NULL, NULL, NULL, NULL, NULL, SOF_NONE, - switch_channel_get_cause_ptr(caller_channel)); + switch_channel_get_cause_ptr(caller_channel), NULL); } while (camping && switch_channel_ready(caller_channel)); @@ -3509,7 +3509,7 @@ SWITCH_STANDARD_APP(audio_bridge_function) } else { if ((status = - switch_ivr_originate(session, &peer_session, &cause, data, 0, NULL, NULL, NULL, NULL, NULL, SOF_NONE, NULL)) != SWITCH_STATUS_SUCCESS) { + switch_ivr_originate(session, &peer_session, &cause, data, 0, NULL, NULL, NULL, NULL, NULL, SOF_NONE, NULL, NULL)) != SWITCH_STATUS_SUCCESS) { fail = 1; } } @@ -4166,7 +4166,7 @@ static switch_call_cause_t group_outgoing_channel(switch_core_session_t *session if (switch_ivr_originate(session, new_session, &cause, dest, timelimit, NULL, - cid_name_override, cid_num_override, NULL, var_event, myflags, cancel_cause) == SWITCH_STATUS_SUCCESS) { + cid_name_override, cid_num_override, NULL, var_event, myflags, cancel_cause, NULL) == SWITCH_STATUS_SUCCESS) { const char *context; switch_caller_profile_t *cp; @@ -4364,7 +4364,7 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session, cause = SWITCH_CAUSE_INVALID_IE_CONTENTS; } else if (switch_ivr_originate(session, new_session, &cause, d_dest, timelimit, NULL, cid_name_override, cid_num_override, outbound_profile, var_event, myflags, - cancel_cause) == SWITCH_STATUS_SUCCESS) { + cancel_cause, NULL) == SWITCH_STATUS_SUCCESS) { const char *context; switch_caller_profile_t *cp; @@ -5627,7 +5627,7 @@ void *SWITCH_THREAD_FUNC page_thread(switch_thread_t *thread, void *obj) switch_memory_pool_t *pool = pd->pool; - if (switch_ivr_originate(NULL, &session, &cause, pd->dial_str, SWITCH_DEFAULT_TIMEOUT, NULL, NULL, NULL, NULL, pd->var_event, SOF_NONE, NULL) == SWITCH_STATUS_SUCCESS) { + if (switch_ivr_originate(NULL, &session, &cause, pd->dial_str, SWITCH_DEFAULT_TIMEOUT, NULL, NULL, NULL, NULL, pd->var_event, SOF_NONE, NULL, NULL) == SWITCH_STATUS_SUCCESS) { switch_channel_t *channel = switch_core_session_get_channel(session); switch_channel_set_variable(channel, "page_file", pd->path); @@ -6169,14 +6169,27 @@ SWITCH_STANDARD_APP(vad_test_function) if (tmp > 0) switch_vad_set_param(vad, "thresh", tmp); } - if ((var = switch_channel_get_variable(channel, "vad_timeout_len"))) { + if ((var = switch_channel_get_variable(channel, "vad_listen_hits"))) { tmp = atoi(var); - if (tmp > 0) switch_vad_set_param(vad, "timeout_len", tmp); + if (tmp > 0) switch_vad_set_param(vad, "listen_hits", tmp); } - while(switch_channel_ready(channel)) { - switch_core_session_read_frame(session, &frame, SWITCH_IO_FLAG_NONE, 0); + if ((var = switch_channel_get_variable(channel, "vad_debug"))) { + tmp = atoi(var); + + if (tmp < 0) tmp = 0; + if (tmp > 1) tmp = 1; + + switch_vad_set_param(vad, "debug", tmp); + } + + while (switch_channel_ready(channel)) { + switch_status_t status = switch_core_session_read_frame(session, &frame, SWITCH_IO_FLAG_NONE, 0); + + if (!SWITCH_READ_ACCEPTABLE(status)) { + break; + } if (switch_test_flag(frame, SFF_CNG)) { continue; @@ -6192,7 +6205,7 @@ SWITCH_STANDARD_APP(vad_test_function) } else if (vad_state == SWITCH_VAD_STATE_TALKING) { switch_core_session_write_frame(session, frame, SWITCH_IO_FLAG_NONE, 0); } else { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "vad_state: %d\n", vad_state); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "vad_state: %s\n", switch_vad_state2str(vad_state)); } } diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index 2820eab070..28429c7244 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -1643,7 +1643,7 @@ static void *SWITCH_THREAD_FUNC outbound_ringall_thread_run(switch_thread_t *thr if (globals.debug) switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "%s dialing: %s\n", node->name, originate_string); - status = switch_ivr_originate(NULL, &session, &cause, originate_string, timeout, NULL, NULL, NULL, NULL, ovars, SOF_NONE, &cancel_cause); + status = switch_ivr_originate(NULL, &session, &cause, originate_string, timeout, NULL, NULL, NULL, NULL, ovars, SOF_NONE, &cancel_cause, NULL); del_caller_outbound_call(id); @@ -1847,7 +1847,7 @@ static void *SWITCH_THREAD_FUNC outbound_enterprise_thread_run(switch_thread_t * sql = switch_mprintf("update fifo_outbound set ring_count=ring_count+1 where uuid='%q'", h->uuid); fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_TRUE); - status = switch_ivr_originate(NULL, &session, &cause, originate_string, h->timeout, NULL, NULL, NULL, NULL, ovars, SOF_NONE, NULL); + status = switch_ivr_originate(NULL, &session, &cause, originate_string, h->timeout, NULL, NULL, NULL, NULL, ovars, SOF_NONE, NULL, NULL); if (status != SWITCH_STATUS_SUCCESS) { sql = switch_mprintf("update fifo_outbound set ring_count=ring_count-1, " @@ -3185,7 +3185,7 @@ SWITCH_STANDARD_APP(fifo_function) } } - if (switch_ivr_originate(session, &other_session, &cause, url, 120, NULL, NULL, NULL, NULL, NULL, SOF_NONE, NULL) != SWITCH_STATUS_SUCCESS) { + if (switch_ivr_originate(session, &other_session, &cause, url, 120, NULL, NULL, NULL, NULL, NULL, SOF_NONE, NULL, NULL) != SWITCH_STATUS_SUCCESS) { other_session = NULL; switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Originate to [%s] failed, cause: %s\n", url, switch_channel_cause2str(cause)); diff --git a/src/mod/applications/mod_lcr/mod_lcr.c b/src/mod/applications/mod_lcr/mod_lcr.c index 00673f12e5..a9adb3db10 100644 --- a/src/mod/applications/mod_lcr/mod_lcr.c +++ b/src/mod/applications/mod_lcr/mod_lcr.c @@ -1511,7 +1511,7 @@ static switch_call_cause_t lcr_outgoing_channel(switch_core_session_t *session, } } if (switch_ivr_originate(session, new_session, &cause, cur_route->dialstring, timelimit, NULL, - cid_name_override, cid_num_override, NULL, var_event, myflags, cancel_cause) == SWITCH_STATUS_SUCCESS) { + cid_name_override, cid_num_override, NULL, var_event, myflags, cancel_cause, NULL) == SWITCH_STATUS_SUCCESS) { const char *context; switch_caller_profile_t *cp; diff --git a/src/mod/applications/mod_mp4v2/mod_mp4v2.c b/src/mod/applications/mod_mp4v2/mod_mp4v2.c index 69b611c2a3..8faccc4e02 100644 --- a/src/mod/applications/mod_mp4v2/mod_mp4v2.c +++ b/src/mod/applications/mod_mp4v2/mod_mp4v2.c @@ -38,6 +38,7 @@ #define TIMESCALE 1000 #define SampleLenFieldSize 4 +#define PTIME 20 // #define HAS_SPS_PARSER SWITCH_MODULE_LOAD_FUNCTION(mod_mp4v2_load); @@ -138,374 +139,6 @@ static void init_video_track(MP4FileHandle mp4, MP4TrackId *video, switch_frame_ MP4SetVideoProfileLevel(mp4, 0x7F); } -static void record_video_thread(switch_core_session_t *session, void *obj) -{ - struct record_helper *eh = obj; - switch_channel_t *channel = switch_core_session_get_channel(session); - switch_status_t status; - switch_frame_t *read_frame; - uint bytes; - MP4FileHandle mp4; - MP4TrackId video; - unsigned char buf[40960]; - int len = 0; - uint8_t iframe = 0; - uint32_t *size = (uint32_t *)buf; - uint8_t *hdr = NULL; - uint8_t fragment_type; - uint8_t nal_type; - uint8_t start_bit; - uint8_t *sps = NULL; - // uint8_t *pps = NULL; - int sps_set = 0; - int pps_set = 0; - - eh->up = 1; - mp4 = eh->fd; - - /* Tell the channel to request a fresh vid frame */ - switch_core_session_request_video_refresh(session); - - len = 0; - while (switch_channel_ready(channel) && eh->up) { - status = switch_core_session_read_video_frame(session, &read_frame, SWITCH_IO_FLAG_NONE, 0); - - if (!SWITCH_READ_ACCEPTABLE(status)) { - break; - } - - if (switch_test_flag(read_frame, SFF_CNG)) { - continue; - } - - bytes = read_frame->datalen; - - if (bytes > 2000) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "xxxxxxxx buffer overflow\n"); - continue; - } - - hdr = read_frame->data; - fragment_type = hdr[0] & 0x1f; - nal_type = hdr[1] & 0x1f; - start_bit = hdr[1] & 0x80; - iframe = (((fragment_type == 28 || fragment_type == 29) && nal_type == 5 && start_bit == 128) || fragment_type == 5 || fragment_type ==7 || fragment_type ==8) ? 1 : 0; - -#if 0 - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%02x %02x %02x | len:%d m:%d st:%d i:%d\n", hdr[0], hdr[1], hdr[2], bytes, read_frame->m, start_bit, iframe); -#endif - - // echo back - switch_core_session_write_video_frame(session, read_frame, SWITCH_IO_FLAG_NONE, 0); - - if (fragment_type == 7 && !sps_set) { //sps - sps = malloc(bytes); - memcpy(sps, read_frame->data, bytes); - sps_set = 1; - - switch_mutex_lock(eh->mutex); - - init_video_track(mp4, &video, read_frame); - if (video == MP4_INVALID_TRACK_ID) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error add video track!\n"); - switch_mutex_unlock(eh->mutex); - goto end; - } - - switch_mutex_unlock(eh->mutex); - continue; - } else if (fragment_type == 8 && !pps_set) { //pps - switch_mutex_lock(eh->mutex); - MP4AddH264PictureParameterSet(mp4, video, read_frame->data, bytes); - switch_mutex_unlock(eh->mutex); - pps_set = 1; - // continue; - } - - if ((!sps_set) && (!pps_set)) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Waiting for SPS/PPS\n"); - // continue; - } - - len += 4 + read_frame->datalen; - - if (len > 40960) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "buffer overflow!!!! %d\n", len); - len = 0; - size = (uint32_t *)buf; - continue; - } - - *size = htonl(read_frame->datalen); - memcpy(size + 1, read_frame->data, read_frame->datalen); - - size = (uint32_t *)((uint8_t *)size + 4 + read_frame->datalen); - - if (read_frame->m) { - int duration = 0; - - switch_mutex_lock(eh->mutex); - if (!eh->timer.interval) { - switch_core_timer_init(&eh->timer, "soft", 1, 1, switch_core_session_get_pool(session)); - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "init timer\n"); - } else { - switch_core_timer_sync(&eh->timer); - } - switch_mutex_unlock(eh->mutex); - - if (eh->last_pts) { - duration = eh->timer.samplecount - eh->last_pts; - } - eh->last_pts = eh->timer.samplecount; - - switch_mutex_lock(eh->mutex); - MP4WriteSample(mp4, video, buf, len, duration, 0, iframe); - switch_mutex_unlock(eh->mutex); - len = 0; - size = (uint32_t *)buf; - } - - } - -end: - eh->up = 0; - return; -} - -SWITCH_STANDARD_APP(record_mp4_function) -{ - switch_status_t status; - switch_frame_t *read_frame; - switch_channel_t *channel = switch_core_session_get_channel(session); - struct record_helper eh = { 0 }; - MP4FileHandle fd; - MP4TrackId audio; - switch_mutex_t *mutex = NULL; - switch_codec_implementation_t read_impl = { 0 }; - switch_dtmf_t dtmf = { 0 }; - int count = 0, sanity = 30; - switch_codec_t codec; - int duration = 0; - switch_event_t *event; - - memset(&codec, 0, sizeof(switch_codec_t)); - - switch_channel_answer(channel); - switch_core_session_get_read_impl(session, &read_impl); - - switch_channel_set_variable(channel, SWITCH_PLAYBACK_TERMINATOR_USED, ""); - - while (switch_channel_up(channel) && !switch_channel_test_flag(channel, CF_VIDEO)) { - switch_yield(10000); - - if (count) count--; - - if (count == 0) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "%s waiting for video.\n", switch_channel_get_name(channel)); - count = 100; - if (!--sanity) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "%s timeout waiting for video.\n", - switch_channel_get_name(channel)); - switch_channel_set_variable(channel, SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE, "Got timeout while waiting for video"); - return; - } - } - } - - if (!switch_channel_ready(channel)) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_CRIT, "%s not ready.\n", switch_channel_get_name(channel)); - switch_channel_set_variable(channel, SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE, "Channel not ready"); - return; - } - - if ((fd = MP4CreateEx((char*)data, 0, 1, 1, NULL, 0, NULL, 0)) == MP4_INVALID_FILE_HANDLE) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_CRIT, "Error opening file %s\n", (char *) data); - switch_channel_set_variable(channel, SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE, "Got error while opening file"); - return; - } - - audio = MP4AddULawAudioTrack(fd, read_impl.samples_per_second); - MP4SetTrackIntegerProperty(fd, audio, "mdia.minf.stbl.stsd.ulaw.channels", read_impl.number_of_channels); - MP4SetTrackIntegerProperty(fd, audio, "mdia.minf.stbl.stsd.ulaw.sampleSize", 8); - - // audio = MP4AddAACAudioTrack(fd, 8000); - // audio = MP4AddAudioTrack(fd, 8000, MP4_INVALID_DURATION, MP4_MPEG4_AUDIO_TYPE); - - // MP4SetTrackIntegerProperty(fd, audio, "mdia.minf.stbl.stsd.aac.channels", 1); - // MP4SetTrackIntegerProperty(fd, audio, "mdia.minf.stbl.stsd.aac.sampleSize", 8); - - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "ms: %d, ts: %d\n", read_impl.microseconds_per_packet, read_impl.samples_per_second /(read_impl.microseconds_per_packet / 1000) / 2); - - /* MP4SetAudioProfileLevel sets the minumum profile/level of MPEG-4 audio support necessary to render the contents of the file. - ISO/IEC 14496-1:2001 MPEG-4 Systems defines the following values: - 0x00 Reserved - 0x01 Main Profile @ Level 1 - 0x02 Main Profile @ Level 2 - 0x03 Main Profile @ Level 3 - 0x04 Main Profile @ Level 4 - 0x05 Scalable Profile @ Level 1 - 0x06 Scalable Profile @ Level 2 - 0x07 Scalable Profile @ Level 3 - 0x08 Scalable Profile @ Level 4 - 0x09 Speech Profile @ Level 1 - 0x0A Speech Profile @ Level 2 - 0x0B Synthesis Profile @ Level 1 - 0x0C Synthesis Profile @ Level 2 - 0x0D Synthesis Profile @ Level 3 - 0x0E-0x7F Reserved - 0x80-0xFD User private - 0xFE No audio profile specified - 0xFF No audio required - */ - // MP4SetAudioProfileLevel(fd, 0x7F); - MP4SetAudioProfileLevel(fd, 0x0F); - if (0) { - // uint8_t c[] = {0x15, 0x88}; // 00010 1011 0001 000 - uint8_t c[] = {0x12, 0x08}; // 00010 0100 0001 000 - MP4SetTrackESConfiguration(fd, audio, c, sizeof(c)); - } - - if (read_impl.ianacode != 0) { - if (switch_core_codec_init(&codec, - "PCMU", - NULL, - NULL, - read_impl.samples_per_second, - read_impl.microseconds_per_packet / 1000, - read_impl.number_of_channels, SWITCH_CODEC_FLAG_ENCODE | SWITCH_CODEC_FLAG_DECODE, - NULL, switch_core_session_get_pool(session)) == SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Audio Codec Activation Success\n"); - } else { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Audio Codec Activation Fail\n"); - switch_channel_set_variable(channel, SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE, "Audio codec activation failed"); - goto end; - } - switch_core_session_set_read_codec(session, &codec); - } - - if (switch_channel_test_flag(channel, CF_VIDEO)) { - switch_codec_implementation_t video_read_impl = { 0 }; - - switch_core_session_get_video_read_impl(session, &video_read_impl); - - if (video_read_impl.iananame && (!strcasecmp(video_read_impl.iananame, "H264"))) { - switch_channel_set_flag(channel, CF_VIDEO_PASSIVE); - switch_channel_set_flag(channel, CF_VIDEO_READY); - - switch_mutex_init(&mutex, SWITCH_MUTEX_NESTED, switch_core_session_get_pool(session)); - eh.mutex = mutex; - eh.fd = fd; - switch_core_media_start_video_function(session, record_video_thread, &eh); - } else { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "only H264 video is supported, you have %s\n", video_read_impl.iananame); - switch_channel_set_flag(channel, CF_VIDEO_ECHO); - switch_channel_set_flag(channel, CF_VIDEO_READY); - } - } - - if (switch_event_create(&event, SWITCH_EVENT_RECORD_START) == SWITCH_STATUS_SUCCESS) { - switch_channel_event_set_data(channel, event); - switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Record-File-Path", (char *)data); - switch_event_fire(&event); - } - - while (switch_channel_ready(channel)) { - status = switch_core_session_read_frame(session, &read_frame, SWITCH_IO_FLAG_SINGLE_READ, 0); - - if (switch_channel_test_flag(channel, CF_BREAK)) { - switch_channel_clear_flag(channel, CF_BREAK); - eh.up = 0; - break; - } - - switch_ivr_parse_all_events(session); - - //check for dtmf interrupts - if (switch_channel_has_dtmf(channel)) { - const char * terminators = switch_channel_get_variable(channel, SWITCH_PLAYBACK_TERMINATORS_VARIABLE); - switch_channel_dequeue_dtmf(channel, &dtmf); - - if (terminators && !strcasecmp(terminators, "none")) { - terminators = NULL; - } - - if (terminators && strchr(terminators, dtmf.digit)) { - char sbuf[2] = {dtmf.digit, '\0'}; - switch_channel_set_variable(channel, SWITCH_PLAYBACK_TERMINATOR_USED, sbuf); - eh.up = 0; - break; - } - } - - if (!SWITCH_READ_ACCEPTABLE(status)) { - eh.up = 0; - break; - } - - switch_core_session_write_frame(session, read_frame, SWITCH_IO_FLAG_NONE, 0); - - if (switch_test_flag(read_frame, SFF_CNG)) { - // switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "cng, datalen:%d\n", read_frame->datalen); - continue; - // memset(read_frame->data, 0x0, 160); - } - - if (mutex) switch_mutex_lock(mutex); - - if (!eh.timer.interval) { - switch_core_timer_init(&eh.timer, "soft", 1, 1, switch_core_session_get_pool(session)); - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "init timer\n"); - } - - duration = read_frame->datalen / read_impl.number_of_channels; - - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%d %d\n", duration, read_frame->datalen); - - MP4WriteSample(fd, audio, read_frame->data, read_frame->datalen, duration, 0, 1); - - if (mutex) switch_mutex_unlock(mutex); - } - - switch_channel_set_variable(channel, SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE, "OK"); - - if (switch_event_create(&event, SWITCH_EVENT_RECORD_STOP) == SWITCH_STATUS_SUCCESS) { - switch_channel_event_set_data(channel, event); - switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Record-File-Path", (char *)data); - switch_event_fire(&event); - } - -end: - - if (eh.up) { - while (eh.up) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "waiting video thread to be done ...\n"); - switch_yield(100000); - switch_cond_next(); - } - } - - if (eh.timer.interval) { - switch_core_timer_destroy(&eh.timer); - } - - switch_core_media_end_video_function(session); - switch_channel_clear_flag(channel, CF_VIDEO_PASSIVE); - - switch_core_session_set_read_codec(session, NULL); - - if (fd != MP4_INVALID_FILE_HANDLE) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "closing file %s\n", (char *)data); - MP4Close(fd, 0); - } - - if (switch_core_codec_ready(&codec)) switch_core_codec_destroy(&codec); -} - -// SWITCH_STANDARD_APP(play_mp4_function) -// { - -// } - static inline char *get_audio_codec_name(uint8_t audio_type) { switch (audio_type) { @@ -540,14 +173,17 @@ static int get_aac_sample_rate_index(unsigned int sampleRate) } struct mp4_file_context { + switch_file_handle_t *handle; switch_memory_pool_t *pool; MP4FileHandle fd; MP4TrackId audio; MP4TrackId video; + uint32_t audio_frame_size; switch_codec_t audio_codec; switch_codec_t video_codec; switch_mutex_t *mutex; switch_buffer_t *buf; + uint32_t last_chunk_size; int sps_set; int pps_set; switch_timer_t timer; @@ -556,11 +192,92 @@ struct mp4_file_context { int audio_start; uint8_t audio_type; // MP4 Audio Type MP4Duration audio_duration; - switch_image_t *last_img; + switch_thread_t *video_thread; + switch_queue_t *video_queue; }; typedef struct mp4_file_context mp4_file_context_t; +static switch_status_t do_write_video(switch_file_handle_t *handle, switch_frame_t *frame); + +static void *SWITCH_THREAD_FUNC video_write_thread_run(switch_thread_t *thread, void *obj) +{ + mp4_file_context_t *context = (mp4_file_context_t *)obj; + void *pop = NULL; + switch_image_t *last_img = NULL; + switch_status_t status = SWITCH_STATUS_SUCCESS; + switch_status_t encode_status = SWITCH_STATUS_SUCCESS; + uint8_t data[SWITCH_DEFAULT_VIDEO_SIZE]; + + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "video_write_thread start\n"); + + while (switch_queue_pop(context->video_queue, &pop) == SWITCH_STATUS_SUCCESS) { + switch_frame_t frame = { 0 }; + + if (!pop) break; + + if (!last_img) { // first img + last_img = (switch_image_t *)pop; + continue; + } + + frame.data = data; + frame.img = last_img; + // switch_set_flag(&frame, SFF_DYNAMIC); + + do { + frame.datalen = SWITCH_DEFAULT_VIDEO_SIZE; + encode_status = switch_core_codec_encode_video(&context->video_codec, &frame); + + if (encode_status == SWITCH_STATUS_SUCCESS || encode_status == SWITCH_STATUS_MORE_DATA) { + switch_assert((encode_status == SWITCH_STATUS_SUCCESS && frame.m) || !frame.m); + + if (frame.datalen == 0) break; + + status = do_write_video(context->handle, &frame); + } + } while(status == SWITCH_STATUS_SUCCESS && encode_status == SWITCH_STATUS_MORE_DATA); + + switch_img_free(&last_img); + last_img = (switch_image_t *)pop; + } + + switch_img_free(&last_img); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "video_write_thread done\n"); + + return NULL; +} + +static void launch_video_write_thread(mp4_file_context_t *context, switch_memory_pool_t *pool) +{ + //switch_thread_t *thread; + switch_threadattr_t *thd_attr = NULL; + + switch_threadattr_create(&thd_attr, pool); + switch_threadattr_detach_set(thd_attr, 1); + switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE); + // switch_threadattr_priority_set(thd_attr, SWITCH_PRI_REALTIME); + switch_thread_create(&context->video_thread, thd_attr, video_write_thread_run, context, pool); +} + + +static int flush_video_queue(switch_queue_t *q, int min) +{ + void *pop; + + if (switch_queue_size(q) > min) { + while (switch_queue_trypop(q, &pop) == SWITCH_STATUS_SUCCESS) { + switch_image_t *img = (switch_image_t *) pop; + switch_img_free(&img); + if (min && switch_queue_size(q) <= min) { + break; + } + } + } + + return switch_queue_size(q); +} + static switch_status_t mp4_file_open(switch_file_handle_t *handle, const char *path) { mp4_file_context_t *context; @@ -580,7 +297,9 @@ static switch_status_t mp4_file_open(switch_file_handle_t *handle, const char *p memset(context, 0, sizeof(mp4_file_context_t)); - context->offset = -100; + context->handle = handle; + context->offset = 0; + if (handle->params && (tmp = switch_event_get_header(handle->params, "mp4v2_video_offset"))) { context->offset = atoi(tmp); } @@ -614,6 +333,22 @@ static switch_status_t mp4_file_open(switch_file_handle_t *handle, const char *p flags |= SWITCH_FOPEN_READ; } + if (handle->mm.samplerate) { + handle->samplerate = handle->mm.samplerate; + } else { + handle->mm.samplerate = handle->samplerate; + } + + if (!handle->mm.ab) { + handle->mm.ab = 128; + } + + if (!handle->mm.vb) { + handle->mm.vb = switch_calc_bitrate(handle->mm.vw, handle->mm.vh, 1, handle->mm.fps); + } + + // MP4_CREATE_64BIT_DATA if file > 4G + if ((context->fd = MP4CreateEx(path, 0, 1, 1, NULL, 0, NULL, 0)) == MP4_INVALID_FILE_HANDLE) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Error opening file %s\n", path); return SWITCH_STATUS_GENERR; @@ -651,7 +386,7 @@ static switch_status_t mp4_file_open(switch_file_handle_t *handle, const char *p info |= handle->channels << 3; //(4bit) info = htons(info); - context->audio = MP4AddAudioTrack(context->fd, handle->samplerate, handle->samplerate, MP4_MPEG4_AUDIO_TYPE); + context->audio = MP4AddAudioTrack(context->fd, handle->samplerate, 1024, MP4_MPEG4_AUDIO_TYPE); MP4SetTrackESConfiguration(context->fd, context->audio, (uint8_t *)&info, sizeof(info)); MP4SetTrackIntegerProperty(context->fd, context->audio, "mdia.minf.stbl.stsd.mp4a.channels", handle->channels); } @@ -672,7 +407,7 @@ static switch_status_t mp4_file_open(switch_file_handle_t *handle, const char *p NULL, NULL, handle->samplerate, - 20,//ms + PTIME,//ms handle->channels, SWITCH_CODEC_FLAG_ENCODE, NULL, handle->memory_pool) == SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Audio Codec Activation Success\n"); @@ -681,7 +416,21 @@ static switch_status_t mp4_file_open(switch_file_handle_t *handle, const char *p goto end; } + if (context->audio_type == MP4_MP3_AUDIO_TYPE) { // fetch frame size + uint32_t size; + uint32_t flag = 0xFFFFFFFF; + + switch_core_codec_encode(&context->audio_codec, NULL, &flag, 0, 0, + (void *)&context->audio_frame_size, &size, NULL, &flag); + } else if (context->audio_type == MP4_MPEG4_AUDIO_TYPE) { + context->audio_frame_size = 1024; + } + if (switch_test_flag(handle, SWITCH_FILE_FLAG_VIDEO)) { + switch_codec_settings_t codec_settings = {{ 0 }}; + codec_settings.video.bandwidth = handle->mm.vb; + codec_settings.video.fps = handle->mm.fps; + if (switch_core_codec_init(&context->video_codec, "H264", NULL, @@ -689,12 +438,15 @@ static switch_status_t mp4_file_open(switch_file_handle_t *handle, const char *p 90000, 0,//ms 1, SWITCH_CODEC_FLAG_ENCODE, - NULL, handle->memory_pool) == SWITCH_STATUS_SUCCESS) { + &codec_settings, handle->memory_pool) == SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Video Codec H264 Activation Success\n"); } else { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Video Codec H264 Activation Fail\n"); goto end; } + + switch_queue_create(&context->video_queue, 60, handle->memory_pool); + launch_video_write_thread(context, handle->memory_pool); } if (switch_test_flag(handle, SWITCH_FILE_FLAG_WRITE)) { @@ -729,9 +481,10 @@ static switch_status_t mp4_file_truncate(switch_file_handle_t *handle, int64_t o static switch_status_t mp4_file_close(switch_file_handle_t *handle) { mp4_file_context_t *context = handle->private_info; + switch_status_t status; if (context->fd) { - MP4Close(context->fd, 0); + MP4Close(context->fd, MP4_CLOSE_DO_NOT_COMPUTE_BITRATE); context->fd = NULL; } @@ -742,7 +495,15 @@ static switch_status_t mp4_file_close(switch_file_handle_t *handle) switch_core_timer_destroy(&context->timer); } - switch_img_free(&context->last_img); + if (context->video_queue) { + switch_queue_term(context->video_queue); + flush_video_queue(context->video_queue, 0); + } + + if (context->video_thread) { + switch_thread_join(&status, context->video_thread); + } + switch_buffer_destroy(&context->buf); return SWITCH_STATUS_SUCCESS; @@ -768,9 +529,7 @@ static switch_status_t mp4_file_write(switch_file_handle_t *handle, void *data, uint32_t encoded_rate; mp4_file_context_t *context = handle->private_info; uint32_t size = 0; - - context->audio_duration += *len; - + uint32_t flag = 0; if (context->audio_type == MP4_PCM16_LITTLE_ENDIAN_AUDIO_TYPE) { size = datalen; @@ -779,7 +538,7 @@ static switch_status_t mp4_file_write(switch_file_handle_t *handle, void *data, switch_core_codec_encode(&context->audio_codec, NULL, data, datalen, handle->samplerate, - buf, &size, &encoded_rate, NULL); + buf, &size, &encoded_rate, &flag); } switch_mutex_lock(context->mutex); @@ -787,40 +546,14 @@ static switch_status_t mp4_file_write(switch_file_handle_t *handle, void *data, if (!context->timer.interval) { switch_core_timer_init(&context->timer, "soft", 1, 1, context->pool); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "init timer\n"); - } else if(!context->audio_start) { // try make up some sampels if the video already start - int i, count; - uint8_t buf0[SWITCH_RECOMMENDED_BUFFER_SIZE] = { 0 }; - - context->audio_start++; - switch_core_timer_sync(&context->timer); - - count = context->timer.samplecount - context->offset; - - if (count > 0) { - count /= *len; - } - - if (context->audio_type != MP4_ULAW_AUDIO_TYPE) { - count = 0; // todo: make this feature work for mp3/aac - } - - if (count){ - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "video is short, make up %lu samples\n", count * (*len)); - MP4WriteSample(context->fd, context->audio, buf0, size, 0, 0, 1); - } - - for (i = 1; i < count; i++) { - MP4WriteSample(context->fd, context->audio, buf0, size, *len, 0, 1); - } } - if (context->audio_type == MP4_MPEG4_AUDIO_TYPE && size == 0) { - // don't write 0 - } else { - MP4WriteSample(context->fd, context->audio, buf, size, context->audio_duration, 0, 1); - context->audio_duration = 0; + if (size > 0) { + MP4WriteSample(context->fd, context->audio, buf, size, context->audio_frame_size ? context->audio_frame_size : *len, 0, 1); } + context->audio_duration += *len; + switch_mutex_unlock(context->mutex); return status; @@ -841,115 +574,150 @@ static switch_status_t do_write_video(switch_file_handle_t *handle, switch_frame uint8_t fragment_type; uint8_t nal_type; uint8_t start_bit; + uint8_t end_bit; mp4_file_context_t *context = handle->private_info; hdr = (uint8_t *)frame->data; fragment_type = hdr[0] & 0x1f; nal_type = hdr[1] & 0x1f; start_bit = hdr[1] & 0x80; - is_iframe = (((fragment_type == 28 || fragment_type == 29) && nal_type == 5 && start_bit == 128) || fragment_type == 5 || fragment_type ==7 || fragment_type ==8) ? 1 : 0; + end_bit = hdr[1] & 0x40; + + is_iframe = fragment_type == 5 || (fragment_type == 28 && nal_type == 5); // switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%02x %02x %02x | len:%d m:%d st:%d i:%d\n", hdr[0], hdr[1], hdr[2], datalen, frame->m, start_bit, is_iframe); - size = htonl(datalen); - switch_buffer_write(context->buf, &size, 4); - switch_buffer_write(context->buf, hdr, datalen); - - switch_mutex_lock(context->mutex); - if (fragment_type == 7 && !context->sps_set) { //sps context->sps_set = 1; init_video_track(context->fd, &context->video, frame); if (context->video == MP4_INVALID_TRACK_ID) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error add video track!\n"); - switch_goto_status(SWITCH_STATUS_FALSE, end); + return SWITCH_STATUS_FALSE; } } else if (fragment_type == 8 && context->sps_set && !context->pps_set) { //pps MP4AddH264PictureParameterSet(context->fd, context->video, hdr, datalen); context->pps_set = 1; } - if (nal_type == 7 || nal_type == 8 || frame->m == 0) { - } else if (context->sps_set && context->pps_set) { + if (fragment_type == 28) { + if (start_bit && end_bit) { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "WTF?\n"); + } + + if (start_bit) { + nal_type |= (hdr[0] & 0x60); + + size = htonl(datalen); + switch_buffer_write(context->buf, &size, 4); + switch_buffer_write(context->buf, &nal_type, 1); + switch_buffer_write(context->buf, hdr + 2, datalen - 2); + context->last_chunk_size = datalen - 1; + } else if (end_bit) { + uint32_t used; + const void *data; + uint32_t *chunk_size = NULL; + + switch_buffer_write(context->buf, hdr + 2, datalen - 2); + context->last_chunk_size += datalen - 2; + used = switch_buffer_inuse(context->buf); + switch_buffer_peek_zerocopy(context->buf, &data); + chunk_size = (uint32_t *)((uint8_t *)data + used - context->last_chunk_size - 4); + *chunk_size = htonl(context->last_chunk_size); + } else { + switch_buffer_write(context->buf, hdr + 2, datalen - 2); + context->last_chunk_size += datalen - 2; + } + } else { + size = htonl(datalen); + switch_buffer_write(context->buf, &size, 4); + switch_buffer_write(context->buf, hdr, datalen); + } + + if (!frame->m) { + return SWITCH_STATUS_SUCCESS; + } + + switch_mutex_lock(context->mutex); + + if (context->sps_set && context->pps_set) { uint32_t used = switch_buffer_inuse(context->buf); const void *data; int duration = 0; + int ts = 0; - if (!context->timer.interval) { - switch_core_timer_init(&context->timer, "soft", 1, 1, context->pool); - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "init timer\n"); + if (frame->img && frame->img->user_priv) { + ts = *(int *)frame->img->user_priv; } else { switch_core_timer_sync(&context->timer); + ts = context->timer.samplecount; } - duration = context->timer.samplecount - context->last_pts; + duration = ts - context->last_pts; + + if (duration <= 0) duration = 1; // switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "samplecount: %u, duration: %u\n", context->timer.samplecount, duration); switch_buffer_peek_zerocopy(context->buf, &data); - if (context->last_pts == 0) { // first img, write at the very beginning so we don't see blank screen - duration /= 2; - MP4WriteSample(context->fd, context->video, data, used, duration, 0, is_iframe); + context->last_pts = ts; - if (duration > context->offset) { - duration -= context->offset; - } else { - duration = 0; - } - } - - context->last_pts = context->timer.samplecount; - - // switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "samplecount: %u, duration: %u\n", context->timer.samplecount, duration); - - if (duration) { - MP4WriteSample(context->fd, context->video, data, used, duration, 0, is_iframe); - } + MP4WriteSample(context->fd, context->video, data, used, duration, 0, is_iframe); switch_buffer_zero(context->buf); } -end: switch_mutex_unlock(context->mutex); + { + int delta = context->timer.samplecount * (handle->samplerate / 1000) - context->audio_duration; + + if (delta > (int)handle->samplerate) { + uint8_t data[SWITCH_RECOMMENDED_BUFFER_SIZE] = { 0 }; + size_t samples = handle->samplerate / 1000 * PTIME; + + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "missed audio %d samples at %d\n", delta, (int)context->audio_duration / (handle->samplerate / 1000)); + + while ((delta -= samples) > 0) { + mp4_file_write(handle, data, &samples); + samples = handle->samplerate / 1000 * PTIME; + } + } + } + return status; } static switch_status_t mp4_file_write_video(switch_file_handle_t *handle, switch_frame_t *frame) { - switch_status_t status = SWITCH_STATUS_SUCCESS; - switch_status_t encode_status = SWITCH_STATUS_SUCCESS; mp4_file_context_t *context = handle->private_info; if (!frame->img) { return do_write_video(handle, frame); } else { - switch_frame_t eframe = { 0 }; - uint8_t data[SWITCH_RECOMMENDED_BUFFER_SIZE]; + switch_image_t *img = NULL; - - if (!context->last_img) { - switch_img_copy(frame->img, &context->last_img); - return status; + if (!context->timer.interval) { + switch_mutex_lock(context->mutex); + switch_core_timer_init(&context->timer, "soft", 1, 1, context->pool); + switch_mutex_unlock(context->mutex); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "init timer\n"); + } else { + switch_mutex_lock(context->mutex); + switch_core_timer_sync(&context->timer); + switch_mutex_unlock(context->mutex); } - eframe.data = data + 12; - eframe.datalen = SWITCH_RECOMMENDED_BUFFER_SIZE - 12; - eframe.img = context->last_img; - do { - frame->datalen = SWITCH_DEFAULT_VIDEO_SIZE; - encode_status = switch_core_codec_encode_video(&context->video_codec, &eframe); + switch_img_copy(frame->img, &img); + switch_assert(img); + img->user_priv = malloc(sizeof(int)); + *(int *)img->user_priv = context->timer.samplecount; - if (encode_status == SWITCH_STATUS_SUCCESS || encode_status == SWITCH_STATUS_MORE_DATA) { - switch_assert((encode_status == SWITCH_STATUS_SUCCESS && eframe.m) || !eframe.m); - if (eframe.datalen > 0) status = do_write_video(handle, &eframe); - } - } while(status == SWITCH_STATUS_SUCCESS && encode_status == SWITCH_STATUS_MORE_DATA); + if (switch_queue_trypush(context->video_queue, img) != SWITCH_STATUS_SUCCESS) { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "video queue full, discard one frame\n"); + } } - switch_img_copy(frame->img, &context->last_img); - - return status; + return SWITCH_STATUS_SUCCESS; } static switch_status_t mp4_file_set_string(switch_file_handle_t *handle, switch_audio_col_t col, const char *string) @@ -962,14 +730,14 @@ static switch_status_t mp4_file_get_string(switch_file_handle_t *handle, switch_ return SWITCH_STATUS_FALSE; } -static char *supported_formats[2] = { 0 }; +static char *supported_formats[3] = { 0 }; SWITCH_MODULE_LOAD_FUNCTION(mod_mp4v2_load) { - switch_application_interface_t *app_interface; switch_file_interface_t *file_interface; - supported_formats[0] = "mp4"; + supported_formats[0] = "mp4v2"; + supported_formats[1] = "mp4"; /* connect my internal structure to the blank pointer passed to me */ *module_interface = switch_loadable_module_create_module_interface(pool, modname); @@ -988,9 +756,6 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_mp4v2_load) file_interface->file_set_string = mp4_file_set_string; file_interface->file_get_string = mp4_file_get_string; - // SWITCH_ADD_APP(app_interface, "play_mp4", "play an mp4 file", "play an mp4 file", play_mp4_function, "", SAF_NONE); - SWITCH_ADD_APP(app_interface, "record_mp4", "record an mp4 file", "record an mp4 file", record_mp4_function, "", SAF_NONE); - /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } diff --git a/src/mod/applications/mod_skel/mod_skel.c b/src/mod/applications/mod_skel/mod_skel.c index b1f800043b..130d08d05b 100644 --- a/src/mod/applications/mod_skel/mod_skel.c +++ b/src/mod/applications/mod_skel/mod_skel.c @@ -117,100 +117,108 @@ static switch_status_t do_config(switch_bool_t reload) //#define _switch_stun_packet_next_attribute(attribute, end) (attribute && (attribute = (switch_stun_packet_attribute_t *) (attribute->value + _switch_stun_attribute_padded_length(attribute))) && ((void *)attribute < end) && ((void *)(attribute + _switch_stun_attribute_padded_length(attribute)) < end)) +#define MAX_PEERS 128 SWITCH_STANDARD_API(skel_function) { - switch_event_t *event; - unsigned char frame_buffer[8192] = {0}; - uint8_t buf[256] = { 0 }; - switch_stun_packet_t *packet; - char user_name[] = "0000000000000000:1111111111111111"; - //char user_name[] = "0000000000000000"; - void *end_buf; - switch_stun_packet_attribute_t *attr; - int xlen = 0; - - packet = switch_stun_packet_build_header(SWITCH_STUN_BINDING_REQUEST, NULL, buf); - - printf("1len %d %d\n", ntohs(packet->header.length), xlen); - - switch_stun_packet_attribute_add_username(packet, user_name, strlen(user_name)); - printf("2len %d %d\n", ntohs(packet->header.length), xlen); - - switch_stun_packet_attribute_add_controlled(packet); - - //switch_stun_packet_attribute_add_password(packet, user_name, strlen(user_name)); - //printf("3len %d %d\n", ntohs(packet->header.length), xlen); - - //switch_stun_packet_attribute_add_use_candidate(packet); - - switch_stun_packet_attribute_add_integrity(packet, "FUCK"); - switch_stun_packet_attribute_add_fingerprint(packet); + switch_dial_handle_t *dh; + switch_dial_leg_list_t *ll; + switch_dial_leg_t *leg = NULL; + int timeout = 0; + char *peer_names[MAX_PEERS] = { 0 }; + switch_event_t *peer_vars[MAX_PEERS] = { 0 }; + int i; + switch_core_session_t *peer_session = NULL; + switch_call_cause_t cause; + + switch_dial_handle_create(&dh); - end_buf = buf + ((sizeof(buf) > packet->header.length) ? packet->header.length : sizeof(buf)); + switch_dial_handle_add_global_var(dh, "ignore_early_media", "true"); + switch_dial_handle_add_global_var_printf(dh, "coolness_count", "%d", 12); + + + //// SET TO 1 FOR AND LIST example or to 0 for OR LIST example +#if 0 + switch_dial_handle_add_leg_list(dh, &ll); + + switch_dial_leg_list_add_leg(ll, &leg, "sofia/internal/foo1@bar1.com"); + timeout += 10; + switch_dial_handle_add_leg_var_printf(leg, "leg_timeout", "%d", timeout); + + switch_dial_leg_list_add_leg(ll, &leg, "sofia/internal/foo2@bar2.com"); + timeout += 10; + switch_dial_handle_add_leg_var_printf(leg, "leg_timeout", "%d", timeout); + + + switch_dial_leg_list_add_leg(ll, &leg, "sofia/internal/foo3@bar3.com"); + timeout += 10; + switch_dial_handle_add_leg_var_printf(leg, "leg_timeout", "%d", timeout); + + + switch_dial_leg_list_add_leg(ll, &leg, "sofia/internal/3000@cantina.freeswitch.org"); + + +#else + + switch_dial_handle_add_leg_list(dh, &ll); + switch_dial_leg_list_add_leg(ll, &leg, "sofia/internal/foo1@bar1.com"); + timeout += 10; + switch_dial_handle_add_leg_var_printf(leg, "leg_timeout", "%d", timeout); + + switch_dial_handle_add_leg_list(dh, &ll); + switch_dial_leg_list_add_leg(ll, &leg, "sofia/internal/foo2@bar2.com"); + timeout += 10; + switch_dial_handle_add_leg_var_printf(leg, "leg_timeout", "%d", timeout); + + switch_dial_handle_add_leg_list(dh, &ll); + switch_dial_leg_list_add_leg(ll, &leg, "sofia/internal/foo3@bar3.com"); + timeout += 10; + switch_dial_handle_add_leg_var_printf(leg, "leg_timeout", "%d", timeout); + + + switch_dial_handle_add_leg_list(dh, &ll); + switch_dial_leg_list_add_leg(ll, &leg, "sofia/internal/3000@cantina.freeswitch.org"); +#endif + + + + /////// JUST DUMP SOME OF IT TO SEE FIRST + + switch_dial_handle_get_peers(dh, 0, peer_names, MAX_PEERS); + switch_dial_handle_get_vars(dh, 0, peer_vars, MAX_PEERS); - switch_stun_packet_first_attribute(packet, attr); + + for(i = 0; i < MAX_PEERS; i++) { + if (peer_names[i]) { + char *foo; + + printf("peer: [%s]\n", peer_names[i]); - xlen = sizeof(switch_stun_packet_header_t); - - printf("len %d %d\n", ntohs(packet->header.length), xlen); - - do { - printf("WTF %p %d %d:(%d)\n", (void *)attr, ntohs(attr->type), ntohs(attr->length), switch_stun_attribute_padded_length_hbo(attr)); - - if (!switch_stun_packet_next_attribute_hbo(attr, end_buf)) { - break; + if (peer_vars[i]) { + if (switch_event_serialize(peer_vars[i], &foo, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS) { + printf("%s\n", foo); + } + } + printf("\n\n"); } - - xlen += 4+switch_stun_attribute_padded_length_hbo(attr); - } while (xlen <= ntohs(packet->header.length)); - - - - - return SWITCH_STATUS_SUCCESS; - - do_config(SWITCH_TRUE); - - if (switch_event_create(&event, SWITCH_EVENT_TRAP) == SWITCH_STATUS_SUCCESS) { - switch_size_t len = 0; - int x = 0; - - /* populate the event with some headers */ - - switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "testing", "true"); - switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "foo", "bar"); - - for (x = 0; x < 10; x++) { - char name[128]; - switch_snprintf(name, sizeof(name), "test-header-%d", x); - switch_event_add_header(event, SWITCH_STACK_BOTTOM, name, "value-%d", x); - } - - - /* Nothing up my sleeve, here is the event */ - - DUMP_EVENT(event); - - - /* ok, serialize it into frame_buffer and destroy the event *poof* */ - len = sizeof(frame_buffer); - switch_event_binary_serialize(event, (void *)frame_buffer, &len); - switch_event_destroy(&event); - - - /* wave the magic wand and feed frame_buffer to deserialize */ - switch_event_binary_deserialize(&event, (void *)frame_buffer, len, SWITCH_FALSE); - - /* TA DA */ - DUMP_EVENT(event); - - switch_event_destroy(&event); } + switch_ivr_originate(NULL, &peer_session, &cause, NULL, 0, NULL, NULL, NULL, NULL, NULL, SOF_NONE, NULL, dh); + + if (peer_session) { + switch_ivr_session_transfer(peer_session, "3500", "XML", NULL); + switch_core_session_rwunlock(peer_session); + } + + + switch_dial_handle_destroy(&dh); + + + + return SWITCH_STATUS_SUCCESS; } diff --git a/src/mod/applications/mod_spandsp/mod_spandsp_dsp.c b/src/mod/applications/mod_spandsp/mod_spandsp_dsp.c index 4e755b7901..6695f27a76 100644 --- a/src/mod/applications/mod_spandsp/mod_spandsp_dsp.c +++ b/src/mod/applications/mod_spandsp/mod_spandsp_dsp.c @@ -723,13 +723,12 @@ static void tone_segment_callback(void *user_data, int f1, int f2, int duration) */ static switch_status_t tone_detector_create(switch_core_session_t *session, tone_detector_t **detector, tone_descriptor_t *descriptor) { - tone_detector_t *ldetector = NULL; - ldetector = switch_core_session_alloc(session, sizeof(tone_detector_t)); - if (!ldetector) { - return SWITCH_STATUS_FALSE; - } - memset(ldetector, 0, sizeof(tone_detector_t)); - ldetector->descriptor = descriptor; + tone_detector_t *ldetector = switch_core_session_alloc(session, sizeof(tone_detector_t)); + tone_descriptor_t *desc = switch_core_session_alloc(session, sizeof(tone_descriptor_t)); + + memcpy(desc, descriptor, sizeof(tone_descriptor_t)); + + ldetector->descriptor = desc; ldetector->debug = spandsp_globals.tonedebug; ldetector->session = session; *detector = ldetector; @@ -802,13 +801,18 @@ switch_status_t callprogress_detector_start(switch_core_session_t *session, cons return SWITCH_STATUS_FALSE; } + switch_mutex_lock(spandsp_globals.mutex); /* find the tone descriptor with the matching name and create the detector */ descriptor = switch_core_hash_find(spandsp_globals.tones, name); + if (!descriptor) { + switch_mutex_unlock(spandsp_globals.mutex); switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "no tone descriptor defined with name '%s'. Update configuration. \n", name); return SWITCH_STATUS_FALSE; } + tone_detector_create(session, &detector, descriptor); + switch_mutex_unlock(spandsp_globals.mutex); /* start listening for tones */ switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Starting tone detection for '%s'\n", name); diff --git a/src/mod/asr_tts/mod_flite/mod_flite.c b/src/mod/asr_tts/mod_flite/mod_flite.c index 2118825295..b735c151dd 100644 --- a/src/mod/asr_tts/mod_flite/mod_flite.c +++ b/src/mod/asr_tts/mod_flite/mod_flite.c @@ -31,7 +31,7 @@ */ #include -#include +#include cst_voice *register_cmu_us_awb(void); void unregister_cmu_us_awb(cst_voice * v); diff --git a/src/mod/codecs/mod_codec2/mod_codec2.c b/src/mod/codecs/mod_codec2/mod_codec2.c index 9edd464197..cdbdfbdf72 100644 --- a/src/mod/codecs/mod_codec2/mod_codec2.c +++ b/src/mod/codecs/mod_codec2/mod_codec2.c @@ -30,7 +30,7 @@ */ #include -#include +#include /* Uncomment to log input/output data for debugging #define LOG_DATA diff --git a/src/mod/endpoints/mod_loopback/mod_loopback.c b/src/mod/endpoints/mod_loopback/mod_loopback.c index e22ec9cc84..1ef3690578 100644 --- a/src/mod/endpoints/mod_loopback/mod_loopback.c +++ b/src/mod/endpoints/mod_loopback/mod_loopback.c @@ -1,6 +1,6 @@ /* * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application - * Copyright (C) 2005-2014, Anthony Minessale II + * Copyright (C) 2005-2018, Anthony Minessale II * * Version: MPL 1.1 * @@ -866,12 +866,12 @@ static switch_status_t channel_write_frame(switch_core_session_t *session, switc if (br_a) { ch_a = switch_core_session_get_channel(br_a); - switch_core_media_bug_transfer_recordings(session, br_a); + switch_ivr_transfer_recordings(session, br_a); } if (br_b) { ch_b = switch_core_session_get_channel(br_b); - switch_core_media_bug_transfer_recordings(tech_pvt->other_session, br_b); + switch_ivr_transfer_recordings(tech_pvt->other_session, br_b); } if (ch_a && ch_b && switch_channel_test_flag(ch_a, CF_BRIDGED) && switch_channel_test_flag(ch_b, CF_BRIDGED)) { @@ -1207,6 +1207,353 @@ static switch_io_routines_t channel_io_routines = { SWITCH_STANDARD_APP(unloop_function) { /* NOOP */} + +static switch_endpoint_interface_t *null_endpoint_interface = NULL; + + +struct null_private_object { + switch_core_session_t *session; + switch_channel_t *channel; + switch_codec_t read_codec; + switch_codec_t write_codec; + switch_timer_t timer; + switch_caller_profile_t *caller_profile; + switch_frame_t read_frame; + int16_t *null_buf; +}; + +typedef struct null_private_object null_private_t; + +static switch_status_t null_channel_on_init(switch_core_session_t *session); +static switch_status_t null_channel_on_destroy(switch_core_session_t *session); +static switch_call_cause_t null_channel_outgoing_channel(switch_core_session_t *session, switch_event_t *var_event, + switch_caller_profile_t *outbound_profile, + switch_core_session_t **new_session, switch_memory_pool_t **pool, switch_originate_flag_t flags, + switch_call_cause_t *cancel_cause); +static switch_status_t null_channel_read_frame(switch_core_session_t *session, switch_frame_t **frame, switch_io_flag_t flags, int stream_id); +static switch_status_t null_channel_write_frame(switch_core_session_t *session, switch_frame_t *frame, switch_io_flag_t flags, int stream_id); +static switch_status_t null_channel_kill_channel(switch_core_session_t *session, int sig); + + + +static switch_status_t null_tech_init(null_private_t *tech_pvt, switch_core_session_t *session) +{ + const char *iananame = "L16"; + uint32_t rate = 8000; + uint32_t interval = 20; + switch_status_t status = SWITCH_STATUS_SUCCESS; + switch_channel_t *channel = switch_core_session_get_channel(session); + const switch_codec_implementation_t *read_impl; + + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s setup codec %s/%d/%d\n", switch_channel_get_name(channel), iananame, rate, + interval); + + status = switch_core_codec_init(&tech_pvt->read_codec, + iananame, + NULL, + NULL, + rate, interval, 1, SWITCH_CODEC_FLAG_ENCODE | SWITCH_CODEC_FLAG_DECODE, NULL, switch_core_session_get_pool(session)); + + if (status != SWITCH_STATUS_SUCCESS || !tech_pvt->read_codec.implementation || !switch_core_codec_ready(&tech_pvt->read_codec)) { + goto end; + } + + status = switch_core_codec_init(&tech_pvt->write_codec, + iananame, + NULL, + NULL, + rate, interval, 1, SWITCH_CODEC_FLAG_ENCODE | SWITCH_CODEC_FLAG_DECODE, NULL, switch_core_session_get_pool(session)); + + + if (status != SWITCH_STATUS_SUCCESS) { + switch_core_codec_destroy(&tech_pvt->read_codec); + goto end; + } + + switch_core_session_set_read_codec(session, &tech_pvt->read_codec); + switch_core_session_set_write_codec(session, &tech_pvt->write_codec); + + read_impl = tech_pvt->read_codec.implementation; + + switch_core_timer_init(&tech_pvt->timer, "soft", + read_impl->microseconds_per_packet / 1000, read_impl->samples_per_packet * 4, switch_core_session_get_pool(session)); + + switch_core_session_set_private(session, tech_pvt); + tech_pvt->session = session; + tech_pvt->channel = switch_core_session_get_channel(session); + tech_pvt->null_buf = switch_core_session_alloc(session, sizeof(char) * read_impl->samples_per_packet * sizeof(int16_t)); + + end: + + return status; +} + + +static switch_status_t null_channel_on_init(switch_core_session_t *session) +{ + switch_channel_t *channel; + null_private_t *tech_pvt = NULL; + + tech_pvt = switch_core_session_get_private(session); + switch_assert(tech_pvt != NULL); + + channel = switch_core_session_get_channel(session); + switch_assert(channel != NULL); + + switch_channel_set_flag(channel, CF_ACCEPT_CNG); + switch_channel_set_flag(channel, CF_AUDIO); + + switch_channel_set_state(channel, CS_ROUTING); + + return SWITCH_STATUS_SUCCESS; +} + +static switch_status_t null_channel_on_destroy(switch_core_session_t *session) +{ + switch_channel_t *channel = NULL; + null_private_t *tech_pvt = NULL; + + channel = switch_core_session_get_channel(session); + switch_assert(channel != NULL); + + tech_pvt = switch_core_session_get_private(session); + + if (tech_pvt) { + switch_core_timer_destroy(&tech_pvt->timer); + + if (switch_core_codec_ready(&tech_pvt->read_codec)) { + switch_core_codec_destroy(&tech_pvt->read_codec); + } + + if (switch_core_codec_ready(&tech_pvt->write_codec)) { + switch_core_codec_destroy(&tech_pvt->write_codec); + } + } + + return SWITCH_STATUS_SUCCESS; +} + + +static switch_status_t null_channel_kill_channel(switch_core_session_t *session, int sig) +{ + switch_channel_t *channel = NULL; + null_private_t *tech_pvt = NULL; + + channel = switch_core_session_get_channel(session); + switch_assert(channel != NULL); + + tech_pvt = switch_core_session_get_private(session); + switch_assert(tech_pvt != NULL); + + switch (sig) { + case SWITCH_SIG_BREAK: + break; + case SWITCH_SIG_KILL: + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "CHANNEL SWITCH_SIG_KILL - hanging up\n"); + switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING); + break; + default: + break; + } + + return SWITCH_STATUS_SUCCESS; +} + +static switch_status_t null_channel_on_consume_media(switch_core_session_t *session) +{ + switch_channel_t *channel = NULL; + null_private_t *tech_pvt = NULL; + + channel = switch_core_session_get_channel(session); + assert(channel != NULL); + + tech_pvt = switch_core_session_get_private(session); + assert(tech_pvt != NULL); + + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "CHANNEL CONSUME_MEDIA - answering\n"); + + switch_channel_mark_answered(channel); + + return SWITCH_STATUS_SUCCESS; +} + +static switch_status_t null_channel_send_dtmf(switch_core_session_t *session, const switch_dtmf_t *dtmf) +{ + null_private_t *tech_pvt = NULL; + + tech_pvt = switch_core_session_get_private(session); + switch_assert(tech_pvt != NULL); + + return SWITCH_STATUS_SUCCESS; +} + +static switch_status_t null_channel_read_frame(switch_core_session_t *session, switch_frame_t **frame, switch_io_flag_t flags, int stream_id) +{ + switch_channel_t *channel = NULL; + null_private_t *tech_pvt = NULL; + switch_status_t status = SWITCH_STATUS_FALSE; + + channel = switch_core_session_get_channel(session); + switch_assert(channel != NULL); + + tech_pvt = switch_core_session_get_private(session); + switch_assert(tech_pvt != NULL); + + *frame = NULL; + + if (!switch_channel_ready(channel)) { + return SWITCH_STATUS_FALSE; + } + + switch_core_timer_next(&tech_pvt->timer); + + if (tech_pvt->null_buf) { + int samples; + memset(&tech_pvt->read_frame, 0, sizeof(switch_frame_t)); + samples = tech_pvt->read_codec.implementation->samples_per_packet; + tech_pvt->read_frame.codec = &tech_pvt->read_codec; + tech_pvt->read_frame.datalen = samples * sizeof(int16_t); + tech_pvt->read_frame.samples = samples; + tech_pvt->read_frame.data = tech_pvt->null_buf; + switch_generate_sln_silence((int16_t *)tech_pvt->read_frame.data, tech_pvt->read_frame.samples, tech_pvt->read_codec.implementation->number_of_channels, 10000); + *frame = &tech_pvt->read_frame; + } + + if (*frame) { + status = SWITCH_STATUS_SUCCESS; + } else { + status = SWITCH_STATUS_FALSE; + } + + return status; +} + +static switch_status_t null_channel_write_frame(switch_core_session_t *session, switch_frame_t *frame, switch_io_flag_t flags, int stream_id) +{ + switch_channel_t *channel = NULL; + null_private_t *tech_pvt = NULL; + + channel = switch_core_session_get_channel(session); + switch_assert(channel != NULL); + + tech_pvt = switch_core_session_get_private(session); + switch_assert(tech_pvt != NULL); + + switch_core_timer_sync(&tech_pvt->timer); + + return SWITCH_STATUS_SUCCESS; +} + +static switch_status_t null_channel_receive_message(switch_core_session_t *session, switch_core_session_message_t *msg) +{ + switch_channel_t *channel; + null_private_t *tech_pvt; + + channel = switch_core_session_get_channel(session); + switch_assert(channel != NULL); + + tech_pvt = switch_core_session_get_private(session); + switch_assert(tech_pvt != NULL); + + switch (msg->message_id) { + case SWITCH_MESSAGE_INDICATE_ANSWER: + switch_channel_mark_answered(channel); + break; + case SWITCH_MESSAGE_INDICATE_BRIDGE: + case SWITCH_MESSAGE_INDICATE_UNBRIDGE: + case SWITCH_MESSAGE_INDICATE_AUDIO_SYNC: + switch_core_timer_sync(&tech_pvt->timer); + break; + default: + break; + } + + return SWITCH_STATUS_SUCCESS; +} + +static switch_call_cause_t null_channel_outgoing_channel(switch_core_session_t *session, switch_event_t *var_event, + switch_caller_profile_t *outbound_profile, + switch_core_session_t **new_session, switch_memory_pool_t **pool, switch_originate_flag_t flags, + switch_call_cause_t *cancel_cause) +{ + char name[128]; + switch_channel_t *ochannel = NULL; + + if (session) { + ochannel = switch_core_session_get_channel(session); + switch_channel_clear_flag(ochannel, CF_PROXY_MEDIA); + switch_channel_clear_flag(ochannel, CF_PROXY_MODE); + switch_channel_pre_answer(ochannel); + } + + if ((*new_session = switch_core_session_request(null_endpoint_interface, SWITCH_CALL_DIRECTION_OUTBOUND, flags, pool)) != 0) { + null_private_t *tech_pvt; + switch_channel_t *channel; + switch_caller_profile_t *caller_profile; + + switch_core_session_add_stream(*new_session, NULL); + + if ((tech_pvt = (null_private_t *) switch_core_session_alloc(*new_session, sizeof(null_private_t))) != 0) { + channel = switch_core_session_get_channel(*new_session); + switch_snprintf(name, sizeof(name), "null/%s", outbound_profile->destination_number); + switch_channel_set_name(channel, name); + if (null_tech_init(tech_pvt, *new_session) != SWITCH_STATUS_SUCCESS) { + switch_core_session_destroy(new_session); + return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER; + } + } else { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(*new_session), SWITCH_LOG_CRIT, "Hey where is my memory pool?\n"); + switch_core_session_destroy(new_session); + return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER; + } + + if (outbound_profile) { + caller_profile = switch_caller_profile_clone(*new_session, outbound_profile); + caller_profile->source = switch_core_strdup(caller_profile->pool, modname); + + switch_snprintf(name, sizeof(name), "null/%s", caller_profile->destination_number); + switch_channel_set_name(channel, name); + switch_channel_set_caller_profile(channel, caller_profile); + tech_pvt->caller_profile = caller_profile; + } else { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(*new_session), SWITCH_LOG_ERROR, "Doh! no caller profile\n"); + switch_core_session_destroy(new_session); + return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER; + } + + switch_channel_set_state(channel, CS_INIT); + switch_channel_set_flag(channel, CF_AUDIO); + return SWITCH_CAUSE_SUCCESS; + } + + return SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER; +} + +static switch_state_handler_table_t null_channel_event_handlers = { + /*.on_init */ null_channel_on_init, + /*.on_routing */ NULL, + /*.on_execute */ NULL, + /*.on_hangup */ NULL, + /*.on_exchange_media */ NULL, + /*.on_soft_execute */ NULL, + /*.on_consume_media */ null_channel_on_consume_media, + /*.on_hibernate */ NULL, + /*.on_reset */ NULL, + /*.on_park */ NULL, + /*.on_reporting */ NULL, + /*.on_destroy */ null_channel_on_destroy +}; + +static switch_io_routines_t null_channel_io_routines = { + /*.outgoing_channel */ null_channel_outgoing_channel, + /*.read_frame */ null_channel_read_frame, + /*.write_frame */ null_channel_write_frame, + /*.kill_channel */ null_channel_kill_channel, + /*.send_dtmf */ null_channel_send_dtmf, + /*.receive_message */ null_channel_receive_message +}; + + SWITCH_MODULE_LOAD_FUNCTION(mod_loopback_load) { switch_application_interface_t *app_interface; @@ -1226,6 +1573,11 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_loopback_load) loopback_endpoint_interface->io_routines = &channel_io_routines; loopback_endpoint_interface->state_handler = &channel_event_handlers; + null_endpoint_interface = switch_loadable_module_create_interface(*module_interface, SWITCH_ENDPOINT_INTERFACE); + null_endpoint_interface->interface_name = "null"; + null_endpoint_interface->io_routines = &null_channel_io_routines; + null_endpoint_interface->state_handler = &null_channel_event_handlers; + SWITCH_ADD_APP(app_interface, "unloop", "Tell loopback to unfold", "Tell loopback to unfold", unloop_function, "", SAF_NO_LOOPBACK); /* indicate that the module should continue to be loaded */ diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 181e40485b..142424f3a6 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -6748,7 +6748,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status p_contact->m_url->url_user, sip_redirect_dialplan, sip_redirect_context); if (switch_true(switch_channel_get_variable(channel, "recording_follow_transfer"))) { - switch_core_media_bug_transfer_recordings(session, a_session); + switch_ivr_transfer_recordings(session, a_session); } switch_ivr_session_transfer(a_session, p_contact->m_url->url_user, sip_redirect_dialplan, sip_redirect_context); @@ -6765,7 +6765,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status p_contact->m_url->url_user); if (switch_true(switch_channel_get_variable(channel, "recording_follow_transfer"))) { - switch_core_media_bug_transfer_recordings(session, a_session); + switch_ivr_transfer_recordings(session, a_session); } switch_ivr_session_transfer(a_session, p_contact->m_url->url_user, NULL, NULL); @@ -7740,7 +7740,7 @@ static void sofia_handle_sip_i_state(switch_core_session_t *session, int status, if (switch_true(switch_channel_get_variable(channel, "recording_follow_transfer")) && (tmp = switch_core_session_locate(br_a))) { - switch_core_media_bug_transfer_recordings(session, tmp); + switch_ivr_transfer_recordings(session, tmp); switch_core_session_rwunlock(tmp); } @@ -8541,11 +8541,11 @@ void *SWITCH_THREAD_FUNC nightmare_xfer_thread_run(switch_thread_t *thread, void switch_channel_t *channel_a = switch_core_session_get_channel(session); if ((status = switch_ivr_originate(NULL, &tsession, &cause, nhelper->exten_with_params, timeout, NULL, NULL, NULL, - switch_channel_get_caller_profile(channel_a), nhelper->vars, SOF_NONE, NULL)) == SWITCH_STATUS_SUCCESS) { + switch_channel_get_caller_profile(channel_a), nhelper->vars, SOF_NONE, NULL, NULL)) == SWITCH_STATUS_SUCCESS) { if (switch_channel_up(channel_a)) { if (switch_true(switch_channel_get_variable(channel_a, "recording_follow_transfer"))) { - switch_core_media_bug_transfer_recordings(session, a_session); + switch_ivr_transfer_recordings(session, a_session); } @@ -8933,12 +8933,12 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t switch_ivr_session_transfer(a_session, "park", "inline", NULL); } if (switch_true(switch_channel_get_variable(channel_a, "recording_follow_transfer"))) { - switch_core_media_bug_transfer_recordings(session, a_session); + switch_ivr_transfer_recordings(session, a_session); } if (switch_true(switch_channel_get_variable(channel_b, "recording_follow_transfer")) && (tmpsess = switch_core_session_locate(br_a))) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_NOTICE, "Early transfer detected with no media, moving recording bug to other leg\n"); - switch_core_media_bug_transfer_recordings(b_session, tmpsess); + switch_ivr_transfer_recordings(b_session, tmpsess); switch_core_session_rwunlock(tmpsess); } @@ -8999,14 +8999,14 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t if (switch_true(switch_channel_get_variable(channel_a, "recording_follow_transfer")) && (tmp = switch_core_session_locate(br_a))) { switch_channel_set_variable(switch_core_session_get_channel(tmp), "transfer_disposition", "bridge"); - switch_core_media_bug_transfer_recordings(session, tmp); + switch_ivr_transfer_recordings(session, tmp); switch_core_session_rwunlock(tmp); } if (switch_true(switch_channel_get_variable(channel_b, "recording_follow_transfer")) && (tmp = switch_core_session_locate(br_b))) { - switch_core_media_bug_transfer_recordings(b_session, tmp); + switch_ivr_transfer_recordings(b_session, tmp); switch_core_session_rwunlock(tmp); } @@ -9095,7 +9095,7 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t if (switch_true(switch_channel_get_variable(hup_channel, "recording_follow_transfer"))) { - switch_core_media_bug_transfer_recordings(hup_session, t_session); + switch_ivr_transfer_recordings(hup_session, t_session); } if(sofia_test_pflag(profile, PFLAG_FIRE_TRANFER_EVENTS)) { @@ -9350,7 +9350,7 @@ void sofia_handle_sip_i_refer(nua_t *nua, sofia_profile_t *profile, nua_handle_t } if (switch_true(switch_channel_get_variable(channel, "recording_follow_transfer"))) { - switch_core_media_bug_transfer_recordings(session, b_session); + switch_ivr_transfer_recordings(session, b_session); } switch_channel_set_variable(channel, SWITCH_ENDPOINT_DISPOSITION_VARIABLE, "BLIND_TRANSFER"); diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c index cc11c3d209..7dc8336bd9 100644 --- a/src/mod/endpoints/mod_verto/mod_verto.c +++ b/src/mod/endpoints/mod_verto/mod_verto.c @@ -57,9 +57,13 @@ SWITCH_MODULE_DEFINITION(mod_verto, mod_verto_load, mod_verto_shutdown, mod_vert #include #include +#ifdef WIN32 +#define strerror_r(errno, buf, len) strerror_s(buf, len, errno) +#endif - -#define die(...) switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, __VA_ARGS__); goto error +#define die(...) switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, __VA_ARGS__); goto error +#define die_errno(fmt) do { char errbuf[BUFSIZ] = {0}; strerror_r(errno, (char *)&errbuf, sizeof(errbuf)); die(fmt ", errno=%d, %s\n", errno, (char *)&errbuf); } while(0) +#define die_errnof(fmt, ...) do { char errbuf[BUFSIZ] = {0}; strerror_r(errno, (char *)&errbuf, sizeof(errbuf)); die(fmt ", errno=%d, %s\n", __VA_ARGS__, errno, (char *)&errbuf); } while(0) static struct globals_s verto_globals; @@ -1795,17 +1799,17 @@ done: int pflags = switch_wait_sock(jsock->client_socket, 3000, SWITCH_POLL_READ | SWITCH_POLL_ERROR | SWITCH_POLL_HUP); if (jsock->drop) { die("%s Dropping Connection\n", jsock->name); } - if (pflags < 0 && (errno != EINTR)) { die("%s POLL FAILED\n", jsock->name); } + if (pflags < 0 && (errno != EINTR)) { die_errnof("%s POLL FAILED", jsock->name); } + if (pflags & SWITCH_POLL_HUP) { die("%s POLL HANGUP DETECTED (peer closed its end of socket)\n", jsock->name); } if (pflags & SWITCH_POLL_ERROR) { die("%s POLL ERROR\n", jsock->name); } - if (pflags & SWITCH_POLL_HUP) { die("%s POLL HANGUP DETECTED\n", jsock->name); } - if (pflags & SWITCH_POLL_INVALID) { die("%s POLL INVALID SOCKET\n", jsock->name); } + if (pflags & SWITCH_POLL_INVALID) { die("%s POLL INVALID SOCKET (not opened or already closed)\n", jsock->name); } if (pflags & SWITCH_POLL_READ) { ssize_t bytes; bytes = ws_raw_read(wsh, wsh->buffer + wsh->datalen, wsh->buflen - wsh->datalen - 1, wsh->block); if (bytes < 0) { - die("BAD READ %" SWITCH_SIZE_T_FMT "\n", bytes); + die("%s BAD READ %" SWITCH_SIZE_T_FMT "\n", jsock->name, bytes); break; } @@ -1813,7 +1817,7 @@ done: bytes = ws_raw_read(wsh, wsh->buffer + wsh->datalen, wsh->buflen - wsh->datalen - 1, wsh->block); if (bytes < 0) { - die("BAD READ %" SWITCH_SIZE_T_FMT "\n", bytes); + die("%s BAD READ %" SWITCH_SIZE_T_FMT "\n", jsock->name, bytes); break; } @@ -1864,28 +1868,11 @@ static void client_run(jsock_t *jsock) while(jsock->profile->running) { int pflags = switch_wait_sock(jsock->client_socket, 50, SWITCH_POLL_READ | SWITCH_POLL_ERROR | SWITCH_POLL_HUP); - if (jsock->drop) { - die("%s Dropping Connection\n", jsock->name); - } - - if (pflags < 0) { - if (errno != EINTR) { - die("%s POLL FAILED\n", jsock->name); - } - } - - if (pflags & SWITCH_POLL_ERROR) { - die("%s POLL ERROR\n", jsock->name); - } - - if (pflags & SWITCH_POLL_HUP) { - die("%s POLL HANGUP DETECTED\n", jsock->name); - } - - if (pflags & SWITCH_POLL_INVALID) { - die("%s POLL INVALID SOCKET\n", jsock->name); - } - + if (jsock->drop) { die("%s Dropping Connection\n", jsock->name); } + if (pflags < 0 && (errno != EINTR)) { die_errnof("%s POLL FAILED", jsock->name); } + if (pflags & SWITCH_POLL_HUP) { die("%s POLL HANGUP DETECTED (peer closed its end of socket)\n", jsock->name); } + if (pflags & SWITCH_POLL_ERROR) { die("%s POLL ERROR\n", jsock->name); } + if (pflags & SWITCH_POLL_INVALID) { die("%s POLL INVALID SOCKET (not opened or already closed)\n", jsock->name); } if (pflags & SWITCH_POLL_READ) { switch_ssize_t bytes; ws_opcode_t oc; @@ -1894,8 +1881,11 @@ static void client_run(jsock_t *jsock) bytes = ws_read_frame(&jsock->ws, &oc, &data); if (bytes < 0) { - die("BAD READ %" SWITCH_SSIZE_T_FMT "\n", bytes); - break; + if (bytes == -WS_RECV_CLOSE) { + die("%s Client sent close request\n", jsock->name); + } else { + die("%s BAD READ %" SWITCH_SSIZE_T_FMT "\n", jsock->name, bytes); + } } if (bytes) { @@ -1964,7 +1954,7 @@ static void client_run(jsock_t *jsock) nm: if (process_input(jsock, data, bytes) != SWITCH_STATUS_SUCCESS) { - die("Input Error\n"); + die("%s Input Error\n", jsock->name); } if (!switch_test_flag(jsock, JPFLAG_CHECK_ATTACH) && switch_test_flag(jsock, JPFLAG_AUTHED)) { @@ -2449,7 +2439,7 @@ static switch_status_t verto_set_media_options(verto_pvt_t *tech_pvt, verto_prof tech_pvt->mparams->inbound_codec_string = switch_core_session_strdup(tech_pvt->session, profile->inbound_codec_string); tech_pvt->mparams->outbound_codec_string = switch_core_session_strdup(tech_pvt->session, profile->outbound_codec_string); - tech_pvt->mparams->jb_msec = "-1"; + tech_pvt->mparams->jb_msec = "1p:50p"; switch_media_handle_set_media_flag(tech_pvt->smh, SCMF_SUPPRESS_CNG); //tech_pvt->mparams->auto_rtp_bugs = profile->auto_rtp_bugs; @@ -3076,14 +3066,14 @@ static switch_bool_t attended_transfer(switch_core_session_t *session, switch_co if (switch_true(switch_channel_get_variable(tech_pvt->channel, "recording_follow_transfer")) && (tmp = switch_core_session_locate(br_a))) { switch_channel_set_variable(switch_core_session_get_channel(tmp), "transfer_disposition", "bridge"); - switch_core_media_bug_transfer_recordings(session, tmp); + switch_ivr_transfer_recordings(session, tmp); switch_core_session_rwunlock(tmp); } if (switch_true(switch_channel_get_variable(b_tech_pvt->channel, "recording_follow_transfer")) && (tmp = switch_core_session_locate(br_b))) { - switch_core_media_bug_transfer_recordings(b_session, tmp); + switch_ivr_transfer_recordings(b_session, tmp); switch_core_session_rwunlock(tmp); } @@ -3129,7 +3119,7 @@ static switch_bool_t attended_transfer(switch_core_session_t *session, switch_co ext = switch_channel_get_variable(hup_channel, "destination_number"); if (switch_true(switch_channel_get_variable(hup_channel, "recording_follow_transfer"))) { - switch_core_media_bug_transfer_recordings(hup_session, t_session); + switch_ivr_transfer_recordings(hup_session, t_session); } if (idest) { @@ -4213,13 +4203,13 @@ static int start_jsock(verto_profile_t *profile, ws_socket_t sock, int family) len = sizeof(jsock->remote_addr); if ((jsock->client_socket = accept(sock, (struct sockaddr *) &jsock->remote_addr, &len)) < 0) { - die("ACCEPT FAILED\n"); + die_errno("ACCEPT FAILED"); } } else { len = sizeof(jsock->remote_addr6); if ((jsock->client_socket = accept(sock, (struct sockaddr *) &jsock->remote_addr6, &len)) < 0) { - die("ACCEPT FAILED\n"); + die_errno("ACCEPT FAILED"); } } @@ -4328,11 +4318,11 @@ static ws_socket_t prepare_socket(ips_t *ips) } if ((sock = socket(family, SOCK_STREAM, IPPROTO_TCP)) < 0) { - die("Socket Error!\n"); + die_errno("Socket Error!"); } if ( setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &reuse_addr, sizeof(reuse_addr)) < 0 ) { - die("Socket setsockopt Error!\n"); + die_errno("Socket setsockopt Error!"); } if (family == PF_INET) { @@ -4341,7 +4331,7 @@ static ws_socket_t prepare_socket(ips_t *ips) addr.sin_addr.s_addr = inet_addr(ips->local_ip); addr.sin_port = htons(ips->local_port); if (bind(sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) { - die("Bind Error!\n"); + die_errno("Bind Error!"); } } else { memset(&addr6, 0, sizeof(addr6)); @@ -4349,12 +4339,12 @@ static ws_socket_t prepare_socket(ips_t *ips) addr6.sin6_port = htons(ips->local_port); inet_pton(AF_INET6, ips->local_ip, &(addr6.sin6_addr)); if (bind(sock, (struct sockaddr *) &addr6, sizeof(addr6)) < 0) { - die("Bind Error!\n"); + die_errno("Bind Error!"); } } if (listen(sock, MAXPENDING) < 0) { - die("Listen error\n"); + die_errno("Listen error"); } ips->family = family; @@ -4387,11 +4377,11 @@ static void handle_mcast_sub(verto_profile_t *profile) jsock_send_event(json); cJSON_Delete(json); } else { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "MCAST JSON PARSE ERR: %s\n", (char *)profile->mcast_sub.buffer); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%s MCAST JSON PARSE ERR: %s\n", profile->name, (char *)profile->mcast_sub.buffer); } } else { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "MCAST INVALID READ %d\n", bytes); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "%s MCAST INVALID READ %d\n", profile->name, bytes); } } @@ -4419,7 +4409,7 @@ static int profile_one_loop(verto_profile_t *profile) if ((res = switch_wait_socklist(pfds, max, 100)) < 0) { if (errno != EINTR) { - die("POLL FAILED\n"); + die_errnof("%s POLL FAILED", profile->name); } } @@ -4428,14 +4418,9 @@ static int profile_one_loop(verto_profile_t *profile) } for (x = 0; x < max; x++) { - if (pfds[x].revents & SWITCH_POLL_ERROR) { - die("POLL ERROR\n"); - } - - if (pfds[x].revents & SWITCH_POLL_HUP) { - die("POLL HUP\n"); - } - + if (pfds[x].revents & SWITCH_POLL_HUP) { die("%s POLL HANGUP DETECTED (peer closed its end of socket)\n", profile->name); } + if (pfds[x].revents & SWITCH_POLL_ERROR) { die("%s POLL ERROR\n", profile->name); } + if (pfds[x].revents & SWITCH_POLL_INVALID) { die("%s POLL INVALID SOCKET (not opened or already closed)\n", profile->name); } if (pfds[x].revents & SWITCH_POLL_READ) { if (profile->mcast_ip && pfds[x].sock == (switch_os_socket_t)profile->mcast_sub.sock) { handle_mcast_sub(profile); @@ -4521,7 +4506,7 @@ static int runtime(verto_profile_t *profile) } if (!listeners) { - die("Client Socket Error! No Listeners!\n"); + die("%s Client Socket Error! No Listeners!\n", profile->name); } if (profile->mcast_ip) { @@ -4537,9 +4522,9 @@ static int runtime(verto_profile_t *profile) } if (ok) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "MCAST Bound to %s:%d/%d\n", profile->mcast_ip, profile->mcast_port, profile->mcast_port + 1); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "%s MCAST Bound to %s:%d/%d\n", profile->name, profile->mcast_ip, profile->mcast_port, profile->mcast_port + 1); } else { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "MCAST Disabled\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "%s MCAST Disabled\n", profile->name); } } @@ -4572,13 +4557,13 @@ static void do_shutdown(void) { verto_globals.running = 0; - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Shutting down (SIG %d)\n", verto_globals.sig); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Shutting down (SIG %d)\n", verto_globals.sig); kill_profiles(); unsub_all_jsock(); - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Done\n"); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Done\n"); } @@ -5480,7 +5465,7 @@ static switch_call_cause_t verto_outgoing_channel(switch_core_session_t *session } if (switch_ivr_originate(session, new_session, &cause, dial_str, 0, NULL, - NULL, NULL, outbound_profile, var_event, myflags, cancel_cause) == SWITCH_STATUS_SUCCESS) { + NULL, NULL, outbound_profile, var_event, myflags, cancel_cause, NULL) == SWITCH_STATUS_SUCCESS) { switch_core_session_rwunlock(*new_session); } diff --git a/src/mod/endpoints/mod_verto/ws.c b/src/mod/endpoints/mod_verto/ws.c index ced491d829..d92fd0bcea 100644 --- a/src/mod/endpoints/mod_verto/ws.c +++ b/src/mod/endpoints/mod_verto/ws.c @@ -346,10 +346,12 @@ int ws_handshake(wsh_t *wsh) } +#define SSL_WANT_READ_WRITE(err) (err == SSL_ERROR_WANT_READ || err == SSL_ERROR_WANT_WRITE) + ssize_t ws_raw_read(wsh_t *wsh, void *data, size_t bytes, int block) { ssize_t r; - int err = 0; + int ssl_err = 0; wsh->x++; if (wsh->x > 250) ms_sleep(1); @@ -358,10 +360,10 @@ ssize_t ws_raw_read(wsh_t *wsh, void *data, size_t bytes, int block) do { r = SSL_read(wsh->ssl, data, bytes); - if (r == -1) { - err = SSL_get_error(wsh->ssl, r); + if (r < 0) { + ssl_err = SSL_get_error(wsh->ssl, r); - if (err == SSL_ERROR_WANT_READ) { + if (SSL_WANT_READ_WRITE(ssl_err)) { if (!block) { r = -2; goto end; @@ -374,7 +376,7 @@ ssize_t ws_raw_read(wsh_t *wsh, void *data, size_t bytes, int block) } } - } while (r == -1 && err == SSL_ERROR_WANT_READ && wsh->x < 1000); + } while (r < 0 && SSL_WANT_READ_WRITE(ssl_err) && wsh->x < 1000); goto end; } @@ -446,10 +448,10 @@ ssize_t ws_raw_write(wsh_t *wsh, void *data, size_t bytes) ms_sleep(ms); } - if (r == -1) { + if (r < 0) { ssl_err = SSL_get_error(wsh->ssl, r); - if (ssl_err != SSL_ERROR_WANT_WRITE && ssl_err != SSL_ERROR_WANT_READ) { + if (!SSL_WANT_READ_WRITE(ssl_err)) { break; } ssl_err = 0; @@ -581,7 +583,8 @@ int establish_logical_layer(wsh_t *wsh) } if (code < 0) { - if (code == -1 && SSL_get_error(wsh->ssl, code) != SSL_ERROR_WANT_READ) { + int ssl_err = SSL_get_error(wsh->ssl, code); + if (code < 0 && !SSL_WANT_READ_WRITE(ssl_err)) { return -1; } } @@ -692,10 +695,22 @@ void ws_destroy(wsh_t *wsh) } if (wsh->ssl) { - int code; + int code, ssl_err, sanity = 100; do { code = SSL_shutdown(wsh->ssl); - } while (code == -1 && SSL_get_error(wsh->ssl, code) == SSL_ERROR_WANT_READ); + if (code == 1) { + break; + } + if (code < 0) { + ssl_err = SSL_get_error(wsh->ssl, code); + } + if (wsh->block) { + ms_sleep(10); + } else { + ms_sleep(1); + } + + } while ((code == 0 || (code < 0 && SSL_WANT_READ_WRITE(ssl_err))) && --sanity > 0); SSL_free(wsh->ssl); wsh->ssl = NULL; @@ -815,7 +830,7 @@ ssize_t ws_read_frame(wsh_t *wsh, ws_opcode_t *oc, uint8_t **data) { wsh->plen = wsh->buffer[1] & 0x7f; *data = (uint8_t *) &wsh->buffer[2]; - return ws_close(wsh, 1000); + return ws_close(wsh, WS_RECV_CLOSE); } break; case WSOC_CONTINUATION: diff --git a/src/mod/endpoints/mod_verto/ws.h b/src/mod/endpoints/mod_verto/ws.h index 5b4986acb4..58bbaee316 100644 --- a/src/mod/endpoints/mod_verto/ws.h +++ b/src/mod/endpoints/mod_verto/ws.h @@ -73,7 +73,7 @@ typedef SOCKET ws_socket_t; typedef enum { WS_NONE = 0, - WS_NORMAL = 1000, + WS_RECV_CLOSE = 1000, WS_PROTO_ERR = 1002, WS_DATA_TOO_BIG = 1009 } ws_cause_t; diff --git a/src/mod/event_handlers/mod_cdr_mongodb/mod_cdr_mongodb.2017.vcxproj b/src/mod/event_handlers/mod_cdr_mongodb/mod_cdr_mongodb.2017.vcxproj new file mode 100644 index 0000000000..e8f4481dae --- /dev/null +++ b/src/mod/event_handlers/mod_cdr_mongodb/mod_cdr_mongodb.2017.vcxproj @@ -0,0 +1,147 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + mod_cdr_mongodb + mod_cdr_mongodb + Win32Proj + {4DFF29B4-2976-447D-A8B3-43476451517C} + + + + DynamicLibrary + MultiByte + v141 + + + DynamicLibrary + MultiByte + v141 + + + DynamicLibrary + MultiByte + v141 + + + DynamicLibrary + MultiByte + v141 + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + + + + $(SolutionDir)libs\libteletone\src\;$(ProjectDir)\driver\src;%(AdditionalIncludeDirectories) + _GNU_SOURCE;__GNUC__;MONGO_HAVE_STDINT;%(PreprocessorDefinitions) + + + + + + + + + false + + + + + + + X64 + + + + + + + false + + + MachineX64 + + + + + + + + + false + + + + + + + X64 + + + + + + + false + + + MachineX64 + + + + + + + + + + + + + + {202d7a4e-760d-4d0e-afa1-d7459ced30ff} + false + + + + + + diff --git a/src/mod/event_handlers/mod_rayo/Makefile.am b/src/mod/event_handlers/mod_rayo/Makefile.am index abaa612e67..5c0c5b4008 100644 --- a/src/mod/event_handlers/mod_rayo/Makefile.am +++ b/src/mod/event_handlers/mod_rayo/Makefile.am @@ -7,7 +7,7 @@ IKS_LA=$(IKS_BUILDDIR)/src/libiksemel.la mod_LTLIBRARIES = mod_rayo.la mod_rayo_la_SOURCES = mod_rayo.c iks_helpers.c nlsml.c rayo_components.c rayo_cpa_component.c rayo_cpa_detector.c rayo_elements.c rayo_fax_components.c -mod_rayo_la_SOURCES += rayo_input_component.c rayo_output_component.c rayo_prompt_component.c rayo_record_component.c sasl.c srgs.c xmpp_streams.c +mod_rayo_la_SOURCES += rayo_input_component.c rayo_output_component.c rayo_prompt_component.c rayo_record_component.c sasl.c srgs.c xmpp_streams.c rayo_exec_component.c mod_rayo_la_CFLAGS = $(AM_CFLAGS) -I$(IKS_DIR)/include $(PCRE_CFLAGS) mod_rayo_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(IKS_LA) $(PCRE_LIBS) mod_rayo_la_LDFLAGS = -avoid-version -module -no-undefined -shared diff --git a/src/mod/event_handlers/mod_rayo/mod_rayo.c b/src/mod/event_handlers/mod_rayo/mod_rayo.c index 088dbfcbfe..92699ca843 100644 --- a/src/mod/event_handlers/mod_rayo/mod_rayo.c +++ b/src/mod/event_handlers/mod_rayo/mod_rayo.c @@ -1,6 +1,6 @@ /* * mod_rayo for FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application - * Copyright (C) 2013-2015, Grasshopper + * Copyright (C) 2013-2018, Grasshopper * * Version: MPL 1.1 * @@ -2801,7 +2801,7 @@ static void *SWITCH_THREAD_FUNC rayo_dial_thread(switch_thread_t *thread, void * switch_log_printf(SWITCH_CHANNEL_UUID_LOG(rayo_call_get_uuid(call)), SWITCH_LOG_DEBUG, "dial: Using dialstring: %s\n", dialstring); /* response will be sent when originate event is received- otherwise error is returned */ - if (switch_ivr_originate(NULL, &called_session, &cause, dialstring, dial_timeout_sec, NULL, NULL, NULL, NULL, originate_vars, SOF_NONE, NULL) == SWITCH_STATUS_SUCCESS && called_session) { + if (switch_ivr_originate(NULL, &called_session, &cause, dialstring, dial_timeout_sec, NULL, NULL, NULL, NULL, originate_vars, SOF_NONE, NULL, NULL) == SWITCH_STATUS_SUCCESS && called_session) { /* start APP */ switch_caller_extension_t *extension = NULL; switch_channel_t *called_channel = switch_core_session_get_channel(called_session); @@ -2921,12 +2921,10 @@ done: return NULL; } - /** * Dial a new call - * @param rclient requesting the call * @param server handling the call - * @param node the request + * @param msg the request */ static iks *on_rayo_dial(struct rayo_actor *server, struct rayo_message *msg, void *data) { @@ -2961,6 +2959,83 @@ static iks *on_rayo_dial(struct rayo_actor *server, struct rayo_message *msg, vo return response; } +struct exec_thread_data { + switch_memory_pool_t *pool; + iks *node; +}; + +/** + * Thread that handles executing server APIs + * @param thread this thread + * @param user the API request + * @return NULL + */ +static void *SWITCH_THREAD_FUNC rayo_exec_thread(switch_thread_t *thread, void *user) +{ + struct exec_thread_data *etdata = (struct exec_thread_data *)user; + iks *response = NULL; + iks *exec = iks_find(etdata->node, "exec"); + const char *api = iks_find_attrib(exec, "api"); + const char *args = iks_find_attrib_soft(exec, "args"); + switch_stream_handle_t stream = { 0 }; + SWITCH_STANDARD_STREAM(stream); + + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "BGAPI EXEC: %s %s\n", api, args); + if (switch_api_execute(api, args, NULL, &stream) != SWITCH_STATUS_SUCCESS) { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "BGAPI EXEC FAILURE\n"); + response = iks_new_error_detailed(etdata->node, STANZA_ERROR_BAD_REQUEST, "Failed to execute API"); + } else { + iks *api_result = NULL; + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "BGAPI EXEC RESULT: %s\n", (char *)stream.data); + response = iks_new_iq_result(etdata->node); + api_result = iks_insert(response, "response"); + iks_insert_attrib(api_result, "xmlns", RAYO_NS); + iks_insert_attrib(api_result, "response", zstr((char *)stream.data) ? "" : (char *)stream.data); + } + + RAYO_SEND_REPLY(globals.server, iks_find_attrib(response, "to"), response); + + switch_safe_free(stream.data); + { + switch_memory_pool_t *pool = etdata->pool; + switch_core_destroy_memory_pool(&pool); + } + return NULL; +} + +/** + * Execute an API on the server + * @param server handling the call + * @param msg the request + */ +static iks *on_rayo_exec(struct rayo_actor *server, struct rayo_message *msg, void *data) +{ + iks *node = msg->payload; + switch_thread_t *thread; + switch_threadattr_t *thd_attr = NULL; + iks *exec = iks_find(node, "exec"); + iks *response = NULL; + const char *api = iks_find_attrib_soft(exec, "api"); + + if (zstr(api)) { + response = iks_new_error_detailed(node, STANZA_ERROR_BAD_REQUEST, "missing api attribute"); + } else { + struct exec_thread_data *etdata = NULL; + switch_memory_pool_t *pool = NULL; + switch_core_new_memory_pool(&pool); + etdata = switch_core_alloc(pool, sizeof(*etdata)); + etdata->pool = pool; + etdata->node = iks_copy(node); + + /* start exec thread */ + switch_threadattr_create(&thd_attr, pool); + switch_threadattr_detach_set(thd_attr, 1); + switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE); + switch_thread_create(&thread, thd_attr, rayo_exec_thread, etdata, pool); + } + return response; +} + /** * Handle request * @param rclient the Rayo client @@ -5206,6 +5281,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_rayo_load) rayo_actor_command_handler_add(RAT_SERVER, "", "get:"IKS_NS_XMPP_PING":ping", on_iq_xmpp_ping); rayo_actor_command_handler_add(RAT_SERVER, "", "get:"IKS_NS_XMPP_DISCO":query", on_iq_get_xmpp_disco); rayo_actor_command_handler_add(RAT_SERVER, "", "set:"RAYO_NS":dial", on_rayo_dial); + rayo_actor_command_handler_add(RAT_SERVER, "", "set:"RAYO_NS":exec", on_rayo_exec); /* Rayo call commands */ rayo_actor_command_handler_add(RAT_CALL, "", "set:"RAYO_NS":accept", on_rayo_accept); diff --git a/src/mod/event_handlers/mod_rayo/rayo_components.c b/src/mod/event_handlers/mod_rayo/rayo_components.c index 1232bee47a..2d303fe3bb 100644 --- a/src/mod/event_handlers/mod_rayo/rayo_components.c +++ b/src/mod/event_handlers/mod_rayo/rayo_components.c @@ -228,7 +228,8 @@ switch_status_t rayo_components_load(switch_loadable_module_interface_t **module rayo_output_component_load(module_interface, pool, config_file) != SWITCH_STATUS_SUCCESS || rayo_prompt_component_load(module_interface, pool, config_file) != SWITCH_STATUS_SUCCESS || rayo_record_component_load(module_interface, pool, config_file) != SWITCH_STATUS_SUCCESS || - rayo_fax_components_load(module_interface, pool, config_file) != SWITCH_STATUS_SUCCESS) { + rayo_fax_components_load(module_interface, pool, config_file) != SWITCH_STATUS_SUCCESS || + rayo_exec_component_load(module_interface, pool, config_file) != SWITCH_STATUS_SUCCESS) { return SWITCH_STATUS_TERM; } return SWITCH_STATUS_SUCCESS; @@ -244,6 +245,7 @@ switch_status_t rayo_components_shutdown(void) rayo_prompt_component_shutdown(); rayo_record_component_shutdown(); rayo_fax_components_shutdown(); + rayo_exec_component_shutdown(); return SWITCH_STATUS_SUCCESS; } diff --git a/src/mod/event_handlers/mod_rayo/rayo_components.h b/src/mod/event_handlers/mod_rayo/rayo_components.h index 5d1367d645..6cd30757a1 100644 --- a/src/mod/event_handlers/mod_rayo/rayo_components.h +++ b/src/mod/event_handlers/mod_rayo/rayo_components.h @@ -1,6 +1,6 @@ /* * mod_rayo for FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application - * Copyright (C) 2013, Grasshopper + * Copyright (C) 2013-2018, Grasshopper * * Version: MPL 1.1 * @@ -52,9 +52,13 @@ #define RAYO_FAX_NS RAYO_BASE "fax:" RAYO_VERSION #define RAYO_FAX_COMPLETE_NS RAYO_BASE "fax:complete:" RAYO_VERSION +#define RAYO_EXEC_NS RAYO_BASE "exec:" RAYO_VERSION +#define RAYO_EXEC_COMPLETE_NS RAYO_BASE "exec:complete:" RAYO_VERSION + #define COMPONENT_COMPLETE_STOP "stop", RAYO_EXT_COMPLETE_NS #define COMPONENT_COMPLETE_ERROR "error", RAYO_EXT_COMPLETE_NS #define COMPONENT_COMPLETE_HANGUP "hangup", RAYO_EXT_COMPLETE_NS +#define COMPONENT_COMPLETE_DONE "done", RAYO_EXT_COMPLETE_NS extern switch_status_t rayo_components_load(switch_loadable_module_interface_t **module_interface, switch_memory_pool_t *pool, const char *config_file); extern switch_status_t rayo_input_component_load(switch_loadable_module_interface_t **module_interface, switch_memory_pool_t *pool, const char *config_file); @@ -62,6 +66,7 @@ extern switch_status_t rayo_output_component_load(switch_loadable_module_interfa extern switch_status_t rayo_prompt_component_load(switch_loadable_module_interface_t **module_interface, switch_memory_pool_t *pool, const char *config_file); extern switch_status_t rayo_record_component_load(switch_loadable_module_interface_t **module_interface, switch_memory_pool_t *pool, const char *config_file); extern switch_status_t rayo_fax_components_load(switch_loadable_module_interface_t **module_interface, switch_memory_pool_t *pool, const char *config_file); +extern switch_status_t rayo_exec_component_load(switch_loadable_module_interface_t **module_interface, switch_memory_pool_t *pool, const char *config_file); extern switch_status_t rayo_components_shutdown(void); extern switch_status_t rayo_input_component_shutdown(void); @@ -69,6 +74,7 @@ extern switch_status_t rayo_output_component_shutdown(void); extern switch_status_t rayo_prompt_component_shutdown(void); extern switch_status_t rayo_record_component_shutdown(void); extern switch_status_t rayo_fax_components_shutdown(void); +extern switch_status_t rayo_exec_component_shutdown(void); extern void rayo_component_send_start(struct rayo_component *component, iks *iq); extern void rayo_component_send_iq_error(struct rayo_component *component, iks *iq, const char *error_name, const char *error_type); diff --git a/src/mod/event_handlers/mod_rayo/rayo_elements.c b/src/mod/event_handlers/mod_rayo/rayo_elements.c index 1720471e31..d0892dca80 100644 --- a/src/mod/event_handlers/mod_rayo/rayo_elements.c +++ b/src/mod/event_handlers/mod_rayo/rayo_elements.c @@ -121,6 +121,17 @@ ELEMENT(RAYO_SENDFAX) ATTRIB(xmlns,, any) ELEMENT_END +/** + * command validation + */ +ELEMENT(RAYO_APP) + ATTRIB(xmlns,, any) + ATTRIB(app,, any) + OPTIONAL_ATTRIB(args,, any) +ELEMENT_END + + + /* For Emacs: * Local Variables: diff --git a/src/mod/event_handlers/mod_rayo/rayo_elements.h b/src/mod/event_handlers/mod_rayo/rayo_elements.h index e76809cc9e..dc67a9fa4b 100644 --- a/src/mod/event_handlers/mod_rayo/rayo_elements.h +++ b/src/mod/event_handlers/mod_rayo/rayo_elements.h @@ -39,6 +39,7 @@ ELEMENT_DECL(RAYO_PROMPT) ELEMENT_DECL(RAYO_RECEIVEFAX) ELEMENT_DECL(RAYO_RECORD) ELEMENT_DECL(RAYO_SENDFAX) +ELEMENT_DECL(RAYO_APP) #endif diff --git a/src/mod/event_handlers/mod_rayo/rayo_exec_component.c b/src/mod/event_handlers/mod_rayo/rayo_exec_component.c new file mode 100644 index 0000000000..a918f0136d --- /dev/null +++ b/src/mod/event_handlers/mod_rayo/rayo_exec_component.c @@ -0,0 +1,176 @@ +/* + * mod_rayo for FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application + * Copyright (C) 2013-2018, Grasshopper + * + * Version: MPL 1.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mod_rayo for FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application + * + * The Initial Developer of the Original Code is Grasshopper + * Portions created by the Initial Developer are Copyright (C) + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Chris Rienzo + * + * rayo_exec_component.c -- Rayo call application execution component + * + */ +#include "rayo_components.h" +#include "rayo_elements.h" + + +/** + * An exec component + */ +struct exec_component { + /** component base class */ + struct rayo_component base; + /** Dialplan app */ + const char *app; + /** Dialplan app args */ + char *args; +}; + +#define EXEC_COMPONENT(x) ((struct exec_component *)x) + +/** + * Wrapper for executing dialplan app + */ +SWITCH_STANDARD_APP(rayo_app_exec) +{ + if (!zstr(data)) { + struct rayo_component *component = RAYO_COMPONENT_LOCATE(data); + if (component) { + switch_status_t status; + switch_channel_set_variable(switch_core_session_get_channel(session), SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE, ""); + status = switch_core_session_execute_application(session, EXEC_COMPONENT(component)->app, EXEC_COMPONENT(component)->args); + if (status != SWITCH_STATUS_SUCCESS) { + rayo_component_send_complete(component, COMPONENT_COMPLETE_ERROR); + } else { + const char *resp = switch_channel_get_variable(switch_core_session_get_channel(session), SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE); + if (zstr(resp)) { + rayo_component_send_complete(component, COMPONENT_COMPLETE_DONE); + } else { + /* send complete event to client */ + iks *response = iks_new("app"); + iks_insert_attrib(response, "xmlns", RAYO_EXEC_COMPLETE_NS); + iks_insert_attrib(response, "response", resp); + rayo_component_send_complete_with_metadata(component, COMPONENT_COMPLETE_DONE, response, 1); + iks_delete(response); + } + } + RAYO_RELEASE(component); + } + } else { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Missing rayo exec component JID\n"); + } + switch_channel_set_variable(switch_core_session_get_channel(session), SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE, ""); +} + +/** + * Create a record component + */ +static struct rayo_component *exec_component_create(struct rayo_actor *call, const char *client_jid, iks *exec) +{ + switch_memory_pool_t *pool; + struct exec_component *exec_component = NULL; + + switch_core_new_memory_pool(&pool); + exec_component = switch_core_alloc(pool, sizeof(*exec_component)); + exec_component = EXEC_COMPONENT(rayo_component_init(RAYO_COMPONENT(exec_component), pool, RAT_CALL_COMPONENT, "exec", NULL, call, client_jid)); + if (exec_component) { + exec_component->app = switch_core_strdup(pool, iks_find_attrib_soft(exec, "app")); + exec_component->args = switch_core_strdup(pool, iks_find_attrib_soft(exec, "args")); + } else { + switch_core_destroy_memory_pool(&pool); + return NULL; + } + + return RAYO_COMPONENT(exec_component); +} + +/** + * Execute dialplan APP on rayo call + */ +static iks *start_exec_app_component(struct rayo_actor *call, struct rayo_message *msg, void *data) +{ + iks *iq = msg->payload; + iks *exec = iks_find(iq, "app"); + struct rayo_component *exec_component = NULL; + switch_core_session_t *session = NULL; + + /* validate record attributes */ + if (!VALIDATE_RAYO_APP(exec)) { + return iks_new_error(iq, STANZA_ERROR_BAD_REQUEST); + } + + exec_component = exec_component_create(call, iks_find_attrib(iq, "from"), exec); + if (!exec_component) { + return iks_new_error_detailed(iq, STANZA_ERROR_INTERNAL_SERVER_ERROR, "Failed to create exec entity"); + } + + session = switch_core_session_locate(call->id); + if (session) { + if (switch_core_session_execute_application_async(session, switch_core_session_strdup(session, "rayo-app-exec"), switch_core_session_strdup(session, RAYO_JID(exec_component))) != SWITCH_STATUS_SUCCESS) { + switch_core_session_rwunlock(session); + RAYO_RELEASE(exec_component); + RAYO_DESTROY(exec_component); + return iks_new_error_detailed(iq, STANZA_ERROR_INTERNAL_SERVER_ERROR, "failed to execute app"); + } + switch_core_session_rwunlock(session); + } else { + RAYO_RELEASE(exec_component); + RAYO_DESTROY(exec_component); + return iks_new_error_detailed(iq, STANZA_ERROR_INTERNAL_SERVER_ERROR, "Call is gone"); + } + + rayo_component_send_start(exec_component, iq); + + return NULL; +} + +/** + * Initialize exec component + * @param module_interface + * @param pool memory pool to allocate from + * @param config_file to use + * @return SWITCH_STATUS_SUCCESS if successful + */ +switch_status_t rayo_exec_component_load(switch_loadable_module_interface_t **module_interface, switch_memory_pool_t *pool, const char *config_file) +{ + switch_application_interface_t *app_interface; + SWITCH_ADD_APP(app_interface, "rayo-app-exec", "Wrapper dialplan app for internal use only", "", rayo_app_exec, "", SAF_SUPPORT_NOMEDIA | SAF_ZOMBIE_EXEC); + rayo_actor_command_handler_add(RAT_CALL, "", "set:"RAYO_EXEC_NS":app", start_exec_app_component); + return SWITCH_STATUS_SUCCESS; +} + +/** + * Shutdown exec component + * @return SWITCH_STATUS_SUCCESS if successful + */ +switch_status_t rayo_exec_component_shutdown(void) +{ + return SWITCH_STATUS_SUCCESS; +} + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:t + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 noet + */ diff --git a/src/mod/languages/mod_java/mod_java.i b/src/mod/languages/mod_java/mod_java.i index 858dac8d08..d79cc53ce9 100644 --- a/src/mod/languages/mod_java/mod_java.i +++ b/src/mod/languages/mod_java/mod_java.i @@ -13,6 +13,9 @@ %newobject CoreSession; %newobject Event; %newobject Stream; +%newobject API::execute; +%newobject API::executeString; +%newobject CoreSession::playAndDetectSpeech; // I thought we were using swig because it's easier than the alternatives :-) diff --git a/src/mod/languages/mod_java/src/org/freeswitch/swig/CoreSession.java b/src/mod/languages/mod_java/src/org/freeswitch/swig/CoreSession.java index 75b09e1448..d111c2f890 100644 --- a/src/mod/languages/mod_java/src/org/freeswitch/swig/CoreSession.java +++ b/src/mod/languages/mod_java/src/org/freeswitch/swig/CoreSession.java @@ -235,10 +235,18 @@ public class CoreSession { return freeswitchJNI.CoreSession_read(swigCPtr, this, min_digits, max_digits, prompt_audio_file, timeout, valid_terminators, digit_timeout); } + public void detectSpeech(String arg0, String arg1, String arg2, String arg3) { + freeswitchJNI.CoreSession_detectSpeech(swigCPtr, this, arg0, arg1, arg2, arg3); + } + public String playAndGetDigits(int min_digits, int max_digits, int max_tries, int timeout, String terminators, String audio_files, String bad_input_audio_files, String digits_regex, String var_name, int digit_timeout, String transfer_on_failure) { return freeswitchJNI.CoreSession_playAndGetDigits(swigCPtr, this, min_digits, max_digits, max_tries, timeout, terminators, audio_files, bad_input_audio_files, digits_regex, var_name, digit_timeout, transfer_on_failure); } + public String playAndDetectSpeech(String file, String engine, String grammar) { + return freeswitchJNI.CoreSession_playAndDetectSpeech(swigCPtr, this, file, engine, grammar); + } + public int streamFile(String file, int starting_sample_count) { return freeswitchJNI.CoreSession_streamFile(swigCPtr, this, file, starting_sample_count); } diff --git a/src/mod/languages/mod_java/src/org/freeswitch/swig/freeswitchJNI.java b/src/mod/languages/mod_java/src/org/freeswitch/swig/freeswitchJNI.java index 8d708cace8..e2448cfa7b 100644 --- a/src/mod/languages/mod_java/src/org/freeswitch/swig/freeswitchJNI.java +++ b/src/mod/languages/mod_java/src/org/freeswitch/swig/freeswitchJNI.java @@ -140,7 +140,9 @@ public class freeswitchJNI { public final static native String CoreSession_getDigits__SWIG_2(long jarg1, CoreSession jarg1_, int jarg2, String jarg3, int jarg4, int jarg5, int jarg6); public final static native int CoreSession_transfer(long jarg1, CoreSession jarg1_, String jarg2, String jarg3, String jarg4); public final static native String CoreSession_read(long jarg1, CoreSession jarg1_, int jarg2, int jarg3, String jarg4, int jarg5, String jarg6, int jarg7); + public final static native void CoreSession_detectSpeech(long jarg1, CoreSession jarg1_, String jarg2, String jarg3, String jarg4, String jarg5); public final static native String CoreSession_playAndGetDigits(long jarg1, CoreSession jarg1_, int jarg2, int jarg3, int jarg4, int jarg5, String jarg6, String jarg7, String jarg8, String jarg9, String jarg10, int jarg11, String jarg12); + public final static native String CoreSession_playAndDetectSpeech(long jarg1, CoreSession jarg1_, String jarg2, String jarg3, String jarg4); public final static native int CoreSession_streamFile(long jarg1, CoreSession jarg1_, String jarg2, int jarg3); public final static native int CoreSession_sleep(long jarg1, CoreSession jarg1_, int jarg2, int jarg3); public final static native int CoreSession_flushEvents(long jarg1, CoreSession jarg1_); diff --git a/src/mod/languages/mod_java/switch_swig_wrap.cpp b/src/mod/languages/mod_java/switch_swig_wrap.cpp index 09b4baf16a..b54bb6cdeb 100644 --- a/src/mod/languages/mod_java/switch_swig_wrap.cpp +++ b/src/mod/languages/mod_java/switch_swig_wrap.cpp @@ -639,6 +639,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_API_1execute(J if (result) jresult = jenv->NewStringUTF((const char *)result); if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); + free(result); return jresult; } @@ -661,6 +662,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_API_1executeSt result = (char *)(arg1)->executeString((char const *)arg2); if (result) jresult = jenv->NewStringUTF((const char *)result); if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); + free(result); return jresult; } @@ -2823,6 +2825,45 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1r } +SWIGEXPORT void JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1detectSpeech(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4, jstring jarg5) { + CoreSession *arg1 = (CoreSession *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) NULL ; + char *arg4 = (char *) NULL ; + char *arg5 = (char *) NULL ; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(CoreSession **)&jarg1; + arg2 = 0; + if (jarg2) { + arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); + if (!arg2) return ; + } + arg3 = 0; + if (jarg3) { + arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); + if (!arg3) return ; + } + arg4 = 0; + if (jarg4) { + arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0); + if (!arg4) return ; + } + arg5 = 0; + if (jarg5) { + arg5 = (char *)jenv->GetStringUTFChars(jarg5, 0); + if (!arg5) return ; + } + (arg1)->detectSpeech(arg2,arg3,arg4,arg5); + if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); + if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); + if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4); + if (arg5) jenv->ReleaseStringUTFChars(jarg5, (const char *)arg5); +} + + SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1playAndGetDigits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4, jint jarg5, jstring jarg6, jstring jarg7, jstring jarg8, jstring jarg9, jstring jarg10, jint jarg11, jstring jarg12) { jstring jresult = 0 ; CoreSession *arg1 = (CoreSession *) 0 ; @@ -2890,6 +2931,43 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1p } +SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1playAndDetectSpeech(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jstring jarg3, jstring jarg4) { + jstring jresult = 0 ; + CoreSession *arg1 = (CoreSession *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + char *result = 0 ; + + (void)jenv; + (void)jcls; + (void)jarg1_; + arg1 = *(CoreSession **)&jarg1; + arg2 = 0; + if (jarg2) { + arg2 = (char *)jenv->GetStringUTFChars(jarg2, 0); + if (!arg2) return 0; + } + arg3 = 0; + if (jarg3) { + arg3 = (char *)jenv->GetStringUTFChars(jarg3, 0); + if (!arg3) return 0; + } + arg4 = 0; + if (jarg4) { + arg4 = (char *)jenv->GetStringUTFChars(jarg4, 0); + if (!arg4) return 0; + } + result = (char *)(arg1)->playAndDetectSpeech(arg2,arg3,arg4); + if (result) jresult = jenv->NewStringUTF((const char *)result); + if (arg2) jenv->ReleaseStringUTFChars(jarg2, (const char *)arg2); + if (arg3) jenv->ReleaseStringUTFChars(jarg3, (const char *)arg3); + if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4); + free(result); + return jresult; +} + + SWIGEXPORT jint JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1streamFile(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2, jint jarg3) { jint jresult = 0 ; CoreSession *arg1 = (CoreSession *) 0 ; diff --git a/src/mod/languages/mod_lua/freeswitch.i b/src/mod/languages/mod_lua/freeswitch.i index 4933bfefbc..8f114fcb88 100644 --- a/src/mod/languages/mod_lua/freeswitch.i +++ b/src/mod/languages/mod_lua/freeswitch.i @@ -42,6 +42,7 @@ %newobject Dbh; %newobject API::execute; %newobject API::executeString; +%newobject CoreSession::playAndDetectSpeech; %include "typemaps.i" %apply int *OUTPUT { int *len }; diff --git a/src/mod/languages/mod_lua/mod_lua_wrap.cpp b/src/mod/languages/mod_lua/mod_lua_wrap.cpp index b5efc8595a..30f6ac6629 100644 --- a/src/mod/languages/mod_lua/mod_lua_wrap.cpp +++ b/src/mod/languages/mod_lua/mod_lua_wrap.cpp @@ -6964,6 +6964,47 @@ fail: } +static int _wrap_CoreSession_detectSpeech(lua_State* L) { + int SWIG_arg = 0; + CoreSession *arg1 = (CoreSession *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) NULL ; + char *arg4 = (char *) NULL ; + char *arg5 = (char *) NULL ; + + SWIG_check_num_args("CoreSession::detectSpeech",2,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("CoreSession::detectSpeech",1,"CoreSession *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("CoreSession::detectSpeech",2,"char *"); + if(lua_gettop(L)>=3 && !SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("CoreSession::detectSpeech",3,"char *"); + if(lua_gettop(L)>=4 && !SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("CoreSession::detectSpeech",4,"char *"); + if(lua_gettop(L)>=5 && !SWIG_lua_isnilstring(L,5)) SWIG_fail_arg("CoreSession::detectSpeech",5,"char *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_CoreSession,0))){ + SWIG_fail_ptr("CoreSession_detectSpeech",1,SWIGTYPE_p_CoreSession); + } + + arg2 = (char *)lua_tostring(L, 2); + if(lua_gettop(L)>=3){ + arg3 = (char *)lua_tostring(L, 3); + } + if(lua_gettop(L)>=4){ + arg4 = (char *)lua_tostring(L, 4); + } + if(lua_gettop(L)>=5){ + arg5 = (char *)lua_tostring(L, 5); + } + (arg1)->detectSpeech(arg2,arg3,arg4,arg5); + + return SWIG_arg; + + if(0) SWIG_fail; + +fail: + lua_error(L); + return SWIG_arg; +} + + static int _wrap_CoreSession_playAndGetDigits(lua_State* L) { int SWIG_arg = 0; CoreSession *arg1 = (CoreSession *) 0 ; @@ -7027,6 +7068,40 @@ fail: } +static int _wrap_CoreSession_playAndDetectSpeech(lua_State* L) { + int SWIG_arg = 0; + CoreSession *arg1 = (CoreSession *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + char *result = 0 ; + + SWIG_check_num_args("CoreSession::playAndDetectSpeech",4,4) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("CoreSession::playAndDetectSpeech",1,"CoreSession *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("CoreSession::playAndDetectSpeech",2,"char *"); + if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("CoreSession::playAndDetectSpeech",3,"char *"); + if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("CoreSession::playAndDetectSpeech",4,"char *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_CoreSession,0))){ + SWIG_fail_ptr("CoreSession_playAndDetectSpeech",1,SWIGTYPE_p_CoreSession); + } + + arg2 = (char *)lua_tostring(L, 2); + arg3 = (char *)lua_tostring(L, 3); + arg4 = (char *)lua_tostring(L, 4); + result = (char *)(arg1)->playAndDetectSpeech(arg2,arg3,arg4); + lua_pushstring(L,(const char *)result); SWIG_arg++; + free(result); + return SWIG_arg; + + if(0) SWIG_fail; + +fail: + lua_error(L); + return SWIG_arg; +} + + static int _wrap_CoreSession_streamFile(lua_State* L) { int SWIG_arg = 0; CoreSession *arg1 = (CoreSession *) 0 ; @@ -7702,7 +7777,9 @@ static swig_lua_method swig_CoreSession_methods[]= { { "getDigits", _wrap_CoreSession_getDigits}, { "transfer", _wrap_CoreSession_transfer}, { "read", _wrap_CoreSession_read}, + { "detectSpeech", _wrap_CoreSession_detectSpeech}, { "playAndGetDigits", _wrap_CoreSession_playAndGetDigits}, + { "playAndDetectSpeech", _wrap_CoreSession_playAndDetectSpeech}, { "streamFile", _wrap_CoreSession_streamFile}, { "sleep", _wrap_CoreSession_sleep}, { "flushEvents", _wrap_CoreSession_flushEvents}, diff --git a/src/mod/languages/mod_lua/my_swigable_cpp.h b/src/mod/languages/mod_lua/my_swigable_cpp.h index 80f689e56e..8c0e6233e3 100644 --- a/src/mod/languages/mod_lua/my_swigable_cpp.h +++ b/src/mod/languages/mod_lua/my_swigable_cpp.h @@ -128,6 +128,10 @@ class CoreSession { int max_digits, int max_tries, int timeout, char *terminators, char *audio_files, char *bad_input_audio_files, char *dtmf_buf, char *digits_regex); + + int playAndDetectSpeech(char *file, char *engine, char *grammar); + void detectSpeech(char *arg0, char * = NULL, char *arg2 = NULL, char *arg3 = NULL); + int streamFile(char *file, int starting_sample_count = 0); diff --git a/src/mod/languages/mod_managed/Makefile.am b/src/mod/languages/mod_managed/Makefile.am index da76bcaf76..a212a1ed1f 100644 --- a/src/mod/languages/mod_managed/Makefile.am +++ b/src/mod/languages/mod_managed/Makefile.am @@ -39,7 +39,7 @@ swigclean: clean rm -f freeswitch_wrap.cxx managed/swig.cs freeswitch_wrap.cxx: - swig2.0 -I../../../include -v -O -c++ -csharp -namespace FreeSWITCH.Native -dllimport mod_managed -DSWIG_CSHARP_NO_STRING_HELPER freeswitch.i + swig3.0 -I../../../include -v -O -c++ -csharp -namespace FreeSWITCH.Native -dllimport mod_managed -DSWIG_CSHARP_NO_STRING_HELPER freeswitch.i rm -f ./managed/swig.cs cat *.cs > ./managed/swig.cs rm -f *.cs diff --git a/src/mod/languages/mod_managed/freeswitch.i b/src/mod/languages/mod_managed/freeswitch.i index 1123651479..5885de37b7 100644 --- a/src/mod/languages/mod_managed/freeswitch.i +++ b/src/mod/languages/mod_managed/freeswitch.i @@ -28,7 +28,7 @@ static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback_real = NULL; public delegate string SWIGStringDelegate(string message); static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); - [DllImport("$dllimport", EntryPoint="SWIGRegisterStringCallback_$module")] + [global::System.Runtime.InteropServices.DllImport("$dllimport", EntryPoint="SWIGRegisterStringCallback_$module")] public static extern void SWIGRegisterStringCallback_$module(SWIGStringDelegate stringDelegate); static string CreateString(string cString) { @@ -84,6 +84,7 @@ char * SWIG_csharp_string_callback(const char * str) { %newobject Stream; %newobject API::execute; %newobject API::executeString; +%newobject CoreSession::playAndDetectSpeech; // Allow bitwise compare on flag fields %typemap(csclassmodifiers) session_flag_t "[System.Flags] public enum" diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx index 2c74292495..e5ac0ef514 100644 --- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 + * Version 3.0.10 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -8,7 +8,11 @@ * interface file instead. * ----------------------------------------------------------------------------- */ + +#ifndef SWIGCSHARP #define SWIGCSHARP +#endif + #ifdef __cplusplus @@ -101,9 +105,11 @@ template T SwigValueInit() { #endif /* exporting methods */ -#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) -# ifndef GCC_HASCLASSVISIBILITY -# define GCC_HASCLASSVISIBILITY +#if defined(__GNUC__) +# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) +# ifndef GCC_HASCLASSVISIBILITY +# define GCC_HASCLASSVISIBILITY +# endif # endif #endif @@ -142,6 +148,19 @@ template T SwigValueInit() { # define _SCL_SECURE_NO_DEPRECATE #endif +/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */ +#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) +# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 +#endif + +/* Intel's compiler complains if a variable which was never initialised is + * cast to void, which is a common idiom which we use to indicate that we + * are aware a variable isn't used. So we just silence that warning. + * See: https://github.com/swig/swig/issues/192 for more discussion. + */ +#ifdef __INTEL_COMPILER +# pragma warning disable 592 +#endif #include @@ -310,7 +329,7 @@ char * SWIG_csharp_string_callback(const char * str) { extern "C" { #endif -SWIGEXPORT char * SWIGSTDCALL CSharp_FREESWITCH_PEN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_FREESWITCH_PEN_get___() { char * jresult ; char *result = 0 ; @@ -320,7 +339,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_FREESWITCH_PEN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_FREESWITCH_OID_PREFIX_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_FREESWITCH_OID_PREFIX_get___() { char * jresult ; char *result = 0 ; @@ -330,7 +349,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_FREESWITCH_OID_PREFIX_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_FREESWITCH_ITAD_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_FREESWITCH_ITAD_get___() { char * jresult ; char *result = 0 ; @@ -340,7 +359,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_FREESWITCH_ITAD_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp___EXTENSIONS___get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative___EXTENSIONS___get___() { int jresult ; int result; @@ -350,7 +369,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp___EXTENSIONS___get() { } -SWIGEXPORT int SWIGSTDCALL CSharp___BSD_VISIBLE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative___BSD_VISIBLE_get___() { int jresult ; int result; @@ -360,7 +379,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp___BSD_VISIBLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ENT_ORIGINATE_DELIM_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_ENT_ORIGINATE_DELIM_get___() { char * jresult ; char *result = 0 ; @@ -370,17 +389,17 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ENT_ORIGINATE_DELIM_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BLANK_STRING_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_BLANK_STRING_get___() { char * jresult ; char *result = 0 ; - result = (char *)("\0"); + result = (char *)(""); jresult = SWIG_csharp_string_callback((const char *)result); return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_TON_UNDEF_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_TON_UNDEF_get___() { int jresult ; int result; @@ -390,7 +409,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_TON_UNDEF_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_NUMPLAN_UNDEF_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_NUMPLAN_UNDEF_get___() { int jresult ; int result; @@ -400,7 +419,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_NUMPLAN_UNDEF_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_ESC_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_ESC_get___() { char * jresult ; char *result = 0 ; @@ -410,7 +429,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_ESC_get() { } -SWIGEXPORT char SWIGSTDCALL CSharp_SWITCH_SEQ_HOME_CHAR_get() { +SWIGEXPORT char SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_HOME_CHAR_get___() { char jresult ; char result; @@ -420,7 +439,7 @@ SWIGEXPORT char SWIGSTDCALL CSharp_SWITCH_SEQ_HOME_CHAR_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_HOME_CHAR_STR_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_HOME_CHAR_STR_get___() { char * jresult ; char *result = 0 ; @@ -430,7 +449,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_HOME_CHAR_STR_get() { } -SWIGEXPORT char SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINE_CHAR_get() { +SWIGEXPORT char SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARLINE_CHAR_get___() { char jresult ; char result; @@ -440,7 +459,7 @@ SWIGEXPORT char SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINE_CHAR_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINE_CHAR_STR_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARLINE_CHAR_STR_get___() { char * jresult ; char *result = 0 ; @@ -450,7 +469,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINE_CHAR_STR_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINEEND_CHAR_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARLINEEND_CHAR_get___() { char * jresult ; char *result = 0 ; @@ -460,7 +479,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINEEND_CHAR_get() { } -SWIGEXPORT char SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_CHAR0_get() { +SWIGEXPORT char SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARSCR_CHAR0_get___() { char jresult ; char result; @@ -470,7 +489,7 @@ SWIGEXPORT char SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_CHAR0_get() { } -SWIGEXPORT char SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_CHAR1_get() { +SWIGEXPORT char SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARSCR_CHAR1_get___() { char jresult ; char result; @@ -480,7 +499,7 @@ SWIGEXPORT char SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_CHAR1_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_CHAR_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARSCR_CHAR_get___() { char * jresult ; char *result = 0 ; @@ -490,7 +509,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_CHAR_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_AND_COLOR_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_AND_COLOR_get___() { char * jresult ; char *result = 0 ; @@ -500,7 +519,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_AND_COLOR_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_END_COLOR_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_END_COLOR_get___() { char * jresult ; char *result = 0 ; @@ -510,7 +529,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_END_COLOR_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_BLACK_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_BLACK_get___() { char * jresult ; char *result = 0 ; @@ -520,7 +539,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_BLACK_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_RED_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_RED_get___() { char * jresult ; char *result = 0 ; @@ -530,7 +549,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_RED_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_GREEN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_GREEN_get___() { char * jresult ; char *result = 0 ; @@ -540,7 +559,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_GREEN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_YELLOW_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_YELLOW_get___() { char * jresult ; char *result = 0 ; @@ -550,7 +569,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_YELLOW_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_BLUE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_BLUE_get___() { char * jresult ; char *result = 0 ; @@ -560,7 +579,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_BLUE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_MAGEN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_MAGEN_get___() { char * jresult ; char *result = 0 ; @@ -570,7 +589,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_MAGEN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_CYAN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_CYAN_get___() { char * jresult ; char *result = 0 ; @@ -580,7 +599,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_CYAN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_WHITE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_WHITE_get___() { char * jresult ; char *result = 0 ; @@ -590,7 +609,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_F_WHITE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_BLACK_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_BLACK_get___() { char * jresult ; char *result = 0 ; @@ -600,7 +619,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_BLACK_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_RED_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_RED_get___() { char * jresult ; char *result = 0 ; @@ -610,7 +629,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_RED_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_GREEN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_GREEN_get___() { char * jresult ; char *result = 0 ; @@ -620,7 +639,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_GREEN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_YELLOW_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_YELLOW_get___() { char * jresult ; char *result = 0 ; @@ -630,7 +649,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_YELLOW_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_BLUE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_BLUE_get___() { char * jresult ; char *result = 0 ; @@ -640,7 +659,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_BLUE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_MAGEN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_MAGEN_get___() { char * jresult ; char *result = 0 ; @@ -650,7 +669,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_MAGEN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_CYAN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_CYAN_get___() { char * jresult ; char *result = 0 ; @@ -660,7 +679,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_CYAN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_WHITE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_WHITE_get___() { char * jresult ; char *result = 0 ; @@ -670,7 +689,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_B_WHITE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FBLACK_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_FBLACK_get___() { char * jresult ; char *result = 0 ; @@ -680,7 +699,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FBLACK_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FRED_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_FRED_get___() { char * jresult ; char *result = 0 ; @@ -690,7 +709,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FRED_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FGREEN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_FGREEN_get___() { char * jresult ; char *result = 0 ; @@ -700,7 +719,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FGREEN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FYELLOW_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_FYELLOW_get___() { char * jresult ; char *result = 0 ; @@ -710,7 +729,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FYELLOW_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FBLUE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_FBLUE_get___() { char * jresult ; char *result = 0 ; @@ -720,7 +739,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FBLUE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FMAGEN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_FMAGEN_get___() { char * jresult ; char *result = 0 ; @@ -730,7 +749,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FMAGEN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FCYAN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_FCYAN_get___() { char * jresult ; char *result = 0 ; @@ -740,7 +759,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FCYAN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FWHITE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_FWHITE_get___() { char * jresult ; char *result = 0 ; @@ -750,7 +769,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_FWHITE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BBLACK_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_BBLACK_get___() { char * jresult ; char *result = 0 ; @@ -760,7 +779,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BBLACK_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BRED_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_BRED_get___() { char * jresult ; char *result = 0 ; @@ -770,7 +789,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BRED_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BGREEN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_BGREEN_get___() { char * jresult ; char *result = 0 ; @@ -780,7 +799,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BGREEN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BYELLOW_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_BYELLOW_get___() { char * jresult ; char *result = 0 ; @@ -790,7 +809,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BYELLOW_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BBLUE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_BBLUE_get___() { char * jresult ; char *result = 0 ; @@ -800,7 +819,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BBLUE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BMAGEN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_BMAGEN_get___() { char * jresult ; char *result = 0 ; @@ -810,7 +829,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BMAGEN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BCYAN_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_BCYAN_get___() { char * jresult ; char *result = 0 ; @@ -820,7 +839,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BCYAN_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BWHITE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_BWHITE_get___() { char * jresult ; char *result = 0 ; @@ -830,7 +849,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_BWHITE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_HOME_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_HOME_get___() { char * jresult ; char *result = 0 ; @@ -840,7 +859,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_HOME_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARLINE_get___() { char * jresult ; char *result = 0 ; @@ -850,7 +869,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINEEND_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARLINEEND_get___() { char * jresult ; char *result = 0 ; @@ -860,7 +879,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARLINEEND_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARSCR_get___() { char * jresult ; char *result = 0 ; @@ -870,17 +889,17 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEQ_CLEARSCR_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_DEFAULT_CLID_NAME_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_DEFAULT_CLID_NAME_get___() { char * jresult ; char *result = 0 ; - result = (char *)("\0"); + result = (char *)(""); jresult = SWIG_csharp_string_callback((const char *)result); return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_DEFAULT_CLID_NUMBER_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_DEFAULT_CLID_NUMBER_get___() { char * jresult ; char *result = 0 ; @@ -890,7 +909,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_DEFAULT_CLID_NUMBER_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DEFAULT_DTMF_DURATION_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_DEFAULT_DTMF_DURATION_get___() { int jresult ; int result; @@ -900,7 +919,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DEFAULT_DTMF_DURATION_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DEFAULT_TIMEOUT_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_DEFAULT_TIMEOUT_get___() { int jresult ; int result; @@ -910,7 +929,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DEFAULT_TIMEOUT_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MIN_DTMF_DURATION_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MIN_DTMF_DURATION_get___() { int jresult ; int result; @@ -920,7 +939,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MIN_DTMF_DURATION_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_DTMF_DURATION_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_DTMF_DURATION_get___() { int jresult ; int result; @@ -930,7 +949,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_DTMF_DURATION_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PATH_SEPARATOR_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_PATH_SEPARATOR_get___() { char * jresult ; char *result = 0 ; @@ -940,7 +959,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PATH_SEPARATOR_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_URL_SEPARATOR_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_URL_SEPARATOR_get___() { char * jresult ; char *result = 0 ; @@ -950,7 +969,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_URL_SEPARATOR_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -960,7 +979,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE_get( } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_AUDIO_SPOOL_PATH_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_AUDIO_SPOOL_PATH_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -970,7 +989,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_AUDIO_SPOOL_PATH_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -980,7 +999,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_READ_TERMINATOR_USED_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_READ_TERMINATOR_USED_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -990,7 +1009,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_READ_TERMINATOR_USED_VARIABLE_get() } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1000,7 +1019,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get( } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CURRENT_APPLICATION_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CURRENT_APPLICATION_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1010,7 +1029,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CURRENT_APPLICATION_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CURRENT_APPLICATION_DATA_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CURRENT_APPLICATION_DATA_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1020,7 +1039,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CURRENT_APPLICATION_DATA_VARIABLE_ge } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1030,7 +1049,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABL } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1040,7 +1059,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE_get } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1050,7 +1069,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1060,7 +1079,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_g } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_READ_RESULT_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_READ_RESULT_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1070,7 +1089,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_READ_RESULT_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ATT_XFER_RESULT_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_ATT_XFER_RESULT_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1080,7 +1099,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ATT_XFER_RESULT_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_COPY_XML_CDR_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_COPY_XML_CDR_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1090,7 +1109,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_COPY_XML_CDR_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_COPY_JSON_CDR_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_COPY_JSON_CDR_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1100,7 +1119,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_COPY_JSON_CDR_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1110,7 +1129,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TRANSFER_HISTORY_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_TRANSFER_HISTORY_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1120,7 +1139,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TRANSFER_HISTORY_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TRANSFER_SOURCE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_TRANSFER_SOURCE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1130,7 +1149,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TRANSFER_SOURCE_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SENSITIVE_DTMF_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SENSITIVE_DTMF_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1140,7 +1159,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SENSITIVE_DTMF_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1150,7 +1169,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABL } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1160,7 +1179,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABL } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1170,7 +1189,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_g } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1180,7 +1199,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIAB } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1190,7 +1209,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE_ge } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1200,7 +1219,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1210,7 +1229,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIA } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1220,7 +1239,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABL } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1230,7 +1249,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VA } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1240,7 +1259,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VAR } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1250,7 +1269,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIAB } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1260,7 +1279,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIA } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1270,7 +1289,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE_get() } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1280,7 +1299,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE_g } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1290,7 +1309,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE_get() } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_RING_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_RING_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1300,7 +1319,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_RING_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1310,7 +1329,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE_ } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1320,7 +1339,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE_ge } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1330,7 +1349,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIAB } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1340,7 +1359,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABL } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CALL_TIMEOUT_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1350,7 +1369,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_HOLDING_UUID_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_HOLDING_UUID_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1360,7 +1379,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_HOLDING_UUID_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SOFT_HOLDING_UUID_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SOFT_HOLDING_UUID_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1370,7 +1389,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SOFT_HOLDING_UUID_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_BRIDGE_END_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_API_BRIDGE_END_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1380,7 +1399,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_BRIDGE_END_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_BRIDGE_START_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_API_BRIDGE_START_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1390,7 +1409,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_BRIDGE_START_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_HANGUP_HOOK_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_API_HANGUP_HOOK_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1400,7 +1419,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_HANGUP_HOOK_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_REPORTING_HOOK_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_API_REPORTING_HOOK_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1410,7 +1429,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_API_REPORTING_HOOK_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1420,7 +1439,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get( } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PROCESS_CDR_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_PROCESS_CDR_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1430,7 +1449,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PROCESS_CDR_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SKIP_CDR_CAUSES_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SKIP_CDR_CAUSES_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1440,7 +1459,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SKIP_CDR_CAUSES_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_FORCE_PROCESS_CDR_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_FORCE_PROCESS_CDR_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1450,7 +1469,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_FORCE_PROCESS_CDR_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_CHANNEL_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_BRIDGE_CHANNEL_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1460,7 +1479,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_CHANNEL_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_NAME_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_NAME_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1470,7 +1489,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CHANNEL_NAME_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_UUID_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_BRIDGE_UUID_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1480,7 +1499,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_UUID_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CONTINUE_ON_FAILURE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CONTINUE_ON_FAILURE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1490,7 +1509,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CONTINUE_ON_FAILURE_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1500,7 +1519,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get() } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PLAYBACK_TERMINATOR_USED_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_PLAYBACK_TERMINATOR_USED_get___() { char * jresult ; char *result = 0 ; @@ -1510,7 +1529,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PLAYBACK_TERMINATOR_USED_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1520,7 +1539,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get() } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get___() { char * jresult ; char *result = 0 ; @@ -1530,7 +1549,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get() } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BYPASS_MEDIA_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_BYPASS_MEDIA_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1540,7 +1559,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BYPASS_MEDIA_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PROXY_MEDIA_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_PROXY_MEDIA_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1550,7 +1569,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PROXY_MEDIA_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ZRTP_PASSTHRU_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_ZRTP_PASSTHRU_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1560,7 +1579,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ZRTP_PASSTHRU_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1570,7 +1589,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get() } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_HOLD_MUSIC_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_HOLD_MUSIC_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1580,7 +1599,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_HOLD_MUSIC_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TEMP_HOLD_MUSIC_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_TEMP_HOLD_MUSIC_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1590,7 +1609,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TEMP_HOLD_MUSIC_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EXPORT_VARS_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_EXPORT_VARS_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1600,7 +1619,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EXPORT_VARS_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_EXPORT_VARS_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_BRIDGE_EXPORT_VARS_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1610,7 +1629,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_EXPORT_VARS_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_R_SDP_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_R_SDP_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1620,7 +1639,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_R_SDP_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_L_SDP_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_L_SDP_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1630,7 +1649,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_L_SDP_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_B_SDP_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_B_SDP_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1640,7 +1659,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_B_SDP_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_BRIDGE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1650,7 +1669,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_BRIDGE_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LAST_BRIDGE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_LAST_BRIDGE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1660,7 +1679,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LAST_BRIDGE_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SIGNAL_BRIDGE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SIGNAL_BRIDGE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1670,7 +1689,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SIGNAL_BRIDGE_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SIGNAL_BOND_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SIGNAL_BOND_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1680,7 +1699,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SIGNAL_BOND_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1690,7 +1709,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE_get() } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ORIGINATOR_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_ORIGINATOR_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1700,7 +1719,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ORIGINATOR_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ORIGINATOR_CODEC_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_ORIGINATOR_CODEC_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1710,7 +1729,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ORIGINATOR_CODEC_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1720,7 +1739,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE_get( } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_MEDIA_IP_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_LOCAL_MEDIA_IP_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1730,7 +1749,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_MEDIA_IP_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1740,7 +1759,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ADVERTISED_MEDIA_IP_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_ADVERTISED_MEDIA_IP_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1750,7 +1769,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_ADVERTISED_MEDIA_IP_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_REMOTE_MEDIA_IP_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_REMOTE_MEDIA_IP_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1760,7 +1779,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_REMOTE_MEDIA_IP_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1770,7 +1789,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_REMOTE_VIDEO_IP_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_REMOTE_VIDEO_IP_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1780,7 +1799,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_REMOTE_VIDEO_IP_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1790,7 +1809,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_VIDEO_IP_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_LOCAL_VIDEO_IP_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1800,7 +1819,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_VIDEO_IP_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1810,7 +1829,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_TEXT_IP_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_LOCAL_TEXT_IP_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1820,7 +1839,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_TEXT_IP_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_TEXT_PORT_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_LOCAL_TEXT_PORT_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1830,7 +1849,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_LOCAL_TEXT_PORT_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1840,7 +1859,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1850,7 +1869,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PARK_AFTER_EARLY_BRIDGE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_PARK_AFTER_EARLY_BRIDGE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1860,7 +1879,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_PARK_AFTER_EARLY_BRIDGE_VARIABLE_get } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1870,7 +1889,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE_get() } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TRANSFER_AFTER_EARLY_BRIDGE_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_TRANSFER_AFTER_EARLY_BRIDGE_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1880,7 +1899,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_TRANSFER_AFTER_EARLY_BRIDGE_VARIABLE } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1890,7 +1909,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get() } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1900,7 +1919,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get() } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_MAX_FORWARDS_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_FORWARDS_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1910,7 +1929,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_MAX_FORWARDS_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_MAX_SESSION_TRANSFERS_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_SESSION_TRANSFERS_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1920,7 +1939,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_MAX_SESSION_TRANSFERS_VARIABLE_get() } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_DISABLE_APP_LOG_VARIABLE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_DISABLE_APP_LOG_VARIABLE_get___() { char * jresult ; char *result = 0 ; @@ -1930,7 +1949,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_DISABLE_APP_LOG_VARIABLE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SPEECH_KEY_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SPEECH_KEY_get___() { char * jresult ; char *result = 0 ; @@ -1940,7 +1959,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_SPEECH_KEY_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_UUID_BRIDGE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_UUID_BRIDGE_get___() { char * jresult ; char *result = 0 ; @@ -1950,7 +1969,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_UUID_BRIDGE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_BITS_PER_BYTE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_BITS_PER_BYTE_get___() { int jresult ; int result; @@ -1960,7 +1979,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_BITS_PER_BYTE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DEFAULT_FILE_BUFFER_LEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_DEFAULT_FILE_BUFFER_LEN_get___() { int jresult ; int result; @@ -1970,7 +1989,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DEFAULT_FILE_BUFFER_LEN_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DTMF_LOG_LEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_DTMF_LOG_LEN_get___() { int jresult ; int result; @@ -1980,7 +1999,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DTMF_LOG_LEN_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_TRANS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_TRANS_get___() { int jresult ; int result; @@ -1990,7 +2009,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_TRANS_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_SESSION_MAX_PRIVATES_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_SESSION_MAX_PRIVATES_get___() { int jresult ; int result; @@ -2000,7 +2019,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_SESSION_MAX_PRIVATES_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DEFAULT_VIDEO_SIZE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_DEFAULT_VIDEO_SIZE_get___() { int jresult ; int result; @@ -2010,7 +2029,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_DEFAULT_VIDEO_SIZE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RTCP_AUDIO_INTERVAL_MSEC_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RTCP_AUDIO_INTERVAL_MSEC_get___() { char * jresult ; char *result = 0 ; @@ -2020,7 +2039,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RTCP_AUDIO_INTERVAL_MSEC_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RTCP_VIDEO_INTERVAL_MSEC_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RTCP_VIDEO_INTERVAL_MSEC_get___() { char * jresult ; char *result = 0 ; @@ -2030,7 +2049,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RTCP_VIDEO_INTERVAL_MSEC_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_MAX_FMTP_LEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_MAX_FMTP_LEN_get___() { int jresult ; int result; @@ -2040,7 +2059,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_MAX_FMTP_LEN_get() { } -SWIGEXPORT double SWIGSTDCALL CSharp_JITTER_VARIANCE_THRESHOLD_get() { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_JITTER_VARIANCE_THRESHOLD_get___() { double jresult ; double result; @@ -2050,7 +2069,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_JITTER_VARIANCE_THRESHOLD_get() { } -SWIGEXPORT double SWIGSTDCALL CSharp_IPDV_THRESHOLD_get() { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_IPDV_THRESHOLD_get___() { double jresult ; double result; @@ -2060,7 +2079,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_IPDV_THRESHOLD_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_LOST_BURST_ANALYZE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_LOST_BURST_ANALYZE_get___() { int jresult ; int result; @@ -2070,7 +2089,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_LOST_BURST_ANALYZE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_LOST_BURST_CAPTURE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_LOST_BURST_CAPTURE_get___() { int jresult ; int result; @@ -2080,7 +2099,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_LOST_BURST_CAPTURE_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_digit_set(void * jarg1, char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dtmf_t_digit_set___(void * jarg1, char jarg2) { switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; char arg2 ; @@ -2090,7 +2109,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_digit_set(void * jarg1, char ja } -SWIGEXPORT char SWIGSTDCALL CSharp_switch_dtmf_t_digit_get(void * jarg1) { +SWIGEXPORT char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dtmf_t_digit_get___(void * jarg1) { char jresult ; switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; char result; @@ -2102,7 +2121,7 @@ SWIGEXPORT char SWIGSTDCALL CSharp_switch_dtmf_t_digit_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_duration_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dtmf_t_duration_set___(void * jarg1, unsigned long jarg2) { switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; uint32_t arg2 ; @@ -2112,7 +2131,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_duration_set(void * jarg1, unsi } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_dtmf_t_duration_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dtmf_t_duration_get___(void * jarg1) { unsigned long jresult ; switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; uint32_t result; @@ -2124,7 +2143,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_dtmf_t_duration_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_flags_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dtmf_t_flags_set___(void * jarg1, int jarg2) { switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; int32_t arg2 ; @@ -2134,7 +2153,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_flags_set(void * jarg1, int jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_dtmf_t_flags_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dtmf_t_flags_get___(void * jarg1) { int jresult ; switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; int32_t result; @@ -2146,7 +2165,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_dtmf_t_flags_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_source_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dtmf_t_source_set___(void * jarg1, int jarg2) { switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; switch_dtmf_source_t arg2 ; @@ -2156,19 +2175,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_dtmf_t_source_set(void * jarg1, int ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_dtmf_t_source_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dtmf_t_source_get___(void * jarg1) { int jresult ; switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; switch_dtmf_source_t result; arg1 = (switch_dtmf_t *)jarg1; result = (switch_dtmf_source_t) ((arg1)->source); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_dtmf_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_dtmf_t___() { void * jresult ; switch_dtmf_t *result = 0 ; @@ -2178,7 +2197,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_dtmf_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_dtmf_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_dtmf_t___(void * jarg1) { switch_dtmf_t *arg1 = (switch_dtmf_t *) 0 ; arg1 = (switch_dtmf_t *)jarg1; @@ -2186,7 +2205,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_dtmf_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_buf_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_buf_set___(void * jarg1, void * jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t *arg2 = (switch_byte_t *) 0 ; @@ -2196,7 +2215,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_buf_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_bitpack_t_buf_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_buf_get___(void * jarg1) { void * jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t *result = 0 ; @@ -2208,7 +2227,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_bitpack_t_buf_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_buflen_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_buflen_set___(void * jarg1, unsigned long jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; uint32_t arg2 ; @@ -2218,7 +2237,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_buflen_set(void * jarg1, uns } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_bitpack_t_buflen_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_buflen_get___(void * jarg1) { unsigned long jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; uint32_t result; @@ -2230,7 +2249,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_bitpack_t_buflen_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_cur_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_cur_set___(void * jarg1, void * jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t *arg2 = (switch_byte_t *) 0 ; @@ -2240,7 +2259,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_cur_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_bitpack_t_cur_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_cur_get___(void * jarg1) { void * jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t *result = 0 ; @@ -2252,7 +2271,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_bitpack_t_cur_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_bytes_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_bytes_set___(void * jarg1, unsigned long jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; uint32_t arg2 ; @@ -2262,7 +2281,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_bytes_set(void * jarg1, unsi } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_bitpack_t_bytes_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_bytes_get___(void * jarg1) { unsigned long jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; uint32_t result; @@ -2274,7 +2293,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_bitpack_t_bytes_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_bits_tot_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_bits_tot_set___(void * jarg1, unsigned long jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; uint32_t arg2 ; @@ -2284,7 +2303,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_bits_tot_set(void * jarg1, u } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_bitpack_t_bits_tot_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_bits_tot_get___(void * jarg1) { unsigned long jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; uint32_t result; @@ -2296,7 +2315,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_bitpack_t_bits_tot_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_bits_cur_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_bits_cur_set___(void * jarg1, unsigned char jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t arg2 ; @@ -2306,7 +2325,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_bits_cur_set(void * jarg1, u } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_bits_cur_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_bits_cur_get___(void * jarg1) { unsigned char jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t result; @@ -2318,7 +2337,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_bits_cur_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_bits_rem_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_bits_rem_set___(void * jarg1, unsigned char jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t arg2 ; @@ -2328,7 +2347,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_bits_rem_set(void * jarg1, u } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_bits_rem_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_bits_rem_get___(void * jarg1) { unsigned char jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t result; @@ -2340,7 +2359,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_bits_rem_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_frame_bits_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_frame_bits_set___(void * jarg1, unsigned char jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t arg2 ; @@ -2350,7 +2369,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_frame_bits_set(void * jarg1, } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_frame_bits_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_frame_bits_get___(void * jarg1) { unsigned char jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t result; @@ -2362,7 +2381,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_frame_bits_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_shiftby_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_shiftby_set___(void * jarg1, unsigned char jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t arg2 ; @@ -2372,7 +2391,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_shiftby_set(void * jarg1, un } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_shiftby_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_shiftby_get___(void * jarg1) { unsigned char jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t result; @@ -2384,7 +2403,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_shiftby_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_this_byte_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_this_byte_set___(void * jarg1, unsigned char jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t arg2 ; @@ -2394,7 +2413,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_this_byte_set(void * jarg1, } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_this_byte_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_this_byte_get___(void * jarg1) { unsigned char jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t result; @@ -2406,7 +2425,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_this_byte_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_under_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_under_set___(void * jarg1, unsigned char jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t arg2 ; @@ -2416,7 +2435,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_under_set(void * jarg1, unsi } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_under_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_under_get___(void * jarg1) { unsigned char jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t result; @@ -2428,7 +2447,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_under_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_over_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_over_set___(void * jarg1, unsigned char jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t arg2 ; @@ -2438,7 +2457,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_over_set(void * jarg1, unsig } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_over_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_over_get___(void * jarg1) { unsigned char jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_byte_t result; @@ -2450,7 +2469,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_bitpack_t_over_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_mode_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_mode_set___(void * jarg1, int jarg2) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_bitpack_mode_t arg2 ; @@ -2460,19 +2479,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_bitpack_t_mode_set(void * jarg1, int j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_bitpack_t_mode_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_bitpack_t_mode_get___(void * jarg1) { int jresult ; switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; switch_bitpack_mode_t result; arg1 = (switch_bitpack_t *)jarg1; result = (switch_bitpack_mode_t) ((arg1)->mode); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_bitpack_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_bitpack_t___() { void * jresult ; switch_bitpack_t *result = 0 ; @@ -2482,7 +2501,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_bitpack_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_bitpack_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_bitpack_t___(void * jarg1) { switch_bitpack_t *arg1 = (switch_bitpack_t *) 0 ; arg1 = (switch_bitpack_t *)jarg1; @@ -2490,7 +2509,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_bitpack_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_base_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_base_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2508,7 +2527,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_base_dir_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_base_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_base_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2520,7 +2539,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_base_dir_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_mod_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_mod_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2538,7 +2557,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_mod_dir_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_mod_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_mod_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2550,7 +2569,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_mod_dir_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_conf_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_conf_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2568,7 +2587,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_conf_dir_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_conf_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_conf_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2580,7 +2599,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_conf_dir_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_log_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_log_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2598,7 +2617,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_log_dir_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_log_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_log_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2610,7 +2629,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_log_dir_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_run_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_run_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2628,7 +2647,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_run_dir_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_run_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_run_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2640,7 +2659,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_run_dir_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_db_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_db_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2658,7 +2677,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_db_dir_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_db_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_db_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2670,7 +2689,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_db_dir_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_script_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_script_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2688,7 +2707,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_script_dir_set(void * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_script_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_script_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2700,7 +2719,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_script_dir_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_temp_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_temp_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2718,7 +2737,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_temp_dir_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_temp_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_temp_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2730,7 +2749,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_temp_dir_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_htdocs_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_htdocs_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2748,7 +2767,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_htdocs_dir_set(void * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_htdocs_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_htdocs_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2760,7 +2779,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_htdocs_dir_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_grammar_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_grammar_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2778,7 +2797,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_grammar_dir_set(void * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_grammar_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_grammar_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2790,7 +2809,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_grammar_dir_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_storage_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_storage_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2808,7 +2827,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_storage_dir_set(void * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_storage_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_storage_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2820,7 +2839,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_storage_dir_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_cache_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_cache_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2838,7 +2857,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_cache_dir_set(void * jarg1 } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_cache_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_cache_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2850,7 +2869,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_cache_dir_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_recordings_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_recordings_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2868,7 +2887,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_recordings_dir_set(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_recordings_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_recordings_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2880,7 +2899,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_recordings_dir_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_sounds_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_sounds_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2898,7 +2917,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_sounds_dir_set(void * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_sounds_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_sounds_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2910,7 +2929,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_sounds_dir_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_lib_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_lib_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2928,7 +2947,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_lib_dir_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_lib_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_lib_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2940,7 +2959,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_lib_dir_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_certs_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_certs_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2958,7 +2977,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_certs_dir_set(void * jarg1 } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_certs_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_certs_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -2970,7 +2989,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_certs_dir_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_fonts_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_fonts_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -2988,7 +3007,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_fonts_dir_set(void * jarg1 } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_fonts_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_fonts_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -3000,7 +3019,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_fonts_dir_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_images_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_images_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -3018,7 +3037,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_images_dir_set(void * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_images_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_images_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -3030,7 +3049,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_images_dir_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_data_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_data_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -3048,7 +3067,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_data_dir_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_data_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_data_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -3060,7 +3079,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_data_dir_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_localstate_dir_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_localstate_dir_set___(void * jarg1, char * jarg2) { switch_directories *arg1 = (switch_directories *) 0 ; char *arg2 = (char *) 0 ; @@ -3078,7 +3097,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directories_localstate_dir_set(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_localstate_dir_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directories_localstate_dir_get___(void * jarg1) { char * jresult ; switch_directories *arg1 = (switch_directories *) 0 ; char *result = 0 ; @@ -3090,7 +3109,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directories_localstate_dir_get(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_directories() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_directories___() { void * jresult ; switch_directories *result = 0 ; @@ -3100,7 +3119,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_directories() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_directories(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_directories___(void * jarg1) { switch_directories *arg1 = (switch_directories *) 0 ; arg1 = (switch_directories *)jarg1; @@ -3108,7 +3127,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_directories(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_SWITCH_GLOBAL_dirs_set(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_GLOBAL_dirs_set___(void * jarg1) { switch_directories *arg1 = (switch_directories *) 0 ; arg1 = (switch_directories *)jarg1; @@ -3116,7 +3135,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_SWITCH_GLOBAL_dirs_set(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_SWITCH_GLOBAL_dirs_get() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_GLOBAL_dirs_get___() { void * jresult ; switch_directories *result = 0 ; @@ -3126,7 +3145,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_SWITCH_GLOBAL_dirs_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_filenames_conf_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_filenames_conf_name_set___(void * jarg1, char * jarg2) { switch_filenames *arg1 = (switch_filenames *) 0 ; char *arg2 = (char *) 0 ; @@ -3144,7 +3163,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_filenames_conf_name_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_filenames_conf_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_filenames_conf_name_get___(void * jarg1) { char * jresult ; switch_filenames *arg1 = (switch_filenames *) 0 ; char *result = 0 ; @@ -3156,7 +3175,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_filenames_conf_name_get(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_filenames() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_filenames___() { void * jresult ; switch_filenames *result = 0 ; @@ -3166,7 +3185,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_filenames() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_filenames(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_filenames___(void * jarg1) { switch_filenames *arg1 = (switch_filenames *) 0 ; arg1 = (switch_filenames *)jarg1; @@ -3174,7 +3193,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_filenames(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_SWITCH_GLOBAL_filenames_set(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_GLOBAL_filenames_set___(void * jarg1) { switch_filenames *arg1 = (switch_filenames *) 0 ; arg1 = (switch_filenames *)jarg1; @@ -3182,7 +3201,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_SWITCH_GLOBAL_filenames_set(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_SWITCH_GLOBAL_filenames_get() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_GLOBAL_filenames_get___() { void * jresult ; switch_filenames *result = 0 ; @@ -3192,7 +3211,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_SWITCH_GLOBAL_filenames_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_STACKS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_STACKS_get___() { int jresult ; int result; @@ -3202,7 +3221,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_STACKS_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_THREAD_STACKSIZE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_THREAD_STACKSIZE_get___() { int jresult ; int result; @@ -3212,7 +3231,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_THREAD_STACKSIZE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SYSTEM_THREAD_STACKSIZE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SYSTEM_THREAD_STACKSIZE_get___() { int jresult ; int result; @@ -3222,7 +3241,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SYSTEM_THREAD_STACKSIZE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_INTERVAL_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_INTERVAL_get___() { int jresult ; int result; @@ -3232,7 +3251,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_INTERVAL_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_INTERVAL_PAD_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_INTERVAL_PAD_get___() { int jresult ; int result; @@ -3242,7 +3261,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_INTERVAL_PAD_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_SAMPLE_LEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_SAMPLE_LEN_get___() { int jresult ; int result; @@ -3252,7 +3271,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_SAMPLE_LEN_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_BYTES_PER_SAMPLE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_BYTES_PER_SAMPLE_get___() { int jresult ; int result; @@ -3262,7 +3281,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_BYTES_PER_SAMPLE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RECOMMENDED_BUFFER_SIZE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RECOMMENDED_BUFFER_SIZE_get___() { int jresult ; int result; @@ -3272,7 +3291,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RECOMMENDED_BUFFER_SIZE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_CODECS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_CODECS_get___() { int jresult ; int result; @@ -3282,7 +3301,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_CODECS_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_STATE_HANDLERS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_STATE_HANDLERS_get___() { int jresult ; int result; @@ -3292,7 +3311,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_STATE_HANDLERS_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_QUEUE_LEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_QUEUE_LEN_get___() { int jresult ; int result; @@ -3302,7 +3321,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_QUEUE_LEN_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get___() { int jresult ; int result; @@ -3312,7 +3331,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_error_period_t_start_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_error_period_t_start_set___(void * jarg1, long long jarg2) { error_period *arg1 = (error_period *) 0 ; int64_t arg2 ; @@ -3322,7 +3341,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_error_period_t_start_set(void * jarg1, } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_error_period_t_start_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_error_period_t_start_get___(void * jarg1) { long long jresult ; error_period *arg1 = (error_period *) 0 ; int64_t result; @@ -3334,7 +3353,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_error_period_t_start_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_error_period_t_stop_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_error_period_t_stop_set___(void * jarg1, long long jarg2) { error_period *arg1 = (error_period *) 0 ; int64_t arg2 ; @@ -3344,7 +3363,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_error_period_t_stop_set(void * jarg1, } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_error_period_t_stop_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_error_period_t_stop_get___(void * jarg1) { long long jresult ; error_period *arg1 = (error_period *) 0 ; int64_t result; @@ -3356,7 +3375,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_error_period_t_stop_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_error_period_t_flaws_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_error_period_t_flaws_set___(void * jarg1, unsigned long jarg2) { error_period *arg1 = (error_period *) 0 ; uint32_t arg2 ; @@ -3366,7 +3385,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_error_period_t_flaws_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_error_period_t_flaws_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_error_period_t_flaws_get___(void * jarg1) { unsigned long jresult ; error_period *arg1 = (error_period *) 0 ; uint32_t result; @@ -3378,7 +3397,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_error_period_t_flaws_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_error_period_t_consecutive_flaws_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_error_period_t_consecutive_flaws_set___(void * jarg1, unsigned long jarg2) { error_period *arg1 = (error_period *) 0 ; uint32_t arg2 ; @@ -3388,7 +3407,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_error_period_t_consecutive_flaws_set(v } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_error_period_t_consecutive_flaws_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_error_period_t_consecutive_flaws_get___(void * jarg1) { unsigned long jresult ; error_period *arg1 = (error_period *) 0 ; uint32_t result; @@ -3400,7 +3419,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_error_period_t_consecutive_fl } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_error_period_t_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_error_period_t_next_set___(void * jarg1, void * jarg2) { error_period *arg1 = (error_period *) 0 ; error_period *arg2 = (error_period *) 0 ; @@ -3410,7 +3429,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_error_period_t_next_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_error_period_t_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_error_period_t_next_get___(void * jarg1) { void * jresult ; error_period *arg1 = (error_period *) 0 ; error_period *result = 0 ; @@ -3422,7 +3441,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_error_period_t_next_get(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_error_period_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_error_period_t___() { void * jresult ; error_period *result = 0 ; @@ -3432,7 +3451,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_error_period_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_error_period_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_error_period_t___(void * jarg1) { error_period *arg1 = (error_period *) 0 ; arg1 = (error_period *)jarg1; @@ -3440,7 +3459,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_error_period_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_raw_bytes_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_raw_bytes_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -3456,7 +3475,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_raw_bytes_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_raw_bytes_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_raw_bytes_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -3468,7 +3487,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_raw_bytes_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_bytes_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_media_bytes_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -3484,7 +3503,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_bytes_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_bytes_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_media_bytes_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -3496,7 +3515,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_bytes_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_packet_count_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_packet_count_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -3512,7 +3531,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_packet_count_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_packet_count_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_packet_count_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -3524,7 +3543,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_packet_count_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_period_packet_count_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_period_packet_count_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -3540,7 +3559,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_period_packet_count_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_period_packet_count_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_period_packet_count_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -3552,7 +3571,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_period_packet_count_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_packet_count_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_media_packet_count_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -3568,7 +3587,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_packet_count_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_packet_count_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_media_packet_count_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -3580,7 +3599,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_media_packet_count_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_skip_packet_count_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_skip_packet_count_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -3596,7 +3615,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_skip_packet_count_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_skip_packet_count_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_skip_packet_count_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -3608,7 +3627,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_skip_packet_count_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_jb_packet_count_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jb_packet_count_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -3624,7 +3643,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_jb_packet_count_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_jb_packet_count_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jb_packet_count_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -3636,7 +3655,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_jb_packet_count_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_dtmf_packet_count_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_dtmf_packet_count_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -3652,7 +3671,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_dtmf_packet_count_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_dtmf_packet_count_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_dtmf_packet_count_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -3664,7 +3683,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_dtmf_packet_count_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_cng_packet_count_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_cng_packet_count_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -3680,7 +3699,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_cng_packet_count_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_cng_packet_count_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_cng_packet_count_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -3692,7 +3711,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_cng_packet_count_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_flush_packet_count_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_flush_packet_count_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -3708,7 +3727,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_flush_packet_count_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_flush_packet_count_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_flush_packet_count_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -3720,7 +3739,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_flush_packet_count_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_largest_jb_size_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_largest_jb_size_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -3736,7 +3755,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_largest_jb_size_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_largest_jb_size_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_largest_jb_size_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -3748,7 +3767,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_largest_jb_size_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_proc_time_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_proc_time_set___(void * jarg1, long long jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int64_t arg2 ; @@ -3758,7 +3777,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_proc_time_set(void } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_proc_time_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_proc_time_get___(void * jarg1) { long long jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int64_t result; @@ -3770,7 +3789,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_proc_time_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_n_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_n_set___(void * jarg1, long long jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int64_t arg2 ; @@ -3780,7 +3799,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_n_set(void * jarg } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_n_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_n_get___(void * jarg1) { long long jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int64_t result; @@ -3792,7 +3811,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_n_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_add_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_add_set___(void * jarg1, long long jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int64_t arg2 ; @@ -3802,7 +3821,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_add_set(void * ja } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_add_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_add_get___(void * jarg1) { long long jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int64_t result; @@ -3814,7 +3833,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_add_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_addsq_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_addsq_set___(void * jarg1, long long jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int64_t arg2 ; @@ -3824,7 +3843,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_addsq_set(void * } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_addsq_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_addsq_get___(void * jarg1) { long long jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int64_t result; @@ -3836,7 +3855,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_rtp_numbers_t_jitter_addsq_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_variance_set(void * jarg1, double jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_variance_set___(void * jarg1, double jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double arg2 ; @@ -3846,7 +3865,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_variance_set(void * jarg } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_variance_get(void * jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_variance_get___(void * jarg1) { double jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double result; @@ -3858,7 +3877,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_variance_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_min_variance_set(void * jarg1, double jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_min_variance_set___(void * jarg1, double jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double arg2 ; @@ -3868,7 +3887,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_min_variance_set(void * } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_min_variance_get(void * jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_min_variance_get___(void * jarg1) { double jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double result; @@ -3880,7 +3899,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_min_variance_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_max_variance_set(void * jarg1, double jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_max_variance_set___(void * jarg1, double jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double arg2 ; @@ -3890,7 +3909,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_max_variance_set(void * } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_max_variance_get(void * jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_max_variance_get___(void * jarg1) { double jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double result; @@ -3902,7 +3921,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_max_variance_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_std_deviation_set(void * jarg1, double jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_std_deviation_set___(void * jarg1, double jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double arg2 ; @@ -3912,7 +3931,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_std_deviation_set(void * } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_std_deviation_get(void * jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_std_deviation_get___(void * jarg1) { double jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double result; @@ -3924,7 +3943,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_std_deviation_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_lossrate_set(void * jarg1, double jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_lossrate_set___(void * jarg1, double jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double arg2 ; @@ -3934,7 +3953,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_lossrate_set(void * jarg } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_lossrate_get(void * jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_lossrate_get___(void * jarg1) { double jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double result; @@ -3946,7 +3965,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_lossrate_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_burstrate_set(void * jarg1, double jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_burstrate_set___(void * jarg1, double jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double arg2 ; @@ -3956,7 +3975,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_burstrate_set(void * jar } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_burstrate_get(void * jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_burstrate_get___(void * jarg1) { double jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double result; @@ -3968,7 +3987,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_burstrate_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_mean_interval_set(void * jarg1, double jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_mean_interval_set___(void * jarg1, double jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double arg2 ; @@ -3978,7 +3997,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_mean_interval_set(void * } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_mean_interval_get(void * jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_mean_interval_get___(void * jarg1) { double jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double result; @@ -3990,7 +4009,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_mean_interval_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_loss_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_loss_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int *arg2 ; @@ -4004,7 +4023,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_loss_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_loss_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_loss_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int *result = 0 ; @@ -4016,7 +4035,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_loss_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_loss_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_loss_set___(void * jarg1, int jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int arg2 ; @@ -4026,7 +4045,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_loss_set(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_loss_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_loss_get___(void * jarg1) { int jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int result; @@ -4038,7 +4057,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_loss_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_recved_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_recved_set___(void * jarg1, int jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int arg2 ; @@ -4048,7 +4067,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_recved_set(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_numbers_t_recved_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_recved_get___(void * jarg1) { int jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int result; @@ -4060,7 +4079,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_numbers_t_recved_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_processed_seq_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_processed_seq_set___(void * jarg1, int jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int arg2 ; @@ -4070,7 +4089,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_processed_seq_set(v } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_processed_seq_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_processed_seq_get___(void * jarg1) { int jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; int result; @@ -4082,7 +4101,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_processed_seq_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_flaws_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_flaws_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -4098,7 +4117,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_flaws_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_flaws_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_flaws_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -4110,7 +4129,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_flaws_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_flaw_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_flaw_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -4126,7 +4145,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_flaw_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_flaw_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_flaw_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; switch_size_t result; @@ -4138,7 +4157,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_last_flaw_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_R_set(void * jarg1, double jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_R_set___(void * jarg1, double jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double arg2 ; @@ -4148,7 +4167,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_R_set(void * jarg1, doub } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_R_get(void * jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_R_get___(void * jarg1) { double jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double result; @@ -4160,7 +4179,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_R_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_mos_set(void * jarg1, double jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_mos_set___(void * jarg1, double jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double arg2 ; @@ -4170,7 +4189,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_mos_set(void * jarg1, do } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_mos_get(void * jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_mos_get___(void * jarg1) { double jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; double result; @@ -4182,7 +4201,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtp_numbers_t_mos_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_error_log_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_error_log_set___(void * jarg1, void * jarg2) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; error_period *arg2 = (error_period *) 0 ; @@ -4192,7 +4211,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_numbers_t_error_log_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_error_log_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_error_log_get___(void * jarg1) { void * jresult ; switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; error_period *result = 0 ; @@ -4204,7 +4223,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_numbers_t_error_log_get(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_numbers_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_rtp_numbers_t___() { void * jresult ; switch_rtp_numbers_t *result = 0 ; @@ -4214,7 +4233,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_numbers_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_numbers_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_rtp_numbers_t___(void * jarg1) { switch_rtp_numbers_t *arg1 = (switch_rtp_numbers_t *) 0 ; arg1 = (switch_rtp_numbers_t *)jarg1; @@ -4222,7 +4241,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_numbers_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_packet_count_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_packet_count_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4232,7 +4251,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_packet_count_set(void * } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_packet_count_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_packet_count_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4244,7 +4263,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_packet_count_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_octet_count_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_octet_count_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4254,7 +4273,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_octet_count_set(void * } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_octet_count_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_octet_count_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4266,7 +4285,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_octet_count_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_peer_ssrc_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_peer_ssrc_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4276,7 +4295,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_peer_ssrc_set(void * ja } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_peer_ssrc_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_peer_ssrc_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4288,7 +4307,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_peer_ssrc_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ts_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_rpt_ts_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4298,7 +4317,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ts_set(void * } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ts_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_rpt_ts_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4310,7 +4329,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ts_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_ssrc_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_ssrc_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4320,7 +4339,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_ssrc_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_ssrc_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_ssrc_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4332,7 +4351,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_ssrc_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_csrc_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_csrc_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4342,7 +4361,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_csrc_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_csrc_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_csrc_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4354,7 +4373,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_csrc_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_pkt_tsdiff_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4364,7 +4383,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_set(voi } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_pkt_tsdiff_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4376,7 +4395,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_pkt_tsdif } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_inter_jitter_set(void * jarg1, double jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_inter_jitter_set___(void * jarg1, double jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; double arg2 ; @@ -4386,7 +4405,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_inter_jitter_set(void * } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtcp_numbers_t_inter_jitter_get(void * jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_inter_jitter_get___(void * jarg1) { double jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; double result; @@ -4398,7 +4417,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_rtcp_numbers_t_inter_jitter_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_rpt_ext_seq_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4408,7 +4427,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_set(vo } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_rpt_ext_seq_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4420,7 +4439,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_ext_s } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_cycle_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_rpt_cycle_set___(void * jarg1, unsigned short jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint16_t arg2 ; @@ -4430,7 +4449,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_cycle_set(void } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_cycle_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_rpt_cycle_get___(void * jarg1) { unsigned short jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint16_t result; @@ -4442,7 +4461,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_rpt_cycl } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_period_pkt_count_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_period_pkt_count_set___(void * jarg1, unsigned short jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint16_t arg2 ; @@ -4452,7 +4471,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_period_pkt_count_set(vo } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_period_pkt_count_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_period_pkt_count_get___(void * jarg1) { unsigned short jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint16_t result; @@ -4464,7 +4483,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_period_pkt_co } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_pkt_count_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_pkt_count_set___(void * jarg1, unsigned short jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint16_t arg2 ; @@ -4474,7 +4493,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_pkt_count_set(void * ja } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_pkt_count_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_pkt_count_get___(void * jarg1) { unsigned short jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint16_t result; @@ -4486,7 +4505,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_pkt_count_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_sent_pkt_count_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_sent_pkt_count_set___(void * jarg1, unsigned short jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint16_t arg2 ; @@ -4496,7 +4515,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_sent_pkt_count_set(void } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_sent_pkt_count_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_sent_pkt_count_get___(void * jarg1) { unsigned short jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint16_t result; @@ -4508,7 +4527,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_sent_pkt_coun } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_rtcp_rtp_count_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4518,7 +4537,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_set(void } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_rtcp_rtp_count_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4530,7 +4549,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_rtcp_rtp_count } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_high_ext_seq_recv_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4540,7 +4559,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_set(v } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_high_ext_seq_recv_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4552,7 +4571,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_high_ext_seq_r } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cycle_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_cycle_set___(void * jarg1, unsigned short jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint16_t arg2 ; @@ -4562,7 +4581,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cycle_set(void * jarg1, } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cycle_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_cycle_get___(void * jarg1) { unsigned short jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint16_t result; @@ -4574,7 +4593,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cycle_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_bad_seq_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_bad_seq_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4584,7 +4603,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_bad_seq_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_bad_seq_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_bad_seq_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4596,7 +4615,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_bad_seq_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_base_seq_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_base_seq_set___(void * jarg1, unsigned short jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint16_t arg2 ; @@ -4606,7 +4625,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_base_seq_set(void * jar } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_base_seq_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_base_seq_get___(void * jarg1) { unsigned short jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint16_t result; @@ -4618,7 +4637,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtcp_numbers_t_base_seq_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cum_lost_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_cum_lost_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4628,7 +4647,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cum_lost_set(void * jar } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cum_lost_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_cum_lost_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4640,7 +4659,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_cum_lost_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_recv_lsr_local_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4650,7 +4669,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_set } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_recv_lsr_local_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4662,7 +4681,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_recv_lsr_peer_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4672,7 +4691,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_set( } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_recv_lsr_peer_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4684,7 +4703,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_last_recv_lsr_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_init_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_init_set___(void * jarg1, unsigned long jarg2) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t arg2 ; @@ -4694,7 +4713,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_numbers_t_init_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_init_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_init_get___(void * jarg1) { unsigned long jresult ; switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; uint32_t result; @@ -4706,7 +4725,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtcp_numbers_t_init_get(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtcp_numbers_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_rtcp_numbers_t___() { void * jresult ; switch_rtcp_numbers_t *result = 0 ; @@ -4716,7 +4735,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtcp_numbers_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtcp_numbers_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_rtcp_numbers_t___(void * jarg1) { switch_rtcp_numbers_t *arg1 = (switch_rtcp_numbers_t *) 0 ; arg1 = (switch_rtcp_numbers_t *)jarg1; @@ -4724,7 +4743,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtcp_numbers_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_inbound_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_stats_t_inbound_set___(void * jarg1, void * jarg2) { switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; switch_rtp_numbers_t *arg2 = (switch_rtp_numbers_t *) 0 ; @@ -4734,7 +4753,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_inbound_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_stats_t_inbound_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_stats_t_inbound_get___(void * jarg1) { void * jresult ; switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; switch_rtp_numbers_t *result = 0 ; @@ -4746,7 +4765,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_stats_t_inbound_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_outbound_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_stats_t_outbound_set___(void * jarg1, void * jarg2) { switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; switch_rtp_numbers_t *arg2 = (switch_rtp_numbers_t *) 0 ; @@ -4756,7 +4775,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_outbound_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_stats_t_outbound_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_stats_t_outbound_get___(void * jarg1) { void * jresult ; switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; switch_rtp_numbers_t *result = 0 ; @@ -4768,7 +4787,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_stats_t_outbound_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_rtcp_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_stats_t_rtcp_set___(void * jarg1, void * jarg2) { switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; switch_rtcp_numbers_t *arg2 = (switch_rtcp_numbers_t *) 0 ; @@ -4778,7 +4797,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_rtcp_set(void * jarg1, voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_stats_t_rtcp_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_stats_t_rtcp_get___(void * jarg1) { void * jresult ; switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; switch_rtcp_numbers_t *result = 0 ; @@ -4790,7 +4809,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_stats_t_rtcp_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_read_count_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_stats_t_read_count_set___(void * jarg1, unsigned long jarg2) { switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; uint32_t arg2 ; @@ -4800,7 +4819,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_stats_t_read_count_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_stats_t_read_count_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_stats_t_read_count_get___(void * jarg1) { unsigned long jresult ; switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; uint32_t result; @@ -4812,7 +4831,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_stats_t_read_count_get(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_stats_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_rtp_stats_t___() { void * jresult ; switch_rtp_stats_t *result = 0 ; @@ -4822,7 +4841,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_stats_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_stats_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_rtp_stats_t___(void * jarg1) { switch_rtp_stats_t *arg1 = (switch_rtp_stats_t *) 0 ; arg1 = (switch_rtp_stats_t *)jarg1; @@ -4830,7 +4849,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_stats_t(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_CNG_PAYLOAD_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RTP_CNG_PAYLOAD_get___() { int jresult ; int result; @@ -4840,7 +4859,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_CNG_PAYLOAD_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_version_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_version_set___(void * jarg1, unsigned int jarg2) { switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int arg2 ; @@ -4850,7 +4869,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_version_set(void * jarg1, un } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_version_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_version_get___(void * jarg1) { unsigned int jresult ; switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int result; @@ -4862,7 +4881,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_version_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_p_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_p_set___(void * jarg1, unsigned int jarg2) { switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int arg2 ; @@ -4872,7 +4891,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_p_set(void * jarg1, unsigned } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_p_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_p_get___(void * jarg1) { unsigned int jresult ; switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int result; @@ -4884,7 +4903,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_p_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_x_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_x_set___(void * jarg1, unsigned int jarg2) { switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int arg2 ; @@ -4894,7 +4913,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_x_set(void * jarg1, unsigned } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_x_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_x_get___(void * jarg1) { unsigned int jresult ; switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int result; @@ -4906,7 +4925,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_x_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_cc_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_cc_set___(void * jarg1, unsigned int jarg2) { switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int arg2 ; @@ -4916,7 +4935,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_cc_set(void * jarg1, unsigne } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_cc_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_cc_get___(void * jarg1) { unsigned int jresult ; switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int result; @@ -4928,7 +4947,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_cc_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_m_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_m_set___(void * jarg1, unsigned int jarg2) { switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int arg2 ; @@ -4938,7 +4957,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_m_set(void * jarg1, unsigned } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_m_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_m_get___(void * jarg1) { unsigned int jresult ; switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int result; @@ -4950,7 +4969,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_m_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_pt_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_pt_set___(void * jarg1, unsigned int jarg2) { switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int arg2 ; @@ -4960,7 +4979,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_pt_set(void * jarg1, unsigne } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_pt_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_pt_get___(void * jarg1) { unsigned int jresult ; switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int result; @@ -4972,7 +4991,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_pt_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_seq_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_seq_set___(void * jarg1, unsigned int jarg2) { switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int arg2 ; @@ -4982,7 +5001,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_seq_set(void * jarg1, unsign } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_seq_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_seq_get___(void * jarg1) { unsigned int jresult ; switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int result; @@ -4994,7 +5013,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_seq_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_ts_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_ts_set___(void * jarg1, unsigned int jarg2) { switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int arg2 ; @@ -5004,7 +5023,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_ts_set(void * jarg1, unsigne } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_ts_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_ts_get___(void * jarg1) { unsigned int jresult ; switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int result; @@ -5016,7 +5035,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_ts_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_ssrc_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_ssrc_set___(void * jarg1, unsigned int jarg2) { switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int arg2 ; @@ -5026,7 +5045,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_t_ssrc_set(void * jarg1, unsig } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_ssrc_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_ssrc_get___(void * jarg1) { unsigned int jresult ; switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; unsigned int result; @@ -5038,7 +5057,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_t_ssrc_get(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_hdr_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_rtp_hdr_t___() { void * jresult ; switch_rtp_hdr_t *result = 0 ; @@ -5048,7 +5067,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_hdr_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_hdr_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_rtp_hdr_t___(void * jarg1) { switch_rtp_hdr_t *arg1 = (switch_rtp_hdr_t *) 0 ; arg1 = (switch_rtp_hdr_t *)jarg1; @@ -5056,7 +5075,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_hdr_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_ext_t_length_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_ext_t_length_set___(void * jarg1, unsigned int jarg2) { switch_rtp_hdr_ext_t *arg1 = (switch_rtp_hdr_ext_t *) 0 ; unsigned int arg2 ; @@ -5066,7 +5085,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_ext_t_length_set(void * jarg1, } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_ext_t_length_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_ext_t_length_get___(void * jarg1) { unsigned int jresult ; switch_rtp_hdr_ext_t *arg1 = (switch_rtp_hdr_ext_t *) 0 ; unsigned int result; @@ -5078,7 +5097,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_ext_t_length_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_ext_t_profile_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_ext_t_profile_set___(void * jarg1, unsigned int jarg2) { switch_rtp_hdr_ext_t *arg1 = (switch_rtp_hdr_ext_t *) 0 ; unsigned int arg2 ; @@ -5088,7 +5107,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_hdr_ext_t_profile_set(void * jarg1 } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_ext_t_profile_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_hdr_ext_t_profile_get___(void * jarg1) { unsigned int jresult ; switch_rtp_hdr_ext_t *arg1 = (switch_rtp_hdr_ext_t *) 0 ; unsigned int result; @@ -5100,7 +5119,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtp_hdr_ext_t_profile_get(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_hdr_ext_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_rtp_hdr_ext_t___() { void * jresult ; switch_rtp_hdr_ext_t *result = 0 ; @@ -5110,7 +5129,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_hdr_ext_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_hdr_ext_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_rtp_hdr_ext_t___(void * jarg1) { switch_rtp_hdr_ext_t *arg1 = (switch_rtp_hdr_ext_t *) 0 ; arg1 = (switch_rtp_hdr_ext_t *)jarg1; @@ -5118,7 +5137,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_hdr_ext_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_version_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_version_set___(void * jarg1, unsigned int jarg2) { switch_rtcp_hdr_s *arg1 = (switch_rtcp_hdr_s *) 0 ; unsigned int arg2 ; @@ -5128,7 +5147,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_version_set(void * jarg1, u } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_version_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_version_get___(void * jarg1) { unsigned int jresult ; switch_rtcp_hdr_s *arg1 = (switch_rtcp_hdr_s *) 0 ; unsigned int result; @@ -5140,7 +5159,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_version_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_p_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_p_set___(void * jarg1, unsigned int jarg2) { switch_rtcp_hdr_s *arg1 = (switch_rtcp_hdr_s *) 0 ; unsigned int arg2 ; @@ -5150,7 +5169,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_p_set(void * jarg1, unsigne } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_p_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_p_get___(void * jarg1) { unsigned int jresult ; switch_rtcp_hdr_s *arg1 = (switch_rtcp_hdr_s *) 0 ; unsigned int result; @@ -5162,7 +5181,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_p_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_count_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_count_set___(void * jarg1, unsigned int jarg2) { switch_rtcp_hdr_s *arg1 = (switch_rtcp_hdr_s *) 0 ; unsigned int arg2 ; @@ -5172,7 +5191,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_count_set(void * jarg1, uns } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_count_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_count_get___(void * jarg1) { unsigned int jresult ; switch_rtcp_hdr_s *arg1 = (switch_rtcp_hdr_s *) 0 ; unsigned int result; @@ -5184,7 +5203,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_count_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_type_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_type_set___(void * jarg1, unsigned int jarg2) { switch_rtcp_hdr_s *arg1 = (switch_rtcp_hdr_s *) 0 ; unsigned int arg2 ; @@ -5194,7 +5213,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_type_set(void * jarg1, unsi } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_type_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_type_get___(void * jarg1) { unsigned int jresult ; switch_rtcp_hdr_s *arg1 = (switch_rtcp_hdr_s *) 0 ; unsigned int result; @@ -5206,7 +5225,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_type_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_length_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_length_set___(void * jarg1, unsigned int jarg2) { switch_rtcp_hdr_s *arg1 = (switch_rtcp_hdr_s *) 0 ; unsigned int arg2 ; @@ -5216,7 +5235,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtcp_hdr_t_length_set(void * jarg1, un } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_length_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_length_get___(void * jarg1) { unsigned int jresult ; switch_rtcp_hdr_s *arg1 = (switch_rtcp_hdr_s *) 0 ; unsigned int result; @@ -5228,7 +5247,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_rtcp_hdr_t_length_get(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtcp_hdr_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_rtcp_hdr_t___() { void * jresult ; switch_rtcp_hdr_s *result = 0 ; @@ -5238,7 +5257,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtcp_hdr_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtcp_hdr_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_rtcp_hdr_t___(void * jarg1) { switch_rtcp_hdr_s *arg1 = (switch_rtcp_hdr_s *) 0 ; arg1 = (switch_rtcp_hdr_s *)jarg1; @@ -5246,7 +5265,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtcp_hdr_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_audio_buffer_header_t_ts_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_audio_buffer_header_t_ts_set___(void * jarg1, unsigned long jarg2) { audio_buffer_header_s *arg1 = (audio_buffer_header_s *) 0 ; uint32_t arg2 ; @@ -5256,7 +5275,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_audio_buffer_header_t_ts_set(void * jarg1, un } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_audio_buffer_header_t_ts_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_audio_buffer_header_t_ts_get___(void * jarg1) { unsigned long jresult ; audio_buffer_header_s *arg1 = (audio_buffer_header_s *) 0 ; uint32_t result; @@ -5268,7 +5287,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_audio_buffer_header_t_ts_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_audio_buffer_header_t_len_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_audio_buffer_header_t_len_set___(void * jarg1, unsigned long jarg2) { audio_buffer_header_s *arg1 = (audio_buffer_header_s *) 0 ; uint32_t arg2 ; @@ -5278,7 +5297,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_audio_buffer_header_t_len_set(void * jarg1, u } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_audio_buffer_header_t_len_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_audio_buffer_header_t_len_get___(void * jarg1) { unsigned long jresult ; audio_buffer_header_s *arg1 = (audio_buffer_header_s *) 0 ; uint32_t result; @@ -5290,7 +5309,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_audio_buffer_header_t_len_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_audio_buffer_header_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_audio_buffer_header_t___() { void * jresult ; audio_buffer_header_s *result = 0 ; @@ -5300,7 +5319,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_audio_buffer_header_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_audio_buffer_header_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_audio_buffer_header_t___(void * jarg1) { audio_buffer_header_s *arg1 = (audio_buffer_header_s *) 0 ; arg1 = (audio_buffer_header_s *)jarg1; @@ -5308,7 +5327,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_audio_buffer_header_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxVersion_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxVersion_set___(void * jarg1, unsigned short jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; uint16_t arg2 ; @@ -5318,7 +5337,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxVersion_set(void * } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxVersion_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxVersion_get___(void * jarg1) { unsigned short jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; uint16_t result; @@ -5330,7 +5349,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxVersion_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38MaxBitRate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38MaxBitRate_set___(void * jarg1, unsigned long jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; uint32_t arg2 ; @@ -5340,7 +5359,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38MaxBitRate_set(void * } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_t38_options_t_T38MaxBitRate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38MaxBitRate_get___(void * jarg1) { unsigned long jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; uint32_t result; @@ -5352,7 +5371,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_t38_options_t_T38MaxBitRate_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxFillBitRemoval_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxFillBitRemoval_set___(void * jarg1, int jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; switch_bool_t arg2 ; @@ -5362,19 +5381,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxFillBitRemoval_set } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxFillBitRemoval_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxFillBitRemoval_get___(void * jarg1) { int jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; switch_bool_t result; arg1 = (switch_t38_options_t *)jarg1; result = (switch_bool_t) ((arg1)->T38FaxFillBitRemoval); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxTranscodingMMR_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxTranscodingMMR_set___(void * jarg1, int jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; switch_bool_t arg2 ; @@ -5384,19 +5403,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxTranscodingMMR_set } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxTranscodingMMR_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxTranscodingMMR_get___(void * jarg1) { int jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; switch_bool_t result; arg1 = (switch_t38_options_t *)jarg1; result = (switch_bool_t) ((arg1)->T38FaxTranscodingMMR); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxTranscodingJBIG_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxTranscodingJBIG_set___(void * jarg1, int jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; switch_bool_t arg2 ; @@ -5406,19 +5425,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxTranscodingJBIG_se } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxTranscodingJBIG_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxTranscodingJBIG_get___(void * jarg1) { int jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; switch_bool_t result; arg1 = (switch_t38_options_t *)jarg1; result = (switch_bool_t) ((arg1)->T38FaxTranscodingJBIG); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxRateManagement_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxRateManagement_set___(void * jarg1, char * jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; char *arg2 = (char *) 0 ; @@ -5435,7 +5454,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxRateManagement_set } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxRateManagement_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxRateManagement_get___(void * jarg1) { char * jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; char *result = 0 ; @@ -5447,7 +5466,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxRateManagement_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxMaxBuffer_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxMaxBuffer_set___(void * jarg1, unsigned long jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; uint32_t arg2 ; @@ -5457,7 +5476,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxMaxBuffer_set(void } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxMaxBuffer_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxMaxBuffer_get___(void * jarg1) { unsigned long jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; uint32_t result; @@ -5469,7 +5488,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxMaxBuffer } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxMaxDatagram_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxMaxDatagram_set___(void * jarg1, unsigned long jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; uint32_t arg2 ; @@ -5479,7 +5498,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxMaxDatagram_set(vo } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxMaxDatagram_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxMaxDatagram_get___(void * jarg1) { unsigned long jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; uint32_t result; @@ -5491,7 +5510,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxMaxDatagr } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxUdpEC_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxUdpEC_set___(void * jarg1, char * jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; char *arg2 = (char *) 0 ; @@ -5508,7 +5527,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxUdpEC_set(void * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxUdpEC_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxUdpEC_get___(void * jarg1) { char * jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; char *result = 0 ; @@ -5520,7 +5539,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_T38FaxUdpEC_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38VendorInfo_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38VendorInfo_set___(void * jarg1, char * jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; char *arg2 = (char *) 0 ; @@ -5537,7 +5556,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_T38VendorInfo_set(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_T38VendorInfo_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_T38VendorInfo_get___(void * jarg1) { char * jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; char *result = 0 ; @@ -5549,7 +5568,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_T38VendorInfo_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_remote_ip_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_remote_ip_set___(void * jarg1, char * jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; char *arg2 = (char *) 0 ; @@ -5566,7 +5585,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_remote_ip_set(void * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_remote_ip_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_remote_ip_get___(void * jarg1) { char * jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; char *result = 0 ; @@ -5578,7 +5597,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_remote_ip_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_remote_port_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_remote_port_set___(void * jarg1, unsigned short jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; uint16_t arg2 ; @@ -5588,7 +5607,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_remote_port_set(void * j } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_t38_options_t_remote_port_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_remote_port_get___(void * jarg1) { unsigned short jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; uint16_t result; @@ -5600,7 +5619,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_t38_options_t_remote_port_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_local_ip_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_local_ip_set___(void * jarg1, char * jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; char *arg2 = (char *) 0 ; @@ -5617,7 +5636,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_local_ip_set(void * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_local_ip_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_local_ip_get___(void * jarg1) { char * jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; char *result = 0 ; @@ -5629,7 +5648,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_local_ip_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_local_port_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_local_port_set___(void * jarg1, unsigned short jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; uint16_t arg2 ; @@ -5639,7 +5658,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_local_port_set(void * ja } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_t38_options_t_local_port_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_local_port_get___(void * jarg1) { unsigned short jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; uint16_t result; @@ -5651,7 +5670,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_t38_options_t_local_port_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_sdp_o_line_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_sdp_o_line_set___(void * jarg1, char * jarg2) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; char *arg2 = (char *) 0 ; @@ -5668,7 +5687,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_sdp_o_line_set(void * ja } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_sdp_o_line_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_t38_options_t_sdp_o_line_get___(void * jarg1) { char * jresult ; switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; char *result = 0 ; @@ -5680,7 +5699,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_sdp_o_line_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_t38_options_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_t38_options_t___() { void * jresult ; switch_t38_options_t *result = 0 ; @@ -5690,7 +5709,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_t38_options_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_t38_options_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_t38_options_t___(void * jarg1) { switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ; arg1 = (switch_t38_options_t *)jarg1; @@ -5698,7 +5717,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_t38_options_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_vid_params_t_width_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_vid_params_t_width_set___(void * jarg1, unsigned long jarg2) { switch_vid_params_s *arg1 = (switch_vid_params_s *) 0 ; uint32_t arg2 ; @@ -5708,7 +5727,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_vid_params_t_width_set(void * jarg1, u } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_vid_params_t_width_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_vid_params_t_width_get___(void * jarg1) { unsigned long jresult ; switch_vid_params_s *arg1 = (switch_vid_params_s *) 0 ; uint32_t result; @@ -5720,7 +5739,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_vid_params_t_width_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_vid_params_t_height_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_vid_params_t_height_set___(void * jarg1, unsigned long jarg2) { switch_vid_params_s *arg1 = (switch_vid_params_s *) 0 ; uint32_t arg2 ; @@ -5730,7 +5749,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_vid_params_t_height_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_vid_params_t_height_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_vid_params_t_height_get___(void * jarg1) { unsigned long jresult ; switch_vid_params_s *arg1 = (switch_vid_params_s *) 0 ; uint32_t result; @@ -5742,7 +5761,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_vid_params_t_height_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_vid_params_t_fps_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_vid_params_t_fps_set___(void * jarg1, unsigned long jarg2) { switch_vid_params_s *arg1 = (switch_vid_params_s *) 0 ; uint32_t arg2 ; @@ -5752,7 +5771,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_vid_params_t_fps_set(void * jarg1, uns } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_vid_params_t_fps_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_vid_params_t_fps_get___(void * jarg1) { unsigned long jresult ; switch_vid_params_s *arg1 = (switch_vid_params_s *) 0 ; uint32_t result; @@ -5764,7 +5783,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_vid_params_t_fps_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_vid_params_t_d_width_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_vid_params_t_d_width_set___(void * jarg1, unsigned long jarg2) { switch_vid_params_s *arg1 = (switch_vid_params_s *) 0 ; uint32_t arg2 ; @@ -5774,7 +5793,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_vid_params_t_d_width_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_vid_params_t_d_width_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_vid_params_t_d_width_get___(void * jarg1) { unsigned long jresult ; switch_vid_params_s *arg1 = (switch_vid_params_s *) 0 ; uint32_t result; @@ -5786,7 +5805,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_vid_params_t_d_width_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_vid_params_t_d_height_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_vid_params_t_d_height_set___(void * jarg1, unsigned long jarg2) { switch_vid_params_s *arg1 = (switch_vid_params_s *) 0 ; uint32_t arg2 ; @@ -5796,7 +5815,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_vid_params_t_d_height_set(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_vid_params_t_d_height_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_vid_params_t_d_height_get___(void * jarg1) { unsigned long jresult ; switch_vid_params_s *arg1 = (switch_vid_params_s *) 0 ; uint32_t result; @@ -5808,7 +5827,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_vid_params_t_d_height_get(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_vid_params_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_vid_params_t___() { void * jresult ; switch_vid_params_s *result = 0 ; @@ -5818,7 +5837,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_vid_params_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_vid_params_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_vid_params_t___(void * jarg1) { switch_vid_params_s *arg1 = (switch_vid_params_s *) 0 ; arg1 = (switch_vid_params_s *)jarg1; @@ -5826,7 +5845,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_vid_params_t(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MEDIA_TYPE_TOTAL_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MEDIA_TYPE_TOTAL_get___() { int jresult ; int result; @@ -5836,7 +5855,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MEDIA_TYPE_TOTAL_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SOCK_INVALID_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SOCK_INVALID_get___() { int jresult ; int result; @@ -5846,7 +5865,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SOCK_INVALID_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_node_val_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_callback_match_node_val_set___(void * jarg1, char * jarg2) { switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; char *arg2 = (char *) 0 ; @@ -5864,7 +5883,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_node_val_set(vo } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_console_callback_match_node_val_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_callback_match_node_val_get___(void * jarg1) { char * jresult ; switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; char *result = 0 ; @@ -5876,7 +5895,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_console_callback_match_node_val_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_node_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_callback_match_node_next_set___(void * jarg1, void * jarg2) { switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; switch_console_callback_match_node *arg2 = (switch_console_callback_match_node *) 0 ; @@ -5886,7 +5905,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_node_next_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_console_callback_match_node_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_callback_match_node_next_get___(void * jarg1) { void * jresult ; switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; switch_console_callback_match_node *result = 0 ; @@ -5898,7 +5917,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_console_callback_match_node_next_get } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_console_callback_match_node() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_console_callback_match_node___() { void * jresult ; switch_console_callback_match_node *result = 0 ; @@ -5908,7 +5927,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_console_callback_match_node() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_console_callback_match_node(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_console_callback_match_node___(void * jarg1) { switch_console_callback_match_node *arg1 = (switch_console_callback_match_node *) 0 ; arg1 = (switch_console_callback_match_node *)jarg1; @@ -5916,7 +5935,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_console_callback_match_node(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_head_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_callback_match_head_set___(void * jarg1, void * jarg2) { switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; switch_console_callback_match_node *arg2 = (switch_console_callback_match_node *) 0 ; @@ -5926,7 +5945,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_head_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_console_callback_match_head_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_callback_match_head_get___(void * jarg1) { void * jresult ; switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; switch_console_callback_match_node *result = 0 ; @@ -5938,7 +5957,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_console_callback_match_head_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_end_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_callback_match_end_set___(void * jarg1, void * jarg2) { switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; switch_console_callback_match_node *arg2 = (switch_console_callback_match_node *) 0 ; @@ -5948,7 +5967,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_end_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_console_callback_match_end_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_callback_match_end_get___(void * jarg1) { void * jresult ; switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; switch_console_callback_match_node *result = 0 ; @@ -5960,7 +5979,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_console_callback_match_end_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_count_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_callback_match_count_set___(void * jarg1, int jarg2) { switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; int arg2 ; @@ -5970,7 +5989,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_count_set(void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_callback_match_count_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_callback_match_count_get___(void * jarg1) { int jresult ; switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; int result; @@ -5982,7 +6001,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_callback_match_count_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_dynamic_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_callback_match_dynamic_set___(void * jarg1, int jarg2) { switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; int arg2 ; @@ -5992,7 +6011,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_callback_match_dynamic_set(voi } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_callback_match_dynamic_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_callback_match_dynamic_get___(void * jarg1) { int jresult ; switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; int result; @@ -6004,7 +6023,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_callback_match_dynamic_get(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_console_callback_match() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_console_callback_match___() { void * jresult ; switch_console_callback_match *result = 0 ; @@ -6014,7 +6033,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_console_callback_match() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_console_callback_match(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_console_callback_match___(void * jarg1) { switch_console_callback_match *arg1 = (switch_console_callback_match *) 0 ; arg1 = (switch_console_callback_match *)jarg1; @@ -6022,7 +6041,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_console_callback_match(void * j } -SWIGEXPORT int SWIGSTDCALL CSharp_DMACHINE_MAX_DIGIT_LEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_DMACHINE_MAX_DIGIT_LEN_get___() { int jresult ; int result; @@ -6032,7 +6051,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_DMACHINE_MAX_DIGIT_LEN_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_dmachine_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_dmachine_set___(void * jarg1, void * jarg2) { switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; switch_ivr_dmachine_t *arg2 = (switch_ivr_dmachine_t *) 0 ; @@ -6042,7 +6061,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_dmachine_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_ivr_dmachine_match_dmachine_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_dmachine_get___(void * jarg1) { void * jresult ; switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; switch_ivr_dmachine_t *result = 0 ; @@ -6054,7 +6073,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_ivr_dmachine_match_dmachine_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_match_digits_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_match_digits_set___(void * jarg1, char * jarg2) { switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; char *arg2 = (char *) 0 ; @@ -6071,7 +6090,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_match_digits_set(vo } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_dmachine_match_match_digits_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_match_digits_get___(void * jarg1) { char * jresult ; switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; char *result = 0 ; @@ -6083,7 +6102,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_dmachine_match_match_digits_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_match_key_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_match_key_set___(void * jarg1, int jarg2) { switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; int32_t arg2 ; @@ -6093,7 +6112,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_match_key_set(void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_match_match_key_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_match_key_get___(void * jarg1) { int jresult ; switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; int32_t result; @@ -6105,7 +6124,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_match_match_key_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_type_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_type_set___(void * jarg1, int jarg2) { switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; dm_match_type_t arg2 ; @@ -6115,19 +6134,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_type_set(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_match_type_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_type_get___(void * jarg1) { int jresult ; switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; dm_match_type_t result; arg1 = (switch_ivr_dmachine_match *)jarg1; result = (dm_match_type_t) ((arg1)->type); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_user_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_user_data_set___(void * jarg1, void * jarg2) { switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; void *arg2 = (void *) 0 ; @@ -6137,7 +6156,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_match_user_data_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_ivr_dmachine_match_user_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_user_data_get___(void * jarg1) { void * jresult ; switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; void *result = 0 ; @@ -6149,7 +6168,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_ivr_dmachine_match_user_data_get(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_ivr_dmachine_match() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_ivr_dmachine_match___() { void * jresult ; switch_ivr_dmachine_match *result = 0 ; @@ -6159,7 +6178,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_ivr_dmachine_match() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_ivr_dmachine_match(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_ivr_dmachine_match___(void * jarg1) { switch_ivr_dmachine_match *arg1 = (switch_ivr_dmachine_match *) 0 ; arg1 = (switch_ivr_dmachine_match *)jarg1; @@ -6167,7 +6186,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_ivr_dmachine_match(void * jarg1 } -SWIGEXPORT int SWIGSTDCALL CSharp_MAX_ARG_RECURSION_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_MAX_ARG_RECURSION_get___() { int jresult ; int result; @@ -6177,7 +6196,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_MAX_ARG_RECURSION_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_input_callback_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_input_callback_set___(void * jarg1, void * jarg2) { switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; switch_input_callback_function_t arg2 = (switch_input_callback_function_t) 0 ; @@ -6187,7 +6206,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_input_callback_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_input_callback_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_input_callback_get___(void * jarg1) { void * jresult ; switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; switch_input_callback_function_t result; @@ -6199,7 +6218,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_input_callback_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_buf_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_buf_set___(void * jarg1, void * jarg2) { switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; void *arg2 = (void *) 0 ; @@ -6209,7 +6228,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_buf_set(void * jarg1, voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_buf_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_buf_get___(void * jarg1) { void * jresult ; switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; void *result = 0 ; @@ -6221,7 +6240,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_buf_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_buflen_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_buflen_set___(void * jarg1, unsigned long jarg2) { switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; uint32_t arg2 ; @@ -6231,7 +6250,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_buflen_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_input_args_t_buflen_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_buflen_get___(void * jarg1) { unsigned long jresult ; switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; uint32_t result; @@ -6243,7 +6262,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_input_args_t_buflen_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_read_frame_callback_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_read_frame_callback_set___(void * jarg1, void * jarg2) { switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; switch_read_frame_callback_function_t arg2 = (switch_read_frame_callback_function_t) 0 ; @@ -6253,7 +6272,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_read_frame_callback_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_read_frame_callback_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_read_frame_callback_get___(void * jarg1) { void * jresult ; switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; switch_read_frame_callback_function_t result; @@ -6265,7 +6284,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_read_frame_callback_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_user_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_user_data_set___(void * jarg1, void * jarg2) { switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; void *arg2 = (void *) 0 ; @@ -6275,7 +6294,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_user_data_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_user_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_user_data_get___(void * jarg1) { void * jresult ; switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; void *result = 0 ; @@ -6287,7 +6306,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_user_data_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_dmachine_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_dmachine_set___(void * jarg1, void * jarg2) { switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; switch_ivr_dmachine_t *arg2 = (switch_ivr_dmachine_t *) 0 ; @@ -6297,7 +6316,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_dmachine_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_dmachine_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_dmachine_get___(void * jarg1) { void * jresult ; switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; switch_ivr_dmachine_t *result = 0 ; @@ -6309,7 +6328,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_input_args_t_dmachine_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_loops_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_loops_set___(void * jarg1, int jarg2) { switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; int arg2 ; @@ -6319,7 +6338,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_input_args_t_loops_set(void * jarg1, i } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_input_args_t_loops_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_input_args_t_loops_get___(void * jarg1) { int jresult ; switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; int result; @@ -6331,7 +6350,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_input_args_t_loops_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_input_args_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_input_args_t___() { void * jresult ; switch_input_args_t *result = 0 ; @@ -6341,7 +6360,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_input_args_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_input_args_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_input_args_t___(void * jarg1) { switch_input_args_t *arg1 = (switch_input_args_t *) 0 ; arg1 = (switch_input_args_t *)jarg1; @@ -6349,7 +6368,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_input_args_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_args_t_type_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_args_t_type_set___(void * jarg1, int jarg2) { switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; switch_say_type_t arg2 ; @@ -6359,19 +6378,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_args_t_type_set(void * jarg1, int } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_args_t_type_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_args_t_type_get___(void * jarg1) { int jresult ; switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; switch_say_type_t result; arg1 = (switch_say_args_t *)jarg1; result = (switch_say_type_t) ((arg1)->type); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_args_t_method_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_args_t_method_set___(void * jarg1, int jarg2) { switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; switch_say_method_t arg2 ; @@ -6381,19 +6400,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_args_t_method_set(void * jarg1, in } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_args_t_method_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_args_t_method_get___(void * jarg1) { int jresult ; switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; switch_say_method_t result; arg1 = (switch_say_args_t *)jarg1; result = (switch_say_method_t) ((arg1)->method); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_args_t_gender_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_args_t_gender_set___(void * jarg1, int jarg2) { switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; switch_say_gender_t arg2 ; @@ -6403,19 +6422,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_args_t_gender_set(void * jarg1, in } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_args_t_gender_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_args_t_gender_get___(void * jarg1) { int jresult ; switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; switch_say_gender_t result; arg1 = (switch_say_args_t *)jarg1; result = (switch_say_gender_t) ((arg1)->gender); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_args_t_ext_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_args_t_ext_set___(void * jarg1, char * jarg2) { switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; char *arg2 = (char *) 0 ; @@ -6432,7 +6451,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_args_t_ext_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_args_t_ext_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_args_t_ext_get___(void * jarg1) { char * jresult ; switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; char *result = 0 ; @@ -6444,7 +6463,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_args_t_ext_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_say_args_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_say_args_t___() { void * jresult ; switch_say_args_t *result = 0 ; @@ -6454,7 +6473,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_say_args_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_say_args_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_say_args_t___(void * jarg1) { switch_say_args_t *arg1 = (switch_say_args_t *) 0 ; arg1 = (switch_say_args_t *)jarg1; @@ -6462,7 +6481,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_say_args_t(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_API_VERSION_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_API_VERSION_get___() { int jresult ; int result; @@ -6472,7 +6491,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_API_VERSION_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_switch_api_version_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_switch_api_version_set___(void * jarg1, int jarg2) { switch_loadable_module_function_table *arg1 = (switch_loadable_module_function_table *) 0 ; int arg2 ; @@ -6482,7 +6501,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_switc } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_switch_api_version_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_switch_api_version_get___(void * jarg1) { int jresult ; switch_loadable_module_function_table *arg1 = (switch_loadable_module_function_table *) 0 ; int result; @@ -6494,7 +6513,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_switch } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_load_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_load_set___(void * jarg1, void * jarg2) { switch_loadable_module_function_table *arg1 = (switch_loadable_module_function_table *) 0 ; switch_module_load_t arg2 = (switch_module_load_t) 0 ; @@ -6504,7 +6523,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_load_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_load_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_load_get___(void * jarg1) { void * jresult ; switch_loadable_module_function_table *arg1 = (switch_loadable_module_function_table *) 0 ; switch_module_load_t result; @@ -6516,7 +6535,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_loa } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_shutdown_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_shutdown_set___(void * jarg1, void * jarg2) { switch_loadable_module_function_table *arg1 = (switch_loadable_module_function_table *) 0 ; switch_module_shutdown_t arg2 = (switch_module_shutdown_t) 0 ; @@ -6526,7 +6545,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_shutd } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_shutdown_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_shutdown_get___(void * jarg1) { void * jresult ; switch_loadable_module_function_table *arg1 = (switch_loadable_module_function_table *) 0 ; switch_module_shutdown_t result; @@ -6538,7 +6557,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_shu } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_runtime_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_runtime_set___(void * jarg1, void * jarg2) { switch_loadable_module_function_table *arg1 = (switch_loadable_module_function_table *) 0 ; switch_module_runtime_t arg2 = (switch_module_runtime_t) 0 ; @@ -6548,7 +6567,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_runti } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_runtime_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_runtime_get___(void * jarg1) { void * jresult ; switch_loadable_module_function_table *arg1 = (switch_loadable_module_function_table *) 0 ; switch_module_runtime_t result; @@ -6560,7 +6579,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_run } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_flags_set___(void * jarg1, unsigned long jarg2) { switch_loadable_module_function_table *arg1 = (switch_loadable_module_function_table *) 0 ; switch_module_flag_t arg2 ; @@ -6570,7 +6589,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_flags } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_loadable_module_function_table_t_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_flags_get___(void * jarg1) { unsigned long jresult ; switch_loadable_module_function_table *arg1 = (switch_loadable_module_function_table *) 0 ; switch_module_flag_t result; @@ -6582,7 +6601,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_loadable_module_function_tabl } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_loadable_module_function_table_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_loadable_module_function_table_t___() { void * jresult ; switch_loadable_module_function_table *result = 0 ; @@ -6592,7 +6611,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_loadable_module_function_table_t } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_loadable_module_function_table_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_loadable_module_function_table_t___(void * jarg1) { switch_loadable_module_function_table *arg1 = (switch_loadable_module_function_table *) 0 ; arg1 = (switch_loadable_module_function_table *)jarg1; @@ -6600,7 +6619,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_loadable_module_function_table_ } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_type_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_type_set___(void * jarg1, int jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; switch_media_type_t arg2 ; @@ -6610,19 +6629,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_type_set(void * jarg1, int jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_payload_map_t_type_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_type_get___(void * jarg1) { int jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; switch_media_type_t result; arg1 = (payload_map_s *)jarg1; result = (switch_media_type_t) ((arg1)->type); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_sdp_type_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_sdp_type_set___(void * jarg1, int jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; switch_sdp_type_t arg2 ; @@ -6632,19 +6651,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_sdp_type_set(void * jarg1, int } -SWIGEXPORT int SWIGSTDCALL CSharp_payload_map_t_sdp_type_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_sdp_type_get___(void * jarg1) { int jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; switch_sdp_type_t result; arg1 = (payload_map_s *)jarg1; result = (switch_sdp_type_t) ((arg1)->sdp_type); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_ptime_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_ptime_set___(void * jarg1, unsigned long jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; uint32_t arg2 ; @@ -6654,7 +6673,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_ptime_set(void * jarg1, unsigne } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_ptime_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_ptime_get___(void * jarg1) { unsigned long jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; uint32_t result; @@ -6666,7 +6685,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_ptime_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_rate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_rate_set___(void * jarg1, unsigned long jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; uint32_t arg2 ; @@ -6676,7 +6695,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_rate_set(void * jarg1, unsigned } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_rate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_rate_get___(void * jarg1) { unsigned long jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; uint32_t result; @@ -6688,7 +6707,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_rate_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_allocated_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_allocated_set___(void * jarg1, unsigned char jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; uint8_t arg2 ; @@ -6698,7 +6717,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_allocated_set(void * jarg1, uns } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_allocated_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_allocated_get___(void * jarg1) { unsigned char jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; uint8_t result; @@ -6710,7 +6729,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_allocated_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_negotiated_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_negotiated_set___(void * jarg1, unsigned char jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; uint8_t arg2 ; @@ -6720,7 +6739,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_negotiated_set(void * jarg1, un } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_negotiated_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_negotiated_get___(void * jarg1) { unsigned char jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; uint8_t result; @@ -6732,7 +6751,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_negotiated_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_current_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_current_set___(void * jarg1, unsigned char jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; uint8_t arg2 ; @@ -6742,7 +6761,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_current_set(void * jarg1, unsig } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_current_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_current_get___(void * jarg1) { unsigned char jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; uint8_t result; @@ -6754,7 +6773,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_current_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_hash_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_hash_set___(void * jarg1, unsigned long jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; unsigned long arg2 ; @@ -6764,7 +6783,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_hash_set(void * jarg1, unsigned } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_hash_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_hash_get___(void * jarg1) { unsigned long jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; unsigned long result; @@ -6776,7 +6795,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_hash_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_rm_encoding_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_rm_encoding_set___(void * jarg1, char * jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; char *arg2 = (char *) 0 ; @@ -6794,7 +6813,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_rm_encoding_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_rm_encoding_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_rm_encoding_get___(void * jarg1) { char * jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; char *result = 0 ; @@ -6806,7 +6825,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_rm_encoding_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_iananame_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_iananame_set___(void * jarg1, char * jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; char *arg2 = (char *) 0 ; @@ -6824,7 +6843,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_iananame_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_iananame_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_iananame_get___(void * jarg1) { char * jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; char *result = 0 ; @@ -6836,7 +6855,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_iananame_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_modname_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_modname_set___(void * jarg1, char * jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; char *arg2 = (char *) 0 ; @@ -6854,7 +6873,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_modname_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_modname_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_modname_get___(void * jarg1) { char * jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; char *result = 0 ; @@ -6866,7 +6885,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_modname_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_pt_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_pt_set___(void * jarg1, unsigned char jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; switch_payload_t arg2 ; @@ -6876,7 +6895,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_pt_set(void * jarg1, unsigned c } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_pt_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_pt_get___(void * jarg1) { unsigned char jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; switch_payload_t result; @@ -6888,7 +6907,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_pt_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_rm_rate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_rm_rate_set___(void * jarg1, unsigned long jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; unsigned long arg2 ; @@ -6898,7 +6917,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_rm_rate_set(void * jarg1, unsig } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_rm_rate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_rm_rate_get___(void * jarg1) { unsigned long jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; unsigned long result; @@ -6910,7 +6929,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_rm_rate_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_adv_rm_rate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_adv_rm_rate_set___(void * jarg1, unsigned long jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; unsigned long arg2 ; @@ -6920,7 +6939,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_adv_rm_rate_set(void * jarg1, u } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_adv_rm_rate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_adv_rm_rate_get___(void * jarg1) { unsigned long jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; unsigned long result; @@ -6932,7 +6951,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_adv_rm_rate_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_codec_ms_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_codec_ms_set___(void * jarg1, unsigned long jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; uint32_t arg2 ; @@ -6942,7 +6961,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_codec_ms_set(void * jarg1, unsi } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_codec_ms_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_codec_ms_get___(void * jarg1) { unsigned long jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; uint32_t result; @@ -6954,7 +6973,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_codec_ms_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_bitrate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_bitrate_set___(void * jarg1, unsigned long jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; uint32_t arg2 ; @@ -6964,7 +6983,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_bitrate_set(void * jarg1, unsig } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_bitrate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_bitrate_get___(void * jarg1) { unsigned long jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; uint32_t result; @@ -6976,7 +6995,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_payload_map_t_bitrate_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_rm_fmtp_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_rm_fmtp_set___(void * jarg1, char * jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; char *arg2 = (char *) 0 ; @@ -6994,7 +7013,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_rm_fmtp_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_rm_fmtp_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_rm_fmtp_get___(void * jarg1) { char * jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; char *result = 0 ; @@ -7006,7 +7025,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_rm_fmtp_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_recv_pt_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_recv_pt_set___(void * jarg1, unsigned char jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; switch_payload_t arg2 ; @@ -7016,7 +7035,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_recv_pt_set(void * jarg1, unsig } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_recv_pt_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_recv_pt_get___(void * jarg1) { unsigned char jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; switch_payload_t result; @@ -7028,7 +7047,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_payload_map_t_recv_pt_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_fmtp_out_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_fmtp_out_set___(void * jarg1, char * jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; char *arg2 = (char *) 0 ; @@ -7046,7 +7065,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_fmtp_out_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_fmtp_out_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_fmtp_out_get___(void * jarg1) { char * jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; char *result = 0 ; @@ -7058,7 +7077,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_fmtp_out_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_remote_sdp_ip_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_remote_sdp_ip_set___(void * jarg1, char * jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; char *arg2 = (char *) 0 ; @@ -7076,7 +7095,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_remote_sdp_ip_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_remote_sdp_ip_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_remote_sdp_ip_get___(void * jarg1) { char * jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; char *result = 0 ; @@ -7088,7 +7107,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_payload_map_t_remote_sdp_ip_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_remote_sdp_port_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_remote_sdp_port_set___(void * jarg1, unsigned short jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; switch_port_t arg2 ; @@ -7098,7 +7117,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_remote_sdp_port_set(void * jarg } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_payload_map_t_remote_sdp_port_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_remote_sdp_port_get___(void * jarg1) { unsigned short jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; switch_port_t result; @@ -7110,7 +7129,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_payload_map_t_remote_sdp_port_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_channels_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_channels_set___(void * jarg1, int jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; int arg2 ; @@ -7120,7 +7139,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_channels_set(void * jarg1, int } -SWIGEXPORT int SWIGSTDCALL CSharp_payload_map_t_channels_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_channels_get___(void * jarg1) { int jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; int result; @@ -7132,7 +7151,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_payload_map_t_channels_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_adv_channels_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_adv_channels_set___(void * jarg1, int jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; int arg2 ; @@ -7142,7 +7161,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_adv_channels_set(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_payload_map_t_adv_channels_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_adv_channels_get___(void * jarg1) { int jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; int result; @@ -7154,7 +7173,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_payload_map_t_adv_channels_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_next_set___(void * jarg1, void * jarg2) { payload_map_s *arg1 = (payload_map_s *) 0 ; payload_map_s *arg2 = (payload_map_s *) 0 ; @@ -7164,7 +7183,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_payload_map_t_next_set(void * jarg1, void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_payload_map_t_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_payload_map_t_next_get___(void * jarg1) { void * jresult ; payload_map_s *arg1 = (payload_map_s *) 0 ; payload_map_s *result = 0 ; @@ -7176,7 +7195,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_payload_map_t_next_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_payload_map_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_payload_map_t___() { void * jresult ; payload_map_s *result = 0 ; @@ -7186,7 +7205,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_payload_map_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_payload_map_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_payload_map_t___(void * jarg1) { payload_map_s *arg1 = (payload_map_s *) 0 ; arg1 = (payload_map_s *)jarg1; @@ -7194,7 +7213,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_payload_map_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_waitlist_t_sock_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_waitlist_t_sock_set___(void * jarg1, int jarg2) { switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ; switch_os_socket_t arg2 ; @@ -7204,7 +7223,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_waitlist_t_sock_set(void * jarg1, int } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_waitlist_t_sock_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_waitlist_t_sock_get___(void * jarg1) { int jresult ; switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ; switch_os_socket_t result; @@ -7216,7 +7235,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_waitlist_t_sock_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_waitlist_t_events_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_waitlist_t_events_set___(void * jarg1, unsigned long jarg2) { switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ; uint32_t arg2 ; @@ -7226,7 +7245,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_waitlist_t_events_set(void * jarg1, un } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_waitlist_t_events_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_waitlist_t_events_get___(void * jarg1) { unsigned long jresult ; switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ; uint32_t result; @@ -7238,7 +7257,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_waitlist_t_events_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_waitlist_t_revents_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_waitlist_t_revents_set___(void * jarg1, unsigned long jarg2) { switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ; uint32_t arg2 ; @@ -7248,7 +7267,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_waitlist_t_revents_set(void * jarg1, u } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_waitlist_t_revents_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_waitlist_t_revents_get___(void * jarg1) { unsigned long jresult ; switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ; uint32_t result; @@ -7260,7 +7279,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_waitlist_t_revents_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_waitlist_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_waitlist_t___() { void * jresult ; switch_waitlist_s *result = 0 ; @@ -7270,7 +7289,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_waitlist_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_waitlist_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_waitlist_t___(void * jarg1) { switch_waitlist_s *arg1 = (switch_waitlist_s *) 0 ; arg1 = (switch_waitlist_s *)jarg1; @@ -7278,7 +7297,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_waitlist_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_samplerate_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_samplerate_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; int arg2 ; @@ -7288,7 +7307,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_samplerate_set(void * jarg1, int } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_samplerate_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_samplerate_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; int result; @@ -7300,7 +7319,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_samplerate_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_channels_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_channels_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; int arg2 ; @@ -7310,7 +7329,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_channels_set(void * jarg1, int ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_channels_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_channels_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; int result; @@ -7322,7 +7341,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_channels_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_keyint_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_keyint_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; int arg2 ; @@ -7332,7 +7351,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_keyint_set(void * jarg1, int jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_keyint_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_keyint_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; int result; @@ -7344,7 +7363,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_keyint_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_ab_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_ab_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; int arg2 ; @@ -7354,7 +7373,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_ab_set(void * jarg1, int jarg2) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_ab_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_ab_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; int result; @@ -7366,7 +7385,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_ab_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vb_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_vb_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; int arg2 ; @@ -7376,7 +7395,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vb_set(void * jarg1, int jarg2) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vb_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_vb_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; int result; @@ -7388,7 +7407,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vb_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vw_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_vw_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; int arg2 ; @@ -7398,7 +7417,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vw_set(void * jarg1, int jarg2) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vw_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_vw_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; int result; @@ -7410,7 +7429,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vw_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vh_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_vh_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; int arg2 ; @@ -7420,7 +7439,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vh_set(void * jarg1, int jarg2) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vh_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_vh_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; int result; @@ -7432,7 +7451,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vh_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_cbr_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_cbr_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; int arg2 ; @@ -7442,7 +7461,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_cbr_set(void * jarg1, int jarg2) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_cbr_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_cbr_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; int result; @@ -7454,7 +7473,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_cbr_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_fps_set(void * jarg1, float jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_fps_set___(void * jarg1, float jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; float arg2 ; @@ -7464,7 +7483,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_fps_set(void * jarg1, float jarg2 } -SWIGEXPORT float SWIGSTDCALL CSharp_switch_mm_t_fps_get(void * jarg1) { +SWIGEXPORT float SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_fps_get___(void * jarg1) { float jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; float result; @@ -7476,7 +7495,7 @@ SWIGEXPORT float SWIGSTDCALL CSharp_switch_mm_t_fps_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_source_fps_set(void * jarg1, float jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_source_fps_set___(void * jarg1, float jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; float arg2 ; @@ -7486,7 +7505,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_source_fps_set(void * jarg1, floa } -SWIGEXPORT float SWIGSTDCALL CSharp_switch_mm_t_source_fps_get(void * jarg1) { +SWIGEXPORT float SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_source_fps_get___(void * jarg1) { float jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; float result; @@ -7498,7 +7517,7 @@ SWIGEXPORT float SWIGSTDCALL CSharp_switch_mm_t_source_fps_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vbuf_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_vbuf_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; int arg2 ; @@ -7508,7 +7527,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vbuf_set(void * jarg1, int jarg2) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vbuf_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_vbuf_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; int result; @@ -7520,7 +7539,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vbuf_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vprofile_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_vprofile_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; switch_video_profile_t arg2 ; @@ -7530,19 +7549,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vprofile_set(void * jarg1, int ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vprofile_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_vprofile_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; switch_video_profile_t result; arg1 = (switch_mm_s *)jarg1; result = (switch_video_profile_t) ((arg1)->vprofile); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vencspd_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_vencspd_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; switch_video_encode_speed_t arg2 ; @@ -7552,19 +7571,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vencspd_set(void * jarg1, int jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vencspd_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_vencspd_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; switch_video_encode_speed_t result; arg1 = (switch_mm_s *)jarg1; result = (switch_video_encode_speed_t) ((arg1)->vencspd); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_try_hardware_encoder_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_try_hardware_encoder_set___(void * jarg1, unsigned char jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; uint8_t arg2 ; @@ -7574,7 +7593,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_try_hardware_encoder_set(void * j } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_mm_t_try_hardware_encoder_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_try_hardware_encoder_get___(void * jarg1) { unsigned char jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; uint8_t result; @@ -7586,7 +7605,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_mm_t_try_hardware_encoder_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_scale_w_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_scale_w_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; int arg2 ; @@ -7596,7 +7615,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_scale_w_set(void * jarg1, int jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_scale_w_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_scale_w_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; int result; @@ -7608,7 +7627,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_scale_w_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_scale_h_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_scale_h_set___(void * jarg1, int jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; int arg2 ; @@ -7618,7 +7637,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_scale_h_set(void * jarg1, int jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_scale_h_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_scale_h_get___(void * jarg1) { int jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; int result; @@ -7630,7 +7649,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_scale_h_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_fmt_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_fmt_set___(void * jarg1, void * jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; switch_img_fmt_t arg2 ; switch_img_fmt_t *argp2 ; @@ -7646,7 +7665,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_fmt_set(void * jarg1, void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_mm_t_fmt_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_fmt_get___(void * jarg1) { void * jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; switch_img_fmt_t result; @@ -7658,7 +7677,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_mm_t_fmt_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_auth_username_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_auth_username_set___(void * jarg1, char * jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; char *arg2 = (char *) 0 ; @@ -7676,7 +7695,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_auth_username_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_mm_t_auth_username_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_auth_username_get___(void * jarg1) { char * jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; char *result = 0 ; @@ -7688,7 +7707,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_mm_t_auth_username_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_auth_password_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_auth_password_set___(void * jarg1, char * jarg2) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; char *arg2 = (char *) 0 ; @@ -7706,7 +7725,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_auth_password_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_mm_t_auth_password_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mm_t_auth_password_get___(void * jarg1) { char * jresult ; switch_mm_s *arg1 = (switch_mm_s *) 0 ; char *result = 0 ; @@ -7718,7 +7737,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_mm_t_auth_password_get(void * jarg1) } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_mm_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_mm_t___() { void * jresult ; switch_mm_s *result = 0 ; @@ -7728,7 +7747,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_mm_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_mm_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_mm_t___(void * jarg1) { switch_mm_s *arg1 = (switch_mm_s *) 0 ; arg1 = (switch_mm_s *)jarg1; @@ -7736,7 +7755,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_mm_t(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_MAX_CRYPTO_LEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RTP_MAX_CRYPTO_LEN_get___() { int jresult ; int result; @@ -7746,7 +7765,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_MAX_CRYPTO_LEN_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_method_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_method_set___(void * jarg1, int jarg2) { switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; switch_rtp_crypto_key_param_method_type_t arg2 ; @@ -7756,19 +7775,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_method_set(void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_crypto_key_material_t_method_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_method_get___(void * jarg1) { int jresult ; switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; switch_rtp_crypto_key_param_method_type_t result; arg1 = (switch_crypto_key_material_s *)jarg1; result = (switch_rtp_crypto_key_param_method_type_t) ((arg1)->method); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_raw_key_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_raw_key_set___(void * jarg1, void * jarg2) { switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; unsigned char *arg2 ; @@ -7782,7 +7801,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_raw_key_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_crypto_key_material_t_raw_key_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_raw_key_get___(void * jarg1) { void * jresult ; switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; unsigned char *result = 0 ; @@ -7794,7 +7813,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_crypto_key_material_t_raw_key_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_crypto_key_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_crypto_key_set___(void * jarg1, char * jarg2) { switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; char *arg2 = (char *) 0 ; @@ -7812,7 +7831,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_crypto_key_set(v } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_crypto_key_material_t_crypto_key_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_crypto_key_get___(void * jarg1) { char * jresult ; switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; char *result = 0 ; @@ -7824,7 +7843,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_crypto_key_material_t_crypto_key_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_lifetime_set(void * jarg1, unsigned long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_lifetime_set___(void * jarg1, unsigned long long jarg2) { switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; uint64_t arg2 ; @@ -7834,7 +7853,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_lifetime_set(voi } -SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_switch_crypto_key_material_t_lifetime_get(void * jarg1) { +SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_lifetime_get___(void * jarg1) { unsigned long long jresult ; switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; uint64_t result; @@ -7846,7 +7865,7 @@ SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_switch_crypto_key_material_t_li } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_mki_id_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_mki_id_set___(void * jarg1, unsigned int jarg2) { switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; unsigned int arg2 ; @@ -7856,7 +7875,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_mki_id_set(void } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_crypto_key_material_t_mki_id_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_mki_id_get___(void * jarg1) { unsigned int jresult ; switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; unsigned int result; @@ -7868,7 +7887,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_crypto_key_material_t_mki_id_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_mki_size_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_mki_size_set___(void * jarg1, unsigned int jarg2) { switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; unsigned int arg2 ; @@ -7878,7 +7897,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_mki_size_set(voi } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_crypto_key_material_t_mki_size_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_mki_size_get___(void * jarg1) { unsigned int jresult ; switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; unsigned int result; @@ -7890,7 +7909,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_crypto_key_material_t_mki_size } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_next_set___(void * jarg1, void * jarg2) { switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; switch_crypto_key_material_s *arg2 = (switch_crypto_key_material_s *) 0 ; @@ -7900,7 +7919,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_crypto_key_material_t_next_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_crypto_key_material_t_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_next_get___(void * jarg1) { void * jresult ; switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; switch_crypto_key_material_s *result = 0 ; @@ -7912,7 +7931,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_crypto_key_material_t_next_get(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_crypto_key_material_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_crypto_key_material_t___() { void * jresult ; switch_crypto_key_material_s *result = 0 ; @@ -7922,7 +7941,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_crypto_key_material_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_crypto_key_material_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_crypto_key_material_t___(void * jarg1) { switch_crypto_key_material_s *arg1 = (switch_crypto_key_material_s *) 0 ; arg1 = (switch_crypto_key_material_s *)jarg1; @@ -7930,7 +7949,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_crypto_key_material_t(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_crypto_tag_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_crypto_tag_set___(void * jarg1, int jarg2) { secure_settings_s *arg1 = (secure_settings_s *) 0 ; int arg2 ; @@ -7940,7 +7959,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_crypto_tag_set(void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_secure_settings_t_crypto_tag_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_crypto_tag_get___(void * jarg1) { int jresult ; secure_settings_s *arg1 = (secure_settings_s *) 0 ; int result; @@ -7952,7 +7971,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_secure_settings_t_crypto_tag_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_local_raw_key_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_raw_key_set___(void * jarg1, void * jarg2) { secure_settings_s *arg1 = (secure_settings_s *) 0 ; unsigned char *arg2 ; @@ -7966,7 +7985,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_local_raw_key_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_secure_settings_t_local_raw_key_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_raw_key_get___(void * jarg1) { void * jresult ; secure_settings_s *arg1 = (secure_settings_s *) 0 ; unsigned char *result = 0 ; @@ -7978,7 +7997,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_secure_settings_t_local_raw_key_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_remote_raw_key_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_raw_key_set___(void * jarg1, void * jarg2) { secure_settings_s *arg1 = (secure_settings_s *) 0 ; unsigned char *arg2 ; @@ -7992,7 +8011,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_remote_raw_key_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_secure_settings_t_remote_raw_key_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_raw_key_get___(void * jarg1) { void * jresult ; secure_settings_s *arg1 = (secure_settings_s *) 0 ; unsigned char *result = 0 ; @@ -8004,7 +8023,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_secure_settings_t_remote_raw_key_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_crypto_type_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_crypto_type_set___(void * jarg1, int jarg2) { secure_settings_s *arg1 = (secure_settings_s *) 0 ; switch_rtp_crypto_key_type_t arg2 ; @@ -8014,19 +8033,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_crypto_type_set(void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_secure_settings_t_crypto_type_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_crypto_type_get___(void * jarg1) { int jresult ; secure_settings_s *arg1 = (secure_settings_s *) 0 ; switch_rtp_crypto_key_type_t result; arg1 = (secure_settings_s *)jarg1; result = (switch_rtp_crypto_key_type_t) ((arg1)->crypto_type); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_local_crypto_key_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_crypto_key_set___(void * jarg1, char * jarg2) { secure_settings_s *arg1 = (secure_settings_s *) 0 ; char *arg2 = (char *) 0 ; @@ -8044,7 +8063,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_local_crypto_key_set } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_secure_settings_t_local_crypto_key_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_crypto_key_get___(void * jarg1) { char * jresult ; secure_settings_s *arg1 = (secure_settings_s *) 0 ; char *result = 0 ; @@ -8056,7 +8075,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_secure_settings_t_local_crypto_key_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_remote_crypto_key_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_crypto_key_set___(void * jarg1, char * jarg2) { secure_settings_s *arg1 = (secure_settings_s *) 0 ; char *arg2 = (char *) 0 ; @@ -8074,7 +8093,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_remote_crypto_key_se } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_secure_settings_t_remote_crypto_key_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_crypto_key_get___(void * jarg1) { char * jresult ; secure_settings_s *arg1 = (secure_settings_s *) 0 ; char *result = 0 ; @@ -8086,7 +8105,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_secure_settings_t_remote_crypto_key_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_local_key_material_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_key_material_next_set___(void * jarg1, void * jarg2) { secure_settings_s *arg1 = (secure_settings_s *) 0 ; switch_crypto_key_material_s *arg2 = (switch_crypto_key_material_s *) 0 ; @@ -8096,7 +8115,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_local_key_material_n } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_secure_settings_t_local_key_material_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_key_material_next_get___(void * jarg1) { void * jresult ; secure_settings_s *arg1 = (secure_settings_s *) 0 ; switch_crypto_key_material_s *result = 0 ; @@ -8108,7 +8127,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_secure_settings_t_local_key_material } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_local_key_material_n_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_key_material_n_set___(void * jarg1, unsigned long jarg2) { secure_settings_s *arg1 = (secure_settings_s *) 0 ; unsigned long arg2 ; @@ -8118,7 +8137,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_local_key_material_n } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_secure_settings_t_local_key_material_n_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_key_material_n_get___(void * jarg1) { unsigned long jresult ; secure_settings_s *arg1 = (secure_settings_s *) 0 ; unsigned long result; @@ -8130,7 +8149,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_secure_settings_t_local_key_m } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_remote_key_material_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_key_material_next_set___(void * jarg1, void * jarg2) { secure_settings_s *arg1 = (secure_settings_s *) 0 ; switch_crypto_key_material_s *arg2 = (switch_crypto_key_material_s *) 0 ; @@ -8140,7 +8159,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_remote_key_material_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_secure_settings_t_remote_key_material_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_key_material_next_get___(void * jarg1) { void * jresult ; secure_settings_s *arg1 = (secure_settings_s *) 0 ; switch_crypto_key_material_s *result = 0 ; @@ -8152,7 +8171,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_secure_settings_t_remote_key_materia } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_remote_key_material_n_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_key_material_n_set___(void * jarg1, unsigned long jarg2) { secure_settings_s *arg1 = (secure_settings_s *) 0 ; unsigned long arg2 ; @@ -8162,7 +8181,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_secure_settings_t_remote_key_material_ } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_secure_settings_t_remote_key_material_n_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_key_material_n_get___(void * jarg1) { unsigned long jresult ; secure_settings_s *arg1 = (secure_settings_s *) 0 ; unsigned long result; @@ -8174,7 +8193,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_secure_settings_t_remote_key_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_secure_settings_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_secure_settings_t___() { void * jresult ; secure_settings_s *result = 0 ; @@ -8184,7 +8203,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_secure_settings_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_secure_settings_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_secure_settings_t___(void * jarg1) { secure_settings_s *arg1 = (secure_settings_s *) 0 ; arg1 = (secure_settings_s *)jarg1; @@ -8192,7 +8211,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_secure_settings_t(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CRYPTO_MKI_INDEX_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CRYPTO_MKI_INDEX_get___() { int jresult ; int result; @@ -8202,7 +8221,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CRYPTO_MKI_INDEX_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CRYPTO_MKI_MAX_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CRYPTO_MKI_MAX_get___() { int jresult ; int result; @@ -8212,7 +8231,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CRYPTO_MKI_MAX_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_close(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_close___(void * jarg1) { int jresult ; switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; int result; @@ -8224,7 +8243,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_close(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_open(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_open___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_core_db_t **arg2 = (switch_core_db_t **) 0 ; @@ -8238,7 +8257,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_open(char * jarg1, void * jarg2 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_db_column_text(void * jarg1, int jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_column_text___(void * jarg1, int jarg2) { void * jresult ; switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; int arg2 ; @@ -8252,7 +8271,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_db_column_text(void * jarg1, in } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_db_column_name(void * jarg1, int jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_column_name___(void * jarg1, int jarg2) { char * jresult ; switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; int arg2 ; @@ -8266,7 +8285,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_db_column_name(void * jarg1, in } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_column_count(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_column_count___(void * jarg1) { int jresult ; switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; int result; @@ -8278,7 +8297,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_column_count(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_db_errmsg(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_errmsg___(void * jarg1) { char * jresult ; switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; char *result = 0 ; @@ -8290,7 +8309,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_db_errmsg(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_exec(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_exec___(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { int jresult ; switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; char *arg2 = (char *) 0 ; @@ -8310,7 +8329,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_exec(void * jarg1, char * jarg2 } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_finalize(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_finalize___(void * jarg1) { int jresult ; switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; int result; @@ -8322,7 +8341,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_finalize(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_prepare(void * jarg1, char * jarg2, int jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_prepare___(void * jarg1, char * jarg2, int jarg3, void * jarg4, void * jarg5) { int jresult ; switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; char *arg2 = (char *) 0 ; @@ -8342,7 +8361,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_prepare(void * jarg1, char * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_step(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_step___(void * jarg1) { int jresult ; switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; int result; @@ -8354,7 +8373,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_step(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_reset(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_reset___(void * jarg1) { int jresult ; switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; int result; @@ -8366,7 +8385,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_reset(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_bind_int(void * jarg1, int jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_bind_int___(void * jarg1, int jarg2, int jarg3) { int jresult ; switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; int arg2 ; @@ -8382,7 +8401,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_bind_int(void * jarg1, int jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_bind_int64(void * jarg1, int jarg2, long long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_bind_int64___(void * jarg1, int jarg2, long long jarg3) { int jresult ; switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; int arg2 ; @@ -8398,7 +8417,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_bind_int64(void * jarg1, int ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_bind_text(void * jarg1, int jarg2, char * jarg3, int jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_bind_text___(void * jarg1, int jarg2, char * jarg3, int jarg4, void * jarg5) { int jresult ; switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; int arg2 ; @@ -8418,7 +8437,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_bind_text(void * jarg1, int jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_bind_double(void * jarg1, int jarg2, double jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_bind_double___(void * jarg1, int jarg2, double jarg3) { int jresult ; switch_core_db_stmt_t *arg1 = (switch_core_db_stmt_t *) 0 ; int arg2 ; @@ -8434,7 +8453,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_bind_double(void * jarg1, int j } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_core_db_last_insert_rowid(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_last_insert_rowid___(void * jarg1) { long long jresult ; switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; int64_t result; @@ -8446,7 +8465,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_core_db_last_insert_rowid(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_get_table(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_get_table___(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) { int jresult ; switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; char *arg2 = (char *) 0 ; @@ -8468,7 +8487,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_get_table(void * jarg1, char * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_db_free_table(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_free_table___(void * jarg1) { char **arg1 = (char **) 0 ; arg1 = (char **)jarg1; @@ -8476,7 +8495,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_db_free_table(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_db_free(char * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_free___(char * jarg1) { char *arg1 = (char *) 0 ; arg1 = (char *)jarg1; @@ -8484,7 +8503,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_db_free(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_changes(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_changes___(void * jarg1) { int jresult ; switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; int result; @@ -8496,7 +8515,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_changes(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_load_extension(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_load_extension___(void * jarg1, char * jarg2) { int jresult ; switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; char *arg2 = (char *) 0 ; @@ -8510,7 +8529,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_load_extension(void * jarg1, ch } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_OK_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_OK_get___() { int jresult ; int result; @@ -8520,7 +8539,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_OK_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_ERROR_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_ERROR_get___() { int jresult ; int result; @@ -8530,7 +8549,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_ERROR_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_INTERNAL_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_INTERNAL_get___() { int jresult ; int result; @@ -8540,7 +8559,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_INTERNAL_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_PERM_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_PERM_get___() { int jresult ; int result; @@ -8550,7 +8569,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_PERM_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_ABORT_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_ABORT_get___() { int jresult ; int result; @@ -8560,7 +8579,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_ABORT_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_BUSY_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_BUSY_get___() { int jresult ; int result; @@ -8570,7 +8589,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_BUSY_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_LOCKED_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_LOCKED_get___() { int jresult ; int result; @@ -8580,7 +8599,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_LOCKED_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_NOMEM_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_NOMEM_get___() { int jresult ; int result; @@ -8590,7 +8609,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_NOMEM_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_READONLY_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_READONLY_get___() { int jresult ; int result; @@ -8600,7 +8619,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_READONLY_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_INTERRUPT_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_INTERRUPT_get___() { int jresult ; int result; @@ -8610,7 +8629,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_INTERRUPT_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_IOERR_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_IOERR_get___() { int jresult ; int result; @@ -8620,7 +8639,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_IOERR_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_CORRUPT_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_CORRUPT_get___() { int jresult ; int result; @@ -8630,7 +8649,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_CORRUPT_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_NOTFOUND_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_NOTFOUND_get___() { int jresult ; int result; @@ -8640,7 +8659,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_NOTFOUND_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_FULL_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_FULL_get___() { int jresult ; int result; @@ -8650,7 +8669,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_FULL_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_CANTOPEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_CANTOPEN_get___() { int jresult ; int result; @@ -8660,7 +8679,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_CANTOPEN_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_PROTOCOL_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_PROTOCOL_get___() { int jresult ; int result; @@ -8670,7 +8689,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_PROTOCOL_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_EMPTY_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_EMPTY_get___() { int jresult ; int result; @@ -8680,7 +8699,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_EMPTY_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_SCHEMA_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_SCHEMA_get___() { int jresult ; int result; @@ -8690,7 +8709,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_SCHEMA_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_TOOBIG_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_TOOBIG_get___() { int jresult ; int result; @@ -8700,7 +8719,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_TOOBIG_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_CONSTRAINT_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_CONSTRAINT_get___() { int jresult ; int result; @@ -8710,7 +8729,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_CONSTRAINT_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_MISMATCH_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_MISMATCH_get___() { int jresult ; int result; @@ -8720,7 +8739,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_MISMATCH_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_MISUSE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_MISUSE_get___() { int jresult ; int result; @@ -8730,7 +8749,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_MISUSE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_NOLFS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_NOLFS_get___() { int jresult ; int result; @@ -8740,7 +8759,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_NOLFS_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_AUTH_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_AUTH_get___() { int jresult ; int result; @@ -8750,7 +8769,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_AUTH_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_FORMAT_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_FORMAT_get___() { int jresult ; int result; @@ -8760,7 +8779,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_FORMAT_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_RANGE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_RANGE_get___() { int jresult ; int result; @@ -8770,7 +8789,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_RANGE_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_NOTADB_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_NOTADB_get___() { int jresult ; int result; @@ -8780,7 +8799,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_NOTADB_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_ROW_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_ROW_get___() { int jresult ; int result; @@ -8790,7 +8809,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_ROW_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_DONE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_DONE_get___() { int jresult ; int result; @@ -8800,7 +8819,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CORE_DB_DONE_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_sql_concat() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_concat___() { char * jresult ; char *result = 0 ; @@ -8810,7 +8829,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_sql_concat() { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_regex_compile(char * jarg1, int jarg2, void * jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_regex_compile___(char * jarg1, int jarg2, void * jarg3, void * jarg4, void * jarg5) { void * jresult ; char *arg1 = (char *) 0 ; int arg2 ; @@ -8830,7 +8849,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_regex_compile(char * jarg1, int jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_regex_copy_substring(char * jarg1, void * jarg2, int jarg3, int jarg4, char * jarg5, int jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_regex_copy_substring___(char * jarg1, void * jarg2, int jarg3, int jarg4, char * jarg5, int jarg6) { int jresult ; char *arg1 = (char *) 0 ; int *arg2 = (int *) 0 ; @@ -8852,7 +8871,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_regex_copy_substring(char * jarg1, void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_regex_free(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_regex_free___(void * jarg1) { void *arg1 = (void *) 0 ; arg1 = (void *)jarg1; @@ -8860,7 +8879,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_regex_free(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_regex_perform(char * jarg1, char * jarg2, void * jarg3, void * jarg4, unsigned long jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_regex_perform___(char * jarg1, char * jarg2, void * jarg3, void * jarg4, unsigned long jarg5) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -8880,7 +8899,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_regex_perform(char * jarg1, char * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_perform_substitution(void * jarg1, int jarg2, char * jarg3, char * jarg4, char * jarg5, void * jarg6, void * jarg7) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_perform_substitution___(void * jarg1, int jarg2, char * jarg3, char * jarg4, char * jarg5, void * jarg6, void * jarg7) { switch_regex_t *arg1 = (switch_regex_t *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; @@ -8906,7 +8925,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_perform_substitution(void * jarg1, int } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_regex_match(char * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_regex_match___(char * jarg1, char * jarg2) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -8915,12 +8934,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_regex_match(char * jarg1, char * jarg2) arg1 = (char *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_regex_match((char const *)arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_regex_match_partial(char * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_regex_match_partial___(char * jarg1, char * jarg2, void * jarg3) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -8931,12 +8950,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_regex_match_partial(char * jarg1, char arg2 = (char *)jarg2; arg3 = (int *)jarg3; result = (switch_status_t)switch_regex_match_partial((char const *)arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_capture_regex(void * jarg1, int jarg2, char * jarg3, void * jarg4, char * jarg5, void * jarg6, void * jarg7) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_capture_regex___(void * jarg1, int jarg2, char * jarg3, void * jarg4, char * jarg5, void * jarg6, void * jarg7) { switch_regex_t *arg1 = (switch_regex_t *) 0 ; int arg2 ; char *arg3 = (char *) 0 ; @@ -8956,7 +8975,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_capture_regex(void * jarg1, int jarg2, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_regex_set_var_callback(char * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_regex_set_var_callback___(char * jarg1, char * jarg2, void * jarg3) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; void *arg3 = (void *) 0 ; @@ -8968,7 +8987,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_regex_set_var_callback(char * jarg1, c } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_regex_set_event_header_callback(char * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_regex_set_event_header_callback___(char * jarg1, char * jarg2, void * jarg3) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; void *arg3 = (void *) 0 ; @@ -8980,7 +8999,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_regex_set_event_header_callback(char * } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get___() { int jresult ; int result; @@ -8990,7 +9009,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_STREAMS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_MAX_STREAMS_get___() { int jresult ; int result; @@ -9000,7 +9019,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_MAX_STREAMS_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_mms_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_mms_set___(void * jarg1, unsigned long jarg2) { switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t arg2 ; @@ -9010,7 +9029,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_mms_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_mms_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_mms_get___(void * jarg1) { unsigned long jresult ; switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t result; @@ -9022,7 +9041,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_mms_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_ms_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_ms_set___(void * jarg1, unsigned long jarg2) { switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t arg2 ; @@ -9032,7 +9051,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_ms_set(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_ms_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_ms_get___(void * jarg1) { unsigned long jresult ; switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t result; @@ -9044,7 +9063,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_ms_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_sec_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_sec_set___(void * jarg1, unsigned long jarg2) { switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t arg2 ; @@ -9054,7 +9073,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_sec_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_sec_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_sec_get___(void * jarg1) { unsigned long jresult ; switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t result; @@ -9066,7 +9085,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_sec_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_min_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_min_set___(void * jarg1, unsigned long jarg2) { switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t arg2 ; @@ -9076,7 +9095,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_min_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_min_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_min_get___(void * jarg1) { unsigned long jresult ; switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t result; @@ -9088,7 +9107,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_min_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_hr_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_hr_set___(void * jarg1, unsigned long jarg2) { switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t arg2 ; @@ -9098,7 +9117,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_hr_set(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_hr_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_hr_get___(void * jarg1) { unsigned long jresult ; switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t result; @@ -9110,7 +9129,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_hr_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_day_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_day_set___(void * jarg1, unsigned long jarg2) { switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t arg2 ; @@ -9120,7 +9139,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_day_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_day_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_day_get___(void * jarg1) { unsigned long jresult ; switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t result; @@ -9132,7 +9151,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_day_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_yr_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_yr_set___(void * jarg1, unsigned long jarg2) { switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t arg2 ; @@ -9142,7 +9161,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_time_duration_yr_set(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_yr_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_time_duration_yr_get___(void * jarg1) { unsigned long jresult ; switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; uint32_t result; @@ -9154,7 +9173,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_time_duration_yr_get(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_core_time_duration() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_core_time_duration___() { void * jresult ; switch_core_time_duration *result = 0 ; @@ -9164,7 +9183,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_core_time_duration() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_core_time_duration(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_core_time_duration___(void * jarg1) { switch_core_time_duration *arg1 = (switch_core_time_duration *) 0 ; arg1 = (switch_core_time_duration *)jarg1; @@ -9172,7 +9191,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_core_time_duration(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_app_log_app_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_app_log_app_set___(void * jarg1, char * jarg2) { switch_app_log *arg1 = (switch_app_log *) 0 ; char *arg2 = (char *) 0 ; @@ -9190,7 +9209,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_app_log_app_set(void * jarg1, char * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_app_log_app_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_app_log_app_get___(void * jarg1) { char * jresult ; switch_app_log *arg1 = (switch_app_log *) 0 ; char *result = 0 ; @@ -9202,7 +9221,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_app_log_app_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_app_log_arg_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_app_log_arg_set___(void * jarg1, char * jarg2) { switch_app_log *arg1 = (switch_app_log *) 0 ; char *arg2 = (char *) 0 ; @@ -9220,7 +9239,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_app_log_arg_set(void * jarg1, char * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_app_log_arg_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_app_log_arg_get___(void * jarg1) { char * jresult ; switch_app_log *arg1 = (switch_app_log *) 0 ; char *result = 0 ; @@ -9232,7 +9251,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_app_log_arg_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_app_log_stamp_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_app_log_stamp_set___(void * jarg1, void * jarg2) { switch_app_log *arg1 = (switch_app_log *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -9248,7 +9267,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_app_log_stamp_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_app_log_stamp_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_app_log_stamp_get___(void * jarg1) { void * jresult ; switch_app_log *arg1 = (switch_app_log *) 0 ; switch_time_t result; @@ -9260,7 +9279,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_app_log_stamp_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_app_log_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_app_log_next_set___(void * jarg1, void * jarg2) { switch_app_log *arg1 = (switch_app_log *) 0 ; switch_app_log *arg2 = (switch_app_log *) 0 ; @@ -9270,7 +9289,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_app_log_next_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_app_log_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_app_log_next_get___(void * jarg1) { void * jresult ; switch_app_log *arg1 = (switch_app_log *) 0 ; switch_app_log *result = 0 ; @@ -9282,7 +9301,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_app_log_next_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_app_log() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_app_log___() { void * jresult ; switch_app_log *result = 0 ; @@ -9292,7 +9311,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_app_log() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_app_log(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_app_log___(void * jarg1) { switch_app_log *arg1 = (switch_app_log *) 0 ; arg1 = (switch_app_log *)jarg1; @@ -9300,7 +9319,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_app_log(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_func_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_thread_data_t_func_set___(void * jarg1, void * jarg2) { switch_thread_data_s *arg1 = (switch_thread_data_s *) 0 ; switch_thread_start_t arg2 ; switch_thread_start_t *argp2 ; @@ -9316,7 +9335,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_func_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_thread_data_t_func_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_thread_data_t_func_get___(void * jarg1) { void * jresult ; switch_thread_data_s *arg1 = (switch_thread_data_s *) 0 ; switch_thread_start_t result; @@ -9328,7 +9347,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_thread_data_t_func_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_obj_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_thread_data_t_obj_set___(void * jarg1, void * jarg2) { switch_thread_data_s *arg1 = (switch_thread_data_s *) 0 ; void *arg2 = (void *) 0 ; @@ -9338,7 +9357,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_obj_set(void * jarg1, vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_thread_data_t_obj_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_thread_data_t_obj_get___(void * jarg1) { void * jresult ; switch_thread_data_s *arg1 = (switch_thread_data_s *) 0 ; void *result = 0 ; @@ -9350,7 +9369,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_thread_data_t_obj_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_alloc_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_thread_data_t_alloc_set___(void * jarg1, int jarg2) { switch_thread_data_s *arg1 = (switch_thread_data_s *) 0 ; int arg2 ; @@ -9360,7 +9379,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_alloc_set(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_thread_data_t_alloc_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_thread_data_t_alloc_get___(void * jarg1) { int jresult ; switch_thread_data_s *arg1 = (switch_thread_data_s *) 0 ; int result; @@ -9372,7 +9391,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_thread_data_t_alloc_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_pool_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_thread_data_t_pool_set___(void * jarg1, void * jarg2) { switch_thread_data_s *arg1 = (switch_thread_data_s *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -9382,7 +9401,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_pool_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_thread_data_t_pool_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_thread_data_t_pool_get___(void * jarg1) { void * jresult ; switch_thread_data_s *arg1 = (switch_thread_data_s *) 0 ; switch_memory_pool_t *result = 0 ; @@ -9394,7 +9413,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_thread_data_t_pool_get(void * jarg1) } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_thread_data_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_thread_data_t___() { void * jresult ; switch_thread_data_s *result = 0 ; @@ -9404,7 +9423,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_thread_data_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_thread_data_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_thread_data_t___(void * jarg1) { switch_thread_data_s *arg1 = (switch_thread_data_s *) 0 ; arg1 = (switch_thread_data_s *)jarg1; @@ -9412,7 +9431,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_thread_data_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_hold_record_t_on_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_hold_record_t_on_set___(void * jarg1, void * jarg2) { switch_hold_record_s *arg1 = (switch_hold_record_s *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -9428,7 +9447,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_hold_record_t_on_set(void * jarg1, voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_hold_record_t_on_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_hold_record_t_on_get___(void * jarg1) { void * jresult ; switch_hold_record_s *arg1 = (switch_hold_record_s *) 0 ; switch_time_t result; @@ -9440,7 +9459,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_hold_record_t_on_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_hold_record_t_off_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_hold_record_t_off_set___(void * jarg1, void * jarg2) { switch_hold_record_s *arg1 = (switch_hold_record_s *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -9456,7 +9475,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_hold_record_t_off_set(void * jarg1, vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_hold_record_t_off_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_hold_record_t_off_get___(void * jarg1) { void * jresult ; switch_hold_record_s *arg1 = (switch_hold_record_s *) 0 ; switch_time_t result; @@ -9468,7 +9487,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_hold_record_t_off_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_hold_record_t_uuid_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_hold_record_t_uuid_set___(void * jarg1, char * jarg2) { switch_hold_record_s *arg1 = (switch_hold_record_s *) 0 ; char *arg2 = (char *) 0 ; @@ -9486,7 +9505,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_hold_record_t_uuid_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_hold_record_t_uuid_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_hold_record_t_uuid_get___(void * jarg1) { char * jresult ; switch_hold_record_s *arg1 = (switch_hold_record_s *) 0 ; char *result = 0 ; @@ -9498,7 +9517,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_hold_record_t_uuid_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_hold_record_t_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_hold_record_t_next_set___(void * jarg1, void * jarg2) { switch_hold_record_s *arg1 = (switch_hold_record_s *) 0 ; switch_hold_record_s *arg2 = (switch_hold_record_s *) 0 ; @@ -9508,7 +9527,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_hold_record_t_next_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_hold_record_t_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_hold_record_t_next_get___(void * jarg1) { void * jresult ; switch_hold_record_s *arg1 = (switch_hold_record_s *) 0 ; switch_hold_record_s *result = 0 ; @@ -9520,7 +9539,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_hold_record_t_next_get(void * jarg1) } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_hold_record_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_hold_record_t___() { void * jresult ; switch_hold_record_s *result = 0 ; @@ -9530,7 +9549,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_hold_record_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_hold_record_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_hold_record_t___(void * jarg1) { switch_hold_record_s *arg1 = (switch_hold_record_s *) 0 ; arg1 = (switch_hold_record_s *)jarg1; @@ -9538,7 +9557,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_hold_record_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_uuid_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_uuid_set___(void * jarg1, char * jarg2) { device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; char *arg2 = (char *) 0 ; @@ -9556,7 +9575,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_uuid_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_device_node_t_uuid_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_uuid_get___(void * jarg1) { char * jresult ; device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; char *result = 0 ; @@ -9568,7 +9587,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_device_node_t_uuid_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_xml_cdr_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_xml_cdr_set___(void * jarg1, void * jarg2) { device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_xml_t arg2 = (switch_xml_t) 0 ; @@ -9578,7 +9597,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_xml_cdr_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_xml_cdr_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_xml_cdr_get___(void * jarg1) { void * jresult ; device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_xml_t result; @@ -9590,7 +9609,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_xml_cdr_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t__event_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t__event_set___(void * jarg1, void * jarg2) { device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -9600,7 +9619,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t__event_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t__event_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t__event_get___(void * jarg1) { void * jresult ; device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_event_t *result = 0 ; @@ -9612,7 +9631,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t__event_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_callstate_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_callstate_set___(void * jarg1, int jarg2) { device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_channel_callstate_t arg2 ; @@ -9622,19 +9641,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_callstate_set(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_node_t_callstate_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_callstate_get___(void * jarg1) { int jresult ; device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_channel_callstate_t result; arg1 = (device_uuid_node_s *)jarg1; result = (switch_channel_callstate_t) ((arg1)->callstate); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_hold_record_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_hold_record_set___(void * jarg1, void * jarg2) { device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_hold_record_t *arg2 = (switch_hold_record_t *) 0 ; @@ -9644,7 +9663,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_hold_record_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_hold_record_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_hold_record_get___(void * jarg1) { void * jresult ; device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_hold_record_t *result = 0 ; @@ -9656,7 +9675,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_hold_record_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_hup_profile_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_hup_profile_set___(void * jarg1, void * jarg2) { device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; @@ -9666,7 +9685,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_hup_profile_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_hup_profile_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_hup_profile_get___(void * jarg1) { void * jresult ; device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_caller_profile_t *result = 0 ; @@ -9678,7 +9697,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_hup_profile_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_direction_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_direction_set___(void * jarg1, int jarg2) { device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_call_direction_t arg2 ; @@ -9688,19 +9707,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_direction_set(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_node_t_direction_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_direction_get___(void * jarg1) { int jresult ; device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_call_direction_t result; arg1 = (device_uuid_node_s *)jarg1; result = (switch_call_direction_t) ((arg1)->direction); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_parent_set___(void * jarg1, void * jarg2) { device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_device_record_s *arg2 = (switch_device_record_s *) 0 ; @@ -9710,7 +9729,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_parent_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_parent_get___(void * jarg1) { void * jresult ; device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; switch_device_record_s *result = 0 ; @@ -9722,7 +9741,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_parent_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_next_set___(void * jarg1, void * jarg2) { device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; device_uuid_node_s *arg2 = (device_uuid_node_s *) 0 ; @@ -9732,7 +9751,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_node_t_next_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_node_t_next_get___(void * jarg1) { void * jresult ; device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; device_uuid_node_s *result = 0 ; @@ -9744,7 +9763,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_node_t_next_get(void * jarg1) } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_device_node_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_device_node_t___() { void * jresult ; device_uuid_node_s *result = 0 ; @@ -9754,7 +9773,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_device_node_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_device_node_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_device_node_t___(void * jarg1) { device_uuid_node_s *arg1 = (device_uuid_node_s *) 0 ; arg1 = (device_uuid_node_s *)jarg1; @@ -9762,7 +9781,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_device_node_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_total_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_total_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -9772,7 +9791,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_total_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_total_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_total_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -9784,7 +9803,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_total_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_total_in_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_total_in_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -9794,7 +9813,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_total_in_set(void * jar } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_total_in_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_total_in_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -9806,7 +9825,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_total_in_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_total_out_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_total_out_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -9816,7 +9835,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_total_out_set(void * ja } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_total_out_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_total_out_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -9828,7 +9847,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_total_out_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_offhook_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_offhook_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -9838,7 +9857,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_offhook_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_offhook_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_offhook_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -9850,7 +9869,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_offhook_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_offhook_in_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_offhook_in_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -9860,7 +9879,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_offhook_in_set(void * j } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_offhook_in_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_offhook_in_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -9872,7 +9891,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_offhook_in_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_offhook_out_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_offhook_out_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -9882,7 +9901,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_offhook_out_set(void * } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_offhook_out_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_offhook_out_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -9894,7 +9913,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_offhook_out_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_active_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_active_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -9904,7 +9923,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_active_set(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_active_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_active_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -9916,7 +9935,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_active_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_active_in_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_active_in_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -9926,7 +9945,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_active_in_set(void * ja } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_active_in_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_active_in_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -9938,7 +9957,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_active_in_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_active_out_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_active_out_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -9948,7 +9967,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_active_out_set(void * j } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_active_out_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_active_out_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -9960,7 +9979,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_active_out_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_held_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_held_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -9970,7 +9989,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_held_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_held_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_held_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -9982,7 +10001,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_held_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_held_in_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_held_in_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -9992,7 +10011,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_held_in_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_held_in_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_held_in_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10004,7 +10023,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_held_in_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_held_out_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_held_out_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10014,7 +10033,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_held_out_set(void * jar } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_held_out_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_held_out_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10026,7 +10045,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_held_out_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_unheld_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_unheld_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10036,7 +10055,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_unheld_set(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_unheld_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_unheld_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10048,7 +10067,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_unheld_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_unheld_in_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_unheld_in_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10058,7 +10077,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_unheld_in_set(void * ja } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_unheld_in_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_unheld_in_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10070,7 +10089,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_unheld_in_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_unheld_out_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_unheld_out_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10080,7 +10099,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_unheld_out_set(void * j } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_unheld_out_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_unheld_out_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10092,7 +10111,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_unheld_out_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_hup_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10102,7 +10121,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_set(void * jarg1, u } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_hup_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_hup_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10114,7 +10133,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_hup_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_in_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_hup_in_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10124,7 +10143,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_in_set(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_hup_in_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_hup_in_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10136,7 +10155,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_hup_in_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_out_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_hup_out_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10146,7 +10165,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_out_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_hup_out_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_hup_out_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10158,7 +10177,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_hup_out_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ringing_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_ringing_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10168,7 +10187,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ringing_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ringing_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_ringing_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10180,7 +10199,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ringing_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ringing_in_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_ringing_in_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10190,7 +10209,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ringing_in_set(void * j } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ringing_in_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_ringing_in_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10202,7 +10221,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ringing_in_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ringing_out_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_ringing_out_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10212,7 +10231,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ringing_out_set(void * } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ringing_out_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_ringing_out_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10224,7 +10243,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ringing_out_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_early_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_early_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10234,7 +10253,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_early_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_early_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_early_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10246,7 +10265,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_early_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_early_in_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_early_in_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10256,7 +10275,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_early_in_set(void * jar } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_early_in_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_early_in_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10268,7 +10287,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_early_in_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_early_out_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_early_out_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10278,7 +10297,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_early_out_set(void * ja } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_early_out_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_early_out_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10290,7 +10309,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_early_out_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ring_wait_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_ring_wait_set___(void * jarg1, unsigned long jarg2) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t arg2 ; @@ -10300,7 +10319,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_ring_wait_set(void * ja } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ring_wait_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_stats_t_ring_wait_get___(void * jarg1) { unsigned long jresult ; switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; uint32_t result; @@ -10312,7 +10331,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_ring_wait_get( } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_device_stats_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_device_stats_t___() { void * jresult ; switch_device_stats_s *result = 0 ; @@ -10322,7 +10341,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_device_stats_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_device_stats_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_device_stats_t___(void * jarg1) { switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ; arg1 = (switch_device_stats_s *)jarg1; @@ -10330,7 +10349,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_device_stats_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_device_id_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_device_id_set___(void * jarg1, char * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; char *arg2 = (char *) 0 ; @@ -10348,7 +10367,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_device_id_set(void * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_device_record_t_device_id_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_device_id_get___(void * jarg1) { char * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; char *result = 0 ; @@ -10360,7 +10379,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_device_record_t_device_id_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_uuid_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_uuid_set___(void * jarg1, char * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; char *arg2 = (char *) 0 ; @@ -10378,7 +10397,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_uuid_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_device_record_t_uuid_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_uuid_get___(void * jarg1) { char * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; char *result = 0 ; @@ -10390,7 +10409,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_device_record_t_uuid_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_refs_set___(void * jarg1, int jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; int arg2 ; @@ -10400,7 +10419,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_refs_set(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_refs_get___(void * jarg1) { int jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; int result; @@ -10412,7 +10431,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_refs_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_stats_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_stats_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_device_stats_t *arg2 = (switch_device_stats_t *) 0 ; @@ -10422,7 +10441,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_stats_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_stats_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_stats_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_device_stats_t *result = 0 ; @@ -10434,7 +10453,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_stats_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_stats_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_last_stats_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_device_stats_t *arg2 = (switch_device_stats_t *) 0 ; @@ -10444,7 +10463,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_stats_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_last_stats_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_last_stats_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_device_stats_t *result = 0 ; @@ -10456,7 +10475,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_last_stats_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_state_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_state_set___(void * jarg1, int jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_device_state_t arg2 ; @@ -10466,19 +10485,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_state_set(void * jarg1 } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_state_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_state_get___(void * jarg1) { int jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_device_state_t result; arg1 = (switch_device_record_s *)jarg1; result = (switch_device_state_t) ((arg1)->state); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_state_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_last_state_set___(void * jarg1, int jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_device_state_t arg2 ; @@ -10488,19 +10507,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_state_set(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_device_record_t_last_state_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_last_state_get___(void * jarg1) { int jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_device_state_t result; arg1 = (switch_device_record_s *)jarg1; result = (switch_device_state_t) ((arg1)->last_state); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_active_start_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_active_start_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -10516,7 +10535,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_active_start_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_active_start_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_active_start_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t result; @@ -10528,7 +10547,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_active_start_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_active_stop_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_active_stop_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -10544,7 +10563,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_active_stop_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_active_stop_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_active_stop_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t result; @@ -10556,7 +10575,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_active_stop_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_call_time_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_last_call_time_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -10572,7 +10591,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_last_call_time_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_last_call_time_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_last_call_time_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t result; @@ -10584,7 +10603,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_last_call_time_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_ring_start_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_ring_start_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -10600,7 +10619,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_ring_start_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_ring_start_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_ring_start_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t result; @@ -10612,7 +10631,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_ring_start_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_ring_stop_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_ring_stop_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -10628,7 +10647,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_ring_stop_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_ring_stop_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_ring_stop_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t result; @@ -10640,7 +10659,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_ring_stop_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_hold_start_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_hold_start_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -10656,7 +10675,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_hold_start_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_hold_start_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_hold_start_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t result; @@ -10668,7 +10687,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_hold_start_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_hold_stop_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_hold_stop_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -10684,7 +10703,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_hold_stop_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_hold_stop_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_hold_stop_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t result; @@ -10696,7 +10715,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_hold_stop_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_call_start_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_call_start_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -10712,7 +10731,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_call_start_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_call_start_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_call_start_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_time_t result; @@ -10724,7 +10743,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_call_start_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_uuid_list_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_uuid_list_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; device_uuid_node_s *arg2 = (device_uuid_node_s *) 0 ; @@ -10734,7 +10753,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_uuid_list_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_uuid_list_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_uuid_list_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; device_uuid_node_s *result = 0 ; @@ -10746,7 +10765,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_uuid_list_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_uuid_tail_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_uuid_tail_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; device_uuid_node_s *arg2 = (device_uuid_node_s *) 0 ; @@ -10756,7 +10775,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_uuid_tail_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_uuid_tail_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_uuid_tail_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; device_uuid_node_s *result = 0 ; @@ -10768,7 +10787,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_uuid_tail_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_mutex_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_mutex_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -10778,7 +10797,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_mutex_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_mutex_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_mutex_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_mutex_t *result = 0 ; @@ -10790,7 +10809,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_mutex_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_pool_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_pool_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -10800,7 +10819,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_pool_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_pool_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_pool_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; switch_memory_pool_t *result = 0 ; @@ -10812,7 +10831,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_pool_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_user_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_user_data_set___(void * jarg1, void * jarg2) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; void *arg2 = (void *) 0 ; @@ -10822,7 +10841,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_record_t_user_data_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_user_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_device_record_t_user_data_get___(void * jarg1) { void * jresult ; switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; void *result = 0 ; @@ -10834,7 +10853,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_device_record_t_user_data_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_device_record_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_device_record_t___() { void * jresult ; switch_device_record_s *result = 0 ; @@ -10844,7 +10863,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_device_record_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_device_record_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_device_record_t___(void * jarg1) { switch_device_record_s *arg1 = (switch_device_record_s *) 0 ; arg1 = (switch_device_record_s *)jarg1; @@ -10852,7 +10871,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_device_record_t(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_DTLS_SRTP_FNAME_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_DTLS_SRTP_FNAME_get___() { char * jresult ; char *result = 0 ; @@ -10862,7 +10881,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_DTLS_SRTP_FNAME_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_MAX_FPLEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_MAX_FPLEN_get___() { int jresult ; int result; @@ -10872,7 +10891,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_MAX_FPLEN_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_MAX_FPSTRLEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_MAX_FPSTRLEN_get___() { int jresult ; int result; @@ -10882,7 +10901,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_MAX_FPSTRLEN_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_dtls_fingerprint_t_len_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_dtls_fingerprint_t_len_set___(void * jarg1, unsigned long jarg2) { dtls_fp_s *arg1 = (dtls_fp_s *) 0 ; uint32_t arg2 ; @@ -10892,7 +10911,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_dtls_fingerprint_t_len_set(void * jarg1, unsi } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_dtls_fingerprint_t_len_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_dtls_fingerprint_t_len_get___(void * jarg1) { unsigned long jresult ; dtls_fp_s *arg1 = (dtls_fp_s *) 0 ; uint32_t result; @@ -10904,7 +10923,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_dtls_fingerprint_t_len_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_dtls_fingerprint_t_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_dtls_fingerprint_t_data_set___(void * jarg1, void * jarg2) { dtls_fp_s *arg1 = (dtls_fp_s *) 0 ; uint8_t *arg2 ; @@ -10918,7 +10937,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_dtls_fingerprint_t_data_set(void * jarg1, voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_dtls_fingerprint_t_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_dtls_fingerprint_t_data_get___(void * jarg1) { void * jresult ; dtls_fp_s *arg1 = (dtls_fp_s *) 0 ; uint8_t *result = 0 ; @@ -10930,7 +10949,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_dtls_fingerprint_t_data_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_dtls_fingerprint_t_type_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_dtls_fingerprint_t_type_set___(void * jarg1, char * jarg2) { dtls_fp_s *arg1 = (dtls_fp_s *) 0 ; char *arg2 = (char *) 0 ; @@ -10948,7 +10967,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_dtls_fingerprint_t_type_set(void * jarg1, cha } -SWIGEXPORT char * SWIGSTDCALL CSharp_dtls_fingerprint_t_type_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_dtls_fingerprint_t_type_get___(void * jarg1) { char * jresult ; dtls_fp_s *arg1 = (dtls_fp_s *) 0 ; char *result = 0 ; @@ -10960,7 +10979,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_dtls_fingerprint_t_type_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_dtls_fingerprint_t_str_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_dtls_fingerprint_t_str_set___(void * jarg1, char * jarg2) { dtls_fp_s *arg1 = (dtls_fp_s *) 0 ; char *arg2 ; @@ -10977,7 +10996,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_dtls_fingerprint_t_str_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_dtls_fingerprint_t_str_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_dtls_fingerprint_t_str_get___(void * jarg1) { char * jresult ; dtls_fp_s *arg1 = (dtls_fp_s *) 0 ; char *result = 0 ; @@ -10989,7 +11008,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_dtls_fingerprint_t_str_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_dtls_fingerprint_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_dtls_fingerprint_t___() { void * jresult ; dtls_fp_s *result = 0 ; @@ -10999,7 +11018,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_dtls_fingerprint_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_dtls_fingerprint_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_dtls_fingerprint_t___(void * jarg1) { dtls_fp_s *arg1 = (dtls_fp_s *) 0 ; arg1 = (dtls_fp_s *)jarg1; @@ -11007,7 +11026,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_dtls_fingerprint_t(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_MESSAGE_STRING_ARG_MAX_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_MESSAGE_STRING_ARG_MAX_get___() { int jresult ; int result; @@ -11017,7 +11036,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_MESSAGE_STRING_ARG_MAX_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_from_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_from_set___(void * jarg1, char * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; char *arg2 = (char *) 0 ; @@ -11035,7 +11054,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_from_set(void * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message_from_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_from_get___(void * jarg1) { char * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; char *result = 0 ; @@ -11047,7 +11066,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message_from_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_message_id_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_message_id_set___(void * jarg1, int jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; switch_core_session_message_types_t arg2 ; @@ -11057,19 +11076,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_message_id_set(vo } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_message_id_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_message_id_get___(void * jarg1) { int jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; switch_core_session_message_types_t result; arg1 = (switch_core_session_message *)jarg1; result = (switch_core_session_message_types_t) ((arg1)->message_id); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_numeric_arg_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_numeric_arg_set___(void * jarg1, int jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; int arg2 ; @@ -11079,7 +11098,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_numeric_arg_set(v } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_numeric_arg_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_numeric_arg_get___(void * jarg1) { int jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; int result; @@ -11091,7 +11110,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_numeric_arg_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_arg_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_string_arg_set___(void * jarg1, char * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; char *arg2 = (char *) 0 ; @@ -11108,7 +11127,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_arg_set(vo } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message_string_arg_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_string_arg_get___(void * jarg1) { char * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; char *result = 0 ; @@ -11120,7 +11139,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message_string_arg_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_arg_size_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_string_arg_size_set___(void * jarg1, void * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -11136,7 +11155,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_arg_size_s } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_string_arg_size_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_string_arg_size_get___(void * jarg1) { void * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; switch_size_t result; @@ -11148,7 +11167,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_string_arg_size } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_pointer_arg_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_arg_set___(void * jarg1, void * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; void *arg2 = (void *) 0 ; @@ -11158,7 +11177,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_pointer_arg_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_pointer_arg_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_arg_get___(void * jarg1) { void * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; void *result = 0 ; @@ -11170,7 +11189,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_pointer_arg_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_pointer_arg_size_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_arg_size_set___(void * jarg1, void * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -11186,7 +11205,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_pointer_arg_size_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_pointer_arg_size_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_arg_size_get___(void * jarg1) { void * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; switch_size_t result; @@ -11198,7 +11217,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_pointer_arg_siz } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_numeric_reply_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_numeric_reply_set___(void * jarg1, int jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; int arg2 ; @@ -11208,7 +11227,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_numeric_reply_set } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_numeric_reply_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_numeric_reply_get___(void * jarg1) { int jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; int result; @@ -11220,7 +11239,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_numeric_reply_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_reply_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_string_reply_set___(void * jarg1, char * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; char *arg2 = (char *) 0 ; @@ -11238,7 +11257,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_reply_set( } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message_string_reply_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_string_reply_get___(void * jarg1) { char * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; char *result = 0 ; @@ -11250,7 +11269,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message_string_reply_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_reply_size_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_string_reply_size_set___(void * jarg1, void * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -11266,7 +11285,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_reply_size } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_string_reply_size_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_string_reply_size_get___(void * jarg1) { void * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; switch_size_t result; @@ -11278,7 +11297,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_string_reply_si } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_pointer_reply_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_reply_set___(void * jarg1, void * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; void *arg2 = (void *) 0 ; @@ -11288,7 +11307,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_pointer_reply_set } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_pointer_reply_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_reply_get___(void * jarg1) { void * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; void *result = 0 ; @@ -11300,7 +11319,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_pointer_reply_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_pointer_reply_size_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_reply_size_set___(void * jarg1, void * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -11316,7 +11335,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_pointer_reply_siz } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_pointer_reply_size_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_reply_size_get___(void * jarg1) { void * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; switch_size_t result; @@ -11328,7 +11347,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_pointer_reply_s } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_flags_set___(void * jarg1, unsigned long jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; switch_core_session_message_flag_t arg2 ; @@ -11338,7 +11357,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_flags_set(void * } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_message_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_flags_get___(void * jarg1) { unsigned long jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; switch_core_session_message_flag_t result; @@ -11350,7 +11369,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_message_flags_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message__file_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message__file_set___(void * jarg1, char * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; char *arg2 = (char *) 0 ; @@ -11367,7 +11386,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message__file_set(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message__file_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message__file_get___(void * jarg1) { char * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; char *result = 0 ; @@ -11379,7 +11398,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message__file_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message__func_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message__func_set___(void * jarg1, char * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; char *arg2 = (char *) 0 ; @@ -11396,7 +11415,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message__func_set(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message__func_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message__func_get___(void * jarg1) { char * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; char *result = 0 ; @@ -11408,7 +11427,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_message__func_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message__line_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message__line_set___(void * jarg1, int jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; int arg2 ; @@ -11418,7 +11437,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message__line_set(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message__line_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message__line_get___(void * jarg1) { int jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; int result; @@ -11430,7 +11449,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message__line_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_array_arg_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_string_array_arg_set___(void * jarg1, void * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; char **arg2 ; @@ -11444,7 +11463,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_string_array_arg_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_string_array_arg_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_string_array_arg_get___(void * jarg1) { void * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; char **result = 0 ; @@ -11456,7 +11475,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_string_array_ar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_delivery_time_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_delivery_time_set___(void * jarg1, void * jarg2) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; time_t arg2 ; time_t *argp2 ; @@ -11472,7 +11491,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_message_delivery_time_set } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_delivery_time_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_delivery_time_get___(void * jarg1) { void * jresult ; switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; time_t result; @@ -11484,7 +11503,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_message_delivery_time_g } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_core_session_message() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_core_session_message___() { void * jresult ; switch_core_session_message *result = 0 ; @@ -11494,7 +11513,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_core_session_message() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_core_session_message(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_core_session_message___(void * jarg1) { switch_core_session_message *arg1 = (switch_core_session_message *) 0 ; arg1 = (switch_core_session_message *)jarg1; @@ -11502,7 +11521,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_core_session_message(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_running_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_thread_session_running_set___(void * jarg1, int jarg2) { switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; int arg2 ; @@ -11512,7 +11531,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_running_set(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_thread_session_running_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_thread_session_running_get___(void * jarg1) { int jresult ; switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; int result; @@ -11524,7 +11543,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_thread_session_running_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_mutex_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_thread_session_mutex_set___(void * jarg1, void * jarg2) { switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -11534,7 +11553,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_mutex_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_thread_session_mutex_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_thread_session_mutex_get___(void * jarg1) { void * jresult ; switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; switch_mutex_t *result = 0 ; @@ -11546,7 +11565,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_thread_session_mutex_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_objs_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_thread_session_objs_set___(void * jarg1, void * jarg2) { switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; void **arg2 ; @@ -11560,7 +11579,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_objs_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_thread_session_objs_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_thread_session_objs_get___(void * jarg1) { void * jresult ; switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; void **result = 0 ; @@ -11572,7 +11591,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_thread_session_objs_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_input_callback_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_thread_session_input_callback_set___(void * jarg1, void * jarg2) { switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; switch_input_callback_function_t arg2 = (switch_input_callback_function_t) 0 ; @@ -11582,7 +11601,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_input_callback_set } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_thread_session_input_callback_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_thread_session_input_callback_get___(void * jarg1) { void * jresult ; switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; switch_input_callback_function_t result; @@ -11594,7 +11613,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_thread_session_input_callback_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_pool_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_thread_session_pool_set___(void * jarg1, void * jarg2) { switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -11604,7 +11623,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_pool_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_thread_session_pool_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_thread_session_pool_get___(void * jarg1) { void * jresult ; switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; switch_memory_pool_t *result = 0 ; @@ -11616,7 +11635,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_thread_session_pool_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_core_thread_session() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_core_thread_session___() { void * jresult ; switch_core_thread_session *result = 0 ; @@ -11626,7 +11645,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_core_thread_session() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_core_thread_session(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_core_thread_session___(void * jarg1) { switch_core_thread_session *arg1 = (switch_core_thread_session *) 0 ; arg1 = (switch_core_thread_session *)jarg1; @@ -11634,7 +11653,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_core_thread_session(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_must_malloc(unsigned long jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_must_malloc___(unsigned long jarg1) { void * jresult ; size_t arg1 ; void *result = 0 ; @@ -11646,7 +11665,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_must_malloc(unsigned long jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_must_realloc(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_must_realloc___(void * jarg1, unsigned long jarg2) { void * jresult ; void *arg1 = (void *) 0 ; size_t arg2 ; @@ -11660,7 +11679,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_must_realloc(void * jarg1, unsigned } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_must_strdup(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_must_strdup___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -11672,7 +11691,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_must_strdup(char * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_screen_size(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_screen_size___(void * jarg1, void * jarg2) { int *arg1 = (int *) 0 ; int *arg2 = (int *) 0 ; @@ -11682,7 +11701,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_screen_size(void * jarg1, void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_sched_heartbeat(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_sched_heartbeat___(void * jarg1, unsigned long jarg2) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t arg2 ; @@ -11692,7 +11711,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_sched_heartbeat(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unsched_heartbeat(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_unsched_heartbeat___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -11700,7 +11719,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unsched_heartbeat(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_enable_heartbeat(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_enable_heartbeat___(void * jarg1, unsigned long jarg2) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t arg2 ; @@ -11710,7 +11729,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_enable_heartbeat(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_disable_heartbeat(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_disable_heartbeat___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -11718,7 +11737,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_disable_heartbeat(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_pop(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_pop___(void * jarg1, char * jarg2, void * jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -11729,12 +11748,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_pop(void * jarg1, char * arg2 = (char *)jarg2; arg3 = (switch_media_bug_t **)jarg3; result = (switch_status_t)switch_core_media_bug_pop(arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_exec_all(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_exec_all___(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -11747,12 +11766,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_exec_all(void * jarg1, c arg3 = (switch_media_bug_exec_cb_t)jarg3; arg4 = (void *)jarg4; result = (switch_status_t)switch_core_media_bug_exec_all(arg1,(char const *)arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_patch_video(void * jarg1, void * jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_patch_video___(void * jarg1, void * jarg2) { unsigned long jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -11766,7 +11785,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_patch_video(vo } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_count(void * jarg1, char * jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_count___(void * jarg1, char * jarg2) { unsigned long jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -11780,7 +11799,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_count(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_media_bug_set_spy_fmt(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_media_bug_set_spy_fmt___(void * jarg1, int jarg2) { switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_vid_spy_fmt_t arg2 ; @@ -11790,7 +11809,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_media_bug_set_spy_fmt(void * jarg1, in } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_push_spy_frame(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_push_spy_frame___(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -11801,12 +11820,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_push_spy_frame(void * ja arg2 = (switch_frame_t *)jarg2; arg3 = (switch_rw_t)jarg3; result = (switch_status_t)switch_core_media_bug_push_spy_frame(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_patch_spy_frame(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_patch_spy_frame___(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_image_t *arg2 = (switch_image_t *) 0 ; @@ -11817,24 +11836,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_patch_spy_frame(void * j arg2 = (switch_image_t *)jarg2; arg3 = (switch_rw_t)jarg3; result = (switch_status_t)switch_core_media_bug_patch_spy_frame(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_media_bug_parse_spy_fmt(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_media_bug_parse_spy_fmt___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_vid_spy_fmt_t result; arg1 = (char *)jarg1; result = (switch_vid_spy_fmt_t)switch_media_bug_parse_spy_fmt((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_add(void * jarg1, char * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, unsigned long jarg7, void * jarg8) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_add___(void * jarg1, char * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, unsigned long jarg7, void * jarg8) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -11861,12 +11880,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_add(void * jarg1, char * arg7 = (switch_media_bug_flag_t)jarg7; arg8 = (switch_media_bug_t **)jarg8; result = (switch_status_t)switch_core_media_bug_add(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_pause(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_pause___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -11874,7 +11893,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_pause(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_resume(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_resume___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -11882,7 +11901,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_resume(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_inuse(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_inuse___(void * jarg1, void * jarg2, void * jarg3) { switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_size_t *arg2 = (switch_size_t *) 0 ; switch_size_t *arg3 = (switch_size_t *) 0 ; @@ -11894,7 +11913,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_inuse(void * jarg1, voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_user_data(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_get_user_data___(void * jarg1) { void * jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; void *result = 0 ; @@ -11906,7 +11925,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_user_data(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_write_replace_frame(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_get_write_replace_frame___(void * jarg1) { void * jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_frame_t *result = 0 ; @@ -11918,7 +11937,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_write_replace_fra } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_native_read_frame(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_get_native_read_frame___(void * jarg1) { void * jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_frame_t *result = 0 ; @@ -11930,7 +11949,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_native_read_frame } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_native_write_frame(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_get_native_write_frame___(void * jarg1) { void * jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_frame_t *result = 0 ; @@ -11942,7 +11961,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_native_write_fram } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_video_ping_frame(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_get_video_ping_frame___(void * jarg1) { void * jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_frame_t *result = 0 ; @@ -11954,7 +11973,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_video_ping_frame( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_write_replace_frame(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_set_write_replace_frame___(void * jarg1, void * jarg2) { switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -11964,7 +11983,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_write_replace_frame } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_read_replace_frame(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_get_read_replace_frame___(void * jarg1) { void * jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_frame_t *result = 0 ; @@ -11976,7 +11995,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_read_replace_fram } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_read_demux_frame(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_set_read_demux_frame___(void * jarg1, void * jarg2) { switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -11986,7 +12005,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_read_demux_frame(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_session(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_get_session___(void * jarg1) { void * jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_core_session_t *result = 0 ; @@ -11998,7 +12017,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_session(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_media_params(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_set_media_params___(void * jarg1, void * jarg2) { switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_mm_t *arg2 = (switch_mm_t *) 0 ; @@ -12008,7 +12027,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_media_params(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_get_media_params(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_get_media_params___(void * jarg1, void * jarg2) { switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_mm_t *arg2 = (switch_mm_t *) 0 ; @@ -12018,7 +12037,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_get_media_params(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_media_bug_get_text(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_get_text___(void * jarg1) { char * jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; char *result = 0 ; @@ -12030,7 +12049,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_media_bug_get_text(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_test_flag(void * jarg1, unsigned long jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_test_flag___(void * jarg1, unsigned long jarg2) { unsigned long jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; uint32_t arg2 ; @@ -12044,7 +12063,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_test_flag(void } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_set_flag(void * jarg1, unsigned long jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_set_flag___(void * jarg1, unsigned long jarg2) { unsigned long jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; uint32_t arg2 ; @@ -12058,7 +12077,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_set_flag(void } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_clear_flag(void * jarg1, unsigned long jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_clear_flag___(void * jarg1, unsigned long jarg2) { unsigned long jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; uint32_t arg2 ; @@ -12072,7 +12091,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_clear_flag(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_read_replace_frame(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_set_read_replace_frame___(void * jarg1, void * jarg2) { switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -12082,7 +12101,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_read_replace_frame( } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_cpu_count() { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_cpu_count___() { unsigned long jresult ; uint32_t result; @@ -12092,7 +12111,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_cpu_count() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_remove(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_remove___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_media_bug_t **arg2 = (switch_media_bug_t **) 0 ; @@ -12101,12 +12120,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_remove(void * jarg1, voi arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_media_bug_t **)jarg2; result = (switch_status_t)switch_core_media_bug_remove(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_prune(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_prune___(void * jarg1) { unsigned long jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t result; @@ -12118,7 +12137,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_media_bug_prune(void * j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_remove_callback(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_remove_callback___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_media_bug_callback_t arg2 = (switch_media_bug_callback_t) 0 ; @@ -12127,12 +12146,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_remove_callback(void * j arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_media_bug_callback_t)jarg2; result = (switch_status_t)switch_core_media_bug_remove_callback(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_close(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_close___(void * jarg1, int jarg2) { int jresult ; switch_media_bug_t **arg1 = (switch_media_bug_t **) 0 ; switch_bool_t arg2 ; @@ -12141,12 +12160,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_close(void * jarg1, int arg1 = (switch_media_bug_t **)jarg1; arg2 = (switch_bool_t)jarg2; result = (switch_status_t)switch_core_media_bug_close(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_remove_all_function(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_remove_all_function___(void * jarg1, char * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -12155,12 +12174,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_remove_all_function(void arg1 = (switch_core_session_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_core_media_bug_remove_all_function(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_enumerate(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_enumerate___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_stream_handle_t *arg2 = (switch_stream_handle_t *) 0 ; @@ -12169,26 +12188,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_enumerate(void * jarg1, arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_stream_handle_t *)jarg2; result = (switch_status_t)switch_core_media_bug_enumerate(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_transfer_recordings(void * jarg1, void * jarg2) { - int jresult ; - switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; - switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; - switch_status_t result; - - arg1 = (switch_core_session_t *)jarg1; - arg2 = (switch_core_session_t *)jarg2; - result = (switch_status_t)switch_core_media_bug_transfer_recordings(arg1,arg2); - jresult = result; - return jresult; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_transfer_callback(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_transfer_callback___(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -12201,12 +12206,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_transfer_callback(void * arg3 = (switch_media_bug_callback_t)jarg3; arg4 = (void *(*)(switch_core_session_t *,void *))jarg4; result = (switch_status_t)switch_core_media_bug_transfer_callback(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_read(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_read___(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -12217,12 +12222,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_read(void * jarg1, void arg2 = (switch_frame_t *)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_core_media_bug_read(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_flush(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_flush___(void * jarg1) { switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; arg1 = (switch_media_bug_t *)jarg1; @@ -12230,19 +12235,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_flush(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_flush_all(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_flush_all___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_core_media_bug_flush_all(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_set_pre_buffer_framecount(void * jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_media_bug_set_pre_buffer_framecount___(void * jarg1, unsigned long jarg2) { int jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; uint32_t arg2 ; @@ -12251,12 +12256,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_set_pre_buffer_framecoun arg1 = (switch_media_bug_t *)jarg1; arg2 = (uint32_t)jarg2; result = (switch_status_t)switch_core_media_bug_set_pre_buffer_framecount(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(char * jarg1, unsigned short jarg2, unsigned short jarg3, unsigned long jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_port_allocator_new___(char * jarg1, unsigned short jarg2, unsigned short jarg3, unsigned long jarg4, void * jarg5) { int jresult ; char *arg1 = (char *) 0 ; switch_port_t arg2 ; @@ -12271,12 +12276,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(char * jarg1, u arg4 = (switch_port_flag_t)jarg4; arg5 = (switch_core_port_allocator_t **)jarg5; result = (switch_status_t)switch_core_port_allocator_new((char const *)arg1,arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_request_port(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_port_allocator_request_port___(void * jarg1, void * jarg2) { int jresult ; switch_core_port_allocator_t *arg1 = (switch_core_port_allocator_t *) 0 ; switch_port_t *arg2 = (switch_port_t *) 0 ; @@ -12285,12 +12290,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_request_port(void * arg1 = (switch_core_port_allocator_t *)jarg1; arg2 = (switch_port_t *)jarg2; result = (switch_status_t)switch_core_port_allocator_request_port(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_free_port(void * jarg1, unsigned short jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_port_allocator_free_port___(void * jarg1, unsigned short jarg2) { int jresult ; switch_core_port_allocator_t *arg1 = (switch_core_port_allocator_t *) 0 ; switch_port_t arg2 ; @@ -12299,12 +12304,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_free_port(void * ja arg1 = (switch_core_port_allocator_t *)jarg1; arg2 = (switch_port_t)jarg2; result = (switch_status_t)switch_core_port_allocator_free_port(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_port_allocator_destroy(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_port_allocator_destroy___(void * jarg1) { switch_core_port_allocator_t **arg1 = (switch_core_port_allocator_t **) 0 ; arg1 = (switch_core_port_allocator_t **)jarg1; @@ -12312,7 +12317,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_port_allocator_destroy(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_test_flag(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_test_flag___(int jarg1) { int jresult ; int arg1 ; int result; @@ -12324,7 +12329,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_test_flag(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init(unsigned long jarg1, int jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_init___(unsigned long jarg1, int jarg2, void * jarg3) { int jresult ; switch_core_flag_t arg1 ; switch_bool_t arg2 ; @@ -12335,12 +12340,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init(unsigned long jarg1, int jarg arg2 = (switch_bool_t)jarg2; arg3 = (char **)jarg3; result = (switch_status_t)switch_core_init(arg1,arg2,(char const **)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init_and_modload(unsigned long jarg1, int jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_init_and_modload___(unsigned long jarg1, int jarg2, void * jarg3) { int jresult ; switch_core_flag_t arg1 ; switch_bool_t arg2 ; @@ -12351,12 +12356,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_init_and_modload(unsigned long jar arg2 = (switch_bool_t)jarg2; arg3 = (char **)jarg3; result = (switch_status_t)switch_core_init_and_modload(arg1,arg2,(char const **)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_limit(unsigned long jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_limit___(unsigned long jarg1) { unsigned long jresult ; uint32_t arg1 ; uint32_t result; @@ -12368,7 +12373,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_limit(unsigned l } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_sessions_per_second(unsigned long jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_sessions_per_second___(unsigned long jarg1) { unsigned long jresult ; uint32_t arg1 ; uint32_t result; @@ -12380,77 +12385,77 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_sessions_per_second(unsi } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_destroy() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_destroy___() { int jresult ; switch_status_t result; result = (switch_status_t)switch_core_destroy(); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_io_read_lock(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_io_read_lock___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_core_session_io_read_lock(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_io_write_lock(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_io_write_lock___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_core_session_io_write_lock(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_io_rwunlock(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_io_rwunlock___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_core_session_io_rwunlock(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_lock(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_read_lock___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_core_session_read_lock(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_lock_hangup(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_read_lock_hangup___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_core_session_read_lock_hangup(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_write_lock(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_write_lock___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -12458,7 +12463,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_write_lock(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_rwunlock(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_rwunlock___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -12466,7 +12471,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_rwunlock(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_add_state_handler(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_add_state_handler___(void * jarg1) { int jresult ; switch_state_handler_table_t *arg1 = (switch_state_handler_table_t *) 0 ; int result; @@ -12478,7 +12483,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_add_state_handler(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_remove_state_handler(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_remove_state_handler___(void * jarg1) { switch_state_handler_table_t *arg1 = (switch_state_handler_table_t *) 0 ; arg1 = (switch_state_handler_table_t *)jarg1; @@ -12486,7 +12491,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_remove_state_handler(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_get_state_handler(int jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_state_handler___(int jarg1) { void * jresult ; int arg1 ; switch_state_handler_table_t *result = 0 ; @@ -12498,7 +12503,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_get_state_handler(int jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_pool_tag(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_memory_pool_tag___(void * jarg1, char * jarg2) { switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; char *arg2 = (char *) 0 ; @@ -12508,7 +12513,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_pool_tag(void * jarg1, cha } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_perform_new_memory_pool(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_perform_new_memory_pool___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; switch_memory_pool_t **arg1 = (switch_memory_pool_t **) 0 ; char *arg2 = (char *) 0 ; @@ -12521,12 +12526,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_perform_new_memory_pool(void * jar arg3 = (char *)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_core_perform_new_memory_pool(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_sync_clock() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_sync_clock___() { int jresult ; int result; @@ -12536,7 +12541,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_sync_clock() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_perform_destroy_memory_pool(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_perform_destroy_memory_pool___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; switch_memory_pool_t **arg1 = (switch_memory_pool_t **) 0 ; char *arg2 = (char *) 0 ; @@ -12549,12 +12554,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_perform_destroy_memory_pool(void * arg3 = (char *)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_core_perform_destroy_memory_pool(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_pool_set_data(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_memory_pool_set_data___(void * jarg1, char * jarg2, void * jarg3) { switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; char *arg2 = (char *) 0 ; void *arg3 = (void *) 0 ; @@ -12566,7 +12571,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_pool_set_data(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_memory_pool_get_data(void * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_memory_pool_get_data___(void * jarg1, char * jarg2) { void * jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; char *arg2 = (char *) 0 ; @@ -12580,7 +12585,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_memory_pool_get_data(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_run(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_run___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -12588,7 +12593,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_run(void * jarg1) { } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_core_session_running(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_running___(void * jarg1) { unsigned int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; unsigned int result; @@ -12600,7 +12605,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_core_session_running(void * ja } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_core_session_started(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_started___(void * jarg1) { unsigned int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; unsigned int result; @@ -12612,7 +12617,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_core_session_started(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_perform_permanent_alloc(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_perform_permanent_alloc___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { void * jresult ; switch_size_t arg1 ; char *arg2 = (char *) 0 ; @@ -12636,7 +12641,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_perform_permanent_alloc(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_perform_alloc(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_perform_alloc___(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) { void * jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; switch_size_t arg2 ; @@ -12662,7 +12667,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_perform_alloc(void * jarg1, voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_perform_session_alloc(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_perform_session_alloc___(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_size_t arg2 ; @@ -12688,7 +12693,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_perform_session_alloc(void * ja } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_perform_permanent_strdup(char * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_perform_permanent_strdup___(char * jarg1, char * jarg2, char * jarg3, int jarg4) { char * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -12706,7 +12711,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_perform_permanent_strdup(char * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_perform_session_strdup(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_perform_session_strdup___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5) { char * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -12726,7 +12731,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_perform_session_strdup(void * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_perform_strdup(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_perform_strdup___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5) { char * jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; char *arg2 = (char *) 0 ; @@ -12746,7 +12751,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_perform_strdup(void * jarg1, ch } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_sprintf(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_sprintf___(void * jarg1, char * jarg2) { char * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -12761,7 +12766,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_sprintf(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_sprintf(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_sprintf___(void * jarg1, char * jarg2) { char * jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; char *arg2 = (char *) 0 ; @@ -12776,7 +12781,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_sprintf(void * jarg1, char * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_pool(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_pool___(void * jarg1) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_memory_pool_t *result = 0 ; @@ -12788,7 +12793,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_pool(void * jarg1) } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_xml(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_request_xml___(void * jarg1, void * jarg2, void * jarg3) { void * jresult ; switch_endpoint_interface_t *arg1 = (switch_endpoint_interface_t *) 0 ; switch_memory_pool_t **arg2 = (switch_memory_pool_t **) 0 ; @@ -12804,7 +12809,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_xml(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_uuid(void * jarg1, int jarg2, unsigned long jarg3, void * jarg4, char * jarg5) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_request_uuid___(void * jarg1, int jarg2, unsigned long jarg3, void * jarg4, char * jarg5) { void * jresult ; switch_endpoint_interface_t *arg1 = (switch_endpoint_interface_t *) 0 ; switch_call_direction_t arg2 ; @@ -12824,7 +12829,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_uuid(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_uuid(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_uuid___(void * jarg1, char * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -12833,12 +12838,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_uuid(void * jarg1, cha arg1 = (switch_core_session_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_core_session_set_uuid(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_perform_destroy(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_perform_destroy___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { switch_core_session_t **arg1 = (switch_core_session_t **) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -12852,7 +12857,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_perform_destroy(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_destroy_state(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_destroy_state___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -12860,7 +12865,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_destroy_state(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_reporting_state(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_reporting_state___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -12868,7 +12873,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_reporting_state(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_hangup_state(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_hangup_state___(void * jarg1, int jarg2) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_bool_t arg2 ; @@ -12878,7 +12883,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_hangup_state(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_count() { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_count___() { unsigned long jresult ; uint32_t result; @@ -12888,7 +12893,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_count() { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_id(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_id___(void * jarg1) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_size_t result; @@ -12900,7 +12905,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_id(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_id() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_id___() { void * jresult ; switch_size_t result; @@ -12910,7 +12915,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_id() { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_id_dec() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_id_dec___() { void * jresult ; switch_size_t result; @@ -12920,7 +12925,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_id_dec() { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_by_name(char * jarg1, int jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_request_by_name___(char * jarg1, int jarg2, void * jarg3) { void * jresult ; char *arg1 = (char *) 0 ; switch_call_direction_t arg2 ; @@ -12936,43 +12941,43 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_request_by_name(char * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_thread_launch(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_thread_launch___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_core_session_thread_launch(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_thread_pool_launch_thread(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_thread_pool_launch_thread___(void * jarg1) { int jresult ; switch_thread_data_t **arg1 = (switch_thread_data_t **) 0 ; switch_status_t result; arg1 = (switch_thread_data_t **)jarg1; result = (switch_status_t)switch_thread_pool_launch_thread(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_thread_pool_launch(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_thread_pool_launch___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_core_session_thread_pool_launch(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_channel(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_channel___(void * jarg1) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_channel_t *result = 0 ; @@ -12984,7 +12989,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_channel(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_mutex(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_mutex___(void * jarg1) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_mutex_t *result = 0 ; @@ -12996,19 +13001,19 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_mutex(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_wake_session_thread(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_wake_session_thread___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_core_session_wake_session_thread(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_signal_state_change(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_signal_state_change___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -13016,7 +13021,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_signal_state_change(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_get_uuid(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_uuid___(void * jarg1) { char * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *result = 0 ; @@ -13028,7 +13033,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_get_uuid(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_loglevel(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_loglevel___(void * jarg1, int jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_log_level_t arg2 ; @@ -13037,24 +13042,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_loglevel(void * jarg1, arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_log_level_t)jarg2; result = (switch_status_t)switch_core_session_set_loglevel(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_loglevel(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_loglevel___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_log_level_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_log_level_t)switch_core_session_get_loglevel(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_jb(void * jarg1, int jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_jb___(void * jarg1, int jarg2) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_media_type_t arg2 ; @@ -13068,7 +13073,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_jb(void * jarg1, in } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_soft_lock(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_soft_lock___(void * jarg1, unsigned long jarg2) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t arg2 ; @@ -13078,7 +13083,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_soft_lock(void * jarg1, u } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_soft_unlock(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_soft_unlock___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -13086,7 +13091,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_soft_unlock(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_set_dmachine(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_dmachine___(void * jarg1, void * jarg2, int jarg3) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_ivr_dmachine_t *arg2 = (switch_ivr_dmachine_t *) 0 ; switch_digit_action_target_t arg3 ; @@ -13098,7 +13103,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_set_dmachine(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_dmachine(void * jarg1, int jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_dmachine___(void * jarg1, int jarg2) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_digit_action_target_t arg2 ; @@ -13112,19 +13117,19 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_dmachine(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_get_target(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_get_target___(void * jarg1) { int jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; switch_digit_action_target_t result; arg1 = (switch_ivr_dmachine_t *)jarg1; result = (switch_digit_action_target_t)switch_ivr_dmachine_get_target(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_target(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_target___(void * jarg1, int jarg2) { switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; switch_digit_action_target_t arg2 ; @@ -13134,7 +13139,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_target(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_set_terminators(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_terminators___(void * jarg1, char * jarg2) { int jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; char *arg2 = (char *) 0 ; @@ -13143,12 +13148,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_set_terminators(void * jar arg1 = (switch_ivr_dmachine_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_ivr_dmachine_set_terminators(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_codec_slin(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_codec_slin___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_slin_data_t *arg2 = (switch_slin_data_t *) 0 ; @@ -13157,12 +13162,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_codec_slin(void * jarg arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_slin_data_t *)jarg2; result = (switch_status_t)switch_core_session_set_codec_slin(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_raw_read(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_raw_read___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -13170,7 +13175,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_raw_read(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_uuid() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_uuid___() { char * jresult ; char *result = 0 ; @@ -13180,7 +13185,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_uuid() { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_perform_locate(char * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_perform_locate___(char * jarg1, char * jarg2, char * jarg3, int jarg4) { void * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -13198,7 +13203,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_perform_locate(char * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_perform_force_locate(char * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_perform_force_locate___(char * jarg1, char * jarg2, char * jarg3, int jarg4) { void * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -13216,7 +13221,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_perform_force_locate(ch } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_variable(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_variable___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -13228,7 +13233,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_variable(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_variable_dup(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_variable_dup___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -13240,7 +13245,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_variable_dup(char * jarg1) } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_variable_pdup(char * jarg1, void * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_variable_pdup___(char * jarg1, void * jarg2) { char * jresult ; char *arg1 = (char *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -13254,7 +13259,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_variable_pdup(char * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_hostname() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_hostname___() { char * jresult ; char *result = 0 ; @@ -13264,7 +13269,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_hostname() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_switchname() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_switchname___() { char * jresult ; char *result = 0 ; @@ -13274,7 +13279,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_switchname() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_domain(int jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_domain___(int jarg1) { char * jresult ; switch_bool_t arg1 ; char *result = 0 ; @@ -13286,7 +13291,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_get_domain(int jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_set_variable(char * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_set_variable___(char * jarg1, char * jarg2) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -13296,19 +13301,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_set_variable(char * jarg1, char * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_get_variables(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_variables___(void * jarg1) { int jresult ; switch_event_t **arg1 = (switch_event_t **) 0 ; switch_status_t result; arg1 = (switch_event_t **)jarg1; result = (switch_status_t)switch_core_get_variables(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_set_var_conditional(char * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_set_var_conditional___(char * jarg1, char * jarg2, char * jarg3) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -13319,12 +13324,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_set_var_conditional(char * jarg1, arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_bool_t)switch_core_set_var_conditional((char const *)arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_dump_variables(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_dump_variables___(void * jarg1) { switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ; arg1 = (switch_stream_handle_t *)jarg1; @@ -13332,7 +13337,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_dump_variables(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_hupall(int jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_hupall___(int jarg1) { switch_call_cause_t arg1 ; arg1 = (switch_call_cause_t)jarg1; @@ -13340,7 +13345,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_hupall(int jarg1) { } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_hupall_matching_var_ans(char * jarg1, char * jarg2, int jarg3, int jarg4) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_hupall_matching_var_ans___(char * jarg1, char * jarg2, int jarg3, int jarg4) { unsigned long jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -13358,7 +13363,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_hupall_matching_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_findall_matching_var(char * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_findall_matching_var___(char * jarg1, char * jarg2) { void * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -13372,7 +13377,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_findall_matching_var(ch } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_findall() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_findall___() { void * jresult ; switch_console_callback_match_t *result = 0 ; @@ -13382,7 +13387,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_findall() { } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_hupall_matching_vars_ans(void * jarg1, int jarg2, int jarg3) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_hupall_matching_vars_ans___(void * jarg1, int jarg2, int jarg3) { unsigned long jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; switch_call_cause_t arg2 ; @@ -13398,7 +13403,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_hupall_matching_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_hupall_endpoint(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_hupall_endpoint___(void * jarg1, int jarg2) { switch_endpoint_interface_t *arg1 = (switch_endpoint_interface_t *) 0 ; switch_call_cause_t arg2 ; @@ -13408,7 +13413,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_hupall_endpoint(void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_perform_get_partner(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_perform_get_partner___(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t **arg2 = (switch_core_session_t **) 0 ; @@ -13423,12 +13428,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_perform_get_partner(void * arg4 = (char *)jarg4; arg5 = (int)jarg5; result = (switch_status_t)switch_core_session_perform_get_partner(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_send(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_message_send___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_core_session_message_t *arg2 = (switch_core_session_message_t *) 0 ; @@ -13437,12 +13442,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_message_send(char * jarg1, arg1 = (char *)jarg1; arg2 = (switch_core_session_message_t *)jarg2; result = (switch_status_t)switch_core_session_message_send((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_message(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_queue_message___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_message_t *arg2 = (switch_core_session_message_t *) 0 ; @@ -13451,12 +13456,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_message(void * jarg1 arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_core_session_message_t *)jarg2; result = (switch_status_t)switch_core_session_queue_message(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_free_message(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_free_message___(void * jarg1) { switch_core_session_message_t **arg1 = (switch_core_session_message_t **) 0 ; arg1 = (switch_core_session_message_t **)jarg1; @@ -13464,7 +13469,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_free_message(void * jarg1 } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_signal_data(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_queue_signal_data___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; void *arg2 = (void *) 0 ; @@ -13473,12 +13478,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_signal_data(void * j arg1 = (switch_core_session_t *)jarg1; arg2 = (void *)jarg2; result = (switch_status_t)switch_core_session_queue_signal_data(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_signal_data(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_dequeue_signal_data___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; void **arg2 = (void **) 0 ; @@ -13487,12 +13492,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_signal_data(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (void **)jarg2; result = (switch_status_t)switch_core_session_dequeue_signal_data(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_pass_indication(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_pass_indication___(void * jarg1, int jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_message_types_t arg2 ; @@ -13501,12 +13506,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_pass_indication(void * jar arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_core_session_message_types_t)jarg2; result = (switch_status_t)switch_core_session_pass_indication(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_indication(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_queue_indication___(void * jarg1, int jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_message_types_t arg2 ; @@ -13515,12 +13520,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_indication(void * ja arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_core_session_message_types_t)jarg2; result = (switch_status_t)switch_core_session_queue_indication(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_message(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_dequeue_message___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_message_t **arg2 = (switch_core_session_message_t **) 0 ; @@ -13529,24 +13534,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_message(void * jar arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_core_session_message_t **)jarg2; result = (switch_status_t)switch_core_session_dequeue_message(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_flush_message(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_flush_message___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_core_session_flush_message(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_event_send(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_event_send___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_event_t **arg2 = (switch_event_t **) 0 ; @@ -13555,12 +13560,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_event_send(char * jarg1, v arg1 = (char *)jarg1; arg2 = (switch_event_t **)jarg2; result = (switch_status_t)switch_core_session_event_send((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_app_log(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_app_log___(void * jarg1) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_app_log_t *result = 0 ; @@ -13572,7 +13577,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_app_log(void * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_exec(void * jarg1, void * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_exec___(void * jarg1, void * jarg2, char * jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_application_interface_t *arg2 = (switch_application_interface_t *) 0 ; @@ -13583,12 +13588,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_exec(void * jarg1, void * arg2 = (switch_application_interface_t *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_core_session_exec(arg1,(switch_application_interface const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_video_reset(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_video_reset___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -13596,7 +13601,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_video_reset(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_execute_application_get_flags(void * jarg1, char * jarg2, char * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_execute_application_get_flags___(void * jarg1, char * jarg2, char * jarg3, void * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -13609,12 +13614,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_execute_application_get_fl arg3 = (char *)jarg3; arg4 = (int32_t *)jarg4; result = (switch_status_t)switch_core_session_execute_application_get_flags(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_execute_application_async(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_execute_application_async___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -13625,12 +13630,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_execute_application_async( arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_core_session_execute_application_async(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_app_flags(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_app_flags___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; int32_t *arg2 = (int32_t *) 0 ; @@ -13639,12 +13644,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_app_flags(char * jarg1 arg1 = (char *)jarg1; arg2 = (int32_t *)jarg2; result = (switch_status_t)switch_core_session_get_app_flags((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_stack_count(void * jarg1, int jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_stack_count___(void * jarg1, int jarg2) { unsigned long jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; int arg2 ; @@ -13658,7 +13663,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_stack_count(void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_execute_exten(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_execute_exten___(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -13671,12 +13676,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_execute_exten(void * jarg1 arg3 = (char *)jarg3; arg4 = (char *)jarg4; result = (switch_status_t)switch_core_session_execute_exten(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_receive_event(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_receive_event___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_event_t **arg2 = (switch_event_t **) 0 ; @@ -13685,12 +13690,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_receive_event(void * jarg1 arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_event_t **)jarg2; result = (switch_status_t)switch_core_session_receive_event(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_private_class(void * jarg1, int jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_private_class___(void * jarg1, int jarg2) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_pvt_class_t arg2 ; @@ -13704,7 +13709,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_private_class(void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_private_class(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_private_class___(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; void *arg2 = (void *) 0 ; @@ -13715,12 +13720,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_private_class(void * j arg2 = (void *)jarg2; arg3 = (switch_pvt_class_t)jarg3; result = (switch_status_t)switch_core_session_set_private_class(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_add_stream(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_add_stream___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; void *arg2 = (void *) 0 ; @@ -13734,7 +13739,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_add_stream(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_stream(void * jarg1, int jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_stream___(void * jarg1, int jarg2) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; int arg2 ; @@ -13748,7 +13753,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_stream(void * jarg1 } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_stream_count(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_stream_count___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; int result; @@ -13760,7 +13765,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_stream_count(void * ja } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_get_text_buffer(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_text_buffer___(void * jarg1) { char * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *result = 0 ; @@ -13772,7 +13777,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_get_text_buffer(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_launch_thread(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_launch_thread___(void * jarg1, void * jarg2, void * jarg3) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; void *(*arg2)(switch_thread_t *,void *) = (void *(*)(switch_thread_t *,void *)) 0 ; void *arg3 = (void *) 0 ; @@ -13784,7 +13789,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_launch_thread(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_end(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_thread_session_end___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -13792,7 +13797,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_thread_session_end(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_service_session_av(void * jarg1, int jarg2, int jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_service_session_av___(void * jarg1, int jarg2, int jarg3) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_bool_t arg2 ; switch_bool_t arg3 ; @@ -13804,7 +13809,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_service_session_av(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_outgoing_channel(void * jarg1, void * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, unsigned long jarg7, void * jarg8) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_outgoing_channel___(void * jarg1, void * jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6, unsigned long jarg7, void * jarg8) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -13825,12 +13830,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_outgoing_channel(void * ja arg7 = (switch_originate_flag_t)jarg7; arg8 = (switch_call_cause_t *)jarg8; result = (switch_call_cause_t)switch_core_session_outgoing_channel(arg1,arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_perform_receive_message(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_perform_receive_message___(void * jarg1, void * jarg2, char * jarg3, char * jarg4, int jarg5) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_message_t *arg2 = (switch_core_session_message_t *) 0 ; @@ -13845,12 +13850,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_perform_receive_message(vo arg4 = (char *)jarg4; arg5 = (int)jarg5; result = (switch_status_t)switch_core_session_perform_receive_message(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_event(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_queue_event___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_event_t **arg2 = (switch_event_t **) 0 ; @@ -13859,12 +13864,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_event(void * jarg1, arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_event_t **)jarg2; result = (switch_status_t)switch_core_session_queue_event(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_event_count(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_event_count___(void * jarg1) { unsigned long jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t result; @@ -13876,7 +13881,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_event_count(void } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_messages_waiting(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_messages_waiting___(void * jarg1) { unsigned long jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t result; @@ -13888,7 +13893,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_messages_waiting } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_event(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_dequeue_event___(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_event_t **arg2 = (switch_event_t **) 0 ; @@ -13899,12 +13904,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_event(void * jarg1 arg2 = (switch_event_t **)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_core_session_dequeue_event(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_private_event(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_queue_private_event___(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_event_t **arg2 = (switch_event_t **) 0 ; @@ -13915,12 +13920,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_queue_private_event(void * arg2 = (switch_event_t **)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_core_session_queue_private_event(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_private_event_count(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_private_event_count___(void * jarg1) { unsigned long jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t result; @@ -13932,7 +13937,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_private_event_co } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_private_event(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_dequeue_private_event___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_event_t **arg2 = (switch_event_t **) 0 ; @@ -13941,12 +13946,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_dequeue_private_event(void arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_event_t **)jarg2; result = (switch_status_t)switch_core_session_dequeue_private_event(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_flush_private_events(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_flush_private_events___(void * jarg1) { unsigned long jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t result; @@ -13958,7 +13963,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_session_flush_private_ev } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_read_frame___(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_frame_t **arg2 = (switch_frame_t **) 0 ; @@ -13971,12 +13976,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_frame(void * jarg1, v arg3 = (switch_io_flag_t)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_core_session_read_frame(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_transcoding(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_transcoding___(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -13987,12 +13992,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_transcoding(void * jarg1, arg2 = (switch_core_session_t *)jarg2; arg3 = (switch_media_type_t)jarg3; result = (switch_bool_t)switch_core_session_transcoding(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_passthru(void * jarg1, int jarg2, int jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_passthru___(void * jarg1, int jarg2, int jarg3) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_media_type_t arg2 ; switch_bool_t arg3 ; @@ -14004,7 +14009,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_passthru(void * jarg1, in } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_video_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_read_video_frame___(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_frame_t **arg2 = (switch_frame_t **) 0 ; @@ -14017,12 +14022,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_video_frame(void * ja arg3 = (switch_io_flag_t)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_core_session_read_video_frame(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_video_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_write_video_frame___(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -14035,12 +14040,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_video_frame(void * j arg3 = (switch_io_flag_t)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_core_session_write_video_frame(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_encoded_video_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_write_encoded_video_frame___(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -14053,12 +14058,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_encoded_video_frame( arg3 = (switch_io_flag_t)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_core_session_write_encoded_video_frame(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_read_impl(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_read_impl___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; @@ -14067,12 +14072,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_read_impl(void * jarg1 arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_implementation_t *)jarg2; result = (switch_status_t)switch_core_session_set_read_impl(arg1,(switch_codec_implementation const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_write_impl(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_write_impl___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; @@ -14081,12 +14086,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_write_impl(void * jarg arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_implementation_t *)jarg2; result = (switch_status_t)switch_core_session_set_write_impl(arg1,(switch_codec_implementation const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_read_impl(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_video_read_impl___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; @@ -14095,12 +14100,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_read_impl(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_implementation_t *)jarg2; result = (switch_status_t)switch_core_session_set_video_read_impl(arg1,(switch_codec_implementation const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_write_impl(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_video_write_impl___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; @@ -14109,12 +14114,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_write_impl(void arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_implementation_t *)jarg2; result = (switch_status_t)switch_core_session_set_video_write_impl(arg1,(switch_codec_implementation const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_reset(void * jarg1, int jarg2, int jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_reset___(void * jarg1, int jarg2, int jarg3) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_bool_t arg2 ; switch_bool_t arg3 ; @@ -14126,7 +14131,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_reset(void * jarg1, int j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_frame(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_write_frame___(void * jarg1, void * jarg2, unsigned long jarg3, int jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -14139,12 +14144,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_write_frame(void * jarg1, arg3 = (switch_io_flag_t)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_core_session_write_frame(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_perform_kill_channel(void * jarg1, char * jarg2, char * jarg3, int jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_perform_kill_channel___(void * jarg1, char * jarg2, char * jarg3, int jarg4, int jarg5) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14159,12 +14164,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_perform_kill_channel(void arg4 = (int)jarg4; arg5 = (switch_signal_t)jarg5; result = (switch_status_t)switch_core_session_perform_kill_channel(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_send_dtmf(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_send_dtmf___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; @@ -14173,12 +14178,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_send_dtmf(void * jarg1, vo arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_dtmf_t *)jarg2; result = (switch_status_t)switch_core_session_send_dtmf(arg1,(switch_dtmf_t const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_send_dtmf_string(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_send_dtmf_string___(void * jarg1, char * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14187,12 +14192,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_send_dtmf_string(void * ja arg1 = (switch_core_session_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_core_session_send_dtmf_string(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_recv_dtmf(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_recv_dtmf___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; @@ -14201,12 +14206,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_recv_dtmf(void * jarg1, vo arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_dtmf_t *)jarg2; result = (switch_status_t)switch_core_session_recv_dtmf(arg1,(switch_dtmf_t const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_init_case(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_init_case___(void * jarg1, int jarg2) { int jresult ; switch_hash_t **arg1 = (switch_hash_t **) 0 ; switch_bool_t arg2 ; @@ -14215,24 +14220,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_init_case(void * jarg1, int j arg1 = (switch_hash_t **)jarg1; arg2 = (switch_bool_t)jarg2; result = (switch_status_t)switch_core_hash_init_case(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_destroy(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_destroy___(void * jarg1) { int jresult ; switch_hash_t **arg1 = (switch_hash_t **) 0 ; switch_status_t result; arg1 = (switch_hash_t **)jarg1; result = (switch_status_t)switch_core_hash_destroy(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_insert_destructor(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_insert_destructor___(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { int jresult ; switch_hash_t *arg1 = (switch_hash_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14245,12 +14250,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_insert_destructor(void * jarg arg3 = (void *)jarg3; arg4 = (hashtable_destructor_t)jarg4; result = (switch_status_t)switch_core_hash_insert_destructor(arg1,(char const *)arg2,(void const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_insert_locked(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_insert_locked___(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { int jresult ; switch_hash_t *arg1 = (switch_hash_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14263,12 +14268,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_insert_locked(void * jarg1, c arg3 = (void *)jarg3; arg4 = (switch_mutex_t *)jarg4; result = (switch_status_t)switch_core_hash_insert_locked(arg1,(char const *)arg2,(void const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_insert_wrlock(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_insert_wrlock___(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { int jresult ; switch_hash_t *arg1 = (switch_hash_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14281,12 +14286,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_insert_wrlock(void * jarg1, c arg3 = (void *)jarg3; arg4 = (switch_thread_rwlock_t *)jarg4; result = (switch_status_t)switch_core_hash_insert_wrlock(arg1,(char const *)arg2,(void const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_delete(void * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_delete___(void * jarg1, char * jarg2) { void * jresult ; switch_hash_t *arg1 = (switch_hash_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14300,7 +14305,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_delete(void * jarg1, char } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_delete_locked(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_delete_locked___(void * jarg1, char * jarg2, void * jarg3) { void * jresult ; switch_hash_t *arg1 = (switch_hash_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14316,7 +14321,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_delete_locked(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_delete_wrlock(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_delete_wrlock___(void * jarg1, char * jarg2, void * jarg3) { void * jresult ; switch_hash_t *arg1 = (switch_hash_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14332,7 +14337,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_delete_wrlock(void * jarg1 } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_delete_multi(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_delete_multi___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_hash_t *arg1 = (switch_hash_t *) 0 ; switch_hash_delete_callback_t arg2 = (switch_hash_delete_callback_t) 0 ; @@ -14343,12 +14348,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_delete_multi(void * jarg1, vo arg2 = (switch_hash_delete_callback_t)jarg2; arg3 = (void *)jarg3; result = (switch_status_t)switch_core_hash_delete_multi(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_find(void * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_find___(void * jarg1, char * jarg2) { void * jresult ; switch_hash_t *arg1 = (switch_hash_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14362,7 +14367,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_find(void * jarg1, char * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_find_locked(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_find_locked___(void * jarg1, char * jarg2, void * jarg3) { void * jresult ; switch_hash_t *arg1 = (switch_hash_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14378,7 +14383,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_find_locked(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_find_rdlock(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_find_rdlock___(void * jarg1, char * jarg2, void * jarg3) { void * jresult ; switch_hash_t *arg1 = (switch_hash_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14394,7 +14399,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_find_rdlock(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_first_iter(void * jarg1, void * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_first_iter___(void * jarg1, void * jarg2) { void * jresult ; switch_hash_t *arg1 = (switch_hash_t *) 0 ; switch_hash_index_t *arg2 = (switch_hash_index_t *) 0 ; @@ -14408,19 +14413,19 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_first_iter(void * jarg1, v } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_empty(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_empty___(void * jarg1) { int jresult ; switch_hash_t *arg1 = (switch_hash_t *) 0 ; switch_bool_t result; arg1 = (switch_hash_t *)jarg1; result = (switch_bool_t)switch_core_hash_empty(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_next(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_next___(void * jarg1) { void * jresult ; switch_hash_index_t **arg1 = (switch_hash_index_t **) 0 ; switch_hash_index_t *result = 0 ; @@ -14432,7 +14437,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_hash_next(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_hash_this(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_this___(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { switch_hash_index_t *arg1 = (switch_hash_index_t *) 0 ; void **arg2 = (void **) 0 ; switch_ssize_t *arg3 = (switch_ssize_t *) 0 ; @@ -14446,7 +14451,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_hash_this(void * jarg1, void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_hash_this_val(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_hash_this_val___(void * jarg1, void * jarg2) { switch_hash_index_t *arg1 = (switch_hash_index_t *) 0 ; void *arg2 = (void *) 0 ; @@ -14456,31 +14461,31 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_hash_this_val(void * jarg1, void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_inthash_init(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_inthash_init___(void * jarg1) { int jresult ; switch_inthash_t **arg1 = (switch_inthash_t **) 0 ; switch_status_t result; arg1 = (switch_inthash_t **)jarg1; result = (switch_status_t)switch_core_inthash_init(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_inthash_destroy(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_inthash_destroy___(void * jarg1) { int jresult ; switch_inthash_t **arg1 = (switch_inthash_t **) 0 ; switch_status_t result; arg1 = (switch_inthash_t **)jarg1; result = (switch_status_t)switch_core_inthash_destroy(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_inthash_insert(void * jarg1, unsigned long jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_inthash_insert___(void * jarg1, unsigned long jarg2, void * jarg3) { int jresult ; switch_inthash_t *arg1 = (switch_inthash_t *) 0 ; uint32_t arg2 ; @@ -14491,12 +14496,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_inthash_insert(void * jarg1, unsig arg2 = (uint32_t)jarg2; arg3 = (void *)jarg3; result = (switch_status_t)switch_core_inthash_insert(arg1,arg2,(void const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_inthash_delete(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_inthash_delete___(void * jarg1, unsigned long jarg2) { void * jresult ; switch_inthash_t *arg1 = (switch_inthash_t *) 0 ; uint32_t arg2 ; @@ -14510,7 +14515,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_inthash_delete(void * jarg1, un } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_inthash_find(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_inthash_find___(void * jarg1, unsigned long jarg2) { void * jresult ; switch_inthash_t *arg1 = (switch_inthash_t *) 0 ; uint32_t arg2 ; @@ -14524,7 +14529,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_inthash_find(void * jarg1, unsi } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_init(void * jarg1, char * jarg2, int jarg3, int jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_timer_init___(void * jarg1, char * jarg2, int jarg3, int jarg4, void * jarg5) { int jresult ; switch_timer_t *arg1 = (switch_timer_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14539,53 +14544,53 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_init(void * jarg1, char * ja arg4 = (int)jarg4; arg5 = (switch_memory_pool_t *)jarg5; result = (switch_status_t)switch_core_timer_init(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_calibrate_clock() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_time_calibrate_clock___() { switch_time_calibrate_clock(); } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_next(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_timer_next___(void * jarg1) { int jresult ; switch_timer_t *arg1 = (switch_timer_t *) 0 ; switch_status_t result; arg1 = (switch_timer_t *)jarg1; result = (switch_status_t)switch_core_timer_next(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_step(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_timer_step___(void * jarg1) { int jresult ; switch_timer_t *arg1 = (switch_timer_t *) 0 ; switch_status_t result; arg1 = (switch_timer_t *)jarg1; result = (switch_status_t)switch_core_timer_step(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_sync(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_timer_sync___(void * jarg1) { int jresult ; switch_timer_t *arg1 = (switch_timer_t *) 0 ; switch_status_t result; arg1 = (switch_timer_t *)jarg1; result = (switch_status_t)switch_core_timer_sync(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_check(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_timer_check___(void * jarg1, int jarg2) { int jresult ; switch_timer_t *arg1 = (switch_timer_t *) 0 ; switch_bool_t arg2 ; @@ -14594,24 +14599,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_check(void * jarg1, int jarg arg1 = (switch_timer_t *)jarg1; arg2 = (switch_bool_t)jarg2; result = (switch_status_t)switch_core_timer_check(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_destroy(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_timer_destroy___(void * jarg1) { int jresult ; switch_timer_t *arg1 = (switch_timer_t *) 0 ; switch_status_t result; arg1 = (switch_timer_t *)jarg1; result = (switch_status_t)switch_core_timer_destroy(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_init_with_bitrate(void * jarg1, char * jarg2, char * jarg3, char * jarg4, unsigned long jarg5, int jarg6, int jarg7, unsigned long jarg8, unsigned long jarg9, void * jarg10, void * jarg11) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_init_with_bitrate___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, unsigned long jarg5, int jarg6, int jarg7, unsigned long jarg8, unsigned long jarg9, void * jarg10, void * jarg11) { int jresult ; switch_codec_t *arg1 = (switch_codec_t *) 0 ; char *arg2 = (char *) 0 ; @@ -14638,12 +14643,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_init_with_bitrate(void * jar arg10 = (switch_codec_settings_t *)jarg10; arg11 = (switch_memory_pool_t *)jarg11; result = (switch_status_t)switch_core_codec_init_with_bitrate(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7,arg8,arg9,(switch_codec_settings const *)arg10,arg11); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_copy(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_copy___(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { int jresult ; switch_codec_t *arg1 = (switch_codec_t *) 0 ; switch_codec_t *arg2 = (switch_codec_t *) 0 ; @@ -14656,12 +14661,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_copy(void * jarg1, void * ja arg3 = (switch_codec_settings_t *)jarg3; arg4 = (switch_memory_pool_t *)jarg4; result = (switch_status_t)switch_core_codec_copy(arg1,arg2,(switch_codec_settings const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_parse_fmtp(char * jarg1, char * jarg2, unsigned long jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_parse_fmtp___(char * jarg1, char * jarg2, unsigned long jarg3, void * jarg4) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -14674,24 +14679,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_parse_fmtp(char * jarg1, cha arg3 = (uint32_t)jarg3; arg4 = (switch_codec_fmtp_t *)jarg4; result = (switch_status_t)switch_core_codec_parse_fmtp((char const *)arg1,(char const *)arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_reset(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_reset___(void * jarg1) { int jresult ; switch_codec_t *arg1 = (switch_codec_t *) 0 ; switch_status_t result; arg1 = (switch_codec_t *)jarg1; result = (switch_status_t)switch_core_codec_reset(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_encode(void * jarg1, void * jarg2, void * jarg3, unsigned long jarg4, unsigned long jarg5, void * jarg6, void * jarg7, void * jarg8, void * jarg9) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_encode___(void * jarg1, void * jarg2, void * jarg3, unsigned long jarg4, unsigned long jarg5, void * jarg6, void * jarg7, void * jarg8, void * jarg9) { int jresult ; switch_codec_t *arg1 = (switch_codec_t *) 0 ; switch_codec_t *arg2 = (switch_codec_t *) 0 ; @@ -14714,12 +14719,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_encode(void * jarg1, void * arg8 = (uint32_t *)jarg8; arg9 = (unsigned int *)jarg9; result = (switch_status_t)switch_core_codec_encode(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_decode(void * jarg1, void * jarg2, void * jarg3, unsigned long jarg4, unsigned long jarg5, void * jarg6, void * jarg7, void * jarg8, void * jarg9) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_decode___(void * jarg1, void * jarg2, void * jarg3, unsigned long jarg4, unsigned long jarg5, void * jarg6, void * jarg7, void * jarg8, void * jarg9) { int jresult ; switch_codec_t *arg1 = (switch_codec_t *) 0 ; switch_codec_t *arg2 = (switch_codec_t *) 0 ; @@ -14742,12 +14747,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_decode(void * jarg1, void * arg8 = (uint32_t *)jarg8; arg9 = (unsigned int *)jarg9; result = (switch_status_t)switch_core_codec_decode(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_encode_video(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_encode_video___(void * jarg1, void * jarg2) { int jresult ; switch_codec_t *arg1 = (switch_codec_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -14756,12 +14761,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_encode_video(void * jarg1, v arg1 = (switch_codec_t *)jarg1; arg2 = (switch_frame_t *)jarg2; result = (switch_status_t)switch_core_codec_encode_video(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_control(void * jarg1, int jarg2, int jarg3, void * jarg4, int jarg5, void * jarg6, void * jarg7, void * jarg8) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_control___(void * jarg1, int jarg2, int jarg3, void * jarg4, int jarg5, void * jarg6, void * jarg7, void * jarg8) { int jresult ; switch_codec_t *arg1 = (switch_codec_t *) 0 ; switch_codec_control_command_t arg2 ; @@ -14782,12 +14787,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_control(void * jarg1, int ja arg7 = (switch_codec_control_type_t *)jarg7; arg8 = (void **)jarg8; result = (switch_status_t)switch_core_codec_control(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_decode_video(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_decode_video___(void * jarg1, void * jarg2) { int jresult ; switch_codec_t *arg1 = (switch_codec_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -14796,24 +14801,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_decode_video(void * jarg1, v arg1 = (switch_codec_t *)jarg1; arg2 = (switch_frame_t *)jarg2; result = (switch_status_t)switch_core_codec_decode_video(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_destroy(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_destroy___(void * jarg1) { int jresult ; switch_codec_t *arg1 = (switch_codec_t *) 0 ; switch_status_t result; arg1 = (switch_codec_t *)jarg1; result = (switch_status_t)switch_core_codec_destroy(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_read_codec(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_read_codec___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_t *arg2 = (switch_codec_t *) 0 ; @@ -14822,12 +14827,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_read_codec(void * jarg arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_t *)jarg2; result = (switch_status_t)switch_core_session_set_read_codec(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_real_read_codec(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_real_read_codec___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_t *arg2 = (switch_codec_t *) 0 ; @@ -14836,12 +14841,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_real_read_codec(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_t *)jarg2; result = (switch_status_t)switch_core_session_set_real_read_codec(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unset_read_codec(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_unset_read_codec___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -14849,7 +14854,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unset_read_codec(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unset_write_codec(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_unset_write_codec___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -14857,7 +14862,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unset_write_codec(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_lock_codec_write(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_lock_codec_write___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -14865,7 +14870,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_lock_codec_write(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unlock_codec_write(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_unlock_codec_write___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -14873,7 +14878,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unlock_codec_write(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_lock_codec_read(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_lock_codec_read___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -14881,7 +14886,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_lock_codec_read(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unlock_codec_read(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_unlock_codec_read___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -14889,7 +14894,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_unlock_codec_read(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_read_impl(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_read_impl___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; @@ -14898,12 +14903,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_read_impl(void * jarg1 arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_implementation_t *)jarg2; result = (switch_status_t)switch_core_session_get_read_impl(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_real_read_impl(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_real_read_impl___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; @@ -14912,12 +14917,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_real_read_impl(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_implementation_t *)jarg2; result = (switch_status_t)switch_core_session_get_real_read_impl(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_write_impl(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_write_impl___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; @@ -14926,12 +14931,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_write_impl(void * jarg arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_implementation_t *)jarg2; result = (switch_status_t)switch_core_session_get_write_impl(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_video_read_impl(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_video_read_impl___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; @@ -14940,12 +14945,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_video_read_impl(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_implementation_t *)jarg2; result = (switch_status_t)switch_core_session_get_video_read_impl(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_video_write_impl(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_video_write_impl___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; @@ -14954,12 +14959,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_get_video_write_impl(void arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_implementation_t *)jarg2; result = (switch_status_t)switch_core_session_get_video_write_impl(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_read_codec(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_read_codec___(void * jarg1) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_t *result = 0 ; @@ -14971,7 +14976,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_read_codec(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_effective_read_codec(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_effective_read_codec___(void * jarg1) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_t *result = 0 ; @@ -14983,7 +14988,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_effective_read_code } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_write_codec(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_write_codec___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_t *arg2 = (switch_codec_t *) 0 ; @@ -14992,12 +14997,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_write_codec(void * jar arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_t *)jarg2; result = (switch_status_t)switch_core_session_set_write_codec(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_write_codec(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_write_codec___(void * jarg1) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_t *result = 0 ; @@ -15009,7 +15014,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_write_codec(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_effective_write_codec(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_effective_write_codec___(void * jarg1) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_t *result = 0 ; @@ -15021,7 +15026,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_effective_write_cod } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_read_codec(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_video_read_codec___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_t *arg2 = (switch_codec_t *) 0 ; @@ -15030,12 +15035,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_read_codec(void arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_t *)jarg2; result = (switch_status_t)switch_core_session_set_video_read_codec(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_video_read_codec(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_video_read_codec___(void * jarg1) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_t *result = 0 ; @@ -15047,7 +15052,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_video_read_codec(vo } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_write_codec(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_video_write_codec___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_t *arg2 = (switch_codec_t *) 0 ; @@ -15056,12 +15061,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_write_codec(void arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_codec_t *)jarg2; result = (switch_status_t)switch_core_session_set_video_write_codec(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_video_write_codec(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_get_video_write_codec___(void * jarg1) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_codec_t *result = 0 ; @@ -15073,7 +15078,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_session_get_video_write_codec(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_db_open_file(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_open_file___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_core_db_t *result = 0 ; @@ -15085,7 +15090,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_db_open_file(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_persistant_execute(void * jarg1, char * jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_persistant_execute___(void * jarg1, char * jarg2, unsigned long jarg3) { int jresult ; switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; char *arg2 = (char *) 0 ; @@ -15096,12 +15101,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_persistant_execute(void * jarg1 arg2 = (char *)jarg2; arg3 = (uint32_t)jarg3; result = (switch_status_t)switch_core_db_persistant_execute(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_persistant_execute_trans(void * jarg1, char * jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_persistant_execute_trans___(void * jarg1, char * jarg2, unsigned long jarg3) { int jresult ; switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; char *arg2 = (char *) 0 ; @@ -15112,12 +15117,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_persistant_execute_trans(void * arg2 = (char *)jarg2; arg3 = (uint32_t)jarg3; result = (switch_status_t)switch_core_db_persistant_execute_trans(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_db_test_reactive(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_db_test_reactive___(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -15131,7 +15136,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_db_test_reactive(void * jarg1, ch } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_perform_file_open(char * jarg1, char * jarg2, int jarg3, void * jarg4, char * jarg5, unsigned long jarg6, unsigned long jarg7, unsigned int jarg8, void * jarg9) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_perform_file_open___(char * jarg1, char * jarg2, int jarg3, void * jarg4, char * jarg5, unsigned long jarg6, unsigned long jarg7, unsigned int jarg8, void * jarg9) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -15154,12 +15159,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_perform_file_open(char * jarg1, ch arg8 = (unsigned int)jarg8; arg9 = (switch_memory_pool_t *)jarg9; result = (switch_status_t)switch_core_perform_file_open((char const *)arg1,(char const *)arg2,arg3,arg4,(char const *)arg5,arg6,arg7,arg8,arg9); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_read(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_file_read___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; void *arg2 = (void *) 0 ; @@ -15170,12 +15175,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_read(void * jarg1, void * jar arg2 = (void *)jarg2; arg3 = (switch_size_t *)jarg3; result = (switch_status_t)switch_core_file_read(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_write(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_file_write___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; void *arg2 = (void *) 0 ; @@ -15186,12 +15191,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_write(void * jarg1, void * ja arg2 = (void *)jarg2; arg3 = (switch_size_t *)jarg3; result = (switch_status_t)switch_core_file_write(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_write_video(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_file_write_video___(void * jarg1, void * jarg2) { int jresult ; switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -15200,12 +15205,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_write_video(void * jarg1, voi arg1 = (switch_file_handle_t *)jarg1; arg2 = (switch_frame_t *)jarg2; result = (switch_status_t)switch_core_file_write_video(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_read_video(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_file_read_video___(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -15216,12 +15221,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_read_video(void * jarg1, void arg2 = (switch_frame_t *)jarg2; arg3 = (switch_video_read_flag_t)jarg3; result = (switch_status_t)switch_core_file_read_video(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_seek(void * jarg1, void * jarg2, long long jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_file_seek___(void * jarg1, void * jarg2, long long jarg3, int jarg4) { int jresult ; switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; unsigned int *arg2 = (unsigned int *) 0 ; @@ -15234,12 +15239,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_seek(void * jarg1, void * jar arg3 = (int64_t)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_core_file_seek(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_set_string(void * jarg1, int jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_file_set_string___(void * jarg1, int jarg2, char * jarg3) { int jresult ; switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; switch_audio_col_t arg2 ; @@ -15250,12 +15255,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_set_string(void * jarg1, int arg2 = (switch_audio_col_t)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_core_file_set_string(arg1,arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_get_string(void * jarg1, int jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_file_get_string___(void * jarg1, int jarg2, void * jarg3) { int jresult ; switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; switch_audio_col_t arg2 ; @@ -15266,24 +15271,36 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_get_string(void * jarg1, int arg2 = (switch_audio_col_t)jarg2; arg3 = (char **)jarg3; result = (switch_status_t)switch_core_file_get_string(arg1,arg2,(char const **)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_close(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_file_pre_close___(void * jarg1) { + int jresult ; + switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; + switch_status_t result; + + arg1 = (switch_file_handle_t *)jarg1; + result = (switch_status_t)switch_core_file_pre_close(arg1); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_file_close___(void * jarg1) { int jresult ; switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; switch_status_t result; arg1 = (switch_file_handle_t *)jarg1; result = (switch_status_t)switch_core_file_close(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_command(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_file_command___(void * jarg1, int jarg2) { int jresult ; switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; switch_file_command_t arg2 ; @@ -15292,12 +15309,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_command(void * jarg1, int jar arg1 = (switch_file_handle_t *)jarg1; arg2 = (switch_file_command_t)jarg2; result = (switch_status_t)switch_core_file_command(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_truncate(void * jarg1, long long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_file_truncate___(void * jarg1, long long jarg2) { int jresult ; switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; int64_t arg2 ; @@ -15306,12 +15323,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_truncate(void * jarg1, long l arg1 = (switch_file_handle_t *)jarg1; arg2 = (int64_t)jarg2; result = (switch_status_t)switch_core_file_truncate(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_has_video(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_file_has_video___(void * jarg1, int jarg2) { int jresult ; switch_file_handle_t *arg1 = (switch_file_handle_t *) 0 ; switch_bool_t arg2 ; @@ -15320,12 +15337,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_file_has_video(void * jarg1, int j arg1 = (switch_file_handle_t *)jarg1; arg2 = (switch_bool_t)jarg2; result = (switch_bool_t)switch_core_file_has_video(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_open(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4, unsigned int jarg5, unsigned int jarg6, void * jarg7, void * jarg8) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_speech_open___(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4, unsigned int jarg5, unsigned int jarg6, void * jarg7, void * jarg8) { int jresult ; switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -15346,12 +15363,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_open(void * jarg1, char * j arg7 = (switch_speech_flag_t *)jarg7; arg8 = (switch_memory_pool_t *)jarg8; result = (switch_status_t)switch_core_speech_open(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_feed_tts(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_speech_feed_tts___(void * jarg1, char * jarg2, void * jarg3) { int jresult ; switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -15362,12 +15379,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_feed_tts(void * jarg1, char arg2 = (char *)jarg2; arg3 = (switch_speech_flag_t *)jarg3; result = (switch_status_t)switch_core_speech_feed_tts(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_speech_flush_tts(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_speech_flush_tts___(void * jarg1) { switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; arg1 = (switch_speech_handle_t *)jarg1; @@ -15375,7 +15392,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_speech_flush_tts(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_speech_text_param_tts(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_speech_text_param_tts___(void * jarg1, char * jarg2, char * jarg3) { switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -15387,7 +15404,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_speech_text_param_tts(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_speech_numeric_param_tts(void * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_speech_numeric_param_tts___(void * jarg1, char * jarg2, int jarg3) { switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; @@ -15399,7 +15416,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_speech_numeric_param_tts(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_speech_float_param_tts(void * jarg1, char * jarg2, double jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_speech_float_param_tts___(void * jarg1, char * jarg2, double jarg3) { switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; char *arg2 = (char *) 0 ; double arg3 ; @@ -15411,7 +15428,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_speech_float_param_tts(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_read_tts(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_speech_read_tts___(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { int jresult ; switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; void *arg2 = (void *) 0 ; @@ -15424,12 +15441,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_read_tts(void * jarg1, void arg3 = (switch_size_t *)jarg3; arg4 = (switch_speech_flag_t *)jarg4; result = (switch_status_t)switch_core_speech_read_tts(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_close(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_speech_close___(void * jarg1, void * jarg2) { int jresult ; switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ; switch_speech_flag_t *arg2 = (switch_speech_flag_t *) 0 ; @@ -15438,12 +15455,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_close(void * jarg1, void * arg1 = (switch_speech_handle_t *)jarg1; arg2 = (switch_speech_flag_t *)jarg2; result = (switch_status_t)switch_core_speech_close(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_open(void * jarg1, char * jarg2, char * jarg3, int jarg4, char * jarg5, void * jarg6, void * jarg7) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_open___(void * jarg1, char * jarg2, char * jarg3, int jarg4, char * jarg5, void * jarg6, void * jarg7) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -15462,12 +15479,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_open(void * jarg1, char * jarg arg6 = (switch_asr_flag_t *)jarg6; arg7 = (switch_memory_pool_t *)jarg7; result = (switch_status_t)switch_core_asr_open(arg1,(char const *)arg2,(char const *)arg3,arg4,(char const *)arg5,arg6,arg7); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_close(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_close___(void * jarg1, void * jarg2) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; switch_asr_flag_t *arg2 = (switch_asr_flag_t *) 0 ; @@ -15476,12 +15493,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_close(void * jarg1, void * jar arg1 = (switch_asr_handle_t *)jarg1; arg2 = (switch_asr_flag_t *)jarg2; result = (switch_status_t)switch_core_asr_close(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_feed(void * jarg1, void * jarg2, unsigned int jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_feed___(void * jarg1, void * jarg2, unsigned int jarg3, void * jarg4) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; void *arg2 = (void *) 0 ; @@ -15494,12 +15511,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_feed(void * jarg1, void * jarg arg3 = (unsigned int)jarg3; arg4 = (switch_asr_flag_t *)jarg4; result = (switch_status_t)switch_core_asr_feed(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_feed_dtmf(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_feed_dtmf___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; @@ -15510,12 +15527,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_feed_dtmf(void * jarg1, void * arg2 = (switch_dtmf_t *)jarg2; arg3 = (switch_asr_flag_t *)jarg3; result = (switch_status_t)switch_core_asr_feed_dtmf(arg1,(switch_dtmf_t const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_check_results(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_check_results___(void * jarg1, void * jarg2) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; switch_asr_flag_t *arg2 = (switch_asr_flag_t *) 0 ; @@ -15524,12 +15541,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_check_results(void * jarg1, vo arg1 = (switch_asr_handle_t *)jarg1; arg2 = (switch_asr_flag_t *)jarg2; result = (switch_status_t)switch_core_asr_check_results(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_get_results(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_get_results___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; char **arg2 = (char **) 0 ; @@ -15540,12 +15557,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_get_results(void * jarg1, void arg2 = (char **)jarg2; arg3 = (switch_asr_flag_t *)jarg3; result = (switch_status_t)switch_core_asr_get_results(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_get_result_headers(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_get_result_headers___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; switch_event_t **arg2 = (switch_event_t **) 0 ; @@ -15556,12 +15573,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_get_result_headers(void * jarg arg2 = (switch_event_t **)jarg2; arg3 = (switch_asr_flag_t *)jarg3; result = (switch_status_t)switch_core_asr_get_result_headers(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_load_grammar(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_load_grammar___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -15572,12 +15589,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_load_grammar(void * jarg1, cha arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_core_asr_load_grammar(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_unload_grammar(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_unload_grammar___(void * jarg1, char * jarg2) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -15586,12 +15603,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_unload_grammar(void * jarg1, c arg1 = (switch_asr_handle_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_core_asr_unload_grammar(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_enable_grammar(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_enable_grammar___(void * jarg1, char * jarg2) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -15600,12 +15617,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_enable_grammar(void * jarg1, c arg1 = (switch_asr_handle_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_core_asr_enable_grammar(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_disable_grammar(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_disable_grammar___(void * jarg1, char * jarg2) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -15614,60 +15631,60 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_disable_grammar(void * jarg1, arg1 = (switch_asr_handle_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_core_asr_disable_grammar(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_disable_all_grammars(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_disable_all_grammars___(void * jarg1) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; switch_status_t result; arg1 = (switch_asr_handle_t *)jarg1; result = (switch_status_t)switch_core_asr_disable_all_grammars(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_pause(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_pause___(void * jarg1) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; switch_status_t result; arg1 = (switch_asr_handle_t *)jarg1; result = (switch_status_t)switch_core_asr_pause(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_resume(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_resume___(void * jarg1) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; switch_status_t result; arg1 = (switch_asr_handle_t *)jarg1; result = (switch_status_t)switch_core_asr_resume(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_asr_start_input_timers(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_start_input_timers___(void * jarg1) { int jresult ; switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; switch_status_t result; arg1 = (switch_asr_handle_t *)jarg1; result = (switch_status_t)switch_core_asr_start_input_timers(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_asr_text_param(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_text_param___(void * jarg1, char * jarg2, char * jarg3) { switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -15679,7 +15696,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_asr_text_param(void * jarg1, char } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_asr_numeric_param(void * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_numeric_param___(void * jarg1, char * jarg2, int jarg3) { switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; @@ -15691,7 +15708,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_asr_numeric_param(void * jarg1, c } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_asr_float_param(void * jarg1, char * jarg2, double jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_asr_float_param___(void * jarg1, char * jarg2, double jarg3) { switch_asr_handle_t *arg1 = (switch_asr_handle_t *) 0 ; char *arg2 = (char *) 0 ; double arg3 ; @@ -15703,7 +15720,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_asr_float_param(void * jarg1, cha } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_open(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, void * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_directory_open___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, void * jarg6) { int jresult ; switch_directory_handle_t *arg1 = (switch_directory_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -15720,12 +15737,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_open(void * jarg1, char arg5 = (char *)jarg5; arg6 = (switch_memory_pool_t *)jarg6; result = (switch_status_t)switch_core_directory_open(arg1,arg2,arg3,arg4,arg5,arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_query(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_directory_query___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_directory_handle_t *arg1 = (switch_directory_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -15736,24 +15753,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_query(void * jarg1, char arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_core_directory_query(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_next(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_directory_next___(void * jarg1) { int jresult ; switch_directory_handle_t *arg1 = (switch_directory_handle_t *) 0 ; switch_status_t result; arg1 = (switch_directory_handle_t *)jarg1; result = (switch_status_t)switch_core_directory_next(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_next_pair(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_directory_next_pair___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_directory_handle_t *arg1 = (switch_directory_handle_t *) 0 ; char **arg2 = (char **) 0 ; @@ -15764,24 +15781,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_next_pair(void * jarg1, arg2 = (char **)jarg2; arg3 = (char **)jarg3; result = (switch_status_t)switch_core_directory_next_pair(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_directory_close(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_directory_close___(void * jarg1) { int jresult ; switch_directory_handle_t *arg1 = (switch_directory_handle_t *) 0 ; switch_status_t result; arg1 = (switch_directory_handle_t *)jarg1; result = (switch_status_t)switch_core_directory_close(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_data_channel(int jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_data_channel___(int jarg1) { void * jresult ; switch_text_channel_t arg1 ; FILE *result = 0 ; @@ -15793,47 +15810,47 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_data_channel(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_ready() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_ready___() { int jresult ; switch_bool_t result; result = (switch_bool_t)switch_core_ready(); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_running() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_running___() { int jresult ; switch_bool_t result; result = (switch_bool_t)switch_core_running(); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_ready_inbound() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_ready_inbound___() { int jresult ; switch_bool_t result; result = (switch_bool_t)switch_core_ready_inbound(); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_ready_outbound() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_ready_outbound___() { int jresult ; switch_bool_t result; result = (switch_bool_t)switch_core_ready_outbound(); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_flags() { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_flags___() { unsigned long jresult ; switch_core_flag_t result; @@ -15843,7 +15860,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_flags() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_management_exec(char * jarg1, int jarg2, char * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_management_exec___(char * jarg1, int jarg2, char * jarg3, void * jarg4) { int jresult ; char *arg1 = (char *) 0 ; switch_management_action_t arg2 ; @@ -15862,12 +15879,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_management_exec(char * jarg1, int } arg4 = *argp4; result = (switch_status_t)switch_core_management_exec(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_set_process_privileges() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_set_process_privileges___() { int jresult ; int32_t result; @@ -15877,7 +15894,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_set_process_privileges() { } -SWIGEXPORT int SWIGSTDCALL CSharp_set_normal_priority() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_set_normal_priority___() { int jresult ; int32_t result; @@ -15887,7 +15904,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_set_normal_priority() { } -SWIGEXPORT int SWIGSTDCALL CSharp_set_auto_priority() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_set_auto_priority___() { int jresult ; int32_t result; @@ -15897,7 +15914,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_set_auto_priority() { } -SWIGEXPORT int SWIGSTDCALL CSharp_set_realtime_priority() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_set_realtime_priority___() { int jresult ; int32_t result; @@ -15907,7 +15924,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_set_realtime_priority() { } -SWIGEXPORT int SWIGSTDCALL CSharp_set_low_priority() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_set_low_priority___() { int jresult ; int32_t result; @@ -15917,7 +15934,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_set_low_priority() { } -SWIGEXPORT int SWIGSTDCALL CSharp_change_user_group(char * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_change_user_group___(char * jarg1, char * jarg2) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -15931,7 +15948,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_change_user_group(char * jarg1, char * jarg2) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_runtime_loop(int jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_runtime_loop___(int jarg1) { int arg1 ; arg1 = (int)jarg1; @@ -15939,19 +15956,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_runtime_loop(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_set_console(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_set_console___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_status_t result; arg1 = (char *)jarg1; result = (switch_status_t)switch_core_set_console((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_measure_time(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_measure_time___(void * jarg1, void * jarg2) { switch_time_t arg1 ; switch_core_time_duration_t *arg2 = (switch_core_time_duration_t *) 0 ; switch_time_t *argp1 ; @@ -15967,7 +15984,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_measure_time(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_uptime() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_uptime___() { void * jresult ; switch_time_t result; @@ -15977,7 +15994,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_uptime() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_ctl(int jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_ctl___(int jarg1, void * jarg2) { int jresult ; switch_session_ctl_t arg1 ; void *arg2 = (void *) 0 ; @@ -15991,7 +16008,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_ctl(int jarg1, void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_get_console() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_console___() { void * jresult ; FILE *result = 0 ; @@ -16001,12 +16018,12 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_get_console() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_set_globals() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_set_globals___() { switch_core_set_globals(); } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_core_session_compare(void * jarg1, void * jarg2) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_compare___(void * jarg1, void * jarg2) { unsigned char jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -16020,7 +16037,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_core_session_compare(void * j } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_core_session_check_interface(void * jarg1, void * jarg2) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_check_interface___(void * jarg1, void * jarg2) { unsigned char jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_endpoint_interface_t *arg2 = (switch_endpoint_interface_t *) 0 ; @@ -16034,7 +16051,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_core_session_check_interface( } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_read_callback(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_set_video_read_callback___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_video_thread_callback_func_t arg2 = (switch_core_video_thread_callback_func_t) 0 ; @@ -16045,12 +16062,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_set_video_read_callback(vo arg2 = (switch_core_video_thread_callback_func_t)jarg2; arg3 = (void *)jarg3; result = (switch_status_t)switch_core_session_set_video_read_callback(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_video_read_callback(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_video_read_callback___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -16059,12 +16076,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_video_read_callback(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_frame_t *)jarg2; result = (switch_status_t)switch_core_session_video_read_callback(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_mime_index() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_mime_index___() { void * jresult ; switch_hash_index_t *result = 0 ; @@ -16074,7 +16091,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_mime_index() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_mime_ext2type(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_mime_ext2type___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -16086,7 +16103,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_mime_ext2type(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_mime_type2ext(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_mime_type2ext___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -16098,7 +16115,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_mime_type2ext(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_mime_add_type(char * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_mime_add_type___(char * jarg1, char * jarg2) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -16107,12 +16124,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_mime_add_type(char * jarg1, char * arg1 = (char *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_core_mime_add_type((char const *)arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_create_module_interface(void * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_create_module_interface___(void * jarg1, char * jarg2) { void * jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; char *arg2 = (char *) 0 ; @@ -16126,7 +16143,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_create_module_interf } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_create_interface(void * jarg1, int jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_create_interface___(void * jarg1, int jarg2) { void * jresult ; switch_loadable_module_interface_t *arg1 = (switch_loadable_module_interface_t *) 0 ; switch_module_interface_name_t arg2 ; @@ -16140,7 +16157,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_create_interface(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_micro_time_now() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_micro_time_now___() { void * jresult ; switch_time_t result; @@ -16150,7 +16167,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_micro_time_now() { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_mono_micro_time_now() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mono_micro_time_now___() { void * jresult ; switch_time_t result; @@ -16160,32 +16177,32 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_mono_micro_time_now() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_reclaim() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_memory_reclaim___() { switch_core_memory_reclaim(); } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_reclaim_events() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_memory_reclaim_events___() { switch_core_memory_reclaim_events(); } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_reclaim_logger() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_memory_reclaim_logger___() { switch_core_memory_reclaim_logger(); } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_memory_reclaim_all() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_memory_reclaim_all___() { switch_core_memory_reclaim_all(); } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_setrlimits() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_setrlimits___() { switch_core_setrlimits(); } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_time_ref() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_time_ref___() { void * jresult ; switch_time_t result; @@ -16195,12 +16212,12 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_time_ref() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_sync() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_time_sync___() { switch_time_sync(); } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_epoch_time_now(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_epoch_time_now___(void * jarg1) { void * jresult ; time_t *arg1 = (time_t *) 0 ; time_t result; @@ -16212,7 +16229,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_epoch_time_now(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_lookup_timezone(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_lookup_timezone___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -16224,7 +16241,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_lookup_timezone(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_strftime_tz(char * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_strftime_tz___(char * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, void * jarg5) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -16245,12 +16262,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_strftime_tz(char * jarg1, char * jarg2, } arg5 = *argp5; result = (switch_status_t)switch_strftime_tz((char const *)arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_time_exp_tz_name(char * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_time_exp_tz_name___(char * jarg1, void * jarg2, void * jarg3) { int jresult ; char *arg1 = (char *) 0 ; switch_time_exp_t *arg2 = (switch_time_exp_t *) 0 ; @@ -16267,12 +16284,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_time_exp_tz_name(char * jarg1, void * j } arg3 = *argp3; result = (switch_status_t)switch_time_exp_tz_name((char const *)arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_load_network_lists(int jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_load_network_lists___(int jarg1) { switch_bool_t arg1 ; arg1 = (switch_bool_t)jarg1; @@ -16280,7 +16297,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_load_network_lists(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_check_network_list_ip_token(char * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_check_network_list_ip_token___(char * jarg1, char * jarg2, void * jarg3) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -16291,12 +16308,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_check_network_list_ip_token(char * jarg arg2 = (char *)jarg2; arg3 = (char **)jarg3; result = (switch_bool_t)switch_check_network_list_ip_token((char const *)arg1,(char const *)arg2,(char const **)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_monotonic(int jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_time_set_monotonic___(int jarg1) { switch_bool_t arg1 ; arg1 = (switch_bool_t)jarg1; @@ -16304,7 +16321,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_monotonic(int jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_timerfd(int jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_time_set_timerfd___(int jarg1) { int arg1 ; arg1 = (int)jarg1; @@ -16312,7 +16329,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_timerfd(int jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_nanosleep(int jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_time_set_nanosleep___(int jarg1) { switch_bool_t arg1 ; arg1 = (switch_bool_t)jarg1; @@ -16320,7 +16337,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_nanosleep(int jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_matrix(int jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_time_set_matrix___(int jarg1) { switch_bool_t arg1 ; arg1 = (switch_bool_t)jarg1; @@ -16328,7 +16345,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_matrix(int jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_cond_yield(int jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_time_set_cond_yield___(int jarg1) { switch_bool_t arg1 ; arg1 = (switch_bool_t)jarg1; @@ -16336,7 +16353,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_cond_yield(int jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_use_system_time(int jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_time_set_use_system_time___(int jarg1) { switch_bool_t arg1 ; arg1 = (switch_bool_t)jarg1; @@ -16344,7 +16361,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_time_set_use_system_time(int jarg1) { } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_min_dtmf_duration(unsigned long jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_min_dtmf_duration___(unsigned long jarg1) { unsigned long jresult ; uint32_t arg1 ; uint32_t result; @@ -16356,7 +16373,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_min_dtmf_duration(unsign } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_max_dtmf_duration(unsigned long jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_max_dtmf_duration___(unsigned long jarg1) { unsigned long jresult ; uint32_t arg1 ; uint32_t result; @@ -16368,7 +16385,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_max_dtmf_duration(unsign } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_core_min_idle_cpu(double jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_min_idle_cpu___(double jarg1) { double jresult ; double arg1 ; double result; @@ -16380,7 +16397,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_core_min_idle_cpu(double jarg1) { } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_core_idle_cpu() { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_idle_cpu___() { double jresult ; double result; @@ -16390,7 +16407,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_core_idle_cpu() { } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_default_dtmf_duration(unsigned long jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_default_dtmf_duration___(unsigned long jarg1) { unsigned long jresult ; uint32_t arg1 ; uint32_t result; @@ -16402,31 +16419,31 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_default_dtmf_duration(un } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_set_complete(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_set_complete___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_status_t result; arg1 = (char *)jarg1; result = (switch_status_t)switch_console_set_complete((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_set_alias(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_set_alias___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_status_t result; arg1 = (char *)jarg1; result = (switch_status_t)switch_console_set_alias((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_system(char * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_system___(char * jarg1, int jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_bool_t arg2 ; @@ -16440,7 +16457,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_system(char * jarg1, int jarg2) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_stream_system(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_system___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_stream_handle_t *arg2 = (switch_stream_handle_t *) 0 ; @@ -16454,7 +16471,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_stream_system(char * jarg1, void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cond_yield(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cond_yield___(void * jarg1) { switch_interval_time_t arg1 ; switch_interval_time_t *argp1 ; @@ -16468,12 +16485,12 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cond_yield(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cond_next() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cond_next___() { switch_cond_next(); } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send_args(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, int jarg9) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_chat_send_args___(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, int jarg9) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -16496,12 +16513,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send_args(char * jarg1, char arg8 = (char *)jarg8; arg9 = (switch_bool_t)jarg9; result = (switch_status_t)switch_core_chat_send_args((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,arg9); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_chat_send___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -16510,12 +16527,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_send(char * jarg1, void * jar arg1 = (char *)jarg1; arg2 = (switch_event_t *)jarg2; result = (switch_status_t)switch_core_chat_send((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_deliver(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_chat_deliver___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_event_t **arg2 = (switch_event_t **) 0 ; @@ -16524,12 +16541,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_chat_deliver(char * jarg1, void * arg1 = (char *)jarg1; arg2 = (switch_event_t **)jarg2; result = (switch_status_t)switch_core_chat_deliver((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_preprocess_session(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_preprocess_session___(void * jarg1, char * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -16538,22 +16555,22 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_preprocess_session(void * jarg1, ch arg1 = (switch_core_session_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_ivr_preprocess_session(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_sqldb_pause() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_sqldb_pause___() { switch_core_sqldb_pause(); } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_sqldb_resume() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_sqldb_resume___() { switch_core_sqldb_resume(); } -SWIGEXPORT int SWIGSTDCALL CSharp_CACHE_DB_LEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CACHE_DB_LEN_get___() { int jresult ; int result; @@ -16563,7 +16580,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CACHE_DB_LEN_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_core_db_dbh_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_native_handle_t_core_db_dbh_set___(void * jarg1, void * jarg2) { switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; switch_core_db_t *arg2 = (switch_core_db_t *) 0 ; @@ -16573,7 +16590,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_core_db_dbh_s } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_core_db_dbh_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_native_handle_t_core_db_dbh_get___(void * jarg1) { void * jresult ; switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; switch_core_db_t *result = 0 ; @@ -16585,7 +16602,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_core_db_dbh } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_odbc_dbh_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_native_handle_t_odbc_dbh_set___(void * jarg1, void * jarg2) { switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; switch_odbc_handle_t *arg2 = (switch_odbc_handle_t *) 0 ; @@ -16595,7 +16612,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_odbc_dbh_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_odbc_dbh_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_native_handle_t_odbc_dbh_get___(void * jarg1) { void * jresult ; switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; switch_odbc_handle_t *result = 0 ; @@ -16607,7 +16624,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_odbc_dbh_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_pgsql_dbh_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_native_handle_t_pgsql_dbh_set___(void * jarg1, void * jarg2) { switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; switch_pgsql_handle_t *arg2 = (switch_pgsql_handle_t *) 0 ; @@ -16617,7 +16634,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_pgsql_dbh_set } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_pgsql_dbh_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_native_handle_t_pgsql_dbh_get___(void * jarg1) { void * jresult ; switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; switch_pgsql_handle_t *result = 0 ; @@ -16629,7 +16646,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_native_handle_t_pgsql_dbh_g } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_native_handle_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_cache_db_native_handle_t___() { void * jresult ; switch_cache_db_native_handle_t *result = 0 ; @@ -16639,7 +16656,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_native_handle_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_native_handle_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_cache_db_native_handle_t___(void * jarg1) { switch_cache_db_native_handle_t *arg1 = (switch_cache_db_native_handle_t *) 0 ; arg1 = (switch_cache_db_native_handle_t *)jarg1; @@ -16647,7 +16664,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_native_handle_t(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_core_db_options_t_db_path_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_core_db_options_t_db_path_set___(void * jarg1, char * jarg2) { switch_cache_db_core_db_options_t *arg1 = (switch_cache_db_core_db_options_t *) 0 ; char *arg2 = (char *) 0 ; @@ -16665,7 +16682,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_core_db_options_t_db_path_set } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_core_db_options_t_db_path_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_core_db_options_t_db_path_get___(void * jarg1) { char * jresult ; switch_cache_db_core_db_options_t *arg1 = (switch_cache_db_core_db_options_t *) 0 ; char *result = 0 ; @@ -16677,7 +16694,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_core_db_options_t_db_path_g } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_core_db_options_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_cache_db_core_db_options_t___() { void * jresult ; switch_cache_db_core_db_options_t *result = 0 ; @@ -16687,7 +16704,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_core_db_options_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_core_db_options_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_cache_db_core_db_options_t___(void * jarg1) { switch_cache_db_core_db_options_t *arg1 = (switch_cache_db_core_db_options_t *) 0 ; arg1 = (switch_cache_db_core_db_options_t *)jarg1; @@ -16695,7 +16712,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_core_db_options_t(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_dsn_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_odbc_options_t_dsn_set___(void * jarg1, char * jarg2) { switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; char *arg2 = (char *) 0 ; @@ -16713,7 +16730,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_dsn_set(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_dsn_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_odbc_options_t_dsn_get___(void * jarg1) { char * jresult ; switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; char *result = 0 ; @@ -16725,7 +16742,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_dsn_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_user_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_odbc_options_t_user_set___(void * jarg1, char * jarg2) { switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; char *arg2 = (char *) 0 ; @@ -16743,7 +16760,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_user_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_user_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_odbc_options_t_user_get___(void * jarg1) { char * jresult ; switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; char *result = 0 ; @@ -16755,7 +16772,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_user_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_pass_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_odbc_options_t_pass_set___(void * jarg1, char * jarg2) { switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; char *arg2 = (char *) 0 ; @@ -16773,7 +16790,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_pass_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_pass_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_odbc_options_t_pass_get___(void * jarg1) { char * jresult ; switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; char *result = 0 ; @@ -16785,7 +16802,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_odbc_options_t_pass_get(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_odbc_options_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_cache_db_odbc_options_t___() { void * jresult ; switch_cache_db_odbc_options_t *result = 0 ; @@ -16795,7 +16812,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_odbc_options_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_odbc_options_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_cache_db_odbc_options_t___(void * jarg1) { switch_cache_db_odbc_options_t *arg1 = (switch_cache_db_odbc_options_t *) 0 ; arg1 = (switch_cache_db_odbc_options_t *)jarg1; @@ -16803,7 +16820,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_odbc_options_t(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_pgsql_options_t_dsn_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_pgsql_options_t_dsn_set___(void * jarg1, char * jarg2) { switch_cache_db_pgsql_options_t *arg1 = (switch_cache_db_pgsql_options_t *) 0 ; char *arg2 = (char *) 0 ; @@ -16821,7 +16838,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_pgsql_options_t_dsn_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_pgsql_options_t_dsn_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_pgsql_options_t_dsn_get___(void * jarg1) { char * jresult ; switch_cache_db_pgsql_options_t *arg1 = (switch_cache_db_pgsql_options_t *) 0 ; char *result = 0 ; @@ -16833,7 +16850,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_pgsql_options_t_dsn_get(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_pgsql_options_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_cache_db_pgsql_options_t___() { void * jresult ; switch_cache_db_pgsql_options_t *result = 0 ; @@ -16843,7 +16860,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_pgsql_options_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_pgsql_options_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_cache_db_pgsql_options_t___(void * jarg1) { switch_cache_db_pgsql_options_t *arg1 = (switch_cache_db_pgsql_options_t *) 0 ; arg1 = (switch_cache_db_pgsql_options_t *)jarg1; @@ -16851,7 +16868,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_pgsql_options_t(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_core_db_options_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_connection_options_t_core_db_options_set___(void * jarg1, void * jarg2) { switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; switch_cache_db_core_db_options_t *arg2 = (switch_cache_db_core_db_options_t *) 0 ; @@ -16861,7 +16878,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_core_db_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_core_db_options_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_connection_options_t_core_db_options_get___(void * jarg1) { void * jresult ; switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; switch_cache_db_core_db_options_t *result = 0 ; @@ -16873,7 +16890,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_core_d } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_odbc_options_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_connection_options_t_odbc_options_set___(void * jarg1, void * jarg2) { switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; switch_cache_db_odbc_options_t *arg2 = (switch_cache_db_odbc_options_t *) 0 ; @@ -16883,7 +16900,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_odbc_opt } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_odbc_options_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_connection_options_t_odbc_options_get___(void * jarg1) { void * jresult ; switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; switch_cache_db_odbc_options_t *result = 0 ; @@ -16895,7 +16912,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_odbc_o } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_pgsql_options_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_connection_options_t_pgsql_options_set___(void * jarg1, void * jarg2) { switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; switch_cache_db_pgsql_options_t *arg2 = (switch_cache_db_pgsql_options_t *) 0 ; @@ -16905,7 +16922,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_pgsql_op } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_pgsql_options_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_connection_options_t_pgsql_options_get___(void * jarg1) { void * jresult ; switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; switch_cache_db_pgsql_options_t *result = 0 ; @@ -16917,7 +16934,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_cache_db_connection_options_t_pgsql_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_connection_options_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_cache_db_connection_options_t___() { void * jresult ; switch_cache_db_connection_options_t *result = 0 ; @@ -16927,7 +16944,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cache_db_connection_options_t() } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_connection_options_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_cache_db_connection_options_t___(void * jarg1) { switch_cache_db_connection_options_t *arg1 = (switch_cache_db_connection_options_t *) 0 ; arg1 = (switch_cache_db_connection_options_t *)jarg1; @@ -16935,7 +16952,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cache_db_connection_options_t(v } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_type_name(int jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_type_name___(int jarg1) { char * jresult ; switch_cache_db_handle_type_t arg1 ; char *result = 0 ; @@ -16947,19 +16964,19 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_type_name(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_get_type(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_get_type___(void * jarg1) { int jresult ; switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; switch_cache_db_handle_type_t result; arg1 = (switch_cache_db_handle_t *)jarg1; result = (switch_cache_db_handle_type_t)switch_cache_db_get_type(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_dismiss_db_handle(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_dismiss_db_handle___(void * jarg1) { switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ; arg1 = (switch_cache_db_handle_t **)jarg1; @@ -16967,7 +16984,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_dismiss_db_handle(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_release_db_handle(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_release_db_handle___(void * jarg1) { switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ; arg1 = (switch_cache_db_handle_t **)jarg1; @@ -16975,7 +16992,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_release_db_handle(void * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp__switch_cache_db_get_db_handle(void * jarg1, int jarg2, void * jarg3, char * jarg4, char * jarg5, int jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative__switch_cache_db_get_db_handle___(void * jarg1, int jarg2, void * jarg3, char * jarg4, char * jarg5, int jarg6) { int jresult ; switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ; switch_cache_db_handle_type_t arg2 ; @@ -16992,12 +17009,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp__switch_cache_db_get_db_handle(void * jarg1, i arg5 = (char *)jarg5; arg6 = (int)jarg6; result = (switch_status_t)_switch_cache_db_get_db_handle(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp__switch_cache_db_get_db_handle_dsn(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative__switch_cache_db_get_db_handle_dsn___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5) { int jresult ; switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ; char *arg2 = (char *) 0 ; @@ -17012,12 +17029,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp__switch_cache_db_get_db_handle_dsn(void * jarg arg4 = (char *)jarg4; arg5 = (int)jarg5; result = (switch_status_t)_switch_cache_db_get_db_handle_dsn(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_create_schema(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_create_schema___(void * jarg1, char * jarg2, void * jarg3) { int jresult ; switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17028,12 +17045,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_create_schema(void * jarg1, ch arg2 = (char *)jarg2; arg3 = (char **)jarg3; result = (switch_status_t)switch_cache_db_create_schema(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_execute_sql2str(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, void * jarg5) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_execute_sql2str___(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, void * jarg5) { char * jresult ; switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17053,7 +17070,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cache_db_execute_sql2str(void * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_execute_sql___(void * jarg1, char * jarg2, void * jarg3) { int jresult ; switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17064,12 +17081,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql(void * jarg1, char arg2 = (char *)jarg2; arg3 = (char **)jarg3; result = (switch_status_t)switch_cache_db_execute_sql(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql_callback(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_execute_sql_callback___(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { int jresult ; switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17084,12 +17101,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql_callback(void * ja arg4 = (void *)jarg4; arg5 = (char **)jarg5; result = (switch_status_t)switch_cache_db_execute_sql_callback(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql_callback_err(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_execute_sql_callback_err___(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) { int jresult ; switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17106,12 +17123,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql_callback_err(void arg5 = (void *)jarg5; arg6 = (char **)jarg6; result = (switch_status_t)switch_cache_db_execute_sql_callback_err(arg1,(char const *)arg2,arg3,arg4,arg5,arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_affected_rows(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_affected_rows___(void * jarg1) { int jresult ; switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; int result; @@ -17123,7 +17140,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_affected_rows(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_load_extension(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_load_extension___(void * jarg1, char * jarg2) { int jresult ; switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17137,7 +17154,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_load_extension(void * jarg1, c } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_status(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_status___(void * jarg1) { switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ; arg1 = (switch_stream_handle_t *)jarg1; @@ -17145,7 +17162,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_status(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp__switch_core_db_handle(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative__switch_core_db_handle___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; switch_cache_db_handle_t **arg1 = (switch_cache_db_handle_t **) 0 ; char *arg2 = (char *) 0 ; @@ -17158,12 +17175,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp__switch_core_db_handle(void * jarg1, char * ja arg3 = (char *)jarg3; arg4 = (int)jarg4; result = (switch_status_t)_switch_core_db_handle(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_test_reactive(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_test_reactive___(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { int jresult ; switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17176,12 +17193,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_test_reactive(void * jarg1, ch arg3 = (char *)jarg3; arg4 = (char *)jarg4; result = (switch_bool_t)switch_cache_db_test_reactive(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_persistant_execute(void * jarg1, char * jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_persistant_execute___(void * jarg1, char * jarg2, unsigned long jarg3) { int jresult ; switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17192,12 +17209,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_persistant_execute(void * jarg arg2 = (char *)jarg2; arg3 = (uint32_t)jarg3; result = (switch_status_t)switch_cache_db_persistant_execute(arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_persistant_execute_trans_full(void * jarg1, char * jarg2, unsigned long jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_persistant_execute_trans_full___(void * jarg1, char * jarg2, unsigned long jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7) { int jresult ; switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17216,17 +17233,17 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_persistant_execute_trans_full( arg6 = (char *)jarg6; arg7 = (char *)jarg7; result = (switch_status_t)switch_cache_db_persistant_execute_trans_full(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_set_signal_handlers() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_set_signal_handlers___() { switch_core_set_signal_handlers(); } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_debug_level() { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_debug_level___() { unsigned long jresult ; uint32_t result; @@ -17236,7 +17253,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_debug_level() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_sps() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_sps___() { int jresult ; int32_t result; @@ -17246,7 +17263,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_sps() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_sps_last() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_sps_last___() { int jresult ; int32_t result; @@ -17256,7 +17273,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_sps_last() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_sps_peak() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_sps_peak___() { int jresult ; int32_t result; @@ -17266,7 +17283,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_sps_peak() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_sps_peak_fivemin() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_sps_peak_fivemin___() { int jresult ; int32_t result; @@ -17276,7 +17293,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_sps_peak_fivemin() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_sessions_peak() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_sessions_peak___() { int jresult ; int32_t result; @@ -17286,7 +17303,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_sessions_peak() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_sessions_peak_fivemin() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_sessions_peak_fivemin___() { int jresult ; int32_t result; @@ -17296,12 +17313,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_sessions_peak_fivemin() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cache_db_flush_handles() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_flush_handles___() { switch_cache_db_flush_handles(); } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_banner() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_banner___() { char * jresult ; char *result = 0 ; @@ -17311,19 +17328,19 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_banner() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_in_thread(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_in_thread___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_bool_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_bool_t)switch_core_session_in_thread(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_default_ptime(char * jarg1, unsigned long jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_default_ptime___(char * jarg1, unsigned long jarg2) { unsigned long jresult ; char *arg1 = (char *) 0 ; uint32_t arg2 ; @@ -17337,7 +17354,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_default_ptime(char * jarg1, u } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_default_rate(char * jarg1, unsigned long jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_default_rate___(char * jarg1, unsigned long jarg2) { unsigned long jresult ; char *arg1 = (char *) 0 ; uint32_t arg2 ; @@ -17351,7 +17368,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_default_rate(char * jarg1, un } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_add_registration(char * jarg1, char * jarg2, char * jarg3, char * jarg4, unsigned long jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_add_registration___(char * jarg1, char * jarg2, char * jarg3, char * jarg4, unsigned long jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -17374,12 +17391,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_add_registration(char * jarg1, cha arg8 = (char *)jarg8; arg9 = (char *)jarg9; result = (switch_status_t)switch_core_add_registration((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_del_registration(char * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_del_registration___(char * jarg1, char * jarg2, char * jarg3) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -17390,24 +17407,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_del_registration(char * jarg1, cha arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_core_del_registration((char const *)arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_expire_registration(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_expire_registration___(int jarg1) { int jresult ; int arg1 ; switch_status_t result; arg1 = (int)jarg1; result = (switch_status_t)switch_core_expire_registration(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_core_get_rtp_port_range_start_port() { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_rtp_port_range_start_port___() { unsigned short jresult ; uint16_t result; @@ -17417,7 +17434,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_core_get_rtp_port_range_star } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_core_get_rtp_port_range_end_port() { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_rtp_port_range_end_port___() { unsigned short jresult ; uint16_t result; @@ -17427,7 +17444,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_core_get_rtp_port_range_end_ } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_file_handle_get_variable(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_file_handle_get_variable___(void * jarg1, char * jarg2) { char * jresult ; switch_say_file_handle_t *arg1 = (switch_say_file_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17441,7 +17458,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_file_handle_get_variable(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_file_handle_get_path(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_file_handle_get_path___(void * jarg1) { char * jresult ; switch_say_file_handle_t *arg1 = (switch_say_file_handle_t *) 0 ; char *result = 0 ; @@ -17453,7 +17470,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_file_handle_get_path(void * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_file_handle_detach_path(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_file_handle_detach_path___(void * jarg1) { char * jresult ; switch_say_file_handle_t *arg1 = (switch_say_file_handle_t *) 0 ; char *result = 0 ; @@ -17465,7 +17482,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_file_handle_detach_path(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_file_handle_destroy(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_file_handle_destroy___(void * jarg1) { switch_say_file_handle_t **arg1 = (switch_say_file_handle_t **) 0 ; arg1 = (switch_say_file_handle_t **)jarg1; @@ -17473,7 +17490,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_file_handle_destroy(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_file_handle_create(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_file_handle_create___(void * jarg1, char * jarg2, void * jarg3) { int jresult ; switch_say_file_handle_t **arg1 = (switch_say_file_handle_t **) 0 ; char *arg2 = (char *) 0 ; @@ -17484,12 +17501,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_file_handle_create(void * jarg1, ch arg2 = (char *)jarg2; arg3 = (switch_event_t **)jarg3; result = (switch_status_t)switch_say_file_handle_create(arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_file(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_file___(void * jarg1, char * jarg2) { switch_say_file_handle_t *arg1 = (switch_say_file_handle_t *) 0 ; char *arg2 = (char *) 0 ; void *arg3 = 0 ; @@ -17500,7 +17517,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_file(void * jarg1, char * jarg2) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_max_file_desc() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_max_file_desc___() { int jresult ; int result; @@ -17510,7 +17527,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_max_file_desc() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_close_extra_files(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_close_extra_files___(void * jarg1, int jarg2) { int *arg1 = (int *) 0 ; int arg2 ; @@ -17520,24 +17537,24 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_close_extra_files(void * jarg1, int ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_thread_set_cpu_affinity(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_thread_set_cpu_affinity___(int jarg1) { int jresult ; int arg1 ; switch_status_t result; arg1 = (int)jarg1; result = (switch_status_t)switch_core_thread_set_cpu_affinity(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_os_yield() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_os_yield___() { switch_os_yield(); } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_get_stacksizes(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_stacksizes___(void * jarg1, void * jarg2) { int jresult ; switch_size_t *arg1 = (switch_size_t *) 0 ; switch_size_t *arg2 = (switch_size_t *) 0 ; @@ -17546,12 +17563,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_get_stacksizes(void * jarg1, void arg1 = (switch_size_t *)jarg1; arg2 = (switch_size_t *)jarg2; result = (switch_status_t)switch_core_get_stacksizes(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_gen_encoded_silence(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_gen_encoded_silence___(void * jarg1, void * jarg2, void * jarg3) { unsigned char *arg1 = (unsigned char *) 0 ; switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; switch_size_t arg3 ; @@ -17569,17 +17586,17 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_gen_encoded_silence(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_dbtype() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_dbtype___() { int jresult ; switch_cache_db_handle_type_t result; result = (switch_cache_db_handle_type_t)switch_core_dbtype(); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_sql_exec(char * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_sql_exec___(char * jarg1) { char *arg1 = (char *) 0 ; arg1 = (char *)jarg1; @@ -17587,7 +17604,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_sql_exec(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_recovery_recover(char * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_recovery_recover___(char * jarg1, char * jarg2) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -17601,7 +17618,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_recovery_recover(char * jarg1, cha } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_recovery_untrack(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_recovery_untrack___(void * jarg1, int jarg2) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_bool_t arg2 ; @@ -17611,7 +17628,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_recovery_untrack(void * jarg1, in } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_recovery_track(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_recovery_track___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -17619,7 +17636,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_recovery_track(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_recovery_flush(char * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_recovery_flush___(char * jarg1, char * jarg2) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -17629,7 +17646,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_recovery_flush(char * jarg1, char } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_pause(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_pause___(void * jarg1, int jarg2) { switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; switch_bool_t arg2 ; @@ -17639,7 +17656,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_pause(void * jarg1, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_resume(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_resume___(void * jarg1) { switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; arg1 = (switch_sql_queue_manager_t *)jarg1; @@ -17647,7 +17664,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_resume(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_size(void * jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_size___(void * jarg1, unsigned long jarg2) { int jresult ; switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; uint32_t arg2 ; @@ -17661,7 +17678,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_size(void * jarg1, un } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_push_confirm(void * jarg1, char * jarg2, unsigned long jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_push_confirm___(void * jarg1, char * jarg2, unsigned long jarg3, int jarg4) { int jresult ; switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17674,12 +17691,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_push_confirm(void * j arg3 = (uint32_t)jarg3; arg4 = (switch_bool_t)jarg4; result = (switch_status_t)switch_sql_queue_manager_push_confirm(arg1,(char const *)arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_push(void * jarg1, char * jarg2, unsigned long jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_push___(void * jarg1, char * jarg2, unsigned long jarg3, int jarg4) { int jresult ; switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17692,24 +17709,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_push(void * jarg1, ch arg3 = (uint32_t)jarg3; arg4 = (switch_bool_t)jarg4; result = (switch_status_t)switch_sql_queue_manager_push(arg1,(char const *)arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_destroy(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_destroy___(void * jarg1) { int jresult ; switch_sql_queue_manager_t **arg1 = (switch_sql_queue_manager_t **) 0 ; switch_status_t result; arg1 = (switch_sql_queue_manager_t **)jarg1; result = (switch_status_t)switch_sql_queue_manager_destroy(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_init_name(char * jarg1, void * jarg2, unsigned long jarg3, char * jarg4, unsigned long jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_init_name___(char * jarg1, void * jarg2, unsigned long jarg3, char * jarg4, unsigned long jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9) { int jresult ; char *arg1 = (char *) 0 ; switch_sql_queue_manager_t **arg2 = (switch_sql_queue_manager_t **) 0 ; @@ -17732,36 +17749,36 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_init_name(char * jarg arg8 = (char *)jarg8; arg9 = (char *)jarg9; result = (switch_status_t)switch_sql_queue_manager_init_name((char const *)arg1,arg2,arg3,(char const *)arg4,arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_start(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_start___(void * jarg1) { int jresult ; switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; switch_status_t result; arg1 = (switch_sql_queue_manager_t *)jarg1; result = (switch_status_t)switch_sql_queue_manager_start(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_sql_queue_manager_stop(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_stop___(void * jarg1) { int jresult ; switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; switch_status_t result; arg1 = (switch_sql_queue_manager_t *)jarg1; result = (switch_status_t)switch_sql_queue_manager_stop(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql_event_callback(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cache_db_execute_sql_event_callback___(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { int jresult ; switch_cache_db_handle_t *arg1 = (switch_cache_db_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17776,12 +17793,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cache_db_execute_sql_event_callback(voi arg4 = (void *)jarg4; arg5 = (char **)jarg5; result = (switch_status_t)switch_cache_db_execute_sql_event_callback(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_execute_sql_callback(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_execute_sql_callback___(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; char *arg2 = (char *) 0 ; switch_core_db_callback_func_t arg3 = (switch_core_db_callback_func_t) 0 ; @@ -17795,7 +17812,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_execute_sql_callback } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_execute_sql_callback_err(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_execute_sql_callback_err___(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; char *arg2 = (char *) 0 ; switch_core_db_callback_func_t arg3 = (switch_core_db_callback_func_t) 0 ; @@ -17811,7 +17828,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_execute_sql_callback } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_execute_sql_event_callback(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_execute_sql_event_callback___(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; char *arg2 = (char *) 0 ; switch_core_db_event_callback_func_t arg3 = (switch_core_db_event_callback_func_t) 0 ; @@ -17825,7 +17842,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_execute_sql_event_ca } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_execute_sql_event_callback_err(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sql_queue_manager_execute_sql_event_callback_err___(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { switch_sql_queue_manager_t *arg1 = (switch_sql_queue_manager_t *) 0 ; char *arg2 = (char *) 0 ; switch_core_db_event_callback_func_t arg3 = (switch_core_db_event_callback_func_t) 0 ; @@ -17841,7 +17858,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_sql_queue_manager_execute_sql_event_ca } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fork() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_fork___() { void * jresult ; pid_t result; @@ -17851,7 +17868,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fork() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_gen_certs(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_gen_certs___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; int result; @@ -17863,7 +17880,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_gen_certs(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_cert_gen_fingerprint(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_cert_gen_fingerprint___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; dtls_fingerprint_t *arg2 = (dtls_fingerprint_t *) 0 ; @@ -17877,7 +17894,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_cert_gen_fingerprint(char * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_cert_expand_fingerprint(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_cert_expand_fingerprint___(void * jarg1, char * jarg2) { int jresult ; dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; char *arg2 = (char *) 0 ; @@ -17891,7 +17908,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_cert_expand_fingerprint(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_cert_verify(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_cert_verify___(void * jarg1) { int jresult ; dtls_fingerprint_t *arg1 = (dtls_fingerprint_t *) 0 ; int result; @@ -17903,7 +17920,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_cert_verify(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp__switch_core_session_request_video_refresh(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative__switch_core_session_request_video_refresh___(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; int arg2 ; @@ -17918,24 +17935,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp__switch_core_session_request_video_refresh(voi arg4 = (char *)jarg4; arg5 = (int)jarg5; result = (switch_status_t)_switch_core_session_request_video_refresh(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_send_and_request_video_refresh(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_send_and_request_video_refresh___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_core_session_send_and_request_video_refresh(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_stream_system_fork(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_system_fork___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_stream_handle_t *arg2 = (switch_stream_handle_t *) 0 ; @@ -17949,7 +17966,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_stream_system_fork(char * jarg1, void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_debug_pool(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_debug_pool___(void * jarg1) { switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ; arg1 = (switch_stream_handle_t *)jarg1; @@ -17957,7 +17974,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_session_debug_pool(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_override_io_routines(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_override_io_routines___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_io_routines_t *arg2 = (switch_io_routines_t *) 0 ; @@ -17966,12 +17983,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_override_io_routines(void arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_io_routines_t *)jarg2; result = (switch_status_t)switch_core_session_override_io_routines(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_major() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_version_major___() { char * jresult ; char *result = 0 ; @@ -17981,7 +17998,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_major() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_minor() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_version_minor___() { char * jresult ; char *result = 0 ; @@ -17991,7 +18008,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_minor() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_micro() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_version_micro___() { char * jresult ; char *result = 0 ; @@ -18001,7 +18018,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_micro() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_revision() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_version_revision___() { char * jresult ; char *result = 0 ; @@ -18011,7 +18028,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_revision() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_revision_human() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_version_revision_human___() { char * jresult ; char *result = 0 ; @@ -18021,7 +18038,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_revision_human() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_full() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_version_full___() { char * jresult ; char *result = 0 ; @@ -18031,7 +18048,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_full() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_full_human() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_version_full_human___() { char * jresult ; char *result = 0 ; @@ -18041,24 +18058,24 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_version_full_human() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_autobind_cpu() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_autobind_cpu___() { switch_core_autobind_cpu(); } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_start_text_thread(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_start_text_thread___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_core_session_start_text_thread(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_module_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_module_name_set___(void * jarg1, char * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -18075,7 +18092,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_module_name_ } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_loadable_module_interface_module_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_module_name_get___(void * jarg1) { char * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; char *result = 0 ; @@ -18087,7 +18104,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_loadable_module_interface_module_nam } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_endpoint_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_endpoint_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_endpoint_interface_t *arg2 = (switch_endpoint_interface_t *) 0 ; @@ -18097,7 +18114,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_endpoint_int } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_endpoint_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_endpoint_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_endpoint_interface_t *result = 0 ; @@ -18109,7 +18126,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_endpoint_i } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_timer_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_timer_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_timer_interface_t *arg2 = (switch_timer_interface_t *) 0 ; @@ -18119,7 +18136,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_timer_interf } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_timer_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_timer_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_timer_interface_t *result = 0 ; @@ -18131,7 +18148,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_timer_inte } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_dialplan_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_dialplan_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_dialplan_interface_t *arg2 = (switch_dialplan_interface_t *) 0 ; @@ -18141,7 +18158,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_dialplan_int } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_dialplan_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_dialplan_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_dialplan_interface_t *result = 0 ; @@ -18153,7 +18170,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_dialplan_i } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_codec_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_codec_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_codec_interface_t *arg2 = (switch_codec_interface_t *) 0 ; @@ -18163,7 +18180,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_codec_interf } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_codec_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_codec_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_codec_interface_t *result = 0 ; @@ -18175,7 +18192,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_codec_inte } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_application_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_application_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_application_interface_t *arg2 = (switch_application_interface_t *) 0 ; @@ -18185,7 +18202,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_application_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_application_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_application_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_application_interface_t *result = 0 ; @@ -18197,7 +18214,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_applicatio } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_application_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_chat_application_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_chat_application_interface_t *arg2 = (switch_chat_application_interface_t *) 0 ; @@ -18207,7 +18224,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_applica } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_application_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_chat_application_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_chat_application_interface_t *result = 0 ; @@ -18219,7 +18236,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_appli } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_api_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_api_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_api_interface_t *arg2 = (switch_api_interface_t *) 0 ; @@ -18229,7 +18246,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_api_interfac } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_api_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_api_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_api_interface_t *result = 0 ; @@ -18241,7 +18258,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_api_interf } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_json_api_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_json_api_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_json_api_interface_t *arg2 = (switch_json_api_interface_t *) 0 ; @@ -18251,7 +18268,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_json_api_int } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_json_api_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_json_api_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_json_api_interface_t *result = 0 ; @@ -18263,7 +18280,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_json_api_i } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_file_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_file_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_file_interface_t *arg2 = (switch_file_interface_t *) 0 ; @@ -18273,7 +18290,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_file_interfa } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_file_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_file_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_file_interface_t *result = 0 ; @@ -18285,7 +18302,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_file_inter } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_speech_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_speech_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_speech_interface_t *arg2 = (switch_speech_interface_t *) 0 ; @@ -18295,7 +18312,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_speech_inter } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_speech_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_speech_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_speech_interface_t *result = 0 ; @@ -18307,7 +18324,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_speech_int } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_directory_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_directory_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_directory_interface_t *arg2 = (switch_directory_interface_t *) 0 ; @@ -18317,7 +18334,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_directory_in } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_directory_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_directory_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_directory_interface_t *result = 0 ; @@ -18329,7 +18346,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_directory_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_chat_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_chat_interface_t *arg2 = (switch_chat_interface_t *) 0 ; @@ -18339,7 +18356,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_interfa } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_chat_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_chat_interface_t *result = 0 ; @@ -18351,7 +18368,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_chat_inter } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_say_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_say_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_say_interface_t *arg2 = (switch_say_interface_t *) 0 ; @@ -18361,7 +18378,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_say_interfac } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_say_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_say_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_say_interface_t *result = 0 ; @@ -18373,7 +18390,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_say_interf } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_asr_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_asr_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_asr_interface_t *arg2 = (switch_asr_interface_t *) 0 ; @@ -18383,7 +18400,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_asr_interfac } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_asr_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_asr_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_asr_interface_t *result = 0 ; @@ -18395,7 +18412,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_asr_interf } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_management_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_management_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_management_interface_t *arg2 = (switch_management_interface_t *) 0 ; @@ -18405,7 +18422,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_management_i } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_management_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_management_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_management_interface_t *result = 0 ; @@ -18417,7 +18434,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_management } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_limit_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_limit_interface_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_limit_interface_t *arg2 = (switch_limit_interface_t *) 0 ; @@ -18427,7 +18444,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_limit_interf } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_limit_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_limit_interface_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_limit_interface_t *result = 0 ; @@ -18439,7 +18456,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_limit_inte } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -18449,7 +18466,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_rwlock_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -18461,7 +18478,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_rwlock_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_refs_set___(void * jarg1, int jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; int arg2 ; @@ -18471,7 +18488,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_refs_set(voi } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_refs_get___(void * jarg1) { int jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; int result; @@ -18483,7 +18500,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_interface_refs_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_pool_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_pool_set___(void * jarg1, void * jarg2) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -18493,7 +18510,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_interface_pool_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_pool_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_interface_pool_get___(void * jarg1) { void * jresult ; switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; switch_memory_pool_t *result = 0 ; @@ -18505,7 +18522,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_interface_pool_get(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_loadable_module_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_loadable_module_interface___() { void * jresult ; switch_loadable_module_interface *result = 0 ; @@ -18515,7 +18532,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_loadable_module_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_loadable_module_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_loadable_module_interface___(void * jarg1) { switch_loadable_module_interface *arg1 = (switch_loadable_module_interface *) 0 ; arg1 = (switch_loadable_module_interface *)jarg1; @@ -18523,24 +18540,24 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_loadable_module_interface(void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_init(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_init___(int jarg1) { int jresult ; switch_bool_t arg1 ; switch_status_t result; arg1 = (switch_bool_t)jarg1; result = (switch_status_t)switch_loadable_module_init(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_loadable_module_shutdown() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_shutdown___() { switch_loadable_module_shutdown(); } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_endpoint_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_endpoint_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_endpoint_interface_t *result = 0 ; @@ -18552,7 +18569,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_endpoint_interfa } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_codec_interface(char * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_codec_interface___(char * jarg1, char * jarg2) { void * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -18566,7 +18583,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_codec_interface( } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_parse_codec_buf(char * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6, void * jarg7) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_parse_codec_buf___(char * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6, void * jarg7) { char * jresult ; char *arg1 = (char *) 0 ; uint32_t *arg2 = (uint32_t *) 0 ; @@ -18590,7 +18607,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_parse_codec_buf(char * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_dialplan_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_dialplan_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_dialplan_interface_t *result = 0 ; @@ -18602,7 +18619,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_dialplan_interfa } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_enumerate_available(char * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_enumerate_available___(char * jarg1, void * jarg2, void * jarg3) { int jresult ; char *arg1 = (char *) 0 ; switch_modulename_callback_func_t arg2 = (switch_modulename_callback_func_t) 0 ; @@ -18613,12 +18630,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_enumerate_available(cha arg2 = (switch_modulename_callback_func_t)jarg2; arg3 = (void *)jarg3; result = (switch_status_t)switch_loadable_module_enumerate_available((char const *)arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_enumerate_loaded(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_enumerate_loaded___(void * jarg1, void * jarg2) { int jresult ; switch_modulename_callback_func_t arg1 = (switch_modulename_callback_func_t) 0 ; void *arg2 = (void *) 0 ; @@ -18627,12 +18644,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_enumerate_loaded(void * arg1 = (switch_modulename_callback_func_t)jarg1; arg2 = (void *)jarg2; result = (switch_status_t)switch_loadable_module_enumerate_loaded(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_build_dynamic(char * jarg1, void * jarg2, void * jarg3, void * jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_build_dynamic___(char * jarg1, void * jarg2, void * jarg3, void * jarg4, int jarg5) { int jresult ; char *arg1 = (char *) 0 ; switch_module_load_t arg2 = (switch_module_load_t) 0 ; @@ -18647,12 +18664,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_build_dynamic(char * ja arg4 = (switch_module_shutdown_t)jarg4; arg5 = (switch_bool_t)jarg5; result = (switch_status_t)switch_loadable_module_build_dynamic(arg1,arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_timer_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_timer_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_timer_interface_t *result = 0 ; @@ -18664,7 +18681,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_timer_interface( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_application_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_application_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_application_interface_t *result = 0 ; @@ -18676,7 +18693,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_application_inte } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_chat_application_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_chat_application_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_chat_application_interface_t *result = 0 ; @@ -18688,7 +18705,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_chat_application } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_execute_chat_app(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_execute_chat_app___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char *arg2 = (char *) 0 ; @@ -18699,12 +18716,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_execute_chat_app(void * jarg1, cha arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_core_execute_chat_app(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_api_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_api_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_api_interface_t *result = 0 ; @@ -18716,7 +18733,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_api_interface(ch } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_json_api_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_json_api_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_json_api_interface_t *result = 0 ; @@ -18728,7 +18745,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_json_api_interfa } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_file_interface(char * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_file_interface___(char * jarg1, char * jarg2) { void * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -18742,7 +18759,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_file_interface(c } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_speech_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_speech_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_speech_interface_t *result = 0 ; @@ -18754,7 +18771,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_speech_interface } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_asr_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_asr_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_asr_interface_t *result = 0 ; @@ -18766,7 +18783,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_asr_interface(ch } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_directory_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_directory_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_directory_interface_t *result = 0 ; @@ -18778,7 +18795,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_directory_interf } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_chat_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_chat_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_chat_interface_t *result = 0 ; @@ -18790,7 +18807,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_chat_interface(c } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_say_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_say_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_say_interface_t *result = 0 ; @@ -18802,7 +18819,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_say_interface(ch } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_management_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_management_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_management_interface_t *result = 0 ; @@ -18814,7 +18831,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_management_inter } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_limit_interface(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_limit_interface___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_limit_interface_t *result = 0 ; @@ -18826,7 +18843,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_loadable_module_get_limit_interface( } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_get_codecs(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_codecs___(void * jarg1, int jarg2) { int jresult ; switch_codec_implementation_t **arg1 = (switch_codec_implementation_t **) 0 ; int arg2 ; @@ -18840,7 +18857,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_get_codecs(void * jarg1 } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_get_codecs_sorted(void * jarg1, void * jarg2, int jarg3, void * jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_get_codecs_sorted___(void * jarg1, void * jarg2, int jarg3, void * jarg4, int jarg5) { int jresult ; switch_codec_implementation_t **arg1 = (switch_codec_implementation_t **) 0 ; char (*arg2)[256] ; @@ -18860,7 +18877,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_get_codecs_sorted(void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_api_execute(char * jarg1, char * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_execute___(char * jarg1, char * jarg2, void * jarg3, void * jarg4) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -18873,12 +18890,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_api_execute(char * jarg1, char * jarg2, arg3 = (switch_core_session_t *)jarg3; arg4 = (switch_stream_handle_t *)jarg4; result = (switch_status_t)switch_api_execute((char const *)arg1,(char const *)arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_json_api_execute(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_execute___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; cJSON *arg1 = (cJSON *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -18889,12 +18906,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_json_api_execute(void * jarg1, void * j arg2 = (switch_core_session_t *)jarg2; arg3 = (cJSON **)jarg3; result = (switch_status_t)switch_json_api_execute(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_load_module(char * jarg1, char * jarg2, int jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_load_module___(char * jarg1, char * jarg2, int jarg3, void * jarg4) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -18907,24 +18924,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_load_module(char * jarg arg3 = (switch_bool_t)jarg3; arg4 = (char **)jarg4; result = (switch_status_t)switch_loadable_module_load_module(arg1,arg2,arg3,(char const **)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_exists(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_exists___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_status_t result; arg1 = (char *)jarg1; result = (switch_status_t)switch_loadable_module_exists((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_unload_module(char * jarg1, char * jarg2, int jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_loadable_module_unload_module___(char * jarg1, char * jarg2, int jarg3, void * jarg4) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -18937,12 +18954,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_loadable_module_unload_module(char * ja arg3 = (switch_bool_t)jarg3; arg4 = (char **)jarg4; result = (switch_status_t)switch_loadable_module_unload_module(arg1,arg2,arg3,(char const **)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_codec_next_id() { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_next_id___() { unsigned long jresult ; uint32_t result; @@ -18952,7 +18969,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_core_codec_next_id() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_check_interval(unsigned long jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_check_interval___(unsigned long jarg1, unsigned long jarg2) { int jresult ; uint32_t arg1 ; uint32_t arg2 ; @@ -18966,7 +18983,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_check_interval(unsigned long jarg1, uns } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_codec_add_implementation(void * jarg1, void * jarg2, int jarg3, unsigned char jarg4, char * jarg5, char * jarg6, unsigned long jarg7, unsigned long jarg8, int jarg9, int jarg10, unsigned long jarg11, unsigned long jarg12, unsigned long jarg13, unsigned char jarg14, int jarg15, void * jarg16, void * jarg17, void * jarg18, void * jarg19) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_add_implementation___(void * jarg1, void * jarg2, int jarg3, unsigned char jarg4, char * jarg5, char * jarg6, unsigned long jarg7, unsigned long jarg8, int jarg9, int jarg10, unsigned long jarg11, unsigned long jarg12, unsigned long jarg13, unsigned char jarg14, int jarg15, void * jarg16, void * jarg17, void * jarg18, void * jarg19) { switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; switch_codec_interface_t *arg2 = (switch_codec_interface_t *) 0 ; switch_codec_type_t arg3 ; @@ -19010,7 +19027,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_codec_add_implementation(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_codec_add_video_implementation(void * jarg1, void * jarg2, unsigned char jarg3, char * jarg4, char * jarg5, void * jarg6, void * jarg7, void * jarg8, void * jarg9, void * jarg10) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_add_video_implementation___(void * jarg1, void * jarg2, unsigned char jarg3, char * jarg4, char * jarg5, void * jarg6, void * jarg7, void * jarg8, void * jarg9, void * jarg10) { switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; switch_codec_interface_t *arg2 = (switch_codec_interface_t *) 0 ; switch_payload_t arg3 ; @@ -19036,19 +19053,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_codec_add_video_implementation(vo } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_ready(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_codec_ready___(void * jarg1) { int jresult ; switch_codec_t *arg1 = (switch_codec_t *) 0 ; switch_bool_t result; arg1 = (switch_codec_t *)jarg1; result = (switch_bool_t)switch_core_codec_ready(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_get_secondary_recover_callback(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_get_secondary_recover_callback___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_core_recover_callback_t result; @@ -19060,7 +19077,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_get_secondary_recover_callback( } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_register_secondary_recover_callback(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_register_secondary_recover_callback___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_core_recover_callback_t arg2 = (switch_core_recover_callback_t) 0 ; @@ -19069,12 +19086,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_register_secondary_recover_callbac arg1 = (char *)jarg1; arg2 = (switch_core_recover_callback_t)jarg2; result = (switch_status_t)switch_core_register_secondary_recover_callback((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_unregister_secondary_recover_callback(char * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_unregister_secondary_recover_callback___(char * jarg1) { char *arg1 = (char *) 0 ; arg1 = (char *)jarg1; @@ -19082,7 +19099,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_unregister_secondary_recover_call } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CMD_CHUNK_LEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_CMD_CHUNK_LEN_get___() { int jresult ; int result; @@ -19092,12 +19109,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_CMD_CHUNK_LEN_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_loop() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_loop___() { switch_console_loop(); } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_stream_raw_write(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_stream_raw_write___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ; uint8_t *arg2 = (uint8_t *) 0 ; @@ -19114,12 +19131,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_stream_raw_write(void * jarg1, } arg3 = *argp3; result = (switch_status_t)switch_console_stream_raw_write(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_stream_write_file_contents(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_write_file_contents___(void * jarg1, char * jarg2) { int jresult ; switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ; char *arg2 = (char *) 0 ; @@ -19128,34 +19145,34 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_stream_write_file_contents(void * jarg1 arg1 = (switch_stream_handle_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_stream_write_file_contents(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_init(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_init___(void * jarg1) { int jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; switch_status_t result; arg1 = (switch_memory_pool_t *)jarg1; result = (switch_status_t)switch_console_init(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_shutdown() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_shutdown___() { int jresult ; switch_status_t result; result = (switch_status_t)switch_console_shutdown(); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_add_complete_func(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_add_complete_func___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_console_complete_callback_t arg2 = (switch_console_complete_callback_t) 0 ; @@ -19164,24 +19181,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_add_complete_func(char * jarg1, arg1 = (char *)jarg1; arg2 = (switch_console_complete_callback_t)jarg2; result = (switch_status_t)switch_console_add_complete_func((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_del_complete_func(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_del_complete_func___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_status_t result; arg1 = (char *)jarg1; result = (switch_status_t)switch_console_del_complete_func((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_run_complete_func(char * jarg1, char * jarg2, char * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_run_complete_func___(char * jarg1, char * jarg2, char * jarg3, void * jarg4) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -19194,12 +19211,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_run_complete_func(char * jarg1, arg3 = (char *)jarg3; arg4 = (switch_console_callback_match_t **)jarg4; result = (switch_status_t)switch_console_run_complete_func((char const *)arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_push_match_unique(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_push_match_unique___(void * jarg1, char * jarg2) { switch_console_callback_match_t **arg1 = (switch_console_callback_match_t **) 0 ; char *arg2 = (char *) 0 ; @@ -19209,7 +19226,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_push_match_unique(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_push_match(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_push_match___(void * jarg1, char * jarg2) { switch_console_callback_match_t **arg1 = (switch_console_callback_match_t **) 0 ; char *arg2 = (char *) 0 ; @@ -19219,7 +19236,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_push_match(void * jarg1, char } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_free_matches(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_free_matches___(void * jarg1) { switch_console_callback_match_t **arg1 = (switch_console_callback_match_t **) 0 ; arg1 = (switch_console_callback_match_t **)jarg1; @@ -19227,7 +19244,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_free_matches(void * jarg1) { } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_console_complete(char * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_complete___(char * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { unsigned char jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -19247,7 +19264,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_console_complete(char * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_sort_matches(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_sort_matches___(void * jarg1) { switch_console_callback_match_t *arg1 = (switch_console_callback_match_t *) 0 ; arg1 = (switch_console_callback_match_t *)jarg1; @@ -19255,12 +19272,12 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_sort_matches(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_console_save_history() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_save_history___() { switch_console_save_history(); } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_console_expand_alias(char * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_expand_alias___(char * jarg1, char * jarg2) { char * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -19274,7 +19291,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_console_expand_alias(char * jarg1, c } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_execute(char * jarg1, int jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_console_execute___(char * jarg1, int jarg2, void * jarg3) { int jresult ; char *arg1 = (char *) 0 ; int arg2 ; @@ -19285,12 +19302,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_console_execute(char * jarg1, int jarg2 arg2 = (int)jarg2; arg3 = (switch_stream_handle_t *)jarg3; result = (switch_status_t)switch_console_execute(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_URL_UNSAFE_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_URL_UNSAFE_get___() { char * jresult ; char *result = 0 ; @@ -19300,7 +19317,7 @@ result = (char *)("\r\n #%&+:;<=>?@[\\]^`{|}\""); } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_get_hex_bytes(void * jarg1, void * jarg2, char * jarg3, void * jarg4) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_get_hex_bytes___(void * jarg1, void * jarg2, char * jarg3, void * jarg4) { char * jresult ; switch_byte_t *arg1 = (switch_byte_t *) 0 ; switch_size_t arg2 ; @@ -19330,7 +19347,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_get_hex_bytes(void * jarg1, void * j } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_round_to_step(unsigned long jarg1, unsigned long jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_round_to_step___(unsigned long jarg1, unsigned long jarg2) { unsigned long jresult ; uint32_t arg1 ; uint32_t arg2 ; @@ -19344,7 +19361,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_round_to_step(unsigned long j } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_toupper(unsigned long jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_toupper___(unsigned long jarg1) { unsigned long jresult ; uint32_t arg1 ; uint32_t result; @@ -19356,7 +19373,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_toupper(unsigned long jarg1) } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_tolower(unsigned long jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_tolower___(unsigned long jarg1) { unsigned long jresult ; uint32_t arg1 ; uint32_t result; @@ -19368,7 +19385,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_tolower(unsigned long jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_toupper_max(char * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_toupper_max___(char * jarg1) { char *arg1 = (char *) 0 ; arg1 = (char *)jarg1; @@ -19376,7 +19393,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_toupper_max(char * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_tolower_max(char * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_tolower_max___(char * jarg1) { char *arg1 = (char *) 0 ; arg1 = (char *)jarg1; @@ -19384,7 +19401,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_tolower_max(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_old_switch_toupper(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_old_switch_toupper___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19396,7 +19413,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_old_switch_toupper(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_old_switch_tolower(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_old_switch_tolower___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19408,7 +19425,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_old_switch_tolower(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isalnum(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_isalnum___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19420,7 +19437,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_isalnum(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isalpha(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_isalpha___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19432,7 +19449,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_isalpha(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_iscntrl(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_iscntrl___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19444,7 +19461,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_iscntrl(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isdigit(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_isdigit___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19456,7 +19473,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_isdigit(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isgraph(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_isgraph___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19468,7 +19485,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_isgraph(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_islower(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_islower___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19480,7 +19497,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_islower(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isprint(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_isprint___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19492,7 +19509,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_isprint(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ispunct(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ispunct___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19504,7 +19521,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ispunct(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isspace(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_isspace___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19516,7 +19533,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_isspace(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isupper(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_isupper___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19528,7 +19545,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_isupper(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_isxdigit(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_isxdigit___(int jarg1) { int jresult ; int arg1 ; int result; @@ -19540,7 +19557,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_isxdigit(int jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_ip_t_v4_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_ip_t_v4_set___(void * jarg1, unsigned long jarg2) { ip_t *arg1 = (ip_t *) 0 ; uint32_t arg2 ; @@ -19550,7 +19567,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_ip_t_v4_set(void * jarg1, unsigned long jarg2 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_ip_t_v4_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_ip_t_v4_get___(void * jarg1) { unsigned long jresult ; ip_t *arg1 = (ip_t *) 0 ; uint32_t result; @@ -19562,7 +19579,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_ip_t_v4_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_ip_t_v6_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_ip_t_v6_set___(void * jarg1, void * jarg2) { ip_t *arg1 = (ip_t *) 0 ; in6_addr arg2 ; in6_addr *argp2 ; @@ -19578,7 +19595,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_ip_t_v6_set(void * jarg1, void * jarg2) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_ip_t_v6_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_ip_t_v6_get___(void * jarg1) { void * jresult ; ip_t *arg1 = (ip_t *) 0 ; in6_addr result; @@ -19590,7 +19607,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ip_t_v6_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_ip_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_ip_t___() { void * jresult ; ip_t *result = 0 ; @@ -19600,7 +19617,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_ip_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_ip_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_ip_t___(void * jarg1) { ip_t *arg1 = (ip_t *) 0 ; arg1 = (ip_t *)jarg1; @@ -19608,7 +19625,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_ip_t(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_testv6_subnet(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_testv6_subnet___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; ip_t arg1 ; ip_t arg2 ; @@ -19637,12 +19654,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_testv6_subnet(void * jarg1, void * jarg } arg3 = *argp3; result = (switch_bool_t)switch_testv6_subnet(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_print_host(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_print_host___(void * jarg1, char * jarg2, void * jarg3) { char * jresult ; switch_sockaddr_t *arg1 = (switch_sockaddr_t *) 0 ; char *arg2 = (char *) 0 ; @@ -19664,7 +19681,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_print_host(void * jarg1, char * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SMAX_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SMAX_get___() { int jresult ; int result; @@ -19674,7 +19691,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SMAX_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SMIN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_SMIN_get___() { int jresult ; int result; @@ -19684,7 +19701,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_SMIN_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp__zstr(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative__zstr___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; int result; @@ -19696,19 +19713,19 @@ SWIGEXPORT int SWIGSTDCALL CSharp__zstr(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_moh(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_is_moh___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_bool_t result; arg1 = (char *)jarg1; result = (switch_bool_t)switch_is_moh((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strchr_strict(char * jarg1, char jarg2, char * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_strchr_strict___(char * jarg1, char jarg2, char * jarg3) { char * jresult ; char *arg1 = (char *) 0 ; char arg2 ; @@ -19724,7 +19741,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strchr_strict(char * jarg1, char jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_has_escaped_data(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_string_has_escaped_data___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; int result; @@ -19736,7 +19753,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_has_escaped_data(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_b64_encode(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_b64_encode___(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { int jresult ; unsigned char *arg1 = (unsigned char *) 0 ; switch_size_t arg2 ; @@ -19761,12 +19778,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_b64_encode(void * jarg1, void * jarg2, } arg4 = *argp4; result = (switch_status_t)switch_b64_encode(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_b64_decode(char * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_b64_decode___(char * jarg1, char * jarg2, void * jarg3) { void * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -19788,7 +19805,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_b64_decode(char * jarg1, char * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_amp_encode(char * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_amp_encode___(char * jarg1, char * jarg2, void * jarg3) { char * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -19810,7 +19827,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_amp_encode(char * jarg1, char * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_print_bits(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_print_bits___(void * jarg1, char * jarg2, void * jarg3) { char * jresult ; unsigned char *arg1 = (unsigned char *) 0 ; char *arg2 = (char *) 0 ; @@ -19832,19 +19849,19 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_print_bits(void * jarg1, char * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_digit_string(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_is_digit_string___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_bool_t result; arg1 = (char *)jarg1; result = (switch_bool_t)switch_is_digit_string((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char SWIGSTDCALL CSharp_switch_itodtmf(char jarg1) { +SWIGEXPORT char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_itodtmf___(char jarg1) { char jresult ; char arg1 ; char result; @@ -19856,7 +19873,7 @@ SWIGEXPORT char SWIGSTDCALL CSharp_switch_itodtmf(char jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_dtmftoi(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dtmftoi___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; int result; @@ -19868,7 +19885,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_dtmftoi(char * jarg1) { } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_known_bitrate(unsigned char jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_known_bitrate___(unsigned char jarg1) { unsigned long jresult ; switch_payload_t arg1 ; uint32_t result; @@ -19880,7 +19897,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_known_bitrate(unsigned char j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fd_read_line(int jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_fd_read_line___(int jarg1, char * jarg2, void * jarg3) { void * jresult ; int arg1 ; char *arg2 = (char *) 0 ; @@ -19902,7 +19919,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fd_read_line(int jarg1, char * jarg2 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fd_read_dline(int jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_fd_read_dline___(int jarg1, void * jarg2, void * jarg3) { void * jresult ; int arg1 ; char **arg2 = (char **) 0 ; @@ -19918,7 +19935,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fd_read_dline(int jarg1, void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fp_read_dline(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_fp_read_dline___(void * jarg1, void * jarg2, void * jarg3) { void * jresult ; FILE *arg1 = (FILE *) 0 ; char **arg2 = (char **) 0 ; @@ -19934,7 +19951,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_fp_read_dline(void * jarg1, void * j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_alloc(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_alloc___(void * jarg1, void * jarg2) { int jresult ; switch_frame_t **arg1 = (switch_frame_t **) 0 ; switch_size_t arg2 ; @@ -19949,12 +19966,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_alloc(void * jarg1, void * jarg2) } arg2 = *argp2; result = (switch_status_t)switch_frame_alloc(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_dup(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_dup___(void * jarg1, void * jarg2) { int jresult ; switch_frame_t *arg1 = (switch_frame_t *) 0 ; switch_frame_t **arg2 = (switch_frame_t **) 0 ; @@ -19963,48 +19980,48 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_dup(void * jarg1, void * jarg2) { arg1 = (switch_frame_t *)jarg1; arg2 = (switch_frame_t **)jarg2; result = (switch_status_t)switch_frame_dup(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_free(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_free___(void * jarg1) { int jresult ; switch_frame_t **arg1 = (switch_frame_t **) 0 ; switch_status_t result; arg1 = (switch_frame_t **)jarg1; result = (switch_status_t)switch_frame_free(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_number(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_is_number___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_bool_t result; arg1 = (char *)jarg1; result = (switch_bool_t)switch_is_number((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_leading_number(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_is_leading_number___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_bool_t result; arg1 = (char *)jarg1; result = (switch_bool_t)switch_is_leading_number((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_find_parameter(char * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_find_parameter___(char * jarg1, char * jarg2, void * jarg3) { char * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20020,19 +20037,19 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_find_parameter(char * jarg1, char * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_true(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_true___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_bool_t result; arg1 = (char *)jarg1; result = (switch_bool_t)switch_true((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_true_byte(char * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_true_byte___(char * jarg1) { unsigned char jresult ; char *arg1 = (char *) 0 ; switch_byte_t result; @@ -20044,7 +20061,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_true_byte(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_false(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_false___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; int result; @@ -20056,7 +20073,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_false(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_resolve_host(char * jarg1, char * jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_resolve_host___(char * jarg1, char * jarg2, unsigned long jarg3) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20067,12 +20084,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_resolve_host(char * jarg1, char * jarg2 arg2 = (char *)jarg2; arg3 = (size_t)jarg3; result = (switch_status_t)switch_resolve_host((char const *)arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_find_local_ip(char * jarg1, int jarg2, void * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_find_local_ip___(char * jarg1, int jarg2, void * jarg3, int jarg4) { int jresult ; char *arg1 = (char *) 0 ; int arg2 ; @@ -20085,12 +20102,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_find_local_ip(char * jarg1, int jarg2, arg3 = (int *)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_find_local_ip(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_find_interface_ip(char * jarg1, int jarg2, void * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_find_interface_ip___(char * jarg1, int jarg2, void * jarg3, char * jarg4, int jarg5) { int jresult ; char *arg1 = (char *) 0 ; int arg2 ; @@ -20105,12 +20122,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_find_interface_ip(char * jarg1, int jar arg4 = (char *)jarg4; arg5 = (int)jarg5; result = (switch_status_t)switch_find_interface_ip(arg1,arg2,arg3,(char const *)arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_get_addr(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_get_addr___(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { char * jresult ; char *arg1 = (char *) 0 ; switch_size_t arg2 ; @@ -20140,7 +20157,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_get_addr(char * jarg1, void * jarg2, void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_get_addr6(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_get_addr6___(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { char * jresult ; char *arg1 = (char *) 0 ; switch_size_t arg2 ; @@ -20170,7 +20187,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_get_addr6(char * jarg1, void * jarg2, void } -SWIGEXPORT int SWIGSTDCALL CSharp_get_addr_int(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_get_addr_int___(void * jarg1) { int jresult ; switch_sockaddr_t *arg1 = (switch_sockaddr_t *) 0 ; int result; @@ -20182,7 +20199,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_get_addr_int(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cmp_addr(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cmp_addr___(void * jarg1, void * jarg2) { int jresult ; switch_sockaddr_t *arg1 = (switch_sockaddr_t *) 0 ; switch_sockaddr_t *arg2 = (switch_sockaddr_t *) 0 ; @@ -20196,7 +20213,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cmp_addr(void * jarg1, void * jarg2) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_cp_addr(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cp_addr___(void * jarg1, void * jarg2) { int jresult ; switch_sockaddr_t *arg1 = (switch_sockaddr_t *) 0 ; switch_sockaddr_t *arg2 = (switch_sockaddr_t *) 0 ; @@ -20210,7 +20227,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_cp_addr(void * jarg1, void * jarg2) { } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_get_port(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_get_port___(void * jarg1) { unsigned short jresult ; sockaddr *arg1 = (sockaddr *) 0 ; unsigned short result; @@ -20222,7 +20239,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_get_port(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_build_uri(char * jarg1, void * jarg2, char * jarg3, char * jarg4, void * jarg5, int jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_build_uri___(char * jarg1, void * jarg2, char * jarg3, char * jarg4, void * jarg5, int jarg6) { int jresult ; char *arg1 = (char *) 0 ; switch_size_t arg2 ; @@ -20250,7 +20267,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_build_uri(char * jarg1, void * jarg2, c } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_errno_is_break(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_errno_is_break___(int jarg1) { int jresult ; int arg1 ; int result; @@ -20262,7 +20279,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_errno_is_break(int jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_priority_name(int jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_priority_name___(int jarg1) { char * jresult ; switch_priority_t arg1 ; char *result = 0 ; @@ -20274,7 +20291,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_priority_name(int jarg1) { } -SWIGEXPORT char SWIGSTDCALL CSharp_switch_rfc2833_to_char(int jarg1) { +SWIGEXPORT char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rfc2833_to_char___(int jarg1) { char jresult ; int arg1 ; char result; @@ -20286,7 +20303,7 @@ SWIGEXPORT char SWIGSTDCALL CSharp_switch_rfc2833_to_char(int jarg1) { } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_char_to_rfc2833(char jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_char_to_rfc2833___(char jarg1) { unsigned char jresult ; char arg1 ; unsigned char result; @@ -20298,7 +20315,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_char_to_rfc2833(char jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_sanitize_number(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_sanitize_number___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -20310,7 +20327,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_sanitize_number(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_var_check(char * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_string_var_check___(char * jarg1, int jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_bool_t arg2 ; @@ -20319,24 +20336,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_var_check(char * jarg1, int jarg arg1 = (char *)jarg1; arg2 = (switch_bool_t)jarg2; result = (switch_bool_t)switch_string_var_check(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_var_check_const(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_string_var_check_const___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_bool_t result; arg1 = (char *)jarg1; result = (switch_bool_t)switch_string_var_check_const((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_var_clean_string(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_var_clean_string___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -20348,7 +20365,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_var_clean_string(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_clean_string(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_clean_string___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -20360,7 +20377,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_clean_string(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_clean_name_string(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_clean_name_string___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -20372,7 +20389,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_clean_name_string(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_safe_atoi(char * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_safe_atoi___(char * jarg1, int jarg2) { int jresult ; char *arg1 = (char *) 0 ; int arg2 ; @@ -20386,7 +20403,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_safe_atoi(char * jarg1, int jarg2) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_safe_strdup(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_safe_strdup___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -20398,7 +20415,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_safe_strdup(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_lc_strdup(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_lc_strdup___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -20410,7 +20427,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_lc_strdup(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_uc_strdup(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_uc_strdup___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -20422,7 +20439,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_uc_strdup(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_strstr(char * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_strstr___(char * jarg1, char * jarg2) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20431,12 +20448,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_strstr(char * jarg1, char * jarg2) { arg1 = (char *)jarg1; arg2 = (char *)jarg2; result = (switch_bool_t)switch_strstr(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_str_time(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_str_time___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_time_t result; @@ -20448,7 +20465,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_str_time(char * jarg1) { } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_separate_string(char * jarg1, char jarg2, void * jarg3, unsigned int jarg4) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_separate_string___(char * jarg1, char jarg2, void * jarg3, unsigned int jarg4) { unsigned int jresult ; char *arg1 = (char *) 0 ; char arg2 ; @@ -20466,7 +20483,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_separate_string(char * jarg1, } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_separate_string_string(char * jarg1, char * jarg2, void * jarg3, unsigned int jarg4) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_separate_string_string___(char * jarg1, char * jarg2, void * jarg3, unsigned int jarg4) { unsigned int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20484,7 +20501,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_separate_string_string(char * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_spaces(char * jarg1, int jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_strip_spaces___(char * jarg1, int jarg2) { char * jresult ; char *arg1 = (char *) 0 ; switch_bool_t arg2 ; @@ -20498,7 +20515,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_spaces(char * jarg1, int jarg2 } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_whitespace(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_strip_whitespace___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -20510,7 +20527,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_whitespace(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_commas(char * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_strip_commas___(char * jarg1, char * jarg2, void * jarg3) { char * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20532,7 +20549,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_commas(char * jarg1, char * ja } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_nonnumerics(char * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_strip_nonnumerics___(char * jarg1, char * jarg2, void * jarg3) { char * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20554,7 +20571,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strip_nonnumerics(char * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_separate_paren_args(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_separate_paren_args___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -20566,7 +20583,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_separate_paren_args(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_stristr(char * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stristr___(char * jarg1, char * jarg2) { char * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20580,19 +20597,19 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_stristr(char * jarg1, char * jarg2) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_lan_addr(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_is_lan_addr___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_bool_t result; arg1 = (char *)jarg1; result = (switch_bool_t)switch_is_lan_addr((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_replace_char(char * jarg1, char jarg2, char jarg3, int jarg4) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_replace_char___(char * jarg1, char jarg2, char jarg3, int jarg4) { char * jresult ; char *arg1 = (char *) 0 ; char arg2 ; @@ -20610,7 +20627,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_replace_char(char * jarg1, char jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ast2regex(char * jarg1, char * jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ast2regex___(char * jarg1, char * jarg2, unsigned long jarg3) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20621,12 +20638,26 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ast2regex(char * jarg1, char * jarg2, u arg2 = (char *)jarg2; arg3 = (size_t)jarg3; result = (switch_bool_t)switch_ast2regex((char const *)arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_escape_char(void * jarg1, char * jarg2, char * jarg3, char jarg4) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_pool_strip_whitespace___(void * jarg1, char * jarg2) { + char * jresult ; + switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; + char *arg2 = (char *) 0 ; + char *result = 0 ; + + arg1 = (switch_memory_pool_t *)jarg1; + arg2 = (char *)jarg2; + result = (char *)switch_pool_strip_whitespace(arg1,(char const *)arg2); + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_escape_char___(void * jarg1, char * jarg2, char * jarg3, char jarg4) { char * jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; char *arg2 = (char *) 0 ; @@ -20644,7 +20675,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_escape_char(void * jarg1, char * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_escape_string(char * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_escape_string___(char * jarg1, char * jarg2, void * jarg3) { char * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20666,7 +20697,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_escape_string(char * jarg1, char * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_escape_string_pool(char * jarg1, void * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_escape_string_pool___(char * jarg1, void * jarg2) { char * jresult ; char *arg1 = (char *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -20680,7 +20711,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_escape_string_pool(char * jarg1, voi } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_socket_waitfor(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_socket_waitfor___(void * jarg1, int jarg2) { int jresult ; switch_pollfd_t *arg1 = (switch_pollfd_t *) 0 ; int arg2 ; @@ -20694,7 +20725,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_socket_waitfor(void * jarg1, int jarg2) } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cut_path(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cut_path___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -20706,7 +20737,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_cut_path(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_string_replace(char * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_string_replace___(char * jarg1, char * jarg2, char * jarg3) { char * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20722,7 +20753,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_string_replace(char * jarg1, char * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_match(char * jarg1, unsigned long jarg2, char * jarg3, unsigned long jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_string_match___(char * jarg1, unsigned long jarg2, char * jarg3, unsigned long jarg4) { int jresult ; char *arg1 = (char *) 0 ; size_t arg2 ; @@ -20735,12 +20766,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_string_match(char * jarg1, unsigned lon arg3 = (char *)jarg3; arg4 = (size_t)jarg4; result = (switch_status_t)switch_string_match((char const *)arg1,arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_strcasecmp_any(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_strcasecmp_any___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; void *arg2 = 0 ; @@ -20753,7 +20784,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_strcasecmp_any(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_util_quote_shell_arg(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_util_quote_shell_arg___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -20765,7 +20796,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_util_quote_shell_arg(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_util_quote_shell_arg_pool(char * jarg1, void * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_util_quote_shell_arg_pool___(char * jarg1, void * jarg2) { char * jresult ; char *arg1 = (char *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -20779,7 +20810,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_util_quote_shell_arg_pool(char * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_calc_bitrate(int jarg1, int jarg2, int jarg3, double jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_calc_bitrate___(int jarg1, int jarg2, int jarg3, double jarg4) { int jresult ; int arg1 ; int arg2 ; @@ -20797,7 +20828,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_calc_bitrate(int jarg1, int jarg2, int } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_parse_bandwidth_string(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_parse_bandwidth_string___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; int32_t result; @@ -20809,7 +20840,19 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_parse_bandwidth_string(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_needs_url_encode(char * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_parse_cpu_string___(char * jarg1) { + unsigned long jresult ; + char *arg1 = (char *) 0 ; + uint32_t result; + + arg1 = (char *)jarg1; + result = (uint32_t)switch_parse_cpu_string((char const *)arg1); + jresult = (unsigned long)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_needs_url_encode___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; int result; @@ -20821,7 +20864,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_needs_url_encode(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_encode_opt(char * jarg1, char * jarg2, unsigned long jarg3, int jarg4) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_url_encode_opt___(char * jarg1, char * jarg2, unsigned long jarg3, int jarg4) { char * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20839,7 +20882,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_encode_opt(char * jarg1, char * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_encode(char * jarg1, char * jarg2, unsigned long jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_url_encode___(char * jarg1, char * jarg2, unsigned long jarg3) { char * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20855,7 +20898,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_encode(char * jarg1, char * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_decode(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_url_decode___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -20867,7 +20910,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_url_decode(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_url_encode_opt(void * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_url_encode_opt___(void * jarg1, char * jarg2, int jarg3) { char * jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; char *arg2 = (char *) 0 ; @@ -20883,7 +20926,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_url_encode_opt(void * jarg1, ch } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_url_encode(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_url_encode___(void * jarg1, char * jarg2) { char * jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; char *arg2 = (char *) 0 ; @@ -20897,7 +20940,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_url_encode(void * jarg1, char * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_url_encode_opt(void * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_url_encode_opt___(void * jarg1, char * jarg2, int jarg3) { char * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -20913,7 +20956,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_url_encode_opt(void * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_url_encode(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_session_url_encode___(void * jarg1, char * jarg2) { char * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -20927,7 +20970,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_session_url_encode(void * jarg1 } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_simple_email(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_simple_email___(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -20946,12 +20989,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_simple_email(char * jarg1, char * jarg2 arg6 = (char *)jarg6; arg7 = (char *)jarg7; result = (switch_bool_t)switch_simple_email((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_find_end_paren(char * jarg1, char jarg2, char jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_find_end_paren___(char * jarg1, char jarg2, char jarg3) { char * jresult ; char *arg1 = (char *) 0 ; char arg2 ; @@ -20967,7 +21010,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_find_end_paren(char * jarg1, char ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_separate_file_params(char * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_separate_file_params___(char * jarg1, void * jarg2, void * jarg3) { char *arg1 = (char *) 0 ; char **arg2 = (char **) 0 ; char **arg3 = (char **) 0 ; @@ -20979,19 +21022,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_separate_file_params(char * jarg1, voi } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_is_file_path(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_is_file_path___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_bool_t result; arg1 = (char *)jarg1; result = (switch_bool_t)switch_is_file_path((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_parse_audio_col(int jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_parse_audio_col___(int jarg1) { char * jresult ; switch_audio_col_t arg1 ; char *result = 0 ; @@ -21003,7 +21046,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_parse_audio_col(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_parse_cidr(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_parse_cidr___(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { int jresult ; char *arg1 = (char *) 0 ; ip_t *arg2 = (ip_t *) 0 ; @@ -21021,7 +21064,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_parse_cidr(char * jarg1, void * jarg2, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_create(void * jarg1, char * jarg2, int jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_network_list_create___(void * jarg1, char * jarg2, int jarg3, void * jarg4) { int jresult ; switch_network_list_t **arg1 = (switch_network_list_t **) 0 ; char *arg2 = (char *) 0 ; @@ -21034,12 +21077,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_create(void * jarg1, char arg3 = (switch_bool_t)jarg3; arg4 = (switch_memory_pool_t *)jarg4; result = (switch_status_t)switch_network_list_create(arg1,(char const *)arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_add_cidr_token(void * jarg1, char * jarg2, int jarg3, char * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_network_list_add_cidr_token___(void * jarg1, char * jarg2, int jarg3, char * jarg4) { int jresult ; switch_network_list_t *arg1 = (switch_network_list_t *) 0 ; char *arg2 = (char *) 0 ; @@ -21052,12 +21095,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_add_cidr_token(void * jarg arg3 = (switch_bool_t)jarg3; arg4 = (char *)jarg4; result = (switch_status_t)switch_network_list_add_cidr_token(arg1,(char const *)arg2,arg3,(char const *)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_network_ipv4_mapped_ipv6_addr(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_network_ipv4_mapped_ipv6_addr___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -21069,7 +21112,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_network_ipv4_mapped_ipv6_addr(char * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_add_host_mask(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_network_list_add_host_mask___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; switch_network_list_t *arg1 = (switch_network_list_t *) 0 ; char *arg2 = (char *) 0 ; @@ -21082,12 +21125,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_add_host_mask(void * jarg1 arg3 = (char *)jarg3; arg4 = (switch_bool_t)jarg4; result = (switch_status_t)switch_network_list_add_host_mask(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_validate_ip_token(void * jarg1, unsigned long jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_network_list_validate_ip_token___(void * jarg1, unsigned long jarg2, void * jarg3) { int jresult ; switch_network_list_t *arg1 = (switch_network_list_t *) 0 ; uint32_t arg2 ; @@ -21098,12 +21141,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_validate_ip_token(void * j arg2 = (uint32_t)jarg2; arg3 = (char **)jarg3; result = (switch_bool_t)switch_network_list_validate_ip_token(arg1,arg2,(char const **)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_validate_ip6_token(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_network_list_validate_ip6_token___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_network_list_t *arg1 = (switch_network_list_t *) 0 ; ip_t arg2 ; @@ -21120,12 +21163,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_network_list_validate_ip6_token(void * arg2 = *argp2; arg3 = (char **)jarg3; result = (switch_bool_t)switch_network_list_validate_ip6_token(arg1,arg2,(char const **)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_dow_int2str(int jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dow_int2str___(int jarg1) { char * jresult ; int arg1 ; char *result = 0 ; @@ -21137,7 +21180,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_dow_int2str(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_dow_str2int(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dow_str2int___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; int result; @@ -21149,7 +21192,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_dow_str2int(char * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_dow_cmp(char * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dow_cmp___(char * jarg1, int jarg2) { int jresult ; char *arg1 = (char *) 0 ; int arg2 ; @@ -21158,12 +21201,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_dow_cmp(char * jarg1, int jarg2) { arg1 = (char *)jarg1; arg2 = (int)jarg2; result = (switch_bool_t)switch_dow_cmp((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_number_cmp(char * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_number_cmp___(char * jarg1, int jarg2) { int jresult ; char *arg1 = (char *) 0 ; int arg2 ; @@ -21177,7 +21220,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_number_cmp(char * jarg1, int jarg2) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_tod_cmp(char * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_tod_cmp___(char * jarg1, int jarg2) { int jresult ; char *arg1 = (char *) 0 ; int arg2 ; @@ -21191,7 +21234,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_tod_cmp(char * jarg1, int jarg2) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_fulldate_cmp(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_fulldate_cmp___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_time_t *arg2 = (switch_time_t *) 0 ; @@ -21205,7 +21248,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_fulldate_cmp(char * jarg1, void * jarg2 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_split_date(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_split_date___(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { char *arg1 = (char *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -21219,7 +21262,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_split_date(char * jarg1, void * jarg2, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_split_time(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_split_time___(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { char *arg1 = (char *) 0 ; int *arg2 = (int *) 0 ; int *arg3 = (int *) 0 ; @@ -21233,7 +21276,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_split_time(char * jarg1, void * jarg2, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_split_user_domain(char * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_split_user_domain___(char * jarg1, void * jarg2, void * jarg3) { int jresult ; char *arg1 = (char *) 0 ; char **arg2 = (char **) 0 ; @@ -21249,7 +21292,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_split_user_domain(char * jarg1, void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_uuid_str(char * jarg1, void * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_uuid_str___(char * jarg1, void * jarg2) { char * jresult ; char *arg1 = (char *) 0 ; switch_size_t arg2 ; @@ -21269,7 +21312,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_uuid_str(char * jarg1, void * jarg2) } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_format_number(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_format_number___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -21281,7 +21324,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_format_number(char * jarg1) { } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_atoui(char * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_atoui___(char * jarg1) { unsigned int jresult ; char *arg1 = (char *) 0 ; unsigned int result; @@ -21293,7 +21336,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_atoui(char * jarg1) { } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_atoul(char * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_atoul___(char * jarg1) { unsigned long jresult ; char *arg1 = (char *) 0 ; unsigned long result; @@ -21305,7 +21348,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_atoul(char * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strerror_r(int jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_strerror_r___(int jarg1, char * jarg2, void * jarg3) { char * jresult ; int arg1 ; char *arg2 = (char *) 0 ; @@ -21327,7 +21370,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_strerror_r(int jarg1, char * jarg2, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_wait_sock(int jarg1, unsigned long jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_wait_sock___(int jarg1, unsigned long jarg2, int jarg3) { int jresult ; switch_os_socket_t arg1 ; uint32_t arg2 ; @@ -21343,7 +21386,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_wait_sock(int jarg1, unsigned long jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_wait_socklist(void * jarg1, unsigned long jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_wait_socklist___(void * jarg1, unsigned long jarg2, unsigned long jarg3) { int jresult ; switch_waitlist_t *arg1 = (switch_waitlist_t *) 0 ; uint32_t arg2 ; @@ -21359,7 +21402,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_wait_socklist(void * jarg1, unsigned lo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_method_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_method_set___(void * jarg1, char * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *arg2 = (char *) 0 ; @@ -21376,7 +21419,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_method_set(void * jarg1 } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_method_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_method_get___(void * jarg1) { char * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *result = 0 ; @@ -21388,7 +21431,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_method_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_uri_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_uri_set___(void * jarg1, char * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *arg2 = (char *) 0 ; @@ -21405,7 +21448,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_uri_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_uri_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_uri_get___(void * jarg1) { char * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *result = 0 ; @@ -21417,7 +21460,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_uri_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_qs_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_qs_set___(void * jarg1, char * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *arg2 = (char *) 0 ; @@ -21434,7 +21477,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_qs_set(void * jarg1, ch } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_qs_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_qs_get___(void * jarg1) { char * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *result = 0 ; @@ -21446,7 +21489,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_qs_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_host_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_host_set___(void * jarg1, char * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *arg2 = (char *) 0 ; @@ -21463,7 +21506,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_host_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_host_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_host_get___(void * jarg1) { char * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *result = 0 ; @@ -21475,7 +21518,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_host_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_port_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_port_set___(void * jarg1, unsigned short jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_port_t arg2 ; @@ -21485,7 +21528,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_port_set(void * jarg1, } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_http_request_t_port_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_port_get___(void * jarg1) { unsigned short jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_port_t result; @@ -21497,7 +21540,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_http_request_t_port_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_from_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_from_set___(void * jarg1, char * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *arg2 = (char *) 0 ; @@ -21514,7 +21557,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_from_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_from_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_from_get___(void * jarg1) { char * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *result = 0 ; @@ -21526,7 +21569,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_from_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_user_agent_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_user_agent_set___(void * jarg1, char * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *arg2 = (char *) 0 ; @@ -21543,7 +21586,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_user_agent_set(void * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_user_agent_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_user_agent_get___(void * jarg1) { char * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *result = 0 ; @@ -21555,7 +21598,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_user_agent_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_referer_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_referer_set___(void * jarg1, char * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *arg2 = (char *) 0 ; @@ -21572,7 +21615,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_referer_set(void * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_referer_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_referer_get___(void * jarg1) { char * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *result = 0 ; @@ -21584,7 +21627,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_referer_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_user_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_user_set___(void * jarg1, char * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *arg2 = (char *) 0 ; @@ -21601,7 +21644,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_user_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_user_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_user_get___(void * jarg1) { char * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *result = 0 ; @@ -21613,7 +21656,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_user_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_keepalive_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_keepalive_set___(void * jarg1, int jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_bool_t arg2 ; @@ -21623,19 +21666,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_keepalive_set(void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_http_request_t_keepalive_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_keepalive_get___(void * jarg1) { int jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_bool_t result; arg1 = (switch_http_request_s *)jarg1; result = (switch_bool_t) ((arg1)->keepalive); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_content_type_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_content_type_set___(void * jarg1, char * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *arg2 = (char *) 0 ; @@ -21652,7 +21695,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_content_type_set(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_content_type_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_content_type_get___(void * jarg1) { char * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *result = 0 ; @@ -21664,7 +21707,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t_content_type_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_content_length_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_content_length_set___(void * jarg1, void * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -21680,7 +21723,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_content_length_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_content_length_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_content_length_get___(void * jarg1) { void * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_size_t result; @@ -21692,7 +21735,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_content_length_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_bytes_header_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_bytes_header_set___(void * jarg1, void * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -21708,7 +21751,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_bytes_header_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_bytes_header_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_bytes_header_get___(void * jarg1) { void * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_size_t result; @@ -21720,7 +21763,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_bytes_header_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_bytes_read_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_bytes_read_set___(void * jarg1, void * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -21736,7 +21779,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_bytes_read_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_bytes_read_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_bytes_read_get___(void * jarg1) { void * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_size_t result; @@ -21748,7 +21791,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_bytes_read_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_bytes_buffered_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_bytes_buffered_set___(void * jarg1, void * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -21764,7 +21807,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_bytes_buffered_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_bytes_buffered_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_bytes_buffered_get___(void * jarg1) { void * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_size_t result; @@ -21776,7 +21819,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_bytes_buffered_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_headers_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_headers_set___(void * jarg1, void * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -21786,7 +21829,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_headers_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_headers_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_headers_get___(void * jarg1) { void * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_event_t *result = 0 ; @@ -21798,7 +21841,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_headers_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_user_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_user_data_set___(void * jarg1, void * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; void *arg2 = (void *) 0 ; @@ -21808,7 +21851,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t_user_data_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_user_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t_user_data_get___(void * jarg1) { void * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; void *result = 0 ; @@ -21820,7 +21863,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_http_request_t_user_data_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t__buffer_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t__buffer_set___(void * jarg1, char * jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *arg2 = (char *) 0 ; @@ -21838,7 +21881,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t__buffer_set(void * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t__buffer_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t__buffer_get___(void * jarg1) { char * jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; char *result = 0 ; @@ -21850,7 +21893,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_http_request_t__buffer_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t__destroy_headers_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t__destroy_headers_set___(void * jarg1, int jarg2) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_bool_t arg2 ; @@ -21860,19 +21903,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_request_t__destroy_headers_set(vo } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_http_request_t__destroy_headers_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_request_t__destroy_headers_get___(void * jarg1) { int jresult ; switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; switch_bool_t result; arg1 = (switch_http_request_s *)jarg1; result = (switch_bool_t) ((arg1)->_destroy_headers); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_http_request_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_http_request_t___() { void * jresult ; switch_http_request_s *result = 0 ; @@ -21882,7 +21925,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_http_request_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_http_request_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_http_request_t___(void * jarg1) { switch_http_request_s *arg1 = (switch_http_request_s *) 0 ; arg1 = (switch_http_request_s *)jarg1; @@ -21890,7 +21933,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_http_request_t(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_http_parse_header(char * jarg1, unsigned long jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_parse_header___(char * jarg1, unsigned long jarg2, void * jarg3) { int jresult ; char *arg1 = (char *) 0 ; uint32_t arg2 ; @@ -21901,12 +21944,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_http_parse_header(char * jarg1, unsigne arg2 = (uint32_t)jarg2; arg3 = (switch_http_request_t *)jarg3; result = (switch_status_t)switch_http_parse_header(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_free_request(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_free_request___(void * jarg1) { switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; arg1 = (switch_http_request_t *)jarg1; @@ -21914,7 +21957,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_free_request(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_dump_request(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_dump_request___(void * jarg1) { switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; arg1 = (switch_http_request_t *)jarg1; @@ -21922,7 +21965,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_dump_request(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_parse_qs(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_http_parse_qs___(void * jarg1, char * jarg2) { switch_http_request_t *arg1 = (switch_http_request_t *) 0 ; char *arg2 = (char *) 0 ; @@ -21932,7 +21975,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_http_parse_qs(void * jarg1, char * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_free(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_buffer_free___(void * jarg1, void * jarg2) { int jresult ; switch_frame_buffer_t *arg1 = (switch_frame_buffer_t *) 0 ; switch_frame_t **arg2 = (switch_frame_t **) 0 ; @@ -21941,12 +21984,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_free(void * jarg1, void * arg1 = (switch_frame_buffer_t *)jarg1; arg2 = (switch_frame_t **)jarg2; result = (switch_status_t)switch_frame_buffer_free(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_dup(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_buffer_dup___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_frame_buffer_t *arg1 = (switch_frame_buffer_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -21957,24 +22000,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_dup(void * jarg1, void * j arg2 = (switch_frame_t *)jarg2; arg3 = (switch_frame_t **)jarg3; result = (switch_status_t)switch_frame_buffer_dup(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_destroy(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_buffer_destroy___(void * jarg1) { int jresult ; switch_frame_buffer_t **arg1 = (switch_frame_buffer_t **) 0 ; switch_status_t result; arg1 = (switch_frame_buffer_t **)jarg1; result = (switch_status_t)switch_frame_buffer_destroy(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_create(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_buffer_create___(void * jarg1, void * jarg2) { int jresult ; switch_frame_buffer_t **arg1 = (switch_frame_buffer_t **) 0 ; switch_size_t arg2 ; @@ -21989,12 +22032,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_create(void * jarg1, void } arg2 = *argp2; result = (switch_status_t)switch_frame_buffer_create(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_push(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_buffer_push___(void * jarg1, void * jarg2) { int jresult ; switch_frame_buffer_t *arg1 = (switch_frame_buffer_t *) 0 ; void *arg2 = (void *) 0 ; @@ -22003,12 +22046,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_push(void * jarg1, void * arg1 = (switch_frame_buffer_t *)jarg1; arg2 = (void *)jarg2; result = (switch_status_t)switch_frame_buffer_push(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_trypush(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_buffer_trypush___(void * jarg1, void * jarg2) { int jresult ; switch_frame_buffer_t *arg1 = (switch_frame_buffer_t *) 0 ; void *arg2 = (void *) 0 ; @@ -22017,12 +22060,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_trypush(void * jarg1, void arg1 = (switch_frame_buffer_t *)jarg1; arg2 = (void *)jarg2; result = (switch_status_t)switch_frame_buffer_trypush(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_pop(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_buffer_pop___(void * jarg1, void * jarg2) { int jresult ; switch_frame_buffer_t *arg1 = (switch_frame_buffer_t *) 0 ; void **arg2 = (void **) 0 ; @@ -22031,12 +22074,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_pop(void * jarg1, void * j arg1 = (switch_frame_buffer_t *)jarg1; arg2 = (void **)jarg2; result = (switch_status_t)switch_frame_buffer_pop(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_trypop(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_buffer_trypop___(void * jarg1, void * jarg2) { int jresult ; switch_frame_buffer_t *arg1 = (switch_frame_buffer_t *) 0 ; void **arg2 = (void **) 0 ; @@ -22045,12 +22088,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_buffer_trypop(void * jarg1, void arg1 = (switch_frame_buffer_t *)jarg1; arg2 = (void **)jarg2; result = (switch_status_t)switch_frame_buffer_trypop(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cputime_userms_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cputime_userms_set___(void * jarg1, long long jarg2) { switch_cputime *arg1 = (switch_cputime *) 0 ; int64_t arg2 ; @@ -22060,7 +22103,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cputime_userms_set(void * jarg1, long } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_cputime_userms_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cputime_userms_get___(void * jarg1) { long long jresult ; switch_cputime *arg1 = (switch_cputime *) 0 ; int64_t result; @@ -22072,7 +22115,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_cputime_userms_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_cputime_kernelms_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cputime_kernelms_set___(void * jarg1, long long jarg2) { switch_cputime *arg1 = (switch_cputime *) 0 ; int64_t arg2 ; @@ -22082,7 +22125,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_cputime_kernelms_set(void * jarg1, lon } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_cputime_kernelms_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_cputime_kernelms_get___(void * jarg1) { long long jresult ; switch_cputime *arg1 = (switch_cputime *) 0 ; int64_t result; @@ -22094,7 +22137,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_cputime_kernelms_get(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cputime() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_cputime___() { void * jresult ; switch_cputime *result = 0 ; @@ -22104,7 +22147,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_cputime() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cputime(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_cputime___(void * jarg1) { switch_cputime *arg1 = (switch_cputime *) 0 ; arg1 = (switch_cputime *)jarg1; @@ -22112,7 +22155,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_cputime(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_getcputime(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_getcputime___(void * jarg1) { switch_cputime *arg1 = (switch_cputime *) 0 ; arg1 = (switch_cputime *)jarg1; @@ -22120,7 +22163,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_getcputime(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_html_strip(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_html_strip___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -22132,7 +22175,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_html_strip(char * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_var_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_profile_node_t_var_set___(void * jarg1, char * jarg2) { profile_node_s *arg1 = (profile_node_s *) 0 ; char *arg2 = (char *) 0 ; @@ -22150,7 +22193,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_var_set(void * jarg1, char * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_profile_node_t_var_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_profile_node_t_var_get___(void * jarg1) { char * jresult ; profile_node_s *arg1 = (profile_node_s *) 0 ; char *result = 0 ; @@ -22162,7 +22205,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_profile_node_t_var_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_val_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_profile_node_t_val_set___(void * jarg1, char * jarg2) { profile_node_s *arg1 = (profile_node_s *) 0 ; char *arg2 = (char *) 0 ; @@ -22180,7 +22223,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_val_set(void * jarg1, char * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_profile_node_t_val_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_profile_node_t_val_get___(void * jarg1) { char * jresult ; profile_node_s *arg1 = (profile_node_s *) 0 ; char *result = 0 ; @@ -22192,7 +22235,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_profile_node_t_val_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_profile_node_t_next_set___(void * jarg1, void * jarg2) { profile_node_s *arg1 = (profile_node_s *) 0 ; profile_node_s *arg2 = (profile_node_s *) 0 ; @@ -22202,7 +22245,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_profile_node_t_next_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_profile_node_t_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_profile_node_t_next_get___(void * jarg1) { void * jresult ; profile_node_s *arg1 = (profile_node_s *) 0 ; profile_node_s *result = 0 ; @@ -22214,7 +22257,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_profile_node_t_next_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_profile_node_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_profile_node_t___() { void * jresult ; profile_node_s *result = 0 ; @@ -22224,7 +22267,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_profile_node_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_profile_node_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_profile_node_t___(void * jarg1) { profile_node_s *arg1 = (profile_node_s *) 0 ; arg1 = (profile_node_s *)jarg1; @@ -22232,7 +22275,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_profile_node_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_username_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_username_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22249,7 +22292,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_username_set(void * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_username_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_username_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22261,7 +22304,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_username_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_dialplan_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_dialplan_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22278,7 +22321,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_dialplan_set(void * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_dialplan_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_dialplan_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22290,7 +22333,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_dialplan_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_id_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_caller_id_name_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22307,7 +22350,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_id_name_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_caller_id_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_caller_id_name_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22319,7 +22362,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_caller_id_name_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_id_number_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_caller_id_number_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22336,7 +22379,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_id_number_set(vo } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_caller_id_number_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_caller_id_number_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22348,7 +22391,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_caller_id_number_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_orig_caller_id_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_orig_caller_id_name_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22365,7 +22408,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_orig_caller_id_name_set } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_orig_caller_id_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_orig_caller_id_name_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22377,7 +22420,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_orig_caller_id_name_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_orig_caller_id_number_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_orig_caller_id_number_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22394,7 +22437,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_orig_caller_id_number_s } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_orig_caller_id_number_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_orig_caller_id_number_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22406,7 +22449,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_orig_caller_id_number } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_callee_id_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_callee_id_name_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22423,7 +22466,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_callee_id_name_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_callee_id_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_callee_id_name_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22435,7 +22478,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_callee_id_name_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_callee_id_number_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_callee_id_number_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22452,7 +22495,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_callee_id_number_set(vo } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_callee_id_number_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_callee_id_number_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22464,7 +22507,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_callee_id_number_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_ton_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_caller_ton_set___(void * jarg1, unsigned char jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t arg2 ; @@ -22474,7 +22517,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_ton_set(void * j } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_caller_ton_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_caller_ton_get___(void * jarg1) { unsigned char jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t result; @@ -22486,7 +22529,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_caller_ton_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_numplan_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_caller_numplan_set___(void * jarg1, unsigned char jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t arg2 ; @@ -22496,7 +22539,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_numplan_set(void } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_caller_numplan_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_caller_numplan_get___(void * jarg1) { unsigned char jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t result; @@ -22508,7 +22551,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_caller_numplan } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_network_addr_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_network_addr_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22525,7 +22568,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_network_addr_set(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_network_addr_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_network_addr_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22537,7 +22580,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_network_addr_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_ani_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_ani_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22554,7 +22597,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_ani_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_ani_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_ani_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22566,7 +22609,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_ani_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_ani_ton_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_ani_ton_set___(void * jarg1, unsigned char jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t arg2 ; @@ -22576,7 +22619,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_ani_ton_set(void * jarg } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_ani_ton_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_ani_ton_get___(void * jarg1) { unsigned char jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t result; @@ -22588,7 +22631,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_ani_ton_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_ani_numplan_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_ani_numplan_set___(void * jarg1, unsigned char jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t arg2 ; @@ -22598,7 +22641,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_ani_numplan_set(void * } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_ani_numplan_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_ani_numplan_get___(void * jarg1) { unsigned char jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t result; @@ -22610,7 +22653,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_ani_numplan_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_aniii_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_aniii_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22627,7 +22670,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_aniii_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_aniii_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_aniii_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22639,7 +22682,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_aniii_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_rdnis_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_rdnis_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22656,7 +22699,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_rdnis_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_rdnis_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_rdnis_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22668,7 +22711,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_rdnis_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_rdnis_ton_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_rdnis_ton_set___(void * jarg1, unsigned char jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t arg2 ; @@ -22678,7 +22721,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_rdnis_ton_set(void * ja } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_rdnis_ton_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_rdnis_ton_get___(void * jarg1) { unsigned char jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t result; @@ -22690,7 +22733,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_rdnis_ton_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_rdnis_numplan_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_rdnis_numplan_set___(void * jarg1, unsigned char jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t arg2 ; @@ -22700,7 +22743,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_rdnis_numplan_set(void } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_rdnis_numplan_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_rdnis_numplan_get___(void * jarg1) { unsigned char jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t result; @@ -22712,7 +22755,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_rdnis_numplan_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_destination_number_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_destination_number_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22730,7 +22773,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_destination_number_set( } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_destination_number_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_destination_number_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22742,7 +22785,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_destination_number_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_destination_number_ton_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_destination_number_ton_set___(void * jarg1, unsigned char jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t arg2 ; @@ -22752,7 +22795,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_destination_number_ton_ } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_destination_number_ton_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_destination_number_ton_get___(void * jarg1) { unsigned char jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t result; @@ -22764,7 +22807,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_destination_nu } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_destination_number_numplan_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_destination_number_numplan_set___(void * jarg1, unsigned char jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t arg2 ; @@ -22774,7 +22817,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_destination_number_nump } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_destination_number_numplan_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_destination_number_numplan_get___(void * jarg1) { unsigned char jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; uint8_t result; @@ -22786,7 +22829,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_caller_profile_destination_nu } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_source_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_source_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22803,7 +22846,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_source_set(void * jarg1 } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_source_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_source_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22815,7 +22858,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_source_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_chan_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_chan_name_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22833,7 +22876,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_chan_name_set(void * ja } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_chan_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_chan_name_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22845,7 +22888,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_chan_name_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_uuid_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_uuid_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22863,7 +22906,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_uuid_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_uuid_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_uuid_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22875,7 +22918,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_uuid_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_context_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_context_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22892,7 +22935,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_context_set(void * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_context_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_context_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22904,7 +22947,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_context_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_profile_index_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_profile_index_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -22921,7 +22964,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_profile_index_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_profile_index_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_profile_index_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -22933,7 +22976,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_profile_index_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_flags_set___(void * jarg1, unsigned long jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_profile_flag_t arg2 ; @@ -22943,7 +22986,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_flags_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_caller_profile_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_flags_get___(void * jarg1) { unsigned long jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_profile_flag_t result; @@ -22955,7 +22998,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_caller_profile_flags_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_originator_caller_profile_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_originator_caller_profile_set___(void * jarg1, void * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_profile *arg2 = (switch_caller_profile *) 0 ; @@ -22965,7 +23008,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_originator_caller_profi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_originator_caller_profile_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_originator_caller_profile_get___(void * jarg1) { void * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_profile *result = 0 ; @@ -22977,7 +23020,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_originator_caller_pro } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_originatee_caller_profile_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_originatee_caller_profile_set___(void * jarg1, void * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_profile *arg2 = (switch_caller_profile *) 0 ; @@ -22987,7 +23030,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_originatee_caller_profi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_originatee_caller_profile_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_originatee_caller_profile_get___(void * jarg1) { void * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_profile *result = 0 ; @@ -22999,7 +23042,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_originatee_caller_pro } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_origination_caller_profile_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_origination_caller_profile_set___(void * jarg1, void * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_profile *arg2 = (switch_caller_profile *) 0 ; @@ -23009,7 +23052,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_origination_caller_prof } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_origination_caller_profile_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_origination_caller_profile_get___(void * jarg1) { void * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_profile *result = 0 ; @@ -23021,7 +23064,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_origination_caller_pr } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_hunt_caller_profile_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_hunt_caller_profile_set___(void * jarg1, void * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_profile *arg2 = (switch_caller_profile *) 0 ; @@ -23031,7 +23074,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_hunt_caller_profile_set } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_hunt_caller_profile_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_hunt_caller_profile_get___(void * jarg1) { void * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_profile *result = 0 ; @@ -23043,7 +23086,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_hunt_caller_profile_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_times_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_times_set___(void * jarg1, void * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_channel_timetable *arg2 = (switch_channel_timetable *) 0 ; @@ -23053,7 +23096,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_times_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_times_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_times_get___(void * jarg1) { void * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_channel_timetable *result = 0 ; @@ -23065,7 +23108,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_times_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_old_times_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_old_times_set___(void * jarg1, void * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_channel_timetable *arg2 = (switch_channel_timetable *) 0 ; @@ -23075,7 +23118,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_old_times_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_old_times_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_old_times_get___(void * jarg1) { void * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_channel_timetable *result = 0 ; @@ -23087,7 +23130,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_old_times_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_extension_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_caller_extension_set___(void * jarg1, void * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_extension *arg2 = (switch_caller_extension *) 0 ; @@ -23097,7 +23140,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_caller_extension_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_caller_extension_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_caller_extension_get___(void * jarg1) { void * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_extension *result = 0 ; @@ -23109,7 +23152,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_caller_extension_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_pool_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_pool_set___(void * jarg1, void * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -23119,7 +23162,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_pool_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_pool_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_pool_get___(void * jarg1) { void * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_memory_pool_t *result = 0 ; @@ -23131,7 +23174,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_pool_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_next_set___(void * jarg1, void * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_profile *arg2 = (switch_caller_profile *) 0 ; @@ -23141,7 +23184,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_next_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_next_get___(void * jarg1) { void * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_caller_profile *result = 0 ; @@ -23153,7 +23196,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_next_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_direction_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_direction_set___(void * jarg1, int jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_call_direction_t arg2 ; @@ -23163,19 +23206,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_direction_set(void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_profile_direction_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_direction_get___(void * jarg1) { int jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_call_direction_t result; arg1 = (switch_caller_profile *)jarg1; result = (switch_call_direction_t) ((arg1)->direction); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_logical_direction_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_logical_direction_set___(void * jarg1, int jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_call_direction_t arg2 ; @@ -23185,19 +23228,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_logical_direction_set(v } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_profile_logical_direction_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_logical_direction_get___(void * jarg1) { int jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; switch_call_direction_t result; arg1 = (switch_caller_profile *)jarg1; result = (switch_call_direction_t) ((arg1)->logical_direction); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_soft_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_soft_set___(void * jarg1, void * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; profile_node_t *arg2 = (profile_node_t *) 0 ; @@ -23207,7 +23250,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_soft_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_soft_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_soft_get___(void * jarg1) { void * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; profile_node_t *result = 0 ; @@ -23219,7 +23262,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_soft_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_uuid_str_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_uuid_str_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -23237,7 +23280,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_uuid_str_set(void * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_uuid_str_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_uuid_str_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -23249,7 +23292,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_uuid_str_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_clone_of_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_clone_of_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -23267,7 +23310,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_clone_of_set(void * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_clone_of_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_clone_of_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -23279,7 +23322,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_clone_of_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_transfer_source_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_transfer_source_set___(void * jarg1, char * jarg2) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *arg2 = (char *) 0 ; @@ -23297,7 +23340,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_transfer_source_set(voi } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_transfer_source_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_transfer_source_get___(void * jarg1) { char * jresult ; switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; char *result = 0 ; @@ -23309,7 +23352,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_profile_transfer_source_get(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_caller_profile() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_caller_profile___() { void * jresult ; switch_caller_profile *result = 0 ; @@ -23319,7 +23362,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_caller_profile() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_caller_profile(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_caller_profile___(void * jarg1) { switch_caller_profile *arg1 = (switch_caller_profile *) 0 ; arg1 = (switch_caller_profile *)jarg1; @@ -23327,7 +23370,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_caller_profile(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_application_application_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_application_application_name_set___(void * jarg1, char * jarg2) { switch_caller_application *arg1 = (switch_caller_application *) 0 ; char *arg2 = (char *) 0 ; @@ -23345,7 +23388,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_application_application_name_se } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_application_application_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_application_application_name_get___(void * jarg1) { char * jresult ; switch_caller_application *arg1 = (switch_caller_application *) 0 ; char *result = 0 ; @@ -23357,7 +23400,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_application_application_name_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_application_application_data_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_application_application_data_set___(void * jarg1, char * jarg2) { switch_caller_application *arg1 = (switch_caller_application *) 0 ; char *arg2 = (char *) 0 ; @@ -23375,7 +23418,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_application_application_data_se } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_application_application_data_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_application_application_data_get___(void * jarg1) { char * jresult ; switch_caller_application *arg1 = (switch_caller_application *) 0 ; char *result = 0 ; @@ -23387,7 +23430,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_application_application_data_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_application_application_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_application_application_function_set___(void * jarg1, void * jarg2) { switch_caller_application *arg1 = (switch_caller_application *) 0 ; switch_application_function_t arg2 = (switch_application_function_t) 0 ; @@ -23397,7 +23440,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_application_application_functio } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_application_application_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_application_application_function_get___(void * jarg1) { void * jresult ; switch_caller_application *arg1 = (switch_caller_application *) 0 ; switch_application_function_t result; @@ -23409,7 +23452,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_application_application_funct } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_application_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_application_next_set___(void * jarg1, void * jarg2) { switch_caller_application *arg1 = (switch_caller_application *) 0 ; switch_caller_application *arg2 = (switch_caller_application *) 0 ; @@ -23419,7 +23462,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_application_next_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_application_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_application_next_get___(void * jarg1) { void * jresult ; switch_caller_application *arg1 = (switch_caller_application *) 0 ; switch_caller_application *result = 0 ; @@ -23431,7 +23474,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_application_next_get(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_caller_application() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_caller_application___() { void * jresult ; switch_caller_application *result = 0 ; @@ -23441,7 +23484,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_caller_application() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_caller_application(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_caller_application___(void * jarg1) { switch_caller_application *arg1 = (switch_caller_application *) 0 ; arg1 = (switch_caller_application *)jarg1; @@ -23449,7 +23492,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_caller_application(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_extension_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_extension_name_set___(void * jarg1, char * jarg2) { switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; char *arg2 = (char *) 0 ; @@ -23467,7 +23510,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_extension_name_set(vo } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_extension_extension_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_extension_name_get___(void * jarg1) { char * jresult ; switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; char *result = 0 ; @@ -23479,7 +23522,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_extension_extension_name_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_extension_number_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_extension_number_set___(void * jarg1, char * jarg2) { switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; char *arg2 = (char *) 0 ; @@ -23497,7 +23540,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_extension_number_set( } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_extension_extension_number_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_extension_number_get___(void * jarg1) { char * jresult ; switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; char *result = 0 ; @@ -23509,7 +23552,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_extension_extension_number_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_current_application_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_current_application_set___(void * jarg1, void * jarg2) { switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; switch_caller_application_t *arg2 = (switch_caller_application_t *) 0 ; @@ -23519,7 +23562,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_current_application_s } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_current_application_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_current_application_get___(void * jarg1) { void * jresult ; switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; switch_caller_application_t *result = 0 ; @@ -23531,7 +23574,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_current_application } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_last_application_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_last_application_set___(void * jarg1, void * jarg2) { switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; switch_caller_application_t *arg2 = (switch_caller_application_t *) 0 ; @@ -23541,7 +23584,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_last_application_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_last_application_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_last_application_get___(void * jarg1) { void * jresult ; switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; switch_caller_application_t *result = 0 ; @@ -23553,7 +23596,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_last_application_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_applications_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_applications_set___(void * jarg1, void * jarg2) { switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; switch_caller_application_t *arg2 = (switch_caller_application_t *) 0 ; @@ -23563,7 +23606,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_applications_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_applications_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_applications_get___(void * jarg1) { void * jresult ; switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; switch_caller_application_t *result = 0 ; @@ -23575,7 +23618,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_applications_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_children_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_children_set___(void * jarg1, void * jarg2) { switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; switch_caller_profile *arg2 = (switch_caller_profile *) 0 ; @@ -23585,7 +23628,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_children_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_children_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_children_get___(void * jarg1) { void * jresult ; switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; switch_caller_profile *result = 0 ; @@ -23597,7 +23640,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_children_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_next_set___(void * jarg1, void * jarg2) { switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; switch_caller_extension *arg2 = (switch_caller_extension *) 0 ; @@ -23607,7 +23650,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_next_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_next_get___(void * jarg1) { void * jresult ; switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; switch_caller_extension *result = 0 ; @@ -23619,7 +23662,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_next_get(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_caller_extension() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_caller_extension___() { void * jresult ; switch_caller_extension *result = 0 ; @@ -23629,7 +23672,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_caller_extension() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_caller_extension(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_caller_extension___(void * jarg1) { switch_caller_extension *arg1 = (switch_caller_extension *) 0 ; arg1 = (switch_caller_extension *)jarg1; @@ -23637,7 +23680,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_caller_extension(void * jarg1) } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_new(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_new___(void * jarg1, char * jarg2, char * jarg3) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -23653,7 +23696,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_extension_new(void * jarg1, c } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_extension_clone(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_clone___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_caller_extension_t **arg1 = (switch_caller_extension_t **) 0 ; switch_caller_extension_t *arg2 = (switch_caller_extension_t *) 0 ; @@ -23664,12 +23707,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_caller_extension_clone(void * jarg1, vo arg2 = (switch_caller_extension_t *)jarg2; arg3 = (switch_memory_pool_t *)jarg3; result = (switch_status_t)switch_caller_extension_clone(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_add_application(void * jarg1, void * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_add_application___(void * jarg1, void * jarg2, char * jarg3, char * jarg4) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_caller_extension_t *arg2 = (switch_caller_extension_t *) 0 ; char *arg3 = (char *) 0 ; @@ -23683,7 +23726,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_add_application(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_add_application_printf(void * jarg1, void * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_extension_add_application_printf___(void * jarg1, void * jarg2, char * jarg3, char * jarg4) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_caller_extension_t *arg2 = (switch_caller_extension_t *) 0 ; char *arg3 = (char *) 0 ; @@ -23698,7 +23741,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_extension_add_application_print } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_get_field_by_name(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_get_field_by_name___(void * jarg1, char * jarg2) { char * jresult ; switch_caller_profile_t *arg1 = (switch_caller_profile_t *) 0 ; char *arg2 = (char *) 0 ; @@ -23712,7 +23755,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_caller_get_field_by_name(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_new(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, char * jarg11, char * jarg12) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_new___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, char * jarg11, char * jarg12) { void * jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; char *arg2 = (char *) 0 ; @@ -23746,7 +23789,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_new(void * jarg1, cha } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_clone(void * jarg1, void * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_clone___(void * jarg1, void * jarg2) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; @@ -23760,7 +23803,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_clone(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_dup(void * jarg1, void * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_dup___(void * jarg1, void * jarg2) { void * jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; @@ -23774,7 +23817,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_caller_profile_dup(void * jarg1, voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_event_set_data(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_caller_profile_event_set_data___(void * jarg1, char * jarg2, void * jarg3) { switch_caller_profile_t *arg1 = (switch_caller_profile_t *) 0 ; char *arg2 = (char *) 0 ; switch_event_t *arg3 = (switch_event_t *) 0 ; @@ -23786,7 +23829,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_caller_profile_event_set_data(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_w_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_w_set___(void * jarg1, int jarg2) { switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t arg2 ; @@ -23796,7 +23839,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_w_set(void * jarg1, i } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_w_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_w_get___(void * jarg1) { int jresult ; switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t result; @@ -23808,7 +23851,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_w_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_h_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_h_set___(void * jarg1, int jarg2) { switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t arg2 ; @@ -23818,7 +23861,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_h_set(void * jarg1, i } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_h_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_h_get___(void * jarg1) { int jresult ; switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t result; @@ -23830,7 +23873,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_h_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_x_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_x_set___(void * jarg1, int jarg2) { switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t arg2 ; @@ -23840,7 +23883,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_x_set(void * jarg1, i } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_x_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_x_get___(void * jarg1) { int jresult ; switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t result; @@ -23852,7 +23895,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_x_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_y_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_y_set___(void * jarg1, int jarg2) { switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t arg2 ; @@ -23862,7 +23905,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_y_set(void * jarg1, i } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_y_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_y_get___(void * jarg1) { int jresult ; switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t result; @@ -23874,7 +23917,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_y_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_z_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_z_set___(void * jarg1, int jarg2) { switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t arg2 ; @@ -23884,7 +23927,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_z_set(void * jarg1, i } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_z_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_z_get___(void * jarg1) { int jresult ; switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t result; @@ -23896,7 +23939,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_z_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_M_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_M_set___(void * jarg1, int jarg2) { switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t arg2 ; @@ -23906,7 +23949,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_M_set(void * jarg1, i } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_M_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_M_get___(void * jarg1) { int jresult ; switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t result; @@ -23918,7 +23961,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_M_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_X_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_X_set___(void * jarg1, int jarg2) { switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t arg2 ; @@ -23928,7 +23971,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_t_X_set(void * jarg1, i } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_X_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_t_X_get___(void * jarg1) { int jresult ; switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; int32_t result; @@ -23940,7 +23983,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_geometry_t_X_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_frame_geometry_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_frame_geometry_t___() { void * jresult ; switch_frame_geometry *result = 0 ; @@ -23950,7 +23993,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_frame_geometry_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_frame_geometry_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_frame_geometry_t___(void * jarg1) { switch_frame_geometry *arg1 = (switch_frame_geometry *) 0 ; arg1 = (switch_frame_geometry *)jarg1; @@ -23958,7 +24001,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_frame_geometry_t(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_codec_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_codec_set___(void * jarg1, void * jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; switch_codec_t *arg2 = (switch_codec_t *) 0 ; @@ -23968,7 +24011,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_codec_set(void * jarg1, void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_codec_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_codec_get___(void * jarg1) { void * jresult ; switch_frame *arg1 = (switch_frame *) 0 ; switch_codec_t *result = 0 ; @@ -23980,7 +24023,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_codec_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_source_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_source_set___(void * jarg1, char * jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; char *arg2 = (char *) 0 ; @@ -23997,7 +24040,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_source_set(void * jarg1, char * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_frame_source_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_source_get___(void * jarg1) { char * jresult ; switch_frame *arg1 = (switch_frame *) 0 ; char *result = 0 ; @@ -24009,7 +24052,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_frame_source_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_packet_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_packet_set___(void * jarg1, void * jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; void *arg2 = (void *) 0 ; @@ -24019,7 +24062,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_packet_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_packet_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_packet_get___(void * jarg1) { void * jresult ; switch_frame *arg1 = (switch_frame *) 0 ; void *result = 0 ; @@ -24031,7 +24074,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_packet_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_packetlen_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_packetlen_set___(void * jarg1, unsigned long jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; uint32_t arg2 ; @@ -24041,7 +24084,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_packetlen_set(void * jarg1, unsi } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_packetlen_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_packetlen_get___(void * jarg1) { unsigned long jresult ; switch_frame *arg1 = (switch_frame *) 0 ; uint32_t result; @@ -24053,7 +24096,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_packetlen_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_extra_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_extra_data_set___(void * jarg1, void * jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; void *arg2 = (void *) 0 ; @@ -24063,7 +24106,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_extra_data_set(void * jarg1, voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_extra_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_extra_data_get___(void * jarg1) { void * jresult ; switch_frame *arg1 = (switch_frame *) 0 ; void *result = 0 ; @@ -24075,7 +24118,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_extra_data_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_data_set___(void * jarg1, void * jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; void *arg2 = (void *) 0 ; @@ -24085,7 +24128,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_data_set(void * jarg1, void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_data_get___(void * jarg1) { void * jresult ; switch_frame *arg1 = (switch_frame *) 0 ; void *result = 0 ; @@ -24097,7 +24140,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_data_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_datalen_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_datalen_set___(void * jarg1, unsigned long jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; uint32_t arg2 ; @@ -24107,7 +24150,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_datalen_set(void * jarg1, unsign } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_datalen_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_datalen_get___(void * jarg1) { unsigned long jresult ; switch_frame *arg1 = (switch_frame *) 0 ; uint32_t result; @@ -24119,7 +24162,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_datalen_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_buflen_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_buflen_set___(void * jarg1, unsigned long jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; uint32_t arg2 ; @@ -24129,7 +24172,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_buflen_set(void * jarg1, unsigne } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_buflen_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_buflen_get___(void * jarg1) { unsigned long jresult ; switch_frame *arg1 = (switch_frame *) 0 ; uint32_t result; @@ -24141,7 +24184,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_buflen_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_samples_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_samples_set___(void * jarg1, unsigned long jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; uint32_t arg2 ; @@ -24151,7 +24194,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_samples_set(void * jarg1, unsign } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_samples_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_samples_get___(void * jarg1) { unsigned long jresult ; switch_frame *arg1 = (switch_frame *) 0 ; uint32_t result; @@ -24163,7 +24206,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_samples_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_rate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_rate_set___(void * jarg1, unsigned long jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; uint32_t arg2 ; @@ -24173,7 +24216,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_rate_set(void * jarg1, unsigned } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_rate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_rate_get___(void * jarg1) { unsigned long jresult ; switch_frame *arg1 = (switch_frame *) 0 ; uint32_t result; @@ -24185,7 +24228,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_rate_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_channels_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_channels_set___(void * jarg1, unsigned long jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; uint32_t arg2 ; @@ -24195,7 +24238,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_channels_set(void * jarg1, unsig } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_channels_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_channels_get___(void * jarg1) { unsigned long jresult ; switch_frame *arg1 = (switch_frame *) 0 ; uint32_t result; @@ -24207,7 +24250,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_channels_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_payload_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_payload_set___(void * jarg1, unsigned char jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; switch_payload_t arg2 ; @@ -24217,7 +24260,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_payload_set(void * jarg1, unsign } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_frame_payload_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_payload_get___(void * jarg1) { unsigned char jresult ; switch_frame *arg1 = (switch_frame *) 0 ; switch_payload_t result; @@ -24229,7 +24272,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_frame_payload_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_timestamp_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_timestamp_set___(void * jarg1, unsigned long jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; uint32_t arg2 ; @@ -24239,7 +24282,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_timestamp_set(void * jarg1, unsi } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_timestamp_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_timestamp_get___(void * jarg1) { unsigned long jresult ; switch_frame *arg1 = (switch_frame *) 0 ; uint32_t result; @@ -24251,7 +24294,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_timestamp_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_seq_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_seq_set___(void * jarg1, unsigned short jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; uint16_t arg2 ; @@ -24261,7 +24304,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_seq_set(void * jarg1, unsigned s } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_frame_seq_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_seq_get___(void * jarg1) { unsigned short jresult ; switch_frame *arg1 = (switch_frame *) 0 ; uint16_t result; @@ -24273,7 +24316,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_frame_seq_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_ssrc_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_ssrc_set___(void * jarg1, unsigned long jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; uint32_t arg2 ; @@ -24283,7 +24326,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_ssrc_set(void * jarg1, unsigned } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_ssrc_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_ssrc_get___(void * jarg1) { unsigned long jresult ; switch_frame *arg1 = (switch_frame *) 0 ; uint32_t result; @@ -24295,7 +24338,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_ssrc_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_m_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_m_set___(void * jarg1, int jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; switch_bool_t arg2 ; @@ -24305,19 +24348,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_m_set(void * jarg1, int jarg2) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_frame_m_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_m_get___(void * jarg1) { int jresult ; switch_frame *arg1 = (switch_frame *) 0 ; switch_bool_t result; arg1 = (switch_frame *)jarg1; result = (switch_bool_t) ((arg1)->m); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_flags_set___(void * jarg1, unsigned long jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; switch_frame_flag_t arg2 ; @@ -24327,7 +24370,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_flags_set(void * jarg1, unsigned } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_flags_get___(void * jarg1) { unsigned long jresult ; switch_frame *arg1 = (switch_frame *) 0 ; switch_frame_flag_t result; @@ -24339,7 +24382,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_flags_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_user_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_user_data_set___(void * jarg1, void * jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; void *arg2 = (void *) 0 ; @@ -24349,7 +24392,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_user_data_set(void * jarg1, void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_user_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_user_data_get___(void * jarg1) { void * jresult ; switch_frame *arg1 = (switch_frame *) 0 ; void *result = 0 ; @@ -24361,7 +24404,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_user_data_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_pmap_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_pmap_set___(void * jarg1, void * jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; payload_map_t *arg2 = (payload_map_t *) 0 ; @@ -24371,7 +24414,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_pmap_set(void * jarg1, void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_pmap_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_pmap_get___(void * jarg1) { void * jresult ; switch_frame *arg1 = (switch_frame *) 0 ; payload_map_t *result = 0 ; @@ -24383,7 +24426,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_pmap_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_img_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_img_set___(void * jarg1, void * jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; switch_image_t *arg2 = (switch_image_t *) 0 ; @@ -24393,7 +24436,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_img_set(void * jarg1, void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_img_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_img_get___(void * jarg1) { void * jresult ; switch_frame *arg1 = (switch_frame *) 0 ; switch_image_t *result = 0 ; @@ -24405,7 +24448,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_img_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_set___(void * jarg1, void * jarg2) { switch_frame *arg1 = (switch_frame *) 0 ; switch_frame_geometry *arg2 = (switch_frame_geometry *) 0 ; @@ -24415,7 +24458,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_geometry_set(void * jarg1, void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_geometry_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_frame_geometry_get___(void * jarg1) { void * jresult ; switch_frame *arg1 = (switch_frame *) 0 ; switch_frame_geometry *result = 0 ; @@ -24427,7 +24470,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_frame_geometry_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_frame() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_frame___() { void * jresult ; switch_frame *result = 0 ; @@ -24437,7 +24480,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_frame() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_frame(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_frame___(void * jarg1) { switch_frame *arg1 = (switch_frame *) 0 ; arg1 = (switch_frame *)jarg1; @@ -24445,7 +24488,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_frame(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_init_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_init_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; @@ -24455,7 +24498,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_init_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_init_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_init_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t result; @@ -24467,7 +24510,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_init_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_routing_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_routing_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; @@ -24477,7 +24520,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_routing_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_routing_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_routing_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t result; @@ -24489,7 +24532,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_routing_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_execute_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_execute_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; @@ -24499,7 +24542,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_execute_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_execute_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_execute_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t result; @@ -24511,7 +24554,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_execute_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_hangup_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_hangup_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; @@ -24521,7 +24564,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_hangup_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_hangup_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_hangup_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t result; @@ -24533,7 +24576,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_hangup_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_exchange_media_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_exchange_media_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; @@ -24543,7 +24586,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_exchange_media_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_exchange_media_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_exchange_media_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t result; @@ -24555,7 +24598,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_exchange_medi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_soft_execute_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_soft_execute_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; @@ -24565,7 +24608,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_soft_execute_se } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_soft_execute_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_soft_execute_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t result; @@ -24577,7 +24620,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_soft_execute_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_consume_media_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_consume_media_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; @@ -24587,7 +24630,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_consume_media_s } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_consume_media_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_consume_media_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t result; @@ -24599,7 +24642,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_consume_media } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_hibernate_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_hibernate_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; @@ -24609,7 +24652,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_hibernate_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_hibernate_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_hibernate_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t result; @@ -24621,7 +24664,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_hibernate_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_reset_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_reset_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; @@ -24631,7 +24674,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_reset_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_reset_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_reset_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t result; @@ -24643,7 +24686,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_reset_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_park_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_park_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; @@ -24653,7 +24696,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_park_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_park_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_park_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t result; @@ -24665,7 +24708,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_park_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_reporting_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_reporting_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; @@ -24675,7 +24718,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_reporting_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_reporting_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_reporting_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t result; @@ -24687,7 +24730,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_reporting_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_destroy_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_destroy_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t arg2 = (switch_state_handler_t) 0 ; @@ -24697,7 +24740,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_on_destroy_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_destroy_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_on_destroy_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; switch_state_handler_t result; @@ -24709,7 +24752,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_on_destroy_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_flags_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_flags_set___(void * jarg1, int jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; int arg2 ; @@ -24719,7 +24762,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_flags_set(void * j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_state_handler_table_flags_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_flags_get___(void * jarg1) { int jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; int result; @@ -24731,7 +24774,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_state_handler_table_flags_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_padding_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_padding_set___(void * jarg1, void * jarg2) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; void **arg2 ; @@ -24745,7 +24788,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_state_handler_table_padding_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_padding_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_state_handler_table_padding_get___(void * jarg1) { void * jresult ; switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; void **result = 0 ; @@ -24757,7 +24800,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_state_handler_table_padding_get(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_state_handler_table() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_state_handler_table___() { void * jresult ; switch_state_handler_table *result = 0 ; @@ -24767,7 +24810,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_state_handler_table() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_state_handler_table(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_state_handler_table___(void * jarg1) { switch_state_handler_table *arg1 = (switch_state_handler_table *) 0 ; arg1 = (switch_state_handler_table *)jarg1; @@ -24775,7 +24818,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_state_handler_table(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_read_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_read_function_set___(void * jarg1, void * jarg2) { switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_stream_handle_read_function_t arg2 = (switch_stream_handle_read_function_t) 0 ; @@ -24785,7 +24828,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_read_function_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_read_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_read_function_get___(void * jarg1) { void * jresult ; switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_stream_handle_read_function_t result; @@ -24797,7 +24840,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_read_function_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_write_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_write_function_set___(void * jarg1, void * jarg2) { switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_stream_handle_write_function_t arg2 = (switch_stream_handle_write_function_t) 0 ; @@ -24807,7 +24850,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_write_function_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_write_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_write_function_get___(void * jarg1) { void * jresult ; switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_stream_handle_write_function_t result; @@ -24819,7 +24862,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_write_function_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_raw_write_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_raw_write_function_set___(void * jarg1, void * jarg2) { switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_stream_handle_raw_write_function_t arg2 = (switch_stream_handle_raw_write_function_t) 0 ; @@ -24829,7 +24872,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_raw_write_function_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_raw_write_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_raw_write_function_get___(void * jarg1) { void * jresult ; switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_stream_handle_raw_write_function_t result; @@ -24841,7 +24884,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_raw_write_function_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_data_set___(void * jarg1, void * jarg2) { switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; void *arg2 = (void *) 0 ; @@ -24851,7 +24894,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_data_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_data_get___(void * jarg1) { void * jresult ; switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; void *result = 0 ; @@ -24863,7 +24906,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_data_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_end_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_end_set___(void * jarg1, void * jarg2) { switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; void *arg2 = (void *) 0 ; @@ -24873,7 +24916,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_end_set(void * jarg1, vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_end_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_end_get___(void * jarg1) { void * jresult ; switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; void *result = 0 ; @@ -24885,7 +24928,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_end_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_data_size_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_data_size_set___(void * jarg1, void * jarg2) { switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -24901,7 +24944,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_data_size_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_data_size_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_data_size_get___(void * jarg1) { void * jresult ; switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_size_t result; @@ -24913,7 +24956,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_data_size_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_data_len_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_data_len_set___(void * jarg1, void * jarg2) { switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -24929,7 +24972,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_data_len_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_data_len_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_data_len_get___(void * jarg1) { void * jresult ; switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_size_t result; @@ -24941,7 +24984,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_data_len_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_alloc_len_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_alloc_len_set___(void * jarg1, void * jarg2) { switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -24957,7 +25000,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_alloc_len_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_alloc_len_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_alloc_len_get___(void * jarg1) { void * jresult ; switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_size_t result; @@ -24969,7 +25012,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_alloc_len_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_alloc_chunk_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_alloc_chunk_set___(void * jarg1, void * jarg2) { switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -24985,7 +25028,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_alloc_chunk_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_alloc_chunk_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_alloc_chunk_get___(void * jarg1) { void * jresult ; switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_size_t result; @@ -24997,7 +25040,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_alloc_chunk_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_param_event_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_param_event_set___(void * jarg1, void * jarg2) { switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -25007,7 +25050,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_stream_handle_param_event_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_param_event_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_stream_handle_param_event_get___(void * jarg1) { void * jresult ; switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; switch_event_t *result = 0 ; @@ -25019,7 +25062,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_stream_handle_param_event_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_stream_handle() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_stream_handle___() { void * jresult ; switch_stream_handle *result = 0 ; @@ -25029,7 +25072,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_stream_handle() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_stream_handle(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_stream_handle___(void * jarg1) { switch_stream_handle *arg1 = (switch_stream_handle *) 0 ; arg1 = (switch_stream_handle *)jarg1; @@ -25037,7 +25080,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_stream_handle(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_outgoing_channel_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_outgoing_channel_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_outgoing_channel_t arg2 = (switch_io_outgoing_channel_t) 0 ; @@ -25047,7 +25090,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_outgoing_channel_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_outgoing_channel_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_outgoing_channel_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_outgoing_channel_t result; @@ -25059,7 +25102,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_outgoing_channel_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_read_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_read_frame_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_read_frame_t arg2 = (switch_io_read_frame_t) 0 ; @@ -25069,7 +25112,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_read_frame_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_read_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_read_frame_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_read_frame_t result; @@ -25081,7 +25124,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_read_frame_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_write_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_write_frame_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_write_frame_t arg2 = (switch_io_write_frame_t) 0 ; @@ -25091,7 +25134,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_write_frame_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_write_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_write_frame_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_write_frame_t result; @@ -25103,7 +25146,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_write_frame_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_kill_channel_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_kill_channel_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_kill_channel_t arg2 = (switch_io_kill_channel_t) 0 ; @@ -25113,7 +25156,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_kill_channel_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_kill_channel_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_kill_channel_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_kill_channel_t result; @@ -25125,7 +25168,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_kill_channel_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_send_dtmf_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_send_dtmf_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_send_dtmf_t arg2 = (switch_io_send_dtmf_t) 0 ; @@ -25135,7 +25178,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_send_dtmf_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_send_dtmf_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_send_dtmf_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_send_dtmf_t result; @@ -25147,7 +25190,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_send_dtmf_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_receive_message_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_receive_message_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_receive_message_t arg2 = (switch_io_receive_message_t) 0 ; @@ -25157,7 +25200,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_receive_message_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_receive_message_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_receive_message_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_receive_message_t result; @@ -25169,7 +25212,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_receive_message_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_receive_event_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_receive_event_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_receive_event_t arg2 = (switch_io_receive_event_t) 0 ; @@ -25179,7 +25222,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_receive_event_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_receive_event_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_receive_event_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_receive_event_t result; @@ -25191,7 +25234,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_receive_event_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_state_change_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_state_change_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_state_change_t arg2 = (switch_io_state_change_t) 0 ; @@ -25201,7 +25244,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_state_change_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_state_change_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_state_change_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_state_change_t result; @@ -25213,7 +25256,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_state_change_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_read_video_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_read_video_frame_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_read_video_frame_t arg2 = (switch_io_read_video_frame_t) 0 ; @@ -25223,7 +25266,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_read_video_frame_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_read_video_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_read_video_frame_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_read_video_frame_t result; @@ -25235,7 +25278,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_read_video_frame_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_write_video_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_write_video_frame_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_write_video_frame_t arg2 = (switch_io_write_video_frame_t) 0 ; @@ -25245,7 +25288,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_write_video_frame_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_write_video_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_write_video_frame_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_write_video_frame_t result; @@ -25257,7 +25300,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_write_video_frame_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_read_text_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_read_text_frame_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_read_text_frame_t arg2 = (switch_io_read_text_frame_t) 0 ; @@ -25267,7 +25310,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_read_text_frame_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_read_text_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_read_text_frame_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_read_text_frame_t result; @@ -25279,7 +25322,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_read_text_frame_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_write_text_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_write_text_frame_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_write_text_frame_t arg2 = (switch_io_write_text_frame_t) 0 ; @@ -25289,7 +25332,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_write_text_frame_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_write_text_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_write_text_frame_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_write_text_frame_t result; @@ -25301,7 +25344,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_write_text_frame_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_state_run_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_state_run_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_state_run_t arg2 = (switch_io_state_run_t) 0 ; @@ -25311,7 +25354,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_state_run_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_state_run_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_state_run_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_state_run_t result; @@ -25323,7 +25366,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_state_run_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_get_jb_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_get_jb_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_get_jb_t arg2 = (switch_io_get_jb_t) 0 ; @@ -25333,7 +25376,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_get_jb_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_get_jb_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_get_jb_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; switch_io_get_jb_t result; @@ -25345,7 +25388,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_get_jb_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_padding_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_padding_set___(void * jarg1, void * jarg2) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; void **arg2 ; @@ -25359,7 +25402,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_routines_padding_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_padding_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_routines_padding_get___(void * jarg1) { void * jresult ; switch_io_routines *arg1 = (switch_io_routines *) 0 ; void **result = 0 ; @@ -25371,7 +25414,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_routines_padding_get(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_routines() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_routines___() { void * jresult ; switch_io_routines *result = 0 ; @@ -25381,7 +25424,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_routines() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_routines(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_routines___(void * jarg1) { switch_io_routines *arg1 = (switch_io_routines *) 0 ; arg1 = (switch_io_routines *)jarg1; @@ -25389,7 +25432,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_routines(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -25406,7 +25449,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_interface_name_set( } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_endpoint_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; char *result = 0 ; @@ -25418,7 +25461,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_endpoint_interface_interface_name_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_io_routines_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_io_routines_set___(void * jarg1, void * jarg2) { switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_io_routines_t *arg2 = (switch_io_routines_t *) 0 ; @@ -25428,7 +25471,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_io_routines_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_io_routines_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_io_routines_get___(void * jarg1) { void * jresult ; switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_io_routines_t *result = 0 ; @@ -25440,7 +25483,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_io_routines_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_state_handler_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_state_handler_set___(void * jarg1, void * jarg2) { switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_state_handler_table_t *arg2 = (switch_state_handler_table_t *) 0 ; @@ -25450,7 +25493,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_state_handler_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_state_handler_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_state_handler_get___(void * jarg1) { void * jresult ; switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_state_handler_table_t *result = 0 ; @@ -25462,7 +25505,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_state_handler_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_private_info_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_private_info_set___(void * jarg1, void * jarg2) { switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; void *arg2 = (void *) 0 ; @@ -25472,7 +25515,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_private_info_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_private_info_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_private_info_get___(void * jarg1) { void * jresult ; switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; void *result = 0 ; @@ -25484,7 +25527,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_private_info_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -25494,7 +25537,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_rwlock_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -25506,7 +25549,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_rwlock_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_refs_set___(void * jarg1, int jarg2) { switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; int arg2 ; @@ -25516,7 +25559,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_refs_set(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_endpoint_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_refs_get___(void * jarg1) { int jresult ; switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; int result; @@ -25528,7 +25571,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_endpoint_interface_refs_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_reflock_set___(void * jarg1, void * jarg2) { switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -25538,7 +25581,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_reflock_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_reflock_get___(void * jarg1) { void * jresult ; switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -25550,7 +25593,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_reflock_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_parent_set___(void * jarg1, void * jarg2) { switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -25560,7 +25603,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_parent_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_parent_get___(void * jarg1) { void * jresult ; switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -25572,7 +25615,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_parent_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_next_set___(void * jarg1, void * jarg2) { switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_endpoint_interface *arg2 = (switch_endpoint_interface *) 0 ; @@ -25582,7 +25625,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_next_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_next_get___(void * jarg1) { void * jresult ; switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_endpoint_interface *result = 0 ; @@ -25594,7 +25637,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_next_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_recover_callback_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_recover_callback_set___(void * jarg1, void * jarg2) { switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_core_recover_callback_t arg2 = (switch_core_recover_callback_t) 0 ; @@ -25604,7 +25647,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_endpoint_interface_recover_callback_se } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_recover_callback_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_endpoint_interface_recover_callback_get___(void * jarg1) { void * jresult ; switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; switch_core_recover_callback_t result; @@ -25616,7 +25659,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_endpoint_interface_recover_callback_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_endpoint_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_endpoint_interface___() { void * jresult ; switch_endpoint_interface *result = 0 ; @@ -25626,7 +25669,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_endpoint_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_endpoint_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_endpoint_interface___(void * jarg1) { switch_endpoint_interface *arg1 = (switch_endpoint_interface *) 0 ; arg1 = (switch_endpoint_interface *)jarg1; @@ -25634,7 +25677,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_endpoint_interface(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interval_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interval_set___(void * jarg1, int jarg2) { switch_timer *arg1 = (switch_timer *) 0 ; int arg2 ; @@ -25644,7 +25687,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interval_set(void * jarg1, int j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_timer_interval_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interval_get___(void * jarg1) { int jresult ; switch_timer *arg1 = (switch_timer *) 0 ; int result; @@ -25656,7 +25699,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_timer_interval_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_flags_set___(void * jarg1, unsigned long jarg2) { switch_timer *arg1 = (switch_timer *) 0 ; uint32_t arg2 ; @@ -25666,7 +25709,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_flags_set(void * jarg1, unsigned } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_timer_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_flags_get___(void * jarg1) { unsigned long jresult ; switch_timer *arg1 = (switch_timer *) 0 ; uint32_t result; @@ -25678,7 +25721,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_timer_flags_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_samples_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_samples_set___(void * jarg1, unsigned int jarg2) { switch_timer *arg1 = (switch_timer *) 0 ; unsigned int arg2 ; @@ -25688,7 +25731,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_samples_set(void * jarg1, unsign } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_timer_samples_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_samples_get___(void * jarg1) { unsigned int jresult ; switch_timer *arg1 = (switch_timer *) 0 ; unsigned int result; @@ -25700,7 +25743,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_timer_samples_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_samplecount_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_samplecount_set___(void * jarg1, unsigned long jarg2) { switch_timer *arg1 = (switch_timer *) 0 ; uint32_t arg2 ; @@ -25710,7 +25753,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_samplecount_set(void * jarg1, un } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_timer_samplecount_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_samplecount_get___(void * jarg1) { unsigned long jresult ; switch_timer *arg1 = (switch_timer *) 0 ; uint32_t result; @@ -25722,7 +25765,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_timer_samplecount_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_last_samplecount_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_last_samplecount_set___(void * jarg1, unsigned long jarg2) { switch_timer *arg1 = (switch_timer *) 0 ; uint32_t arg2 ; @@ -25732,7 +25775,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_last_samplecount_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_timer_last_samplecount_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_last_samplecount_get___(void * jarg1) { unsigned long jresult ; switch_timer *arg1 = (switch_timer *) 0 ; uint32_t result; @@ -25744,7 +25787,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_timer_last_samplecount_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_timer_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_timer_interface_set___(void * jarg1, void * jarg2) { switch_timer *arg1 = (switch_timer *) 0 ; switch_timer_interface_t *arg2 = (switch_timer_interface_t *) 0 ; @@ -25754,7 +25797,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_timer_interface_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_timer_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_timer_interface_get___(void * jarg1) { void * jresult ; switch_timer *arg1 = (switch_timer *) 0 ; switch_timer_interface_t *result = 0 ; @@ -25766,7 +25809,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_timer_interface_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_memory_pool_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_memory_pool_set___(void * jarg1, void * jarg2) { switch_timer *arg1 = (switch_timer *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -25776,7 +25819,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_memory_pool_set(void * jarg1, vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_memory_pool_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_memory_pool_get___(void * jarg1) { void * jresult ; switch_timer *arg1 = (switch_timer *) 0 ; switch_memory_pool_t *result = 0 ; @@ -25788,7 +25831,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_memory_pool_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_private_info_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_private_info_set___(void * jarg1, void * jarg2) { switch_timer *arg1 = (switch_timer *) 0 ; void *arg2 = (void *) 0 ; @@ -25798,7 +25841,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_private_info_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_private_info_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_private_info_get___(void * jarg1) { void * jresult ; switch_timer *arg1 = (switch_timer *) 0 ; void *result = 0 ; @@ -25810,7 +25853,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_private_info_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_diff_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_diff_set___(void * jarg1, void * jarg2) { switch_timer *arg1 = (switch_timer *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -25826,7 +25869,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_diff_set(void * jarg1, void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_diff_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_diff_get___(void * jarg1) { void * jresult ; switch_timer *arg1 = (switch_timer *) 0 ; switch_size_t result; @@ -25838,7 +25881,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_diff_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_start_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_start_set___(void * jarg1, void * jarg2) { switch_timer *arg1 = (switch_timer *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -25854,7 +25897,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_start_set(void * jarg1, void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_start_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_start_get___(void * jarg1) { void * jresult ; switch_timer *arg1 = (switch_timer *) 0 ; switch_time_t result; @@ -25866,7 +25909,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_start_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_tick_set(void * jarg1, unsigned long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_tick_set___(void * jarg1, unsigned long long jarg2) { switch_timer *arg1 = (switch_timer *) 0 ; uint64_t arg2 ; @@ -25876,7 +25919,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_tick_set(void * jarg1, unsigned } -SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_switch_timer_tick_get(void * jarg1) { +SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_tick_get___(void * jarg1) { unsigned long long jresult ; switch_timer *arg1 = (switch_timer *) 0 ; uint64_t result; @@ -25888,7 +25931,7 @@ SWIGEXPORT unsigned long long SWIGSTDCALL CSharp_switch_timer_tick_get(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_timer() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_timer___() { void * jresult ; switch_timer *result = 0 ; @@ -25898,7 +25941,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_timer() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_timer(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_timer___(void * jarg1) { switch_timer *arg1 = (switch_timer *) 0 ; arg1 = (switch_timer *)jarg1; @@ -25906,7 +25949,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_timer(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -25923,7 +25966,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_interface_name_set(voi } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_timer_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; char *result = 0 ; @@ -25935,7 +25978,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_timer_interface_interface_name_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_init_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_timer_init_set___(void * jarg1, void * jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_status_t (*arg2)(switch_timer_t *) = (switch_status_t (*)(switch_timer_t *)) 0 ; @@ -25945,7 +25988,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_init_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_init_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_timer_init_get___(void * jarg1) { void * jresult ; switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_status_t (*result)(switch_timer_t *) = 0 ; @@ -25957,7 +26000,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_init_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_timer_next_set___(void * jarg1, void * jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_status_t (*arg2)(switch_timer_t *) = (switch_status_t (*)(switch_timer_t *)) 0 ; @@ -25967,7 +26010,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_next_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_timer_next_get___(void * jarg1) { void * jresult ; switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_status_t (*result)(switch_timer_t *) = 0 ; @@ -25979,7 +26022,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_next_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_step_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_timer_step_set___(void * jarg1, void * jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_status_t (*arg2)(switch_timer_t *) = (switch_status_t (*)(switch_timer_t *)) 0 ; @@ -25989,7 +26032,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_step_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_step_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_timer_step_get___(void * jarg1) { void * jresult ; switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_status_t (*result)(switch_timer_t *) = 0 ; @@ -26001,7 +26044,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_step_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_sync_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_timer_sync_set___(void * jarg1, void * jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_status_t (*arg2)(switch_timer_t *) = (switch_status_t (*)(switch_timer_t *)) 0 ; @@ -26011,7 +26054,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_sync_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_sync_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_timer_sync_get___(void * jarg1) { void * jresult ; switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_status_t (*result)(switch_timer_t *) = 0 ; @@ -26023,7 +26066,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_sync_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_check_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_timer_check_set___(void * jarg1, void * jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_status_t (*arg2)(switch_timer_t *,switch_bool_t) = (switch_status_t (*)(switch_timer_t *,switch_bool_t)) 0 ; @@ -26033,7 +26076,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_check_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_check_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_timer_check_get___(void * jarg1) { void * jresult ; switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_status_t (*result)(switch_timer_t *,switch_bool_t) = 0 ; @@ -26045,7 +26088,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_check_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_destroy_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_timer_destroy_set___(void * jarg1, void * jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_status_t (*arg2)(switch_timer_t *) = (switch_status_t (*)(switch_timer_t *)) 0 ; @@ -26055,7 +26098,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_timer_destroy_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_destroy_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_timer_destroy_get___(void * jarg1) { void * jresult ; switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_status_t (*result)(switch_timer_t *) = 0 ; @@ -26067,7 +26110,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_timer_destroy_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -26077,7 +26120,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_rwlock_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -26089,7 +26132,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_rwlock_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_refs_set___(void * jarg1, int jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; int arg2 ; @@ -26099,7 +26142,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_refs_set(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_timer_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_refs_get___(void * jarg1) { int jresult ; switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; int result; @@ -26111,7 +26154,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_timer_interface_refs_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_reflock_set___(void * jarg1, void * jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -26121,7 +26164,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_reflock_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_reflock_get___(void * jarg1) { void * jresult ; switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -26133,7 +26176,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_reflock_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_parent_set___(void * jarg1, void * jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -26143,7 +26186,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_parent_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_parent_get___(void * jarg1) { void * jresult ; switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -26155,7 +26198,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_parent_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_next_set___(void * jarg1, void * jarg2) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_timer_interface *arg2 = (switch_timer_interface *) 0 ; @@ -26165,7 +26208,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_timer_interface_next_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_timer_interface_next_get___(void * jarg1) { void * jresult ; switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; switch_timer_interface *result = 0 ; @@ -26177,7 +26220,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_timer_interface_next_get(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_timer_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_timer_interface___() { void * jresult ; switch_timer_interface *result = 0 ; @@ -26187,7 +26230,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_timer_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_timer_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_timer_interface___(void * jarg1) { switch_timer_interface *arg1 = (switch_timer_interface *) 0 ; arg1 = (switch_timer_interface *)jarg1; @@ -26195,7 +26238,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_timer_interface(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -26212,7 +26255,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_interface_name_set( } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_dialplan_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; char *result = 0 ; @@ -26224,7 +26267,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_dialplan_interface_interface_name_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_hunt_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_hunt_function_set___(void * jarg1, void * jarg2) { switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; switch_dialplan_hunt_function_t arg2 = (switch_dialplan_hunt_function_t) 0 ; @@ -26234,7 +26277,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_hunt_function_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_hunt_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_hunt_function_get___(void * jarg1) { void * jresult ; switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; switch_dialplan_hunt_function_t result; @@ -26246,7 +26289,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_hunt_function_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -26256,7 +26299,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_rwlock_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -26268,7 +26311,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_rwlock_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_refs_set___(void * jarg1, int jarg2) { switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; int arg2 ; @@ -26278,7 +26321,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_refs_set(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_dialplan_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_refs_get___(void * jarg1) { int jresult ; switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; int result; @@ -26290,7 +26333,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_dialplan_interface_refs_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_reflock_set___(void * jarg1, void * jarg2) { switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -26300,7 +26343,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_reflock_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_reflock_get___(void * jarg1) { void * jresult ; switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -26312,7 +26355,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_reflock_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_parent_set___(void * jarg1, void * jarg2) { switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -26322,7 +26365,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_parent_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_parent_get___(void * jarg1) { void * jresult ; switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -26334,7 +26377,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_parent_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_next_set___(void * jarg1, void * jarg2) { switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; switch_dialplan_interface *arg2 = (switch_dialplan_interface *) 0 ; @@ -26344,7 +26387,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_dialplan_interface_next_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dialplan_interface_next_get___(void * jarg1) { void * jresult ; switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; switch_dialplan_interface *result = 0 ; @@ -26356,7 +26399,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_dialplan_interface_next_get(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_dialplan_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_dialplan_interface___() { void * jresult ; switch_dialplan_interface *result = 0 ; @@ -26366,7 +26409,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_dialplan_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_dialplan_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_dialplan_interface___(void * jarg1) { switch_dialplan_interface *arg1 = (switch_dialplan_interface *) 0 ; arg1 = (switch_dialplan_interface *)jarg1; @@ -26374,7 +26417,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_dialplan_interface(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -26391,7 +26434,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_interface_name_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; char *result = 0 ; @@ -26403,7 +26446,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_interface_interface_name_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_open_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_open_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*arg2)(switch_file_handle_t *,char const *) = (switch_status_t (*)(switch_file_handle_t *,char const *)) 0 ; @@ -26413,7 +26456,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_open_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_open_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_open_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*result)(switch_file_handle_t *,char const *) = 0 ; @@ -26425,7 +26468,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_open_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_close_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_close_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*arg2)(switch_file_handle_t *) = (switch_status_t (*)(switch_file_handle_t *)) 0 ; @@ -26435,7 +26478,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_close_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_close_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_close_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*result)(switch_file_handle_t *) = 0 ; @@ -26447,7 +26490,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_close_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_truncate_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_truncate_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*arg2)(switch_file_handle_t *,int64_t) = (switch_status_t (*)(switch_file_handle_t *,int64_t)) 0 ; @@ -26457,7 +26500,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_truncate_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_truncate_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_truncate_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*result)(switch_file_handle_t *,int64_t) = 0 ; @@ -26469,7 +26512,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_truncate_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_read_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_read_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*arg2)(switch_file_handle_t *,void *,switch_size_t *) = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *)) 0 ; @@ -26479,7 +26522,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_read_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_read_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_read_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*result)(switch_file_handle_t *,void *,switch_size_t *) = 0 ; @@ -26491,7 +26534,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_read_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_write_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_write_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*arg2)(switch_file_handle_t *,void *,switch_size_t *) = (switch_status_t (*)(switch_file_handle_t *,void *,switch_size_t *)) 0 ; @@ -26501,7 +26544,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_write_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_write_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_write_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*result)(switch_file_handle_t *,void *,switch_size_t *) = 0 ; @@ -26513,7 +26556,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_write_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_read_video_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_read_video_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*arg2)(switch_file_handle_t *,switch_frame_t *,switch_video_read_flag_t) = (switch_status_t (*)(switch_file_handle_t *,switch_frame_t *,switch_video_read_flag_t)) 0 ; @@ -26523,7 +26566,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_read_video_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_read_video_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_read_video_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*result)(switch_file_handle_t *,switch_frame_t *,switch_video_read_flag_t) = 0 ; @@ -26535,7 +26578,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_read_video_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_write_video_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_write_video_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*arg2)(switch_file_handle_t *,switch_frame_t *) = (switch_status_t (*)(switch_file_handle_t *,switch_frame_t *)) 0 ; @@ -26545,7 +26588,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_write_video_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_write_video_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_write_video_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*result)(switch_file_handle_t *,switch_frame_t *) = 0 ; @@ -26557,7 +26600,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_write_video_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_seek_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_seek_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*arg2)(switch_file_handle_t *,unsigned int *,int64_t,int) = (switch_status_t (*)(switch_file_handle_t *,unsigned int *,int64_t,int)) 0 ; @@ -26567,7 +26610,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_seek_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_seek_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_seek_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*result)(switch_file_handle_t *,unsigned int *,int64_t,int) = 0 ; @@ -26579,7 +26622,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_seek_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_set_string_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_set_string_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*arg2)(switch_file_handle_t *,switch_audio_col_t,char const *) = (switch_status_t (*)(switch_file_handle_t *,switch_audio_col_t,char const *)) 0 ; @@ -26589,7 +26632,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_set_string_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_set_string_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_set_string_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*result)(switch_file_handle_t *,switch_audio_col_t,char const *) = 0 ; @@ -26601,7 +26644,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_set_string_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_get_string_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_get_string_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*arg2)(switch_file_handle_t *,switch_audio_col_t,char const **) = (switch_status_t (*)(switch_file_handle_t *,switch_audio_col_t,char const **)) 0 ; @@ -26611,7 +26654,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_get_string_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_get_string_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_get_string_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*result)(switch_file_handle_t *,switch_audio_col_t,char const **) = 0 ; @@ -26623,7 +26666,29 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_get_string_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_command_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_pre_close_set___(void * jarg1, void * jarg2) { + switch_file_interface *arg1 = (switch_file_interface *) 0 ; + switch_status_t (*arg2)(switch_file_handle_t *) = (switch_status_t (*)(switch_file_handle_t *)) 0 ; + + arg1 = (switch_file_interface *)jarg1; + arg2 = (switch_status_t (*)(switch_file_handle_t *))jarg2; + if (arg1) (arg1)->file_pre_close = arg2; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_pre_close_get___(void * jarg1) { + void * jresult ; + switch_file_interface *arg1 = (switch_file_interface *) 0 ; + switch_status_t (*result)(switch_file_handle_t *) = 0 ; + + arg1 = (switch_file_interface *)jarg1; + result = (switch_status_t (*)(switch_file_handle_t *)) ((arg1)->file_pre_close); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_command_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*arg2)(switch_file_handle_t *,switch_file_command_t) = (switch_status_t (*)(switch_file_handle_t *,switch_file_command_t)) 0 ; @@ -26633,7 +26698,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_file_command_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_command_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_file_command_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_status_t (*result)(switch_file_handle_t *,switch_file_command_t) = 0 ; @@ -26645,7 +26710,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_file_command_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_extens_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_extens_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; char **arg2 = (char **) 0 ; @@ -26655,7 +26720,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_extens_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_extens_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_extens_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; char **result = 0 ; @@ -26667,7 +26732,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_extens_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -26677,7 +26742,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_rwlock_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -26689,7 +26754,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_rwlock_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_refs_set___(void * jarg1, int jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; int arg2 ; @@ -26699,7 +26764,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_refs_set(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_refs_get___(void * jarg1) { int jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; int result; @@ -26711,7 +26776,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_interface_refs_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_reflock_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -26721,7 +26786,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_reflock_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_reflock_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -26733,7 +26798,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_reflock_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_parent_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -26743,7 +26808,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_parent_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_parent_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -26755,7 +26820,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_parent_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_next_set___(void * jarg1, void * jarg2) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_file_interface *arg2 = (switch_file_interface *) 0 ; @@ -26765,7 +26830,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_interface_next_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_interface_next_get___(void * jarg1) { void * jresult ; switch_file_interface *arg1 = (switch_file_interface *) 0 ; switch_file_interface *result = 0 ; @@ -26777,7 +26842,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_interface_next_get(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_file_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_file_interface___() { void * jresult ; switch_file_interface *result = 0 ; @@ -26787,7 +26852,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_file_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_file_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_file_interface___(void * jarg1) { switch_file_interface *arg1 = (switch_file_interface *) 0 ; arg1 = (switch_file_interface *)jarg1; @@ -26795,7 +26860,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_file_interface(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_file_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_file_interface_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_file_interface_t *arg2 = (switch_file_interface_t *) 0 ; @@ -26805,7 +26870,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_file_interface_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_file_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_file_interface_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_file_interface_t *result = 0 ; @@ -26817,7 +26882,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_file_interface_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_flags_set___(void * jarg1, unsigned long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t arg2 ; @@ -26827,7 +26892,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_flags_set(void * jarg1, un } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_flags_get___(void * jarg1) { unsigned long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t result; @@ -26839,7 +26904,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_flags_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_fd_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_fd_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_file_t *arg2 = (switch_file_t *) 0 ; @@ -26849,7 +26914,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_fd_set(void * jarg1, void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_fd_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_fd_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_file_t *result = 0 ; @@ -26861,7 +26926,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_fd_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_samples_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_samples_set___(void * jarg1, unsigned int jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; unsigned int arg2 ; @@ -26871,7 +26936,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_samples_set(void * jarg1, } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_file_handle_samples_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_samples_get___(void * jarg1) { unsigned int jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; unsigned int result; @@ -26883,7 +26948,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_file_handle_samples_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_samplerate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_samplerate_set___(void * jarg1, unsigned long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t arg2 ; @@ -26893,7 +26958,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_samplerate_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_samplerate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_samplerate_get___(void * jarg1) { unsigned long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t result; @@ -26905,7 +26970,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_samplerate_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_native_rate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_native_rate_set___(void * jarg1, unsigned long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t arg2 ; @@ -26915,7 +26980,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_native_rate_set(void * jar } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_native_rate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_native_rate_get___(void * jarg1) { unsigned long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t result; @@ -26927,7 +26992,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_native_rate_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_channels_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_channels_set___(void * jarg1, unsigned long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t arg2 ; @@ -26937,7 +27002,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_channels_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_channels_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_channels_get___(void * jarg1) { unsigned long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t result; @@ -26949,7 +27014,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_channels_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_real_channels_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_real_channels_set___(void * jarg1, unsigned long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t arg2 ; @@ -26959,7 +27024,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_real_channels_set(void * j } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_real_channels_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_real_channels_get___(void * jarg1) { unsigned long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t result; @@ -26971,7 +27036,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_real_channels_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_format_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_format_set___(void * jarg1, unsigned int jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; unsigned int arg2 ; @@ -26981,7 +27046,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_format_set(void * jarg1, u } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_file_handle_format_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_format_get___(void * jarg1) { unsigned int jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; unsigned int result; @@ -26993,7 +27058,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_file_handle_format_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_sections_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_sections_set___(void * jarg1, unsigned int jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; unsigned int arg2 ; @@ -27003,7 +27068,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_sections_set(void * jarg1, } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_file_handle_sections_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_sections_get___(void * jarg1) { unsigned int jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; unsigned int result; @@ -27015,7 +27080,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_switch_file_handle_sections_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_seekable_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_seekable_set___(void * jarg1, int jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; int arg2 ; @@ -27025,7 +27090,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_seekable_set(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_seekable_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_seekable_get___(void * jarg1) { int jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; int result; @@ -27037,7 +27102,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_seekable_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_sample_count_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_sample_count_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -27053,7 +27118,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_sample_count_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_sample_count_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_sample_count_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_size_t result; @@ -27065,7 +27130,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_sample_count_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_speed_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_speed_set___(void * jarg1, int jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; int arg2 ; @@ -27075,7 +27140,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_speed_set(void * jarg1, in } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_speed_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_speed_get___(void * jarg1) { int jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; int result; @@ -27087,7 +27152,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_speed_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_memory_pool_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_memory_pool_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -27097,7 +27162,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_memory_pool_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_memory_pool_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_memory_pool_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_memory_pool_t *result = 0 ; @@ -27109,7 +27174,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_memory_pool_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_prebuf_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_prebuf_set___(void * jarg1, unsigned long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t arg2 ; @@ -27119,7 +27184,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_prebuf_set(void * jarg1, u } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_prebuf_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_prebuf_get___(void * jarg1) { unsigned long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t result; @@ -27131,7 +27196,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_prebuf_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_interval_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_interval_set___(void * jarg1, unsigned long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t arg2 ; @@ -27141,7 +27206,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_interval_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_interval_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_interval_get___(void * jarg1) { unsigned long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t result; @@ -27153,7 +27218,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_interval_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_private_info_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_private_info_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; void *arg2 = (void *) 0 ; @@ -27163,7 +27228,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_private_info_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_private_info_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_private_info_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; void *result = 0 ; @@ -27175,7 +27240,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_private_info_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_handler_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_handler_set___(void * jarg1, char * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -27193,7 +27258,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_handler_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_handler_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_handler_get___(void * jarg1) { char * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *result = 0 ; @@ -27205,7 +27270,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_handler_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_pos_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_pos_set___(void * jarg1, long long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; int64_t arg2 ; @@ -27215,7 +27280,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_pos_set(void * jarg1, long } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_file_handle_pos_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_pos_get___(void * jarg1) { long long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; int64_t result; @@ -27227,7 +27292,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_file_handle_pos_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_audio_buffer_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_audio_buffer_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_buffer_t *arg2 = (switch_buffer_t *) 0 ; @@ -27237,7 +27302,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_audio_buffer_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_audio_buffer_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_audio_buffer_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_buffer_t *result = 0 ; @@ -27249,7 +27314,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_audio_buffer_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_sp_audio_buffer_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_sp_audio_buffer_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_buffer_t *arg2 = (switch_buffer_t *) 0 ; @@ -27259,7 +27324,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_sp_audio_buffer_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_sp_audio_buffer_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_sp_audio_buffer_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_buffer_t *result = 0 ; @@ -27271,7 +27336,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_sp_audio_buffer_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_thresh_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_thresh_set___(void * jarg1, unsigned long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t arg2 ; @@ -27281,7 +27346,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_thresh_set(void * jarg1, u } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_thresh_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_thresh_get___(void * jarg1) { unsigned long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t result; @@ -27293,7 +27358,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_thresh_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_silence_hits_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_silence_hits_set___(void * jarg1, unsigned long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t arg2 ; @@ -27303,7 +27368,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_silence_hits_set(void * ja } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_silence_hits_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_silence_hits_get___(void * jarg1) { unsigned long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t result; @@ -27315,7 +27380,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_silence_hits_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_offset_pos_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_offset_pos_set___(void * jarg1, unsigned long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t arg2 ; @@ -27325,7 +27390,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_offset_pos_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_offset_pos_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_offset_pos_get___(void * jarg1) { unsigned long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t result; @@ -27337,7 +27402,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_offset_pos_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_samples_in_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_samples_in_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -27353,7 +27418,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_samples_in_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_samples_in_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_samples_in_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_size_t result; @@ -27365,7 +27430,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_samples_in_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_samples_out_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_samples_out_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -27381,7 +27446,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_samples_out_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_samples_out_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_samples_out_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_size_t result; @@ -27393,7 +27458,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_samples_out_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_vol_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_vol_set___(void * jarg1, int jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; int32_t arg2 ; @@ -27403,7 +27468,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_vol_set(void * jarg1, int } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_vol_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_vol_get___(void * jarg1) { int jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; int32_t result; @@ -27415,7 +27480,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_vol_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_resampler_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_resampler_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_audio_resampler_t *arg2 = (switch_audio_resampler_t *) 0 ; @@ -27425,7 +27490,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_resampler_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_resampler_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_resampler_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_audio_resampler_t *result = 0 ; @@ -27437,7 +27502,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_resampler_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_buffer_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_buffer_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_buffer_t *arg2 = (switch_buffer_t *) 0 ; @@ -27447,7 +27512,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_buffer_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_buffer_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_buffer_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_buffer_t *result = 0 ; @@ -27459,7 +27524,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_buffer_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_dbuf_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_dbuf_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_byte_t *arg2 = (switch_byte_t *) 0 ; @@ -27469,7 +27534,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_dbuf_set(void * jarg1, voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_dbuf_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_dbuf_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_byte_t *result = 0 ; @@ -27481,7 +27546,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_dbuf_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_dbuflen_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_dbuflen_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -27497,7 +27562,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_dbuflen_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_dbuflen_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_dbuflen_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_size_t result; @@ -27509,7 +27574,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_dbuflen_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_pre_buffer_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_buffer_t *arg2 = (switch_buffer_t *) 0 ; @@ -27519,7 +27584,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_pre_buffer_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_buffer_t *result = 0 ; @@ -27531,7 +27596,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_pre_buffer_data_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; unsigned char *arg2 = (unsigned char *) 0 ; @@ -27541,7 +27606,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_data_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_pre_buffer_data_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; unsigned char *result = 0 ; @@ -27553,7 +27618,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_data_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_datalen_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_pre_buffer_datalen_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -27569,7 +27634,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_datalen_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_datalen_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_pre_buffer_datalen_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_size_t result; @@ -27581,7 +27646,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_pre_buffer_datalen_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_file_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_file_set___(void * jarg1, char * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -27598,7 +27663,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_file_set(void * jarg1, cha } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_file_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_file_get___(void * jarg1) { char * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *result = 0 ; @@ -27610,7 +27675,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_file_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_func_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_func_set___(void * jarg1, char * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -27627,7 +27692,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_func_set(void * jarg1, cha } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_func_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_func_get___(void * jarg1) { char * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *result = 0 ; @@ -27639,7 +27704,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_func_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_line_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_line_set___(void * jarg1, int jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; int arg2 ; @@ -27649,7 +27714,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_line_set(void * jarg1, int } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_line_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_line_get___(void * jarg1) { int jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; int result; @@ -27661,7 +27726,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_line_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_file_path_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_file_path_set___(void * jarg1, char * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -27679,7 +27744,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_file_path_set(void * jarg1 } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_file_path_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_file_path_get___(void * jarg1) { char * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *result = 0 ; @@ -27691,7 +27756,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_file_path_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_spool_path_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_spool_path_set___(void * jarg1, char * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -27709,7 +27774,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_spool_path_set(void * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_spool_path_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_spool_path_get___(void * jarg1) { char * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *result = 0 ; @@ -27721,7 +27786,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_spool_path_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_prefix_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_prefix_set___(void * jarg1, char * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -27738,7 +27803,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_prefix_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_prefix_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_prefix_get___(void * jarg1) { char * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *result = 0 ; @@ -27750,7 +27815,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_prefix_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_max_samples_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_max_samples_set___(void * jarg1, int jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; int arg2 ; @@ -27760,7 +27825,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_max_samples_set(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_max_samples_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_max_samples_get___(void * jarg1) { int jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; int result; @@ -27772,7 +27837,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_file_handle_max_samples_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle__params_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle__params_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -27782,7 +27847,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle__params_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle__params_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle__params_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_event_t *result = 0 ; @@ -27794,7 +27859,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle__params_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_cur_channels_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_cur_channels_set___(void * jarg1, unsigned long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t arg2 ; @@ -27804,7 +27869,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_cur_channels_set(void * ja } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_cur_channels_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_cur_channels_get___(void * jarg1) { unsigned long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t result; @@ -27816,7 +27881,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_cur_channels_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_cur_samplerate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_cur_samplerate_set___(void * jarg1, unsigned long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t arg2 ; @@ -27826,7 +27891,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_cur_samplerate_set(void * } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_cur_samplerate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_cur_samplerate_get___(void * jarg1) { unsigned long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; uint32_t result; @@ -27838,7 +27903,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_cur_samplerate_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_stream_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_stream_name_set___(void * jarg1, char * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -27856,7 +27921,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_stream_name_set(void * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_stream_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_stream_name_get___(void * jarg1) { char * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *result = 0 ; @@ -27868,7 +27933,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_stream_name_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_modname_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_modname_set___(void * jarg1, char * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -27886,7 +27951,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_modname_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_modname_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_modname_get___(void * jarg1) { char * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; char *result = 0 ; @@ -27898,7 +27963,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_file_handle_modname_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_mm_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_mm_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_mm_t *arg2 = (switch_mm_t *) 0 ; @@ -27908,7 +27973,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_mm_set(void * jarg1, void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_mm_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_mm_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_mm_t *result = 0 ; @@ -27920,7 +27985,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_mm_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_flag_mutex_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_flag_mutex_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -27930,7 +27995,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_flag_mutex_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_flag_mutex_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_flag_mutex_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_mutex_t *result = 0 ; @@ -27942,7 +28007,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_flag_mutex_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_duration_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_duration_set___(void * jarg1, long long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; int64_t arg2 ; @@ -27952,7 +28017,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_duration_set(void * jarg1, } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_file_handle_duration_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_duration_get___(void * jarg1) { long long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; int64_t result; @@ -27964,7 +28029,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_file_handle_duration_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_vpos_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_vpos_set___(void * jarg1, long long jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; int64_t arg2 ; @@ -27974,7 +28039,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_vpos_set(void * jarg1, lon } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_file_handle_vpos_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_vpos_get___(void * jarg1) { long long jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; int64_t result; @@ -27986,7 +28051,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_file_handle_vpos_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_muxbuf_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_muxbuf_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; void *arg2 = (void *) 0 ; @@ -27996,7 +28061,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_muxbuf_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_muxbuf_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_muxbuf_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; void *result = 0 ; @@ -28008,7 +28073,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_muxbuf_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_muxlen_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_muxlen_set___(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -28024,7 +28089,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_muxlen_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_muxlen_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_muxlen_get___(void * jarg1) { void * jresult ; switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_size_t result; @@ -28036,7 +28101,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_file_handle_muxlen_get(void * jarg1) } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_file_handle() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_file_handle___() { void * jresult ; switch_file_handle *result = 0 ; @@ -28046,7 +28111,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_file_handle() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_file_handle(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_file_handle___(void * jarg1) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; arg1 = (switch_file_handle *)jarg1; @@ -28054,7 +28119,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_file_handle(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -28071,7 +28136,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_interface_name_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; char *result = 0 ; @@ -28083,7 +28148,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_interface_interface_name_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_open_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_open_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *,char const *,int,char const *,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,char const *,int,char const *,switch_asr_flag_t *)) 0 ; @@ -28093,7 +28158,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_open_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_open_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_open_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *,char const *,int,char const *,switch_asr_flag_t *) = 0 ; @@ -28105,7 +28170,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_open_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_load_grammar_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_load_grammar_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *,char const *,char const *) = (switch_status_t (*)(switch_asr_handle_t *,char const *,char const *)) 0 ; @@ -28115,7 +28180,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_load_grammar_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_load_grammar_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_load_grammar_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *,char const *,char const *) = 0 ; @@ -28127,7 +28192,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_load_grammar_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_unload_grammar_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_unload_grammar_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *,char const *) = (switch_status_t (*)(switch_asr_handle_t *,char const *)) 0 ; @@ -28137,7 +28202,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_unload_grammar_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_unload_grammar_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_unload_grammar_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *,char const *) = 0 ; @@ -28149,7 +28214,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_unload_grammar_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_close_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_close_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,switch_asr_flag_t *)) 0 ; @@ -28159,7 +28224,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_close_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_close_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_close_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *,switch_asr_flag_t *) = 0 ; @@ -28171,7 +28236,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_close_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_feed_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_feed_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *,void *,unsigned int,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,void *,unsigned int,switch_asr_flag_t *)) 0 ; @@ -28181,7 +28246,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_feed_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_feed_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_feed_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *,void *,unsigned int,switch_asr_flag_t *) = 0 ; @@ -28193,7 +28258,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_feed_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_resume_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_resume_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *) = (switch_status_t (*)(switch_asr_handle_t *)) 0 ; @@ -28203,7 +28268,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_resume_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_resume_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_resume_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *) = 0 ; @@ -28215,7 +28280,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_resume_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_pause_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_pause_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *) = (switch_status_t (*)(switch_asr_handle_t *)) 0 ; @@ -28225,7 +28290,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_pause_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_pause_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_pause_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *) = 0 ; @@ -28237,7 +28302,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_pause_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_check_results_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_check_results_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,switch_asr_flag_t *)) 0 ; @@ -28247,7 +28312,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_check_results_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_check_results_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_check_results_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *,switch_asr_flag_t *) = 0 ; @@ -28259,7 +28324,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_check_results_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_get_results_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_get_results_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *,char **,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,char **,switch_asr_flag_t *)) 0 ; @@ -28269,7 +28334,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_get_results_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_get_results_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_get_results_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *,char **,switch_asr_flag_t *) = 0 ; @@ -28281,7 +28346,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_get_results_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_get_result_headers_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_get_result_headers_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *,switch_event_t **,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,switch_event_t **,switch_asr_flag_t *)) 0 ; @@ -28291,7 +28356,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_get_result_headers_s } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_get_result_headers_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_get_result_headers_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *,switch_event_t **,switch_asr_flag_t *) = 0 ; @@ -28303,7 +28368,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_get_result_headers } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_start_input_timers_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_start_input_timers_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *) = (switch_status_t (*)(switch_asr_handle_t *)) 0 ; @@ -28313,7 +28378,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_start_input_timers_s } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_start_input_timers_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_start_input_timers_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *) = 0 ; @@ -28325,7 +28390,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_start_input_timers } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_text_param_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_text_param_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; void (*arg2)(switch_asr_handle_t *,char *,char const *) = (void (*)(switch_asr_handle_t *,char *,char const *)) 0 ; @@ -28335,7 +28400,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_text_param_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_text_param_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_text_param_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; void (*result)(switch_asr_handle_t *,char *,char const *) = 0 ; @@ -28347,7 +28412,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_text_param_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_numeric_param_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_numeric_param_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; void (*arg2)(switch_asr_handle_t *,char *,int) = (void (*)(switch_asr_handle_t *,char *,int)) 0 ; @@ -28357,7 +28422,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_numeric_param_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_numeric_param_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_numeric_param_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; void (*result)(switch_asr_handle_t *,char *,int) = 0 ; @@ -28369,7 +28434,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_numeric_param_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_float_param_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_float_param_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; void (*arg2)(switch_asr_handle_t *,char *,double) = (void (*)(switch_asr_handle_t *,char *,double)) 0 ; @@ -28379,7 +28444,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_float_param_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_float_param_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_float_param_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; void (*result)(switch_asr_handle_t *,char *,double) = 0 ; @@ -28391,7 +28456,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_float_param_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -28401,7 +28466,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_rwlock_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -28413,7 +28478,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_rwlock_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_refs_set___(void * jarg1, int jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; int arg2 ; @@ -28423,7 +28488,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_refs_set(void * jarg1, i } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_asr_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_refs_get___(void * jarg1) { int jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; int result; @@ -28435,7 +28500,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_asr_interface_refs_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_reflock_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -28445,7 +28510,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_reflock_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_reflock_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -28457,7 +28522,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_reflock_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_parent_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -28467,7 +28532,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_parent_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_parent_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -28479,7 +28544,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_parent_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_next_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_asr_interface *arg2 = (switch_asr_interface *) 0 ; @@ -28489,7 +28554,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_next_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_next_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_asr_interface *result = 0 ; @@ -28501,7 +28566,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_next_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_enable_grammar_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_enable_grammar_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *,char const *) = (switch_status_t (*)(switch_asr_handle_t *,char const *)) 0 ; @@ -28511,7 +28576,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_enable_grammar_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_enable_grammar_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_enable_grammar_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *,char const *) = 0 ; @@ -28523,7 +28588,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_enable_grammar_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_disable_grammar_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_disable_grammar_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *,char const *) = (switch_status_t (*)(switch_asr_handle_t *,char const *)) 0 ; @@ -28533,7 +28598,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_disable_grammar_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_disable_grammar_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_disable_grammar_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *,char const *) = 0 ; @@ -28545,7 +28610,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_disable_grammar_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_disable_all_grammars_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_disable_all_grammars_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *) = (switch_status_t (*)(switch_asr_handle_t *)) 0 ; @@ -28555,7 +28620,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_disable_all_grammars } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_disable_all_grammars_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_disable_all_grammars_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *) = 0 ; @@ -28567,7 +28632,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_disable_all_gramma } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_feed_dtmf_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_feed_dtmf_set___(void * jarg1, void * jarg2) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*arg2)(switch_asr_handle_t *,switch_dtmf_t const *,switch_asr_flag_t *) = (switch_status_t (*)(switch_asr_handle_t *,switch_dtmf_t const *,switch_asr_flag_t *)) 0 ; @@ -28577,7 +28642,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_interface_asr_feed_dtmf_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_feed_dtmf_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_interface_asr_feed_dtmf_get___(void * jarg1) { void * jresult ; switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; switch_status_t (*result)(switch_asr_handle_t *,switch_dtmf_t const *,switch_asr_flag_t *) = 0 ; @@ -28589,7 +28654,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_interface_asr_feed_dtmf_get(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_asr_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_asr_interface___() { void * jresult ; switch_asr_interface *result = 0 ; @@ -28599,7 +28664,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_asr_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_asr_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_asr_interface___(void * jarg1) { switch_asr_interface *arg1 = (switch_asr_interface *) 0 ; arg1 = (switch_asr_interface *)jarg1; @@ -28607,7 +28672,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_asr_interface(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_asr_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_asr_interface_set___(void * jarg1, void * jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; switch_asr_interface_t *arg2 = (switch_asr_interface_t *) 0 ; @@ -28617,7 +28682,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_asr_interface_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_asr_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_asr_interface_get___(void * jarg1) { void * jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; switch_asr_interface_t *result = 0 ; @@ -28629,7 +28694,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_asr_interface_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_flags_set___(void * jarg1, unsigned long jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; uint32_t arg2 ; @@ -28639,7 +28704,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_flags_set(void * jarg1, uns } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_asr_handle_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_flags_get___(void * jarg1) { unsigned long jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; uint32_t result; @@ -28651,7 +28716,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_asr_handle_flags_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_name_set___(void * jarg1, char * jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -28669,7 +28734,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_name_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_handle_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_name_get___(void * jarg1) { char * jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; char *result = 0 ; @@ -28681,7 +28746,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_handle_name_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_codec_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_codec_set___(void * jarg1, char * jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -28699,7 +28764,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_codec_set(void * jarg1, cha } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_handle_codec_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_codec_get___(void * jarg1) { char * jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; char *result = 0 ; @@ -28711,7 +28776,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_handle_codec_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_rate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_rate_set___(void * jarg1, unsigned long jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; uint32_t arg2 ; @@ -28721,7 +28786,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_rate_set(void * jarg1, unsi } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_asr_handle_rate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_rate_get___(void * jarg1) { unsigned long jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; uint32_t result; @@ -28733,7 +28798,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_asr_handle_rate_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_grammar_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_grammar_set___(void * jarg1, char * jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -28751,7 +28816,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_grammar_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_handle_grammar_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_grammar_get___(void * jarg1) { char * jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; char *result = 0 ; @@ -28763,7 +28828,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_handle_grammar_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_param_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_param_set___(void * jarg1, char * jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -28781,7 +28846,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_param_set(void * jarg1, cha } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_handle_param_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_param_get___(void * jarg1) { char * jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; char *result = 0 ; @@ -28793,7 +28858,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_asr_handle_param_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_memory_pool_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_memory_pool_set___(void * jarg1, void * jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -28803,7 +28868,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_memory_pool_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_memory_pool_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_memory_pool_get___(void * jarg1) { void * jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; switch_memory_pool_t *result = 0 ; @@ -28815,7 +28880,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_memory_pool_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_buffer_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_buffer_set___(void * jarg1, void * jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; switch_buffer_t *arg2 = (switch_buffer_t *) 0 ; @@ -28825,7 +28890,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_buffer_set(void * jarg1, vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_buffer_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_buffer_get___(void * jarg1) { void * jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; switch_buffer_t *result = 0 ; @@ -28837,7 +28902,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_buffer_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_dbuf_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_dbuf_set___(void * jarg1, void * jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; switch_byte_t *arg2 = (switch_byte_t *) 0 ; @@ -28847,7 +28912,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_dbuf_set(void * jarg1, void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_dbuf_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_dbuf_get___(void * jarg1) { void * jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; switch_byte_t *result = 0 ; @@ -28859,7 +28924,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_dbuf_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_dbuflen_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_dbuflen_set___(void * jarg1, void * jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -28875,7 +28940,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_dbuflen_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_dbuflen_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_dbuflen_get___(void * jarg1) { void * jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; switch_size_t result; @@ -28887,7 +28952,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_dbuflen_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_resampler_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_resampler_set___(void * jarg1, void * jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; switch_audio_resampler_t *arg2 = (switch_audio_resampler_t *) 0 ; @@ -28897,7 +28962,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_resampler_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_resampler_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_resampler_get___(void * jarg1) { void * jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; switch_audio_resampler_t *result = 0 ; @@ -28909,7 +28974,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_resampler_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_samplerate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_samplerate_set___(void * jarg1, unsigned long jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; uint32_t arg2 ; @@ -28919,7 +28984,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_samplerate_set(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_asr_handle_samplerate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_samplerate_get___(void * jarg1) { unsigned long jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; uint32_t result; @@ -28931,7 +28996,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_asr_handle_samplerate_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_native_rate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_native_rate_set___(void * jarg1, unsigned long jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; uint32_t arg2 ; @@ -28941,7 +29006,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_native_rate_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_asr_handle_native_rate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_native_rate_get___(void * jarg1) { unsigned long jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; uint32_t result; @@ -28953,7 +29018,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_asr_handle_native_rate_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_private_info_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_private_info_set___(void * jarg1, void * jarg2) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; void *arg2 = (void *) 0 ; @@ -28963,7 +29028,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_asr_handle_private_info_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_private_info_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_asr_handle_private_info_get___(void * jarg1) { void * jresult ; switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; void *result = 0 ; @@ -28975,7 +29040,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_asr_handle_private_info_get(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_asr_handle() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_asr_handle___() { void * jresult ; switch_asr_handle *result = 0 ; @@ -28985,7 +29050,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_asr_handle() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_asr_handle(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_asr_handle___(void * jarg1) { switch_asr_handle *arg1 = (switch_asr_handle *) 0 ; arg1 = (switch_asr_handle *)jarg1; @@ -28993,7 +29058,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_asr_handle(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -29010,7 +29075,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_interface_name_set(vo } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; char *result = 0 ; @@ -29022,7 +29087,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_interface_interface_name_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_open_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_open_set___(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_status_t (*arg2)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *) = (switch_status_t (*)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *)) 0 ; @@ -29032,7 +29097,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_open_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_open_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_open_get___(void * jarg1) { void * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_status_t (*result)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *) = 0 ; @@ -29044,7 +29109,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_open_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_close_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_close_set___(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_status_t (*arg2)(switch_speech_handle_t *,switch_speech_flag_t *) = (switch_status_t (*)(switch_speech_handle_t *,switch_speech_flag_t *)) 0 ; @@ -29054,7 +29119,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_close_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_close_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_close_get___(void * jarg1) { void * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_status_t (*result)(switch_speech_handle_t *,switch_speech_flag_t *) = 0 ; @@ -29066,7 +29131,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_close_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_feed_tts_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_feed_tts_set___(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_status_t (*arg2)(switch_speech_handle_t *,char *,switch_speech_flag_t *) = (switch_status_t (*)(switch_speech_handle_t *,char *,switch_speech_flag_t *)) 0 ; @@ -29076,7 +29141,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_feed_tts_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_feed_tts_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_feed_tts_get___(void * jarg1) { void * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_status_t (*result)(switch_speech_handle_t *,char *,switch_speech_flag_t *) = 0 ; @@ -29088,7 +29153,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_feed_tts_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_read_tts_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_read_tts_set___(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_status_t (*arg2)(switch_speech_handle_t *,void *,switch_size_t *,switch_speech_flag_t *) = (switch_status_t (*)(switch_speech_handle_t *,void *,switch_size_t *,switch_speech_flag_t *)) 0 ; @@ -29098,7 +29163,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_read_tts_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_read_tts_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_read_tts_get___(void * jarg1) { void * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_status_t (*result)(switch_speech_handle_t *,void *,switch_size_t *,switch_speech_flag_t *) = 0 ; @@ -29110,7 +29175,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_read_tts_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_flush_tts_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_flush_tts_set___(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; void (*arg2)(switch_speech_handle_t *) = (void (*)(switch_speech_handle_t *)) 0 ; @@ -29120,7 +29185,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_flush_tts_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_flush_tts_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_flush_tts_get___(void * jarg1) { void * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; void (*result)(switch_speech_handle_t *) = 0 ; @@ -29132,7 +29197,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_flush_tts_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_text_param_tts_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_text_param_tts_set___(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; void (*arg2)(switch_speech_handle_t *,char *,char const *) = (void (*)(switch_speech_handle_t *,char *,char const *)) 0 ; @@ -29142,7 +29207,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_text_param_tts } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_text_param_tts_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_text_param_tts_get___(void * jarg1) { void * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; void (*result)(switch_speech_handle_t *,char *,char const *) = 0 ; @@ -29154,7 +29219,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_text_param_t } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_numeric_param_tts_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_numeric_param_tts_set___(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; void (*arg2)(switch_speech_handle_t *,char *,int) = (void (*)(switch_speech_handle_t *,char *,int)) 0 ; @@ -29164,7 +29229,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_numeric_param_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_numeric_param_tts_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_numeric_param_tts_get___(void * jarg1) { void * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; void (*result)(switch_speech_handle_t *,char *,int) = 0 ; @@ -29176,7 +29241,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_numeric_para } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_float_param_tts_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_float_param_tts_set___(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; void (*arg2)(switch_speech_handle_t *,char *,double) = (void (*)(switch_speech_handle_t *,char *,double)) 0 ; @@ -29186,7 +29251,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_float_param_tt } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_float_param_tts_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_speech_float_param_tts_get___(void * jarg1) { void * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; void (*result)(switch_speech_handle_t *,char *,double) = 0 ; @@ -29198,7 +29263,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_float_param_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -29208,7 +29273,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_rwlock_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -29220,7 +29285,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_rwlock_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_refs_set___(void * jarg1, int jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; int arg2 ; @@ -29230,7 +29295,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_refs_set(void * jarg1 } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_speech_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_refs_get___(void * jarg1) { int jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; int result; @@ -29242,7 +29307,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_speech_interface_refs_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_reflock_set___(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -29252,7 +29317,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_reflock_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_reflock_get___(void * jarg1) { void * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -29264,7 +29329,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_reflock_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_parent_set___(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -29274,7 +29339,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_parent_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_parent_get___(void * jarg1) { void * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -29286,7 +29351,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_parent_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_next_set___(void * jarg1, void * jarg2) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_speech_interface *arg2 = (switch_speech_interface *) 0 ; @@ -29296,7 +29361,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_next_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_interface_next_get___(void * jarg1) { void * jresult ; switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; switch_speech_interface *result = 0 ; @@ -29308,7 +29373,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_next_get(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_speech_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_speech_interface___() { void * jresult ; switch_speech_interface *result = 0 ; @@ -29318,7 +29383,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_speech_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_speech_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_speech_interface___(void * jarg1) { switch_speech_interface *arg1 = (switch_speech_interface *) 0 ; arg1 = (switch_speech_interface *)jarg1; @@ -29326,7 +29391,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_speech_interface(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_speech_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_speech_interface_set___(void * jarg1, void * jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; switch_speech_interface_t *arg2 = (switch_speech_interface_t *) 0 ; @@ -29336,7 +29401,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_speech_interface_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_speech_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_speech_interface_get___(void * jarg1) { void * jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; switch_speech_interface_t *result = 0 ; @@ -29348,7 +29413,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_speech_interface_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_flags_set___(void * jarg1, unsigned long jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t arg2 ; @@ -29358,7 +29423,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_flags_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_flags_get___(void * jarg1) { unsigned long jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t result; @@ -29370,7 +29435,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_flags_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_name_set___(void * jarg1, char * jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -29388,7 +29453,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_name_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_handle_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_name_get___(void * jarg1) { char * jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; char *result = 0 ; @@ -29400,7 +29465,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_handle_name_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_rate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_rate_set___(void * jarg1, unsigned long jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t arg2 ; @@ -29410,7 +29475,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_rate_set(void * jarg1, u } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_rate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_rate_get___(void * jarg1) { unsigned long jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t result; @@ -29422,7 +29487,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_rate_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_speed_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_speed_set___(void * jarg1, unsigned long jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t arg2 ; @@ -29432,7 +29497,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_speed_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_speed_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_speed_get___(void * jarg1) { unsigned long jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t result; @@ -29444,7 +29509,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_speed_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_samples_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_samples_set___(void * jarg1, unsigned long jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t arg2 ; @@ -29454,7 +29519,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_samples_set(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_samples_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_samples_get___(void * jarg1) { unsigned long jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t result; @@ -29466,7 +29531,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_samples_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_channels_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_channels_set___(void * jarg1, unsigned long jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t arg2 ; @@ -29476,7 +29541,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_channels_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_channels_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_channels_get___(void * jarg1) { unsigned long jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t result; @@ -29488,7 +29553,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_channels_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_real_channels_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_real_channels_set___(void * jarg1, unsigned long jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t arg2 ; @@ -29498,7 +29563,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_real_channels_set(void * } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_real_channels_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_real_channels_get___(void * jarg1) { unsigned long jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t result; @@ -29510,7 +29575,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_real_channels_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_voice_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_voice_set___(void * jarg1, char * jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; char *arg2 ; @@ -29527,7 +29592,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_voice_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_handle_voice_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_voice_get___(void * jarg1) { char * jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; char *result = 0 ; @@ -29539,7 +29604,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_handle_voice_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_engine_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_engine_set___(void * jarg1, char * jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -29557,7 +29622,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_engine_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_handle_engine_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_engine_get___(void * jarg1) { char * jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; char *result = 0 ; @@ -29569,7 +29634,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_handle_engine_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_param_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_param_set___(void * jarg1, char * jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; char *arg2 = (char *) 0 ; @@ -29587,7 +29652,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_param_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_handle_param_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_param_get___(void * jarg1) { char * jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; char *result = 0 ; @@ -29599,7 +29664,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_speech_handle_param_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_memory_pool_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_memory_pool_set___(void * jarg1, void * jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -29609,7 +29674,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_memory_pool_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_memory_pool_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_memory_pool_get___(void * jarg1) { void * jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; switch_memory_pool_t *result = 0 ; @@ -29621,7 +29686,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_memory_pool_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_resampler_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_resampler_set___(void * jarg1, void * jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; switch_audio_resampler_t *arg2 = (switch_audio_resampler_t *) 0 ; @@ -29631,7 +29696,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_resampler_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_resampler_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_resampler_get___(void * jarg1) { void * jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; switch_audio_resampler_t *result = 0 ; @@ -29643,7 +29708,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_resampler_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_buffer_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_buffer_set___(void * jarg1, void * jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; switch_buffer_t *arg2 = (switch_buffer_t *) 0 ; @@ -29653,7 +29718,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_buffer_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_buffer_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_buffer_get___(void * jarg1) { void * jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; switch_buffer_t *result = 0 ; @@ -29665,7 +29730,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_buffer_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_dbuf_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_dbuf_set___(void * jarg1, void * jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; switch_byte_t *arg2 = (switch_byte_t *) 0 ; @@ -29675,7 +29740,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_dbuf_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_dbuf_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_dbuf_get___(void * jarg1) { void * jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; switch_byte_t *result = 0 ; @@ -29687,7 +29752,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_dbuf_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_dbuflen_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_dbuflen_set___(void * jarg1, void * jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -29703,7 +29768,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_dbuflen_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_dbuflen_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_dbuflen_get___(void * jarg1) { void * jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; switch_size_t result; @@ -29715,7 +29780,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_dbuflen_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_samplerate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_samplerate_set___(void * jarg1, unsigned long jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t arg2 ; @@ -29725,7 +29790,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_samplerate_set(void * ja } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_samplerate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_samplerate_get___(void * jarg1) { unsigned long jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t result; @@ -29737,7 +29802,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_samplerate_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_native_rate_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_native_rate_set___(void * jarg1, unsigned long jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t arg2 ; @@ -29747,7 +29812,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_native_rate_set(void * j } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_native_rate_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_native_rate_get___(void * jarg1) { unsigned long jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; uint32_t result; @@ -29759,7 +29824,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_native_rate_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_private_info_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_private_info_set___(void * jarg1, void * jarg2) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; void *arg2 = (void *) 0 ; @@ -29769,7 +29834,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_private_info_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_private_info_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_speech_handle_private_info_get___(void * jarg1) { void * jresult ; switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; void *result = 0 ; @@ -29781,7 +29846,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_handle_private_info_get(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_speech_handle() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_speech_handle___() { void * jresult ; switch_speech_handle *result = 0 ; @@ -29791,7 +29856,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_speech_handle() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_speech_handle(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_speech_handle___(void * jarg1) { switch_speech_handle *arg1 = (switch_speech_handle *) 0 ; arg1 = (switch_speech_handle *)jarg1; @@ -29799,7 +29864,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_speech_handle(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_say_interface *arg1 = (switch_say_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -29816,7 +29881,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_interface_name_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_say_interface *arg1 = (switch_say_interface *) 0 ; char *result = 0 ; @@ -29828,7 +29893,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_say_interface_interface_name_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_say_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_say_function_set___(void * jarg1, void * jarg2) { switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_say_callback_t arg2 = (switch_say_callback_t) 0 ; @@ -29838,7 +29903,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_say_function_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_say_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_say_function_get___(void * jarg1) { void * jresult ; switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_say_callback_t result; @@ -29850,7 +29915,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_say_function_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_say_string_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_say_string_function_set___(void * jarg1, void * jarg2) { switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_say_string_callback_t arg2 = (switch_say_string_callback_t) 0 ; @@ -29860,7 +29925,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_say_string_function_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_say_string_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_say_string_function_get___(void * jarg1) { void * jresult ; switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_say_string_callback_t result; @@ -29872,7 +29937,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_say_string_function_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -29882,7 +29947,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_rwlock_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -29894,7 +29959,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_rwlock_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_refs_set___(void * jarg1, int jarg2) { switch_say_interface *arg1 = (switch_say_interface *) 0 ; int arg2 ; @@ -29904,7 +29969,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_refs_set(void * jarg1, i } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_refs_get___(void * jarg1) { int jresult ; switch_say_interface *arg1 = (switch_say_interface *) 0 ; int result; @@ -29916,7 +29981,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_say_interface_refs_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_reflock_set___(void * jarg1, void * jarg2) { switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -29926,7 +29991,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_reflock_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_reflock_get___(void * jarg1) { void * jresult ; switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -29938,7 +30003,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_reflock_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_parent_set___(void * jarg1, void * jarg2) { switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -29948,7 +30013,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_parent_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_parent_get___(void * jarg1) { void * jresult ; switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -29960,7 +30025,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_parent_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_next_set___(void * jarg1, void * jarg2) { switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_say_interface *arg2 = (switch_say_interface *) 0 ; @@ -29970,7 +30035,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_say_interface_next_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_say_interface_next_get___(void * jarg1) { void * jresult ; switch_say_interface *arg1 = (switch_say_interface *) 0 ; switch_say_interface *result = 0 ; @@ -29982,7 +30047,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_say_interface_next_get(void * jarg1) } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_say_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_say_interface___() { void * jresult ; switch_say_interface *result = 0 ; @@ -29992,7 +30057,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_say_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_say_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_say_interface___(void * jarg1) { switch_say_interface *arg1 = (switch_say_interface *) 0 ; arg1 = (switch_say_interface *)jarg1; @@ -30000,7 +30065,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_say_interface(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -30017,7 +30082,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_interface_name_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; char *result = 0 ; @@ -30029,7 +30094,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_interface_interface_name_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_chat_send_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_chat_send_set___(void * jarg1, void * jarg2) { switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; switch_status_t (*arg2)(switch_event_t *) = (switch_status_t (*)(switch_event_t *)) 0 ; @@ -30039,7 +30104,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_chat_send_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_chat_send_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_chat_send_get___(void * jarg1) { void * jresult ; switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; switch_status_t (*result)(switch_event_t *) = 0 ; @@ -30051,7 +30116,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_chat_send_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -30061,7 +30126,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_rwlock_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -30073,7 +30138,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_rwlock_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_refs_set___(void * jarg1, int jarg2) { switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; int arg2 ; @@ -30083,7 +30148,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_refs_set(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_chat_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_refs_get___(void * jarg1) { int jresult ; switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; int result; @@ -30095,7 +30160,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_chat_interface_refs_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_reflock_set___(void * jarg1, void * jarg2) { switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -30105,7 +30170,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_reflock_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_reflock_get___(void * jarg1) { void * jresult ; switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -30117,7 +30182,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_reflock_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_parent_set___(void * jarg1, void * jarg2) { switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -30127,7 +30192,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_parent_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_parent_get___(void * jarg1) { void * jresult ; switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -30139,7 +30204,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_parent_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_next_set___(void * jarg1, void * jarg2) { switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; switch_chat_interface *arg2 = (switch_chat_interface *) 0 ; @@ -30149,7 +30214,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_interface_next_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_interface_next_get___(void * jarg1) { void * jresult ; switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; switch_chat_interface *result = 0 ; @@ -30161,7 +30226,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_interface_next_get(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_chat_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_chat_interface___() { void * jresult ; switch_chat_interface *result = 0 ; @@ -30171,7 +30236,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_chat_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_chat_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_chat_interface___(void * jarg1) { switch_chat_interface *arg1 = (switch_chat_interface *) 0 ; arg1 = (switch_chat_interface *)jarg1; @@ -30179,7 +30244,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_chat_interface(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_relative_oid_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_relative_oid_set___(void * jarg1, char * jarg2) { switch_management_interface *arg1 = (switch_management_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -30196,7 +30261,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_relative_oid_set( } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_management_interface_relative_oid_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_relative_oid_get___(void * jarg1) { char * jresult ; switch_management_interface *arg1 = (switch_management_interface *) 0 ; char *result = 0 ; @@ -30208,7 +30273,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_management_interface_relative_oid_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_management_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_management_function_set___(void * jarg1, void * jarg2) { switch_management_interface *arg1 = (switch_management_interface *) 0 ; switch_status_t (*arg2)(char *,switch_management_action_t,char *,switch_size_t) = (switch_status_t (*)(char *,switch_management_action_t,char *,switch_size_t)) 0 ; @@ -30218,7 +30283,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_management_functi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_management_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_management_function_get___(void * jarg1) { void * jresult ; switch_management_interface *arg1 = (switch_management_interface *) 0 ; switch_status_t (*result)(char *,switch_management_action_t,char *,switch_size_t) = 0 ; @@ -30230,7 +30295,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_management_func } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_management_interface *arg1 = (switch_management_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -30240,7 +30305,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_rwlock_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_management_interface *arg1 = (switch_management_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -30252,7 +30317,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_rwlock_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_refs_set___(void * jarg1, int jarg2) { switch_management_interface *arg1 = (switch_management_interface *) 0 ; int arg2 ; @@ -30262,7 +30327,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_refs_set(void * j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_management_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_refs_get___(void * jarg1) { int jresult ; switch_management_interface *arg1 = (switch_management_interface *) 0 ; int result; @@ -30274,7 +30339,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_management_interface_refs_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_reflock_set___(void * jarg1, void * jarg2) { switch_management_interface *arg1 = (switch_management_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -30284,7 +30349,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_reflock_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_reflock_get___(void * jarg1) { void * jresult ; switch_management_interface *arg1 = (switch_management_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -30296,7 +30361,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_reflock_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_parent_set___(void * jarg1, void * jarg2) { switch_management_interface *arg1 = (switch_management_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -30306,7 +30371,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_parent_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_parent_get___(void * jarg1) { void * jresult ; switch_management_interface *arg1 = (switch_management_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -30318,7 +30383,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_parent_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_next_set___(void * jarg1, void * jarg2) { switch_management_interface *arg1 = (switch_management_interface *) 0 ; switch_management_interface *arg2 = (switch_management_interface *) 0 ; @@ -30328,7 +30393,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_management_interface_next_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_management_interface_next_get___(void * jarg1) { void * jresult ; switch_management_interface *arg1 = (switch_management_interface *) 0 ; switch_management_interface *result = 0 ; @@ -30340,7 +30405,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_management_interface_next_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_management_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_management_interface___() { void * jresult ; switch_management_interface *result = 0 ; @@ -30350,7 +30415,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_management_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_management_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_management_interface___(void * jarg1) { switch_management_interface *arg1 = (switch_management_interface *) 0 ; arg1 = (switch_management_interface *)jarg1; @@ -30358,7 +30423,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_management_interface(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -30375,7 +30440,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_interface_name_set(voi } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_limit_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; char *result = 0 ; @@ -30387,7 +30452,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_limit_interface_interface_name_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_incr_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_incr_set___(void * jarg1, void * jarg2) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_status_t (*arg2)(switch_core_session_t *,char const *,char const *,int const,int const) = (switch_status_t (*)(switch_core_session_t *,char const *,char const *,int const,int const)) 0 ; @@ -30397,7 +30462,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_incr_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_incr_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_incr_get___(void * jarg1) { void * jresult ; switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_status_t (*result)(switch_core_session_t *,char const *,char const *,int const,int const) = 0 ; @@ -30409,7 +30474,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_incr_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_release_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_release_set___(void * jarg1, void * jarg2) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_status_t (*arg2)(switch_core_session_t *,char const *,char const *) = (switch_status_t (*)(switch_core_session_t *,char const *,char const *)) 0 ; @@ -30419,7 +30484,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_release_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_release_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_release_get___(void * jarg1) { void * jresult ; switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_status_t (*result)(switch_core_session_t *,char const *,char const *) = 0 ; @@ -30431,7 +30496,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_release_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_usage_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_usage_set___(void * jarg1, void * jarg2) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; int (*arg2)(char const *,char const *,uint32_t *) = (int (*)(char const *,char const *,uint32_t *)) 0 ; @@ -30441,7 +30506,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_usage_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_usage_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_usage_get___(void * jarg1) { void * jresult ; switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; int (*result)(char const *,char const *,uint32_t *) = 0 ; @@ -30453,7 +30518,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_usage_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_reset_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_reset_set___(void * jarg1, void * jarg2) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_status_t (*arg2)(void) = (switch_status_t (*)(void)) 0 ; @@ -30463,7 +30528,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_reset_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_reset_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_reset_get___(void * jarg1) { void * jresult ; switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_status_t (*result)(void) = 0 ; @@ -30475,7 +30540,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_reset_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_status_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_status_set___(void * jarg1, void * jarg2) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; char *(*arg2)(void) = (char *(*)(void)) 0 ; @@ -30485,7 +30550,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_status_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_status_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_status_get___(void * jarg1) { void * jresult ; switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; char *(*result)(void) = 0 ; @@ -30497,7 +30562,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_status_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_interval_reset_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_interval_reset_set___(void * jarg1, void * jarg2) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_status_t (*arg2)(char const *,char const *) = (switch_status_t (*)(char const *,char const *)) 0 ; @@ -30507,7 +30572,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_interval_reset_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_interval_reset_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_interval_reset_get___(void * jarg1) { void * jresult ; switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_status_t (*result)(char const *,char const *) = 0 ; @@ -30519,7 +30584,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_interval_reset_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -30529,7 +30594,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_rwlock_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -30541,7 +30606,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_rwlock_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_refs_set___(void * jarg1, int jarg2) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; int arg2 ; @@ -30551,7 +30616,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_refs_set(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_limit_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_refs_get___(void * jarg1) { int jresult ; switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; int result; @@ -30563,7 +30628,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_limit_interface_refs_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_reflock_set___(void * jarg1, void * jarg2) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -30573,7 +30638,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_reflock_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_reflock_get___(void * jarg1) { void * jresult ; switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -30585,7 +30650,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_reflock_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_parent_set___(void * jarg1, void * jarg2) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -30595,7 +30660,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_parent_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_parent_get___(void * jarg1) { void * jresult ; switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -30607,7 +30672,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_parent_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_next_set___(void * jarg1, void * jarg2) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_limit_interface *arg2 = (switch_limit_interface *) 0 ; @@ -30617,7 +30682,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_limit_interface_next_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_limit_interface_next_get___(void * jarg1) { void * jresult ; switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; switch_limit_interface *result = 0 ; @@ -30629,7 +30694,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_limit_interface_next_get(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_limit_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_limit_interface___() { void * jresult ; switch_limit_interface *result = 0 ; @@ -30639,7 +30704,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_limit_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_limit_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_limit_interface___(void * jarg1) { switch_limit_interface *arg1 = (switch_limit_interface *) 0 ; arg1 = (switch_limit_interface *)jarg1; @@ -30647,7 +30712,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_limit_interface(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -30664,7 +30729,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_interface_name_set } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directory_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; char *result = 0 ; @@ -30676,7 +30741,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_directory_interface_interface_name_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_open_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_directory_open_set___(void * jarg1, void * jarg2) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_status_t (*arg2)(switch_directory_handle_t *,char *,char *,char *) = (switch_status_t (*)(switch_directory_handle_t *,char *,char *,char *)) 0 ; @@ -30686,7 +30751,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_open_set } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_open_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_directory_open_get___(void * jarg1) { void * jresult ; switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_status_t (*result)(switch_directory_handle_t *,char *,char *,char *) = 0 ; @@ -30698,7 +30763,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_open_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_close_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_directory_close_set___(void * jarg1, void * jarg2) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_status_t (*arg2)(switch_directory_handle_t *) = (switch_status_t (*)(switch_directory_handle_t *)) 0 ; @@ -30708,7 +30773,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_close_se } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_close_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_directory_close_get___(void * jarg1) { void * jresult ; switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_status_t (*result)(switch_directory_handle_t *) = 0 ; @@ -30720,7 +30785,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_close_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_query_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_directory_query_set___(void * jarg1, void * jarg2) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_status_t (*arg2)(switch_directory_handle_t *,char *,char *) = (switch_status_t (*)(switch_directory_handle_t *,char *,char *)) 0 ; @@ -30730,7 +30795,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_query_se } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_query_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_directory_query_get___(void * jarg1) { void * jresult ; switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_status_t (*result)(switch_directory_handle_t *,char *,char *) = 0 ; @@ -30742,7 +30807,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_query_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_directory_next_set___(void * jarg1, void * jarg2) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_status_t (*arg2)(switch_directory_handle_t *) = (switch_status_t (*)(switch_directory_handle_t *)) 0 ; @@ -30752,7 +30817,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_next_set } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_directory_next_get___(void * jarg1) { void * jresult ; switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_status_t (*result)(switch_directory_handle_t *) = 0 ; @@ -30764,7 +30829,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_next_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_next_pair_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_directory_next_pair_set___(void * jarg1, void * jarg2) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_status_t (*arg2)(switch_directory_handle_t *,char **,char **) = (switch_status_t (*)(switch_directory_handle_t *,char **,char **)) 0 ; @@ -30774,7 +30839,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_directory_next_pai } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_next_pair_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_directory_next_pair_get___(void * jarg1) { void * jresult ; switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_status_t (*result)(switch_directory_handle_t *,char **,char **) = 0 ; @@ -30786,7 +30851,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_directory_next_p } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -30796,7 +30861,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_rwlock_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -30808,7 +30873,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_rwlock_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_refs_set___(void * jarg1, int jarg2) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; int arg2 ; @@ -30818,7 +30883,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_refs_set(void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_directory_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_refs_get___(void * jarg1) { int jresult ; switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; int result; @@ -30830,7 +30895,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_directory_interface_refs_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_reflock_set___(void * jarg1, void * jarg2) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -30840,7 +30905,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_reflock_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_reflock_get___(void * jarg1) { void * jresult ; switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -30852,7 +30917,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_reflock_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_parent_set___(void * jarg1, void * jarg2) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -30862,7 +30927,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_parent_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_parent_get___(void * jarg1) { void * jresult ; switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -30874,7 +30939,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_parent_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_next_set___(void * jarg1, void * jarg2) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_directory_interface *arg2 = (switch_directory_interface *) 0 ; @@ -30884,7 +30949,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_interface_next_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_interface_next_get___(void * jarg1) { void * jresult ; switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; switch_directory_interface *result = 0 ; @@ -30896,7 +30961,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_interface_next_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_directory_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_directory_interface___() { void * jresult ; switch_directory_interface *result = 0 ; @@ -30906,7 +30971,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_directory_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_directory_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_directory_interface___(void * jarg1) { switch_directory_interface *arg1 = (switch_directory_interface *) 0 ; arg1 = (switch_directory_interface *)jarg1; @@ -30914,7 +30979,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_directory_interface(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_directory_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_handle_directory_interface_set___(void * jarg1, void * jarg2) { switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; switch_directory_interface_t *arg2 = (switch_directory_interface_t *) 0 ; @@ -30924,7 +30989,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_directory_interface_s } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_handle_directory_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_handle_directory_interface_get___(void * jarg1) { void * jresult ; switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; switch_directory_interface_t *result = 0 ; @@ -30936,7 +31001,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_handle_directory_interface } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_handle_flags_set___(void * jarg1, unsigned long jarg2) { switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; uint32_t arg2 ; @@ -30946,7 +31011,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_flags_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_directory_handle_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_handle_flags_get___(void * jarg1) { unsigned long jresult ; switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; uint32_t result; @@ -30958,7 +31023,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_directory_handle_flags_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_memory_pool_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_handle_memory_pool_set___(void * jarg1, void * jarg2) { switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -30968,7 +31033,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_memory_pool_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_handle_memory_pool_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_handle_memory_pool_get___(void * jarg1) { void * jresult ; switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; switch_memory_pool_t *result = 0 ; @@ -30980,7 +31045,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_handle_memory_pool_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_private_info_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_handle_private_info_set___(void * jarg1, void * jarg2) { switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; void *arg2 = (void *) 0 ; @@ -30990,7 +31055,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_directory_handle_private_info_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_handle_private_info_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_directory_handle_private_info_get___(void * jarg1) { void * jresult ; switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; void *result = 0 ; @@ -31002,7 +31067,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_directory_handle_private_info_get(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_directory_handle() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_directory_handle___() { void * jresult ; switch_directory_handle *result = 0 ; @@ -31012,7 +31077,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_directory_handle() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_directory_handle(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_directory_handle___(void * jarg1) { switch_directory_handle *arg1 = (switch_directory_handle *) 0 ; arg1 = (switch_directory_handle *)jarg1; @@ -31020,7 +31085,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_directory_handle(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_codec_settings_unused_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_codec_settings_unused_set___(void * jarg1, int jarg2) { switch_audio_codec_settings *arg1 = (switch_audio_codec_settings *) 0 ; int arg2 ; @@ -31030,7 +31095,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_codec_settings_unused_set(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_audio_codec_settings_unused_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_codec_settings_unused_get___(void * jarg1) { int jresult ; switch_audio_codec_settings *arg1 = (switch_audio_codec_settings *) 0 ; int result; @@ -31042,7 +31107,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_audio_codec_settings_unused_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_audio_codec_settings() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_audio_codec_settings___() { void * jresult ; switch_audio_codec_settings *result = 0 ; @@ -31052,7 +31117,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_audio_codec_settings() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_audio_codec_settings(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_audio_codec_settings___(void * jarg1) { switch_audio_codec_settings *arg1 = (switch_audio_codec_settings *) 0 ; arg1 = (switch_audio_codec_settings *)jarg1; @@ -31060,7 +31125,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_audio_codec_settings(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_video_codec_settings_bandwidth_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_video_codec_settings_bandwidth_set___(void * jarg1, unsigned long jarg2) { switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ; uint32_t arg2 ; @@ -31070,7 +31135,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_video_codec_settings_bandwidth_set(voi } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_video_codec_settings_bandwidth_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_video_codec_settings_bandwidth_get___(void * jarg1) { unsigned long jresult ; switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ; uint32_t result; @@ -31082,7 +31147,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_video_codec_settings_bandwidt } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_video_codec_settings_width_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_video_codec_settings_width_set___(void * jarg1, int jarg2) { switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ; int32_t arg2 ; @@ -31092,7 +31157,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_video_codec_settings_width_set(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_video_codec_settings_width_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_video_codec_settings_width_get___(void * jarg1) { int jresult ; switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ; int32_t result; @@ -31104,7 +31169,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_video_codec_settings_width_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_video_codec_settings_height_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_video_codec_settings_height_set___(void * jarg1, int jarg2) { switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ; int32_t arg2 ; @@ -31114,7 +31179,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_video_codec_settings_height_set(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_video_codec_settings_height_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_video_codec_settings_height_get___(void * jarg1) { int jresult ; switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ; int32_t result; @@ -31126,7 +31191,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_video_codec_settings_height_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_video_codec_settings_try_hardware_encoder_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_video_codec_settings_try_hardware_encoder_set___(void * jarg1, unsigned char jarg2) { switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ; uint8_t arg2 ; @@ -31136,7 +31201,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_video_codec_settings_try_hardware_enco } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_video_codec_settings_try_hardware_encoder_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_video_codec_settings_try_hardware_encoder_get___(void * jarg1) { unsigned char jresult ; switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ; uint8_t result; @@ -31148,7 +31213,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_video_codec_settings_try_hard } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_video_codec_settings_fps_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_video_codec_settings_fps_set___(void * jarg1, unsigned char jarg2) { switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ; uint8_t arg2 ; @@ -31158,7 +31223,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_video_codec_settings_fps_set(void * ja } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_video_codec_settings_fps_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_video_codec_settings_fps_get___(void * jarg1) { unsigned char jresult ; switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ; uint8_t result; @@ -31170,7 +31235,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_video_codec_settings_fps_get( } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_video_codec_settings() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_video_codec_settings___() { void * jresult ; switch_video_codec_settings *result = 0 ; @@ -31180,7 +31245,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_video_codec_settings() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_video_codec_settings(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_video_codec_settings___(void * jarg1) { switch_video_codec_settings *arg1 = (switch_video_codec_settings *) 0 ; arg1 = (switch_video_codec_settings *)jarg1; @@ -31188,7 +31253,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_video_codec_settings(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_audio_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_settings_audio_set___(void * jarg1, void * jarg2) { switch_codec_settings *arg1 = (switch_codec_settings *) 0 ; switch_audio_codec_settings *arg2 = (switch_audio_codec_settings *) 0 ; @@ -31198,7 +31263,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_audio_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_settings_audio_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_settings_audio_get___(void * jarg1) { void * jresult ; switch_codec_settings *arg1 = (switch_codec_settings *) 0 ; switch_audio_codec_settings *result = 0 ; @@ -31210,7 +31275,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_settings_audio_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_video_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_settings_video_set___(void * jarg1, void * jarg2) { switch_codec_settings *arg1 = (switch_codec_settings *) 0 ; switch_video_codec_settings *arg2 = (switch_video_codec_settings *) 0 ; @@ -31220,7 +31285,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_video_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_settings_video_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_settings_video_get___(void * jarg1) { void * jresult ; switch_codec_settings *arg1 = (switch_codec_settings *) 0 ; switch_video_codec_settings *result = 0 ; @@ -31232,7 +31297,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_settings_video_get(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_settings() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_codec_settings___() { void * jresult ; switch_codec_settings *result = 0 ; @@ -31242,7 +31307,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_settings() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_settings(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_codec_settings___(void * jarg1) { switch_codec_settings *arg1 = (switch_codec_settings *) 0 ; arg1 = (switch_codec_settings *)jarg1; @@ -31250,7 +31315,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_settings(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_actual_samples_per_second_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_actual_samples_per_second_set___(void * jarg1, unsigned long jarg2) { switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; uint32_t arg2 ; @@ -31260,7 +31325,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_actual_samples_per_second_s } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_fmtp_actual_samples_per_second_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_actual_samples_per_second_get___(void * jarg1) { unsigned long jresult ; switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; uint32_t result; @@ -31272,7 +31337,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_fmtp_actual_samples_per } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_bits_per_second_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_bits_per_second_set___(void * jarg1, int jarg2) { switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; int arg2 ; @@ -31282,7 +31347,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_bits_per_second_set(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_fmtp_bits_per_second_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_bits_per_second_get___(void * jarg1) { int jresult ; switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; int result; @@ -31294,7 +31359,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_fmtp_bits_per_second_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_microseconds_per_packet_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_microseconds_per_packet_set___(void * jarg1, int jarg2) { switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; int arg2 ; @@ -31304,7 +31369,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_microseconds_per_packet_set } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_fmtp_microseconds_per_packet_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_microseconds_per_packet_get___(void * jarg1) { int jresult ; switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; int result; @@ -31316,7 +31381,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_fmtp_microseconds_per_packet_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_stereo_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_stereo_set___(void * jarg1, int jarg2) { switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; int arg2 ; @@ -31326,7 +31391,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_stereo_set(void * jarg1, in } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_fmtp_stereo_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_stereo_get___(void * jarg1) { int jresult ; switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; int result; @@ -31338,7 +31403,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_fmtp_stereo_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_private_info_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_private_info_set___(void * jarg1, void * jarg2) { switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; void *arg2 = (void *) 0 ; @@ -31348,7 +31413,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_private_info_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_fmtp_private_info_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_private_info_get___(void * jarg1) { void * jresult ; switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; void *result = 0 ; @@ -31360,7 +31425,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_fmtp_private_info_get(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_fmtp() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_codec_fmtp___() { void * jresult ; switch_codec_fmtp *result = 0 ; @@ -31370,7 +31435,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_fmtp() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_fmtp(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_codec_fmtp___(void * jarg1) { switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ; arg1 = (switch_codec_fmtp *)jarg1; @@ -31378,7 +31443,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_fmtp(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_picture_width_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_picture_width_set___(void * jarg1, unsigned long jarg2) { switch_picture *arg1 = (switch_picture *) 0 ; uint32_t arg2 ; @@ -31388,7 +31453,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_picture_width_set(void * jarg1, unsign } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_picture_width_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_picture_width_get___(void * jarg1) { unsigned long jresult ; switch_picture *arg1 = (switch_picture *) 0 ; uint32_t result; @@ -31400,7 +31465,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_picture_width_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_picture_height_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_picture_height_set___(void * jarg1, unsigned long jarg2) { switch_picture *arg1 = (switch_picture *) 0 ; uint32_t arg2 ; @@ -31410,7 +31475,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_picture_height_set(void * jarg1, unsig } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_picture_height_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_picture_height_get___(void * jarg1) { unsigned long jresult ; switch_picture *arg1 = (switch_picture *) 0 ; uint32_t result; @@ -31422,7 +31487,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_picture_height_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_picture_planes_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_picture_planes_set___(void * jarg1, void * jarg2) { switch_picture *arg1 = (switch_picture *) 0 ; uint8_t **arg2 ; @@ -31436,7 +31501,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_picture_planes_set(void * jarg1, void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_picture_planes_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_picture_planes_get___(void * jarg1) { void * jresult ; switch_picture *arg1 = (switch_picture *) 0 ; uint8_t **result = 0 ; @@ -31448,7 +31513,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_picture_planes_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_picture_stride_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_picture_stride_set___(void * jarg1, void * jarg2) { switch_picture *arg1 = (switch_picture *) 0 ; uint32_t *arg2 ; @@ -31462,7 +31527,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_picture_stride_set(void * jarg1, void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_picture_stride_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_picture_stride_get___(void * jarg1) { void * jresult ; switch_picture *arg1 = (switch_picture *) 0 ; uint32_t *result = 0 ; @@ -31474,7 +31539,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_picture_stride_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_picture() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_picture___() { void * jresult ; switch_picture *result = 0 ; @@ -31484,7 +31549,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_picture() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_picture(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_picture___(void * jarg1) { switch_picture *arg1 = (switch_picture *) 0 ; arg1 = (switch_picture *)jarg1; @@ -31492,7 +31557,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_picture(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_codec_interface_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_codec_interface_set___(void * jarg1, void * jarg2) { switch_codec *arg1 = (switch_codec *) 0 ; switch_codec_interface_t *arg2 = (switch_codec_interface_t *) 0 ; @@ -31502,7 +31567,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_codec_interface_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_codec_interface_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_codec_interface_get___(void * jarg1) { void * jresult ; switch_codec *arg1 = (switch_codec *) 0 ; switch_codec_interface_t *result = 0 ; @@ -31514,7 +31579,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_codec_interface_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_set___(void * jarg1, void * jarg2) { switch_codec *arg1 = (switch_codec *) 0 ; switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; @@ -31524,7 +31589,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_get___(void * jarg1) { void * jresult ; switch_codec *arg1 = (switch_codec *) 0 ; switch_codec_implementation_t *result = 0 ; @@ -31536,7 +31601,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_in_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_in_set___(void * jarg1, char * jarg2) { switch_codec *arg1 = (switch_codec *) 0 ; char *arg2 = (char *) 0 ; @@ -31554,7 +31619,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_in_set(void * jarg1, char * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_fmtp_in_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_in_get___(void * jarg1) { char * jresult ; switch_codec *arg1 = (switch_codec *) 0 ; char *result = 0 ; @@ -31566,7 +31631,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_fmtp_in_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_out_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_out_set___(void * jarg1, char * jarg2) { switch_codec *arg1 = (switch_codec *) 0 ; char *arg2 = (char *) 0 ; @@ -31584,7 +31649,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_out_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_fmtp_out_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_fmtp_out_get___(void * jarg1) { char * jresult ; switch_codec *arg1 = (switch_codec *) 0 ; char *result = 0 ; @@ -31596,7 +31661,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_fmtp_out_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_flags_set___(void * jarg1, unsigned long jarg2) { switch_codec *arg1 = (switch_codec *) 0 ; uint32_t arg2 ; @@ -31606,7 +31671,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_flags_set(void * jarg1, unsigned } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_flags_get___(void * jarg1) { unsigned long jresult ; switch_codec *arg1 = (switch_codec *) 0 ; uint32_t result; @@ -31618,7 +31683,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_flags_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_memory_pool_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_memory_pool_set___(void * jarg1, void * jarg2) { switch_codec *arg1 = (switch_codec *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -31628,7 +31693,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_memory_pool_set(void * jarg1, vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_memory_pool_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_memory_pool_get___(void * jarg1) { void * jresult ; switch_codec *arg1 = (switch_codec *) 0 ; switch_memory_pool_t *result = 0 ; @@ -31640,7 +31705,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_memory_pool_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_private_info_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_private_info_set___(void * jarg1, void * jarg2) { switch_codec *arg1 = (switch_codec *) 0 ; void *arg2 = (void *) 0 ; @@ -31650,7 +31715,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_private_info_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_private_info_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_private_info_get___(void * jarg1) { void * jresult ; switch_codec *arg1 = (switch_codec *) 0 ; void *result = 0 ; @@ -31662,7 +31727,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_private_info_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_agreed_pt_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_agreed_pt_set___(void * jarg1, unsigned char jarg2) { switch_codec *arg1 = (switch_codec *) 0 ; switch_payload_t arg2 ; @@ -31672,7 +31737,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_agreed_pt_set(void * jarg1, unsi } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_codec_agreed_pt_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_agreed_pt_get___(void * jarg1) { unsigned char jresult ; switch_codec *arg1 = (switch_codec *) 0 ; switch_payload_t result; @@ -31684,7 +31749,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_codec_agreed_pt_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_mutex_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_mutex_set___(void * jarg1, void * jarg2) { switch_codec *arg1 = (switch_codec *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -31694,7 +31759,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_mutex_set(void * jarg1, void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_mutex_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_mutex_get___(void * jarg1) { void * jresult ; switch_codec *arg1 = (switch_codec *) 0 ; switch_mutex_t *result = 0 ; @@ -31706,7 +31771,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_mutex_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_next_set___(void * jarg1, void * jarg2) { switch_codec *arg1 = (switch_codec *) 0 ; switch_codec *arg2 = (switch_codec *) 0 ; @@ -31716,7 +31781,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_next_set(void * jarg1, void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_next_get___(void * jarg1) { void * jresult ; switch_codec *arg1 = (switch_codec *) 0 ; switch_codec *result = 0 ; @@ -31728,7 +31793,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_next_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_session_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_session_set___(void * jarg1, void * jarg2) { switch_codec *arg1 = (switch_codec *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -31738,7 +31803,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_session_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_session_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_session_get___(void * jarg1) { void * jresult ; switch_codec *arg1 = (switch_codec *) 0 ; switch_core_session_t *result = 0 ; @@ -31750,7 +31815,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_session_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_cur_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_cur_frame_set___(void * jarg1, void * jarg2) { switch_codec *arg1 = (switch_codec *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -31760,7 +31825,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_cur_frame_set(void * jarg1, void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_cur_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_cur_frame_get___(void * jarg1) { void * jresult ; switch_codec *arg1 = (switch_codec *) 0 ; switch_frame_t *result = 0 ; @@ -31772,7 +31837,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_cur_frame_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_codec___() { void * jresult ; switch_codec *result = 0 ; @@ -31782,7 +31847,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_codec___(void * jarg1) { switch_codec *arg1 = (switch_codec *) 0 ; arg1 = (switch_codec *)jarg1; @@ -31790,7 +31855,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_codec_type_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_type_set___(void * jarg1, int jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_codec_type_t arg2 ; @@ -31800,19 +31865,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_codec_type_set(vo } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_codec_type_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_type_get___(void * jarg1) { int jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_codec_type_t result; arg1 = (switch_codec_implementation *)jarg1; result = (switch_codec_type_t) ((arg1)->codec_type); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_ianacode_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_ianacode_set___(void * jarg1, unsigned char jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_payload_t arg2 ; @@ -31822,7 +31887,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_ianacode_set(void } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_codec_implementation_ianacode_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_ianacode_get___(void * jarg1) { unsigned char jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_payload_t result; @@ -31834,7 +31899,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_codec_implementation_ianacode } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_iananame_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_iananame_set___(void * jarg1, char * jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; char *arg2 = (char *) 0 ; @@ -31852,7 +31917,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_iananame_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_implementation_iananame_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_iananame_get___(void * jarg1) { char * jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; char *result = 0 ; @@ -31864,7 +31929,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_implementation_iananame_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_fmtp_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_fmtp_set___(void * jarg1, char * jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; char *arg2 = (char *) 0 ; @@ -31882,7 +31947,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_fmtp_set(void * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_implementation_fmtp_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_fmtp_get___(void * jarg1) { char * jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; char *result = 0 ; @@ -31894,7 +31959,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_implementation_fmtp_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_second_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_samples_per_second_set___(void * jarg1, unsigned long jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t arg2 ; @@ -31904,7 +31969,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_secon } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_second_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_samples_per_second_get___(void * jarg1) { unsigned long jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t result; @@ -31916,7 +31981,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_samples_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_actual_samples_per_second_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_actual_samples_per_second_set___(void * jarg1, unsigned long jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t arg2 ; @@ -31926,7 +31991,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_actual_samples_pe } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_actual_samples_per_second_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_actual_samples_per_second_get___(void * jarg1) { unsigned long jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t result; @@ -31938,7 +32003,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_actual_s } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_bits_per_second_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_bits_per_second_set___(void * jarg1, int jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; int arg2 ; @@ -31948,7 +32013,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_bits_per_second_s } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_bits_per_second_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_bits_per_second_get___(void * jarg1) { int jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; int result; @@ -31960,7 +32025,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_bits_per_second_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_microseconds_per_packet_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_microseconds_per_packet_set___(void * jarg1, int jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; int arg2 ; @@ -31970,7 +32035,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_microseconds_per_ } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_microseconds_per_packet_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_microseconds_per_packet_get___(void * jarg1) { int jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; int result; @@ -31982,7 +32047,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_microseconds_per_p } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_packet_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_samples_per_packet_set___(void * jarg1, unsigned long jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t arg2 ; @@ -31992,7 +32057,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_packe } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_samples_per_packet_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_samples_per_packet_get___(void * jarg1) { unsigned long jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t result; @@ -32004,7 +32069,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_samples_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_decoded_bytes_per_packet_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_decoded_bytes_per_packet_set___(void * jarg1, unsigned long jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t arg2 ; @@ -32014,7 +32079,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_decoded_bytes_per } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_decoded_bytes_per_packet_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_decoded_bytes_per_packet_get___(void * jarg1) { unsigned long jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t result; @@ -32026,7 +32091,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_decoded_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_encoded_bytes_per_packet_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_encoded_bytes_per_packet_set___(void * jarg1, unsigned long jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t arg2 ; @@ -32036,7 +32101,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_encoded_bytes_per } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_encoded_bytes_per_packet_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_encoded_bytes_per_packet_get___(void * jarg1) { unsigned long jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t result; @@ -32048,7 +32113,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_encoded_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_number_of_channels_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_number_of_channels_set___(void * jarg1, unsigned char jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint8_t arg2 ; @@ -32058,7 +32123,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_number_of_channel } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_codec_implementation_number_of_channels_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_number_of_channels_get___(void * jarg1) { unsigned char jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint8_t result; @@ -32070,7 +32135,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_codec_implementation_number_o } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_codec_frames_per_packet_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_frames_per_packet_set___(void * jarg1, int jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; int arg2 ; @@ -32080,7 +32145,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_codec_frames_per_ } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_codec_frames_per_packet_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_frames_per_packet_get___(void * jarg1) { int jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; int result; @@ -32092,7 +32157,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_implementation_codec_frames_per_p } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_init_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_init_set___(void * jarg1, void * jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_init_func_t arg2 = (switch_core_codec_init_func_t) 0 ; @@ -32102,7 +32167,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_init_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_init_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_init_get___(void * jarg1) { void * jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_init_func_t result; @@ -32114,7 +32179,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_init_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_encode_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_encode_set___(void * jarg1, void * jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_encode_func_t arg2 = (switch_core_codec_encode_func_t) 0 ; @@ -32124,7 +32189,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_encode_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_encode_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_encode_get___(void * jarg1) { void * jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_encode_func_t result; @@ -32136,7 +32201,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_encode_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_decode_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_decode_set___(void * jarg1, void * jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_decode_func_t arg2 = (switch_core_codec_decode_func_t) 0 ; @@ -32146,7 +32211,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_decode_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_decode_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_decode_get___(void * jarg1) { void * jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_decode_func_t result; @@ -32158,7 +32223,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_decode_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_encode_video_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_encode_video_set___(void * jarg1, void * jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_video_encode_func_t arg2 = (switch_core_codec_video_encode_func_t) 0 ; @@ -32168,7 +32233,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_encode_video_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_encode_video_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_encode_video_get___(void * jarg1) { void * jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_video_encode_func_t result; @@ -32180,7 +32245,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_encode_video_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_decode_video_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_decode_video_set___(void * jarg1, void * jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_video_decode_func_t arg2 = (switch_core_codec_video_decode_func_t) 0 ; @@ -32190,7 +32255,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_decode_video_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_decode_video_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_decode_video_get___(void * jarg1) { void * jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_video_decode_func_t result; @@ -32202,7 +32267,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_decode_video_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_codec_control_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_control_set___(void * jarg1, void * jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_control_func_t arg2 = (switch_core_codec_control_func_t) 0 ; @@ -32212,7 +32277,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_codec_control_set } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_codec_control_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_control_get___(void * jarg1) { void * jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_control_func_t result; @@ -32224,7 +32289,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_codec_control_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_destroy_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_destroy_set___(void * jarg1, void * jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_destroy_func_t arg2 = (switch_core_codec_destroy_func_t) 0 ; @@ -32234,7 +32299,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_destroy_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_destroy_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_destroy_get___(void * jarg1) { void * jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_core_codec_destroy_func_t result; @@ -32246,7 +32311,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_destroy_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_codec_id_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_id_set___(void * jarg1, unsigned long jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t arg2 ; @@ -32256,7 +32321,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_codec_id_set(void } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_codec_id_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_id_get___(void * jarg1) { unsigned long jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t result; @@ -32268,7 +32333,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_codec_id } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_impl_id_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_impl_id_set___(void * jarg1, unsigned long jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t arg2 ; @@ -32278,7 +32343,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_impl_id_set(void } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_impl_id_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_impl_id_get___(void * jarg1) { unsigned long jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; uint32_t result; @@ -32290,7 +32355,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_implementation_impl_id_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_modname_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_modname_set___(void * jarg1, char * jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; char *arg2 = (char *) 0 ; @@ -32308,7 +32373,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_modname_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_implementation_modname_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_modname_get___(void * jarg1) { char * jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; char *result = 0 ; @@ -32320,7 +32385,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_implementation_modname_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_next_set___(void * jarg1, void * jarg2) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_codec_implementation *arg2 = (switch_codec_implementation *) 0 ; @@ -32330,7 +32395,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_implementation_next_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_implementation_next_get___(void * jarg1) { void * jresult ; switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; switch_codec_implementation *result = 0 ; @@ -32342,7 +32407,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_implementation_next_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_implementation() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_codec_implementation___() { void * jresult ; switch_codec_implementation *result = 0 ; @@ -32352,7 +32417,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_implementation() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_implementation(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_codec_implementation___(void * jarg1) { switch_codec_implementation *arg1 = (switch_codec_implementation *) 0 ; arg1 = (switch_codec_implementation *)jarg1; @@ -32360,7 +32425,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_implementation(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -32377,7 +32442,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_interface_name_set(voi } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; char *result = 0 ; @@ -32389,7 +32454,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_interface_interface_name_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_implementations_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_implementations_set___(void * jarg1, void * jarg2) { switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_codec_implementation_t *arg2 = (switch_codec_implementation_t *) 0 ; @@ -32399,7 +32464,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_implementations_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_implementations_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_implementations_get___(void * jarg1) { void * jresult ; switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_codec_implementation_t *result = 0 ; @@ -32411,7 +32476,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_implementations_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_parse_fmtp_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_parse_fmtp_set___(void * jarg1, void * jarg2) { switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_core_codec_fmtp_parse_func_t arg2 = (switch_core_codec_fmtp_parse_func_t) 0 ; @@ -32421,7 +32486,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_parse_fmtp_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_parse_fmtp_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_parse_fmtp_get___(void * jarg1) { void * jresult ; switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_core_codec_fmtp_parse_func_t result; @@ -32433,7 +32498,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_parse_fmtp_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_codec_id_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_codec_id_set___(void * jarg1, unsigned long jarg2) { switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; uint32_t arg2 ; @@ -32443,7 +32508,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_codec_id_set(void * ja } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_interface_codec_id_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_codec_id_get___(void * jarg1) { unsigned long jresult ; switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; uint32_t result; @@ -32455,7 +32520,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_interface_codec_id_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -32465,7 +32530,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_rwlock_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -32477,7 +32542,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_rwlock_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_refs_set___(void * jarg1, int jarg2) { switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; int arg2 ; @@ -32487,7 +32552,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_refs_set(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_refs_get___(void * jarg1) { int jresult ; switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; int result; @@ -32499,7 +32564,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_interface_refs_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_reflock_set___(void * jarg1, void * jarg2) { switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -32509,7 +32574,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_reflock_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_reflock_get___(void * jarg1) { void * jresult ; switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -32521,7 +32586,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_reflock_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_modname_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_modname_set___(void * jarg1, char * jarg2) { switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -32539,7 +32604,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_modname_set(void * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_interface_modname_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_modname_get___(void * jarg1) { char * jresult ; switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; char *result = 0 ; @@ -32551,7 +32616,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_interface_modname_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_parent_set___(void * jarg1, void * jarg2) { switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -32561,7 +32626,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_parent_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_parent_get___(void * jarg1) { void * jresult ; switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -32573,7 +32638,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_parent_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_next_set___(void * jarg1, void * jarg2) { switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_codec_interface *arg2 = (switch_codec_interface *) 0 ; @@ -32583,7 +32648,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_next_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_codec_interface_next_get___(void * jarg1) { void * jresult ; switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; switch_codec_interface *result = 0 ; @@ -32595,7 +32660,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_next_get(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_codec_interface___() { void * jresult ; switch_codec_interface *result = 0 ; @@ -32605,7 +32670,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_codec_interface___(void * jarg1) { switch_codec_interface *arg1 = (switch_codec_interface *) 0 ; arg1 = (switch_codec_interface *)jarg1; @@ -32613,7 +32678,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_interface(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -32630,7 +32695,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_interface_name_s } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_application_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_application_interface *arg1 = (switch_application_interface *) 0 ; char *result = 0 ; @@ -32642,7 +32707,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_application_interface_interface_name } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_application_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_application_function_set___(void * jarg1, void * jarg2) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; switch_application_function_t arg2 = (switch_application_function_t) 0 ; @@ -32652,7 +32717,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_application_func } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_application_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_application_function_get___(void * jarg1) { void * jresult ; switch_application_interface *arg1 = (switch_application_interface *) 0 ; switch_application_function_t result; @@ -32664,7 +32729,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_application_fu } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_long_desc_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_long_desc_set___(void * jarg1, char * jarg2) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -32681,7 +32746,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_long_desc_set(vo } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_application_interface_long_desc_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_long_desc_get___(void * jarg1) { char * jresult ; switch_application_interface *arg1 = (switch_application_interface *) 0 ; char *result = 0 ; @@ -32693,7 +32758,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_application_interface_long_desc_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_short_desc_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_short_desc_set___(void * jarg1, char * jarg2) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -32710,7 +32775,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_short_desc_set(v } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_application_interface_short_desc_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_short_desc_get___(void * jarg1) { char * jresult ; switch_application_interface *arg1 = (switch_application_interface *) 0 ; char *result = 0 ; @@ -32722,7 +32787,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_application_interface_short_desc_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_syntax_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_syntax_set___(void * jarg1, char * jarg2) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -32739,7 +32804,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_syntax_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_application_interface_syntax_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_syntax_get___(void * jarg1) { char * jresult ; switch_application_interface *arg1 = (switch_application_interface *) 0 ; char *result = 0 ; @@ -32751,7 +32816,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_application_interface_syntax_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_flags_set___(void * jarg1, unsigned long jarg2) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; uint32_t arg2 ; @@ -32761,7 +32826,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_flags_set(void * } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_application_interface_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_flags_get___(void * jarg1) { unsigned long jresult ; switch_application_interface *arg1 = (switch_application_interface *) 0 ; uint32_t result; @@ -32773,7 +32838,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_application_interface_flags_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -32783,7 +32848,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_rwlock_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_application_interface *arg1 = (switch_application_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -32795,7 +32860,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_rwlock_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_refs_set___(void * jarg1, int jarg2) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; int arg2 ; @@ -32805,7 +32870,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_refs_set(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_application_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_refs_get___(void * jarg1) { int jresult ; switch_application_interface *arg1 = (switch_application_interface *) 0 ; int result; @@ -32817,7 +32882,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_application_interface_refs_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_reflock_set___(void * jarg1, void * jarg2) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -32827,7 +32892,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_reflock_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_reflock_get___(void * jarg1) { void * jresult ; switch_application_interface *arg1 = (switch_application_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -32839,7 +32904,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_reflock_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_parent_set___(void * jarg1, void * jarg2) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -32849,7 +32914,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_parent_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_parent_get___(void * jarg1) { void * jresult ; switch_application_interface *arg1 = (switch_application_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -32861,7 +32926,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_parent_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_next_set___(void * jarg1, void * jarg2) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; switch_application_interface *arg2 = (switch_application_interface *) 0 ; @@ -32871,7 +32936,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_application_interface_next_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_application_interface_next_get___(void * jarg1) { void * jresult ; switch_application_interface *arg1 = (switch_application_interface *) 0 ; switch_application_interface *result = 0 ; @@ -32883,7 +32948,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_application_interface_next_get(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_application_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_application_interface___() { void * jresult ; switch_application_interface *result = 0 ; @@ -32893,7 +32958,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_application_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_application_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_application_interface___(void * jarg1) { switch_application_interface *arg1 = (switch_application_interface *) 0 ; arg1 = (switch_application_interface *)jarg1; @@ -32901,7 +32966,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_application_interface(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -32918,7 +32983,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_interface_n } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; char *result = 0 ; @@ -32930,7 +32995,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_interface } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_chat_application_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_chat_application_function_set___(void * jarg1, void * jarg2) { switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; switch_chat_application_function_t arg2 = (switch_chat_application_function_t) 0 ; @@ -32940,7 +33005,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_chat_applic } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_chat_application_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_chat_application_function_get___(void * jarg1) { void * jresult ; switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; switch_chat_application_function_t result; @@ -32952,7 +33017,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_chat_appl } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_long_desc_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_long_desc_set___(void * jarg1, char * jarg2) { switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -32969,7 +33034,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_long_desc_s } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_long_desc_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_long_desc_get___(void * jarg1) { char * jresult ; switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; char *result = 0 ; @@ -32981,7 +33046,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_long_desc } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_short_desc_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_short_desc_set___(void * jarg1, char * jarg2) { switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -32998,7 +33063,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_short_desc_ } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_short_desc_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_short_desc_get___(void * jarg1) { char * jresult ; switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; char *result = 0 ; @@ -33010,7 +33075,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_short_des } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_syntax_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_syntax_set___(void * jarg1, char * jarg2) { switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -33027,7 +33092,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_syntax_set( } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_syntax_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_syntax_get___(void * jarg1) { char * jresult ; switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; char *result = 0 ; @@ -33039,7 +33104,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_chat_application_interface_syntax_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_flags_set___(void * jarg1, unsigned long jarg2) { switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; uint32_t arg2 ; @@ -33049,7 +33114,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_flags_set(v } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_chat_application_interface_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_flags_get___(void * jarg1) { unsigned long jresult ; switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; uint32_t result; @@ -33061,7 +33126,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_chat_application_interface_fl } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -33071,7 +33136,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_rwlock_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -33083,7 +33148,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_rwlock_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_refs_set___(void * jarg1, int jarg2) { switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; int arg2 ; @@ -33093,7 +33158,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_refs_set(vo } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_chat_application_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_refs_get___(void * jarg1) { int jresult ; switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; int result; @@ -33105,7 +33170,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_chat_application_interface_refs_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_reflock_set___(void * jarg1, void * jarg2) { switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -33115,7 +33180,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_reflock_set } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_reflock_get___(void * jarg1) { void * jresult ; switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -33127,7 +33192,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_reflock_g } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_parent_set___(void * jarg1, void * jarg2) { switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -33137,7 +33202,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_parent_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_parent_get___(void * jarg1) { void * jresult ; switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -33149,7 +33214,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_parent_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_next_set___(void * jarg1, void * jarg2) { switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; switch_chat_application_interface *arg2 = (switch_chat_application_interface *) 0 ; @@ -33159,7 +33224,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_chat_application_interface_next_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_chat_application_interface_next_get___(void * jarg1) { void * jresult ; switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; switch_chat_application_interface *result = 0 ; @@ -33171,7 +33236,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_chat_application_interface_next_get( } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_chat_application_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_chat_application_interface___() { void * jresult ; switch_chat_application_interface *result = 0 ; @@ -33181,7 +33246,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_chat_application_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_chat_application_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_chat_application_interface___(void * jarg1) { switch_chat_application_interface *arg1 = (switch_chat_application_interface *) 0 ; arg1 = (switch_chat_application_interface *)jarg1; @@ -33189,7 +33254,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_chat_application_interface(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_api_interface *arg1 = (switch_api_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -33206,7 +33271,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_interface_name_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_api_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_api_interface *arg1 = (switch_api_interface *) 0 ; char *result = 0 ; @@ -33218,7 +33283,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_api_interface_interface_name_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_desc_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_desc_set___(void * jarg1, char * jarg2) { switch_api_interface *arg1 = (switch_api_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -33235,7 +33300,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_desc_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_api_interface_desc_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_desc_get___(void * jarg1) { char * jresult ; switch_api_interface *arg1 = (switch_api_interface *) 0 ; char *result = 0 ; @@ -33247,7 +33312,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_api_interface_desc_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_function_set___(void * jarg1, void * jarg2) { switch_api_interface *arg1 = (switch_api_interface *) 0 ; switch_api_function_t arg2 = (switch_api_function_t) 0 ; @@ -33257,7 +33322,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_function_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_function_get___(void * jarg1) { void * jresult ; switch_api_interface *arg1 = (switch_api_interface *) 0 ; switch_api_function_t result; @@ -33269,7 +33334,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_function_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_syntax_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_syntax_set___(void * jarg1, char * jarg2) { switch_api_interface *arg1 = (switch_api_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -33286,7 +33351,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_syntax_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_api_interface_syntax_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_syntax_get___(void * jarg1) { char * jresult ; switch_api_interface *arg1 = (switch_api_interface *) 0 ; char *result = 0 ; @@ -33298,7 +33363,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_api_interface_syntax_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_api_interface *arg1 = (switch_api_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -33308,7 +33373,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_rwlock_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_api_interface *arg1 = (switch_api_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -33320,7 +33385,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_rwlock_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_refs_set___(void * jarg1, int jarg2) { switch_api_interface *arg1 = (switch_api_interface *) 0 ; int arg2 ; @@ -33330,7 +33395,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_refs_set(void * jarg1, i } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_api_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_refs_get___(void * jarg1) { int jresult ; switch_api_interface *arg1 = (switch_api_interface *) 0 ; int result; @@ -33342,7 +33407,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_api_interface_refs_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_reflock_set___(void * jarg1, void * jarg2) { switch_api_interface *arg1 = (switch_api_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -33352,7 +33417,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_reflock_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_reflock_get___(void * jarg1) { void * jresult ; switch_api_interface *arg1 = (switch_api_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -33364,7 +33429,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_reflock_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_parent_set___(void * jarg1, void * jarg2) { switch_api_interface *arg1 = (switch_api_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -33374,7 +33439,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_parent_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_parent_get___(void * jarg1) { void * jresult ; switch_api_interface *arg1 = (switch_api_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -33386,7 +33451,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_parent_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_next_set___(void * jarg1, void * jarg2) { switch_api_interface *arg1 = (switch_api_interface *) 0 ; switch_api_interface *arg2 = (switch_api_interface *) 0 ; @@ -33396,7 +33461,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_api_interface_next_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_api_interface_next_get___(void * jarg1) { void * jresult ; switch_api_interface *arg1 = (switch_api_interface *) 0 ; switch_api_interface *result = 0 ; @@ -33408,7 +33473,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_api_interface_next_get(void * jarg1) } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_api_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_api_interface___() { void * jresult ; switch_api_interface *result = 0 ; @@ -33418,7 +33483,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_api_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_api_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_api_interface___(void * jarg1) { switch_api_interface *arg1 = (switch_api_interface *) 0 ; arg1 = (switch_api_interface *)jarg1; @@ -33426,7 +33491,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_api_interface(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_interface_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_interface_name_set___(void * jarg1, char * jarg2) { switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -33443,7 +33508,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_interface_name_set( } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_json_api_interface_interface_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_interface_name_get___(void * jarg1) { char * jresult ; switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; char *result = 0 ; @@ -33455,7 +33520,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_json_api_interface_interface_name_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_desc_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_desc_set___(void * jarg1, char * jarg2) { switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -33472,7 +33537,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_desc_set(void * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_json_api_interface_desc_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_desc_get___(void * jarg1) { char * jresult ; switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; char *result = 0 ; @@ -33484,7 +33549,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_json_api_interface_desc_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_function_set___(void * jarg1, void * jarg2) { switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; switch_json_api_function_t arg2 = (switch_json_api_function_t) 0 ; @@ -33494,7 +33559,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_function_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_function_get___(void * jarg1) { void * jresult ; switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; switch_json_api_function_t result; @@ -33506,7 +33571,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_function_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_syntax_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_syntax_set___(void * jarg1, char * jarg2) { switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; char *arg2 = (char *) 0 ; @@ -33523,7 +33588,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_syntax_set(void * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_json_api_interface_syntax_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_syntax_get___(void * jarg1) { char * jresult ; switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; char *result = 0 ; @@ -33535,7 +33600,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_json_api_interface_syntax_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_rwlock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_rwlock_set___(void * jarg1, void * jarg2) { switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; switch_thread_rwlock_t *arg2 = (switch_thread_rwlock_t *) 0 ; @@ -33545,7 +33610,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_rwlock_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_rwlock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_rwlock_get___(void * jarg1) { void * jresult ; switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; switch_thread_rwlock_t *result = 0 ; @@ -33557,7 +33622,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_rwlock_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_refs_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_refs_set___(void * jarg1, int jarg2) { switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; int arg2 ; @@ -33567,7 +33632,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_refs_set(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_json_api_interface_refs_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_refs_get___(void * jarg1) { int jresult ; switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; int result; @@ -33579,7 +33644,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_json_api_interface_refs_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_reflock_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_reflock_set___(void * jarg1, void * jarg2) { switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -33589,7 +33654,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_reflock_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_reflock_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_reflock_get___(void * jarg1) { void * jresult ; switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; switch_mutex_t *result = 0 ; @@ -33601,7 +33666,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_reflock_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_parent_set___(void * jarg1, void * jarg2) { switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; switch_loadable_module_interface_t *arg2 = (switch_loadable_module_interface_t *) 0 ; @@ -33611,7 +33676,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_parent_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_parent_get___(void * jarg1) { void * jresult ; switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; switch_loadable_module_interface_t *result = 0 ; @@ -33623,7 +33688,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_parent_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_next_set___(void * jarg1, void * jarg2) { switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; switch_json_api_interface *arg2 = (switch_json_api_interface *) 0 ; @@ -33633,7 +33698,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_api_interface_next_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_api_interface_next_get___(void * jarg1) { void * jresult ; switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; switch_json_api_interface *result = 0 ; @@ -33645,7 +33710,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_json_api_interface_next_get(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_json_api_interface() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_json_api_interface___() { void * jresult ; switch_json_api_interface *result = 0 ; @@ -33655,7 +33720,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_json_api_interface() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_json_api_interface(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_json_api_interface___(void * jarg1) { switch_json_api_interface *arg1 = (switch_json_api_interface *) 0 ; arg1 = (switch_json_api_interface *)jarg1; @@ -33663,7 +33728,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_json_api_interface(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_session_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_slin_data_session_set___(void * jarg1, void * jarg2) { switch_slin_data *arg1 = (switch_slin_data *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -33673,7 +33738,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_session_set(void * jarg1, vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_slin_data_session_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_slin_data_session_get___(void * jarg1) { void * jresult ; switch_slin_data *arg1 = (switch_slin_data *) 0 ; switch_core_session_t *result = 0 ; @@ -33685,7 +33750,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_slin_data_session_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_write_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_slin_data_write_frame_set___(void * jarg1, void * jarg2) { switch_slin_data *arg1 = (switch_slin_data *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -33695,7 +33760,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_write_frame_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_slin_data_write_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_slin_data_write_frame_get___(void * jarg1) { void * jresult ; switch_slin_data *arg1 = (switch_slin_data *) 0 ; switch_frame_t *result = 0 ; @@ -33707,7 +33772,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_slin_data_write_frame_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_codec_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_slin_data_codec_set___(void * jarg1, void * jarg2) { switch_slin_data *arg1 = (switch_slin_data *) 0 ; switch_codec_t *arg2 = (switch_codec_t *) 0 ; @@ -33717,7 +33782,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_codec_set(void * jarg1, void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_slin_data_codec_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_slin_data_codec_get___(void * jarg1) { void * jresult ; switch_slin_data *arg1 = (switch_slin_data *) 0 ; switch_codec_t *result = 0 ; @@ -33729,7 +33794,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_slin_data_codec_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_frame_data_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_slin_data_frame_data_set___(void * jarg1, char * jarg2) { switch_slin_data *arg1 = (switch_slin_data *) 0 ; char *arg2 ; @@ -33746,7 +33811,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_slin_data_frame_data_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_slin_data_frame_data_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_slin_data_frame_data_get___(void * jarg1) { char * jresult ; switch_slin_data *arg1 = (switch_slin_data *) 0 ; char *result = 0 ; @@ -33758,7 +33823,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_slin_data_frame_data_get(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_slin_data() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_slin_data___() { void * jresult ; switch_slin_data *result = 0 ; @@ -33768,7 +33833,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_slin_data() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_slin_data(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_slin_data___(void * jarg1) { switch_slin_data *arg1 = (switch_slin_data *) 0 ; arg1 = (switch_slin_data *)jarg1; @@ -33776,7 +33841,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_slin_data(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_profile_created_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_profile_created_set___(void * jarg1, void * jarg2) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -33792,7 +33857,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_profile_created_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_profile_created_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_profile_created_get___(void * jarg1) { void * jresult ; switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t result; @@ -33804,7 +33869,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_profile_created_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_created_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_created_set___(void * jarg1, void * jarg2) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -33820,7 +33885,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_created_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_created_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_created_get___(void * jarg1) { void * jresult ; switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t result; @@ -33832,7 +33897,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_created_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_answered_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_answered_set___(void * jarg1, void * jarg2) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -33848,7 +33913,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_answered_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_answered_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_answered_get___(void * jarg1) { void * jresult ; switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t result; @@ -33860,7 +33925,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_answered_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_progress_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_progress_set___(void * jarg1, void * jarg2) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -33876,7 +33941,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_progress_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_progress_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_progress_get___(void * jarg1) { void * jresult ; switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t result; @@ -33888,7 +33953,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_progress_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_progress_media_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_progress_media_set___(void * jarg1, void * jarg2) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -33904,7 +33969,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_progress_media_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_progress_media_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_progress_media_get___(void * jarg1) { void * jresult ; switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t result; @@ -33916,7 +33981,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_progress_media_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_hungup_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_hungup_set___(void * jarg1, void * jarg2) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -33932,7 +33997,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_hungup_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_hungup_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_hungup_get___(void * jarg1) { void * jresult ; switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t result; @@ -33944,7 +34009,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_hungup_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_transferred_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_transferred_set___(void * jarg1, void * jarg2) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -33960,7 +34025,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_transferred_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_transferred_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_transferred_get___(void * jarg1) { void * jresult ; switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t result; @@ -33972,7 +34037,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_transferred_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_resurrected_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_resurrected_set___(void * jarg1, void * jarg2) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -33988,7 +34053,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_resurrected_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_resurrected_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_resurrected_get___(void * jarg1) { void * jresult ; switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t result; @@ -34000,7 +34065,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_resurrected_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_bridged_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_bridged_set___(void * jarg1, void * jarg2) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -34016,7 +34081,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_bridged_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_bridged_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_bridged_get___(void * jarg1) { void * jresult ; switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t result; @@ -34028,7 +34093,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_bridged_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_last_hold_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_last_hold_set___(void * jarg1, void * jarg2) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -34044,7 +34109,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_last_hold_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_last_hold_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_last_hold_get___(void * jarg1) { void * jresult ; switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t result; @@ -34056,7 +34121,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_last_hold_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_hold_accum_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_hold_accum_set___(void * jarg1, void * jarg2) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -34072,7 +34137,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_hold_accum_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_hold_accum_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_hold_accum_get___(void * jarg1) { void * jresult ; switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_time_t result; @@ -34084,7 +34149,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_hold_accum_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_next_set___(void * jarg1, void * jarg2) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_channel_timetable *arg2 = (switch_channel_timetable *) 0 ; @@ -34094,7 +34159,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_timetable_next_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_timetable_next_get___(void * jarg1) { void * jresult ; switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; switch_channel_timetable *result = 0 ; @@ -34106,7 +34171,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_timetable_next_get(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_channel_timetable() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_channel_timetable___() { void * jresult ; switch_channel_timetable *result = 0 ; @@ -34116,7 +34181,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_channel_timetable() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_channel_timetable(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_channel_timetable___(void * jarg1) { switch_channel_timetable *arg1 = (switch_channel_timetable *) 0 ; arg1 = (switch_channel_timetable *)jarg1; @@ -34124,31 +34189,31 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_channel_timetable(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_state(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_state___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_state_t result; arg1 = (switch_channel_t *)jarg1; result = (switch_channel_state_t)switch_channel_get_state(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_running_state(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_running_state___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_state_t result; arg1 = (switch_channel_t *)jarg1; result = (switch_channel_state_t)switch_channel_get_running_state(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_check_signal(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_check_signal___(void * jarg1, int jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_bool_t arg2 ; @@ -34162,7 +34227,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_check_signal(void * jarg1, int } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_ready(void * jarg1, int jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_test_ready___(void * jarg1, int jarg2, int jarg3) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_bool_t arg2 ; @@ -34178,7 +34243,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_ready(void * jarg1, int ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_wait_for_state(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_wait_for_state___(void * jarg1, void * jarg2, int jarg3) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_t *arg2 = (switch_channel_t *) 0 ; switch_channel_state_t arg3 ; @@ -34190,7 +34255,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_wait_for_state(void * jarg1, v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_wait_for_state_timeout(void * jarg1, int jarg2, unsigned long jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_wait_for_state_timeout___(void * jarg1, int jarg2, unsigned long jarg3) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_state_t arg2 ; uint32_t arg3 ; @@ -34202,7 +34267,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_wait_for_state_timeout(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_wait_for_flag(void * jarg1, int jarg2, int jarg3, unsigned long jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_wait_for_flag___(void * jarg1, int jarg2, int jarg3, unsigned long jarg4, void * jarg5) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_flag_t arg2 ; @@ -34217,12 +34282,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_wait_for_flag(void * jarg1, int arg4 = (uint32_t)jarg4; arg5 = (switch_channel_t *)jarg5; result = (switch_status_t)switch_channel_wait_for_flag(arg1,arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_set_state(void * jarg1, char * jarg2, char * jarg3, int jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_set_state___(void * jarg1, char * jarg2, char * jarg3, int jarg4, int jarg5) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34237,12 +34302,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_set_state(void * jarg1, arg4 = (int)jarg4; arg5 = (switch_channel_state_t)jarg5; result = (switch_channel_state_t)switch_channel_perform_set_state(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_set_running_state(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_set_running_state___(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_state_t arg2 ; @@ -34257,60 +34322,60 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_set_running_state(void arg4 = (char *)jarg4; arg5 = (int)jarg5; result = (switch_channel_state_t)switch_channel_perform_set_running_state(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_str2cause(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_str2cause___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_call_cause_t result; arg1 = (char *)jarg1; result = (switch_call_cause_t)switch_channel_str2cause((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_cause(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_cause___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_call_cause_t result; arg1 = (switch_channel_t *)jarg1; result = (switch_call_cause_t)switch_channel_get_cause(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_cause_q850(int jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_cause_q850___(int jarg1) { int jresult ; switch_call_cause_t arg1 ; switch_call_cause_t result; arg1 = (switch_call_cause_t)jarg1; result = (switch_call_cause_t)switch_channel_cause_q850(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_cause_q850(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_cause_q850___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_call_cause_t result; arg1 = (switch_channel_t *)jarg1; result = (switch_call_cause_t)switch_channel_get_cause_q850(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_cause_ptr(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_cause_ptr___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_call_cause_t *result = 0 ; @@ -34322,7 +34387,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_cause_ptr(void * jarg1) } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_cause2str(int jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_cause2str___(int jarg1) { char * jresult ; switch_call_cause_t arg1 ; char *result = 0 ; @@ -34334,7 +34399,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_cause2str(int jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_timetable(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_timetable___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_timetable_t *result = 0 ; @@ -34346,7 +34411,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_timetable(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_alloc(void * jarg1, int jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_alloc___(void * jarg1, int jarg2, void * jarg3) { int jresult ; switch_channel_t **arg1 = (switch_channel_t **) 0 ; switch_call_direction_t arg2 ; @@ -34357,12 +34422,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_alloc(void * jarg1, int jarg2, arg2 = (switch_call_direction_t)jarg2; arg3 = (switch_memory_pool_t *)jarg3; result = (switch_status_t)switch_channel_alloc(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_init(void * jarg1, void * jarg2, int jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_init___(void * jarg1, void * jarg2, int jarg3, int jarg4) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -34375,12 +34440,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_init(void * jarg1, void * jarg2 arg3 = (switch_channel_state_t)jarg3; arg4 = (switch_channel_flag_t)jarg4; result = (switch_status_t)switch_channel_init(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_presence_data_vals(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_presence_data_vals___(void * jarg1, char * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34390,7 +34455,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_presence_data_vals(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_presence(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, int jarg7) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_presence___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, int jarg7) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -34410,7 +34475,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_presence(void * jarg1, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_uninit(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_uninit___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -34418,7 +34483,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_uninit(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_caller_profile(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_caller_profile___(void * jarg1, void * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; @@ -34428,7 +34493,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_caller_profile(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_step_caller_profile(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_step_caller_profile___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -34436,7 +34501,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_step_caller_profile(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_caller_profile(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_caller_profile___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_profile_t *result = 0 ; @@ -34448,7 +34513,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_caller_profile(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_originator_caller_profile(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_originator_caller_profile___(void * jarg1, void * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; @@ -34458,7 +34523,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_originator_caller_profile( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_hunt_caller_profile(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_hunt_caller_profile___(void * jarg1, void * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; @@ -34468,7 +34533,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_hunt_caller_profile(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_originator_caller_profile(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_originator_caller_profile___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_profile_t *result = 0 ; @@ -34480,7 +34545,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_originator_caller_profil } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_originatee_caller_profile(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_originatee_caller_profile___(void * jarg1, void * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; @@ -34490,7 +34555,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_originatee_caller_profile( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_originatee_caller_profile(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_originatee_caller_profile___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_profile_t *result = 0 ; @@ -34502,7 +34567,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_originatee_caller_profil } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_origination_caller_profile(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_origination_caller_profile___(void * jarg1, void * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; @@ -34512,7 +34577,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_origination_caller_profile } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_origination_caller_profile(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_origination_caller_profile___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_profile_t *result = 0 ; @@ -34524,7 +34589,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_origination_caller_profi } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_uuid(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_uuid___(void * jarg1) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *result = 0 ; @@ -34536,7 +34601,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_uuid(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_profile_var(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_profile_var___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34547,12 +34612,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_profile_var(void * jarg1, c arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_channel_set_profile_var(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_variable_var_check(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_variable_var_check___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34565,12 +34630,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_variable_var_check(void * j arg3 = (char *)jarg3; arg4 = (switch_bool_t)jarg4; result = (switch_status_t)switch_channel_set_variable_var_check(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_add_variable_var_check(void * jarg1, char * jarg2, char * jarg3, int jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_add_variable_var_check___(void * jarg1, char * jarg2, char * jarg3, int jarg4, int jarg5) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34585,12 +34650,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_add_variable_var_check(void * j arg4 = (switch_bool_t)jarg4; arg5 = (switch_stack_t)jarg5; result = (switch_status_t)switch_channel_add_variable_var_check(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_variable_printf(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_variable_printf___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34602,12 +34667,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_variable_printf(void * jarg arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_channel_set_variable_printf(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_variable_name_printf(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_variable_name_printf___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34619,12 +34684,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_variable_name_printf(void * arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_channel_set_variable_name_printf(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_variable_partner_var_check(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_variable_partner_var_check___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34637,12 +34702,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_variable_partner_var_check( arg3 = (char *)jarg3; arg4 = (switch_bool_t)jarg4; result = (switch_status_t)switch_channel_set_variable_partner_var_check(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_variable_partner(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_variable_partner___(void * jarg1, char * jarg2) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34656,7 +34721,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_variable_partner(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_hold_music(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_hold_music___(void * jarg1) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *result = 0 ; @@ -34668,7 +34733,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_hold_music(void * jarg1) } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_hold_music_partner(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_hold_music_partner___(void * jarg1) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *result = 0 ; @@ -34680,7 +34745,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_hold_music_partner(void } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_del_variable_prefix(void * jarg1, char * jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_del_variable_prefix___(void * jarg1, char * jarg2) { unsigned long jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34694,7 +34759,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_del_variable_prefix(v } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_transfer_variable_prefix(void * jarg1, void * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_transfer_variable_prefix___(void * jarg1, void * jarg2, char * jarg3) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_t *arg2 = (switch_channel_t *) 0 ; @@ -34705,12 +34770,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_transfer_variable_prefix(void * arg2 = (switch_channel_t *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_channel_transfer_variable_prefix(arg1,arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_export_variable_var_check(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_export_variable_var_check___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34725,12 +34790,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_export_variable_var_check(void arg4 = (char *)jarg4; arg5 = (switch_bool_t)jarg5; result = (switch_status_t)switch_channel_export_variable_var_check(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_process_export(void * jarg1, void * jarg2, void * jarg3, char * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_process_export___(void * jarg1, void * jarg2, void * jarg3, char * jarg4) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_t *arg2 = (switch_channel_t *) 0 ; switch_event_t *arg3 = (switch_event_t *) 0 ; @@ -34744,7 +34809,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_process_export(void * jarg1, v } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_export_variable_printf(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_export_variable_printf___(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34758,12 +34823,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_export_variable_printf(void * j arg3 = (char *)jarg3; arg4 = (char *)jarg4; result = (switch_status_t)switch_channel_export_variable_printf(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_scope_variables(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_scope_variables___(void * jarg1, void * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_event_t **arg2 = (switch_event_t **) 0 ; @@ -34773,7 +34838,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_scope_variables(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_scope_variables(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_scope_variables___(void * jarg1, void * jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_event_t **arg2 = (switch_event_t **) 0 ; @@ -34782,12 +34847,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_scope_variables(void * jarg arg1 = (switch_channel_t *)jarg1; arg2 = (switch_event_t **)jarg2; result = (switch_status_t)switch_channel_get_scope_variables(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_variable_dup(void * jarg1, char * jarg2, int jarg3, int jarg4) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_variable_dup___(void * jarg1, char * jarg2, int jarg3, int jarg4) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34805,7 +34870,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_variable_dup(void * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_variables(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_variables___(void * jarg1, void * jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_event_t **arg2 = (switch_event_t **) 0 ; @@ -34814,12 +34879,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_variables(void * jarg1, voi arg1 = (switch_channel_t *)jarg1; arg2 = (switch_event_t **)jarg2; result = (switch_status_t)switch_channel_get_variables(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_pass_callee_id(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_pass_callee_id___(void * jarg1, void * jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_t *arg2 = (switch_channel_t *) 0 ; @@ -34828,12 +34893,26 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_pass_callee_id(void * jarg1, vo arg1 = (switch_channel_t *)jarg1; arg2 = (switch_channel_t *)jarg2; result = (switch_status_t)switch_channel_pass_callee_id(arg1,arg2); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_var_false___(void * jarg1, char * jarg2) { + int jresult ; + switch_channel_t *arg1 = (switch_channel_t *) 0 ; + char *arg2 = (char *) 0 ; + int result; + + arg1 = (switch_channel_t *)jarg1; + arg2 = (char *)jarg2; + result = (int)switch_channel_var_false(arg1,(char const *)arg2); jresult = result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_var_true(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_var_true___(void * jarg1, char * jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -34847,7 +34926,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_var_true(void * jarg1, char * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_variable_first(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_variable_first___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_event_header_t *result = 0 ; @@ -34859,7 +34938,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_variable_first(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_variable_last(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_variable_last___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -34867,7 +34946,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_variable_last(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_restart(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_restart___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -34875,7 +34954,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_restart(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_caller_extension_masquerade(void * jarg1, void * jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_caller_extension_masquerade___(void * jarg1, void * jarg2, unsigned long jarg3) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_t *arg2 = (switch_channel_t *) 0 ; @@ -34886,12 +34965,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_caller_extension_masquerade(voi arg2 = (switch_channel_t *)jarg2; arg3 = (uint32_t)jarg3; result = (switch_status_t)switch_channel_caller_extension_masquerade(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_caller_extension(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_caller_extension___(void * jarg1, void * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_extension_t *arg2 = (switch_caller_extension_t *) 0 ; @@ -34901,7 +34980,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_caller_extension(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_invert_cid(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_invert_cid___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -34909,7 +34988,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_invert_cid(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_flip_cid(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_flip_cid___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -34917,7 +34996,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_flip_cid(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_sort_cid(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_sort_cid___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -34925,7 +35004,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_sort_cid(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_caller_extension(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_caller_extension___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_extension_t *result = 0 ; @@ -34937,7 +35016,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_caller_extension(void * } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_flag(void * jarg1, int jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_test_flag___(void * jarg1, int jarg2) { unsigned long jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_flag_t arg2 ; @@ -34951,7 +35030,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_flag(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_flag_value(void * jarg1, int jarg2, unsigned long jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_flag_value___(void * jarg1, int jarg2, unsigned long jarg3) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_flag_t arg2 ; uint32_t arg3 ; @@ -34963,7 +35042,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_flag_value(void * jarg1, i } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_flag_recursive(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_flag_recursive___(void * jarg1, int jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_flag_t arg2 ; @@ -34973,7 +35052,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_flag_recursive(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_cap_value(void * jarg1, int jarg2, unsigned long jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_cap_value___(void * jarg1, int jarg2, unsigned long jarg3) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_cap_t arg2 ; uint32_t arg3 ; @@ -34985,7 +35064,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_cap_value(void * jarg1, in } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_cap(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_clear_cap___(void * jarg1, int jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_cap_t arg2 ; @@ -34995,7 +35074,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_cap(void * jarg1, int ja } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_cap(void * jarg1, int jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_test_cap___(void * jarg1, int jarg2) { unsigned long jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_cap_t arg2 ; @@ -35009,7 +35088,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_cap(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_cap_partner(void * jarg1, int jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_test_cap_partner___(void * jarg1, int jarg2) { unsigned long jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_cap_t arg2 ; @@ -35023,7 +35102,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_cap_partner(void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_flag_partner(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_flag_partner___(void * jarg1, int jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_flag_t arg2 ; @@ -35032,12 +35111,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_flag_partner(void * jarg1, arg1 = (switch_channel_t *)jarg1; arg2 = (switch_channel_flag_t)jarg2; result = (switch_bool_t)switch_channel_set_flag_partner(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_clear_flag_partner(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_clear_flag_partner___(void * jarg1, int jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_flag_t arg2 ; @@ -35046,12 +35125,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_clear_flag_partner(void * jarg1 arg1 = (switch_channel_t *)jarg1; arg2 = (switch_channel_flag_t)jarg2; result = (switch_bool_t)switch_channel_clear_flag_partner(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_flag_partner(void * jarg1, int jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_test_flag_partner___(void * jarg1, int jarg2) { unsigned long jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_flag_t arg2 ; @@ -35065,7 +35144,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_channel_test_flag_partner(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_state_flag(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_state_flag___(void * jarg1, int jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_flag_t arg2 ; @@ -35075,7 +35154,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_state_flag(void * jarg1, i } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_state_flag(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_clear_state_flag___(void * jarg1, int jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_flag_t arg2 ; @@ -35085,7 +35164,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_state_flag(void * jarg1, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_flag(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_clear_flag___(void * jarg1, int jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_flag_t arg2 ; @@ -35095,7 +35174,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_flag(void * jarg1, int j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_flag_recursive(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_clear_flag_recursive___(void * jarg1, int jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_flag_t arg2 ; @@ -35105,7 +35184,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_flag_recursive(void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_answer(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_answer___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35118,12 +35197,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_answer(void * jarg1, ch arg3 = (char *)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_channel_perform_answer(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_mark_answered(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_mark_answered___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35136,12 +35215,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_mark_answered(void * ja arg3 = (char *)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_channel_perform_mark_answered(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_check_zrtp(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_check_zrtp___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -35149,7 +35228,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_check_zrtp(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_acknowledge_call(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_acknowledge_call___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35162,12 +35241,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_acknowledge_call(void * arg3 = (char *)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_channel_perform_acknowledge_call(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_ring_ready_value(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_ring_ready_value___(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_ring_ready_t arg2 ; @@ -35182,12 +35261,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_ring_ready_value(void * arg4 = (char *)jarg4; arg5 = (int)jarg5; result = (switch_status_t)switch_channel_perform_ring_ready_value(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_pre_answer(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_pre_answer___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35200,12 +35279,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_pre_answer(void * jarg1 arg3 = (char *)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_channel_perform_pre_answer(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_mark_pre_answered(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_mark_pre_answered___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35218,12 +35297,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_mark_pre_answered(void arg3 = (char *)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_channel_perform_mark_pre_answered(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_mark_ring_ready_value(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_mark_ring_ready_value___(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_ring_ready_t arg2 ; @@ -35238,12 +35317,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_mark_ring_ready_value(v arg4 = (char *)jarg4; arg5 = (int)jarg5; result = (switch_status_t)switch_channel_perform_mark_ring_ready_value(arg1,arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_add_state_handler(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_add_state_handler___(void * jarg1, void * jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_state_handler_table_t *arg2 = (switch_state_handler_table_t *) 0 ; @@ -35257,7 +35336,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_add_state_handler(void * jarg1, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_state_handler(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_clear_state_handler___(void * jarg1, void * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_state_handler_table_t *arg2 = (switch_state_handler_table_t *) 0 ; @@ -35267,7 +35346,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_state_handler(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_state_handler(void * jarg1, int jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_state_handler___(void * jarg1, int jarg2) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; int arg2 ; @@ -35281,7 +35360,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_state_handler(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_private(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_private___(void * jarg1, char * jarg2, void * jarg3) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35292,12 +35371,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_private(void * jarg1, char arg2 = (char *)jarg2; arg3 = (void *)jarg3; result = (switch_status_t)switch_channel_set_private(arg1,(char const *)arg2,(void const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_private(void * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_private___(void * jarg1, char * jarg2) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35311,7 +35390,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_private(void * jarg1, ch } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_private_partner(void * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_private_partner___(void * jarg1, char * jarg2) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35325,7 +35404,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_private_partner(void * j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_name(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_name___(void * jarg1, char * jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35334,12 +35413,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_name(void * jarg1, char * j arg1 = (switch_channel_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_channel_set_name(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_name(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_name___(void * jarg1) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *result = 0 ; @@ -35351,7 +35430,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_name(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_hangup(void * jarg1, char * jarg2, char * jarg3, int jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_hangup___(void * jarg1, char * jarg2, char * jarg3, int jarg4, int jarg5) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35366,12 +35445,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_perform_hangup(void * jarg1, ch arg4 = (int)jarg4; arg5 = (switch_call_cause_t)jarg5; result = (switch_channel_state_t)switch_channel_perform_hangup(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_has_dtmf(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_has_dtmf___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_size_t result; @@ -35383,43 +35462,43 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_has_dtmf(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_dtmf_lock(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_dtmf_lock___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_status_t result; arg1 = (switch_channel_t *)jarg1; result = (switch_status_t)switch_channel_dtmf_lock(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_try_dtmf_lock(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_try_dtmf_lock___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_status_t result; arg1 = (switch_channel_t *)jarg1; result = (switch_status_t)switch_channel_try_dtmf_lock(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_dtmf_unlock(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_dtmf_unlock___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_status_t result; arg1 = (switch_channel_t *)jarg1; result = (switch_status_t)switch_channel_dtmf_unlock(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_queue_dtmf(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_queue_dtmf___(void * jarg1, void * jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; @@ -35428,12 +35507,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_queue_dtmf(void * jarg1, void * arg1 = (switch_channel_t *)jarg1; arg2 = (switch_dtmf_t *)jarg2; result = (switch_status_t)switch_channel_queue_dtmf(arg1,(switch_dtmf_t const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_queue_dtmf_string(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_queue_dtmf_string___(void * jarg1, char * jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35442,12 +35521,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_queue_dtmf_string(void * jarg1, arg1 = (switch_channel_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_channel_queue_dtmf_string(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_dequeue_dtmf(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_dequeue_dtmf___(void * jarg1, void * jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; @@ -35456,12 +35535,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_dequeue_dtmf(void * jarg1, void arg1 = (switch_channel_t *)jarg1; arg2 = (switch_dtmf_t *)jarg2; result = (switch_status_t)switch_channel_dequeue_dtmf(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_flush_dtmf(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_flush_dtmf___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -35469,7 +35548,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_flush_dtmf(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_dequeue_dtmf_string(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_dequeue_dtmf_string___(void * jarg1, char * jarg2, void * jarg3) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35491,7 +35570,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_dequeue_dtmf_string(void * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_state_name(int jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_state_name___(int jarg1) { char * jresult ; switch_channel_state_t arg1 ; char *result = 0 ; @@ -35503,19 +35582,19 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_state_name(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_name_state(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_name_state___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_channel_state_t result; arg1 = (char *)jarg1; result = (switch_channel_state_t)switch_channel_name_state((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_event_set_data(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_event_set_data___(void * jarg1, void * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -35525,7 +35604,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_event_set_data(void * jarg1, v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_event_set_basic_data(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_event_set_basic_data___(void * jarg1, void * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -35535,7 +35614,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_event_set_basic_data(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_event_set_extended_data(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_event_set_extended_data___(void * jarg1, void * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -35545,7 +35624,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_event_set_extended_data(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_expand_variables_check(void * jarg1, char * jarg2, void * jarg3, void * jarg4, unsigned long jarg5) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_expand_variables_check___(void * jarg1, char * jarg2, void * jarg3, void * jarg4, unsigned long jarg5) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35565,7 +35644,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_expand_variables_check(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_build_param_string(void * jarg1, void * jarg2, char * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_build_param_string___(void * jarg1, void * jarg2, char * jarg3) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; @@ -35581,19 +35660,19 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_build_param_string(void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_set_timestamps(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_timestamps___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_status_t result; arg1 = (switch_channel_t *)jarg1; result = (switch_status_t)switch_channel_set_timestamps(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_audio_sync(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_audio_sync___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -35607,7 +35686,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_audio_sync(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_video_sync(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_video_sync___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -35621,7 +35700,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_video_sync(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_private_flag(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_private_flag___(void * jarg1, unsigned long jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; uint32_t arg2 ; @@ -35631,7 +35710,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_private_flag(void * jarg1, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_private_flag(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_clear_private_flag___(void * jarg1, unsigned long jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; uint32_t arg2 ; @@ -35641,7 +35720,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_private_flag(void * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_private_flag(void * jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_test_private_flag___(void * jarg1, unsigned long jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; uint32_t arg2 ; @@ -35655,7 +35734,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_private_flag(void * jarg1, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_app_flag_key(char * jarg1, void * jarg2, unsigned long jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_app_flag_key___(char * jarg1, void * jarg2, unsigned long jarg3) { char *arg1 = (char *) 0 ; switch_channel_t *arg2 = (switch_channel_t *) 0 ; uint32_t arg3 ; @@ -35667,7 +35746,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_app_flag_key(char * jarg1, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_app_flag_key(char * jarg1, void * jarg2, unsigned long jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_clear_app_flag_key___(char * jarg1, void * jarg2, unsigned long jarg3) { char *arg1 = (char *) 0 ; switch_channel_t *arg2 = (switch_channel_t *) 0 ; uint32_t arg3 ; @@ -35679,7 +35758,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_app_flag_key(char * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_app_flag_key(char * jarg1, void * jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_test_app_flag_key___(char * jarg1, void * jarg2, unsigned long jarg3) { int jresult ; char *arg1 = (char *) 0 ; switch_channel_t *arg2 = (switch_channel_t *) 0 ; @@ -35695,7 +35774,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_test_app_flag_key(char * jarg1, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_bridge_time(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_bridge_time___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -35703,7 +35782,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_bridge_time(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_hangup_time(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_hangup_time___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -35711,31 +35790,31 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_hangup_time(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_direction(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_direction___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_call_direction_t result; arg1 = (switch_channel_t *)jarg1; result = (switch_call_direction_t)switch_channel_direction(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_logical_direction(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_logical_direction___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_call_direction_t result; arg1 = (switch_channel_t *)jarg1; result = (switch_call_direction_t)switch_channel_logical_direction(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_direction(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_direction___(void * jarg1, int jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_call_direction_t arg2 ; @@ -35745,7 +35824,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_set_direction(void * jarg1, in } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_session(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_session___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_core_session_t *result = 0 ; @@ -35757,7 +35836,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_session(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_flag_string(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_flag_string___(void * jarg1) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *result = 0 ; @@ -35769,7 +35848,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_flag_string(void * jarg1 } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_cap_string(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_cap_string___(void * jarg1) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *result = 0 ; @@ -35781,7 +35860,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_cap_string(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_state_change_pending(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_state_change_pending___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; int result; @@ -35793,7 +35872,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_state_change_pending(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_set_callstate(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_perform_set_callstate___(void * jarg1, int jarg2, char * jarg3, char * jarg4, int jarg5) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_callstate_t arg2 ; char *arg3 = (char *) 0 ; @@ -35809,19 +35888,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_perform_set_callstate(void * j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_get_callstate(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_callstate___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_callstate_t result; arg1 = (switch_channel_t *)jarg1; result = (switch_channel_callstate_t)switch_channel_get_callstate(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_callstate2str(int jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_callstate2str___(int jarg1) { char * jresult ; switch_channel_callstate_t arg1 ; char *result = 0 ; @@ -35833,19 +35912,19 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_callstate2str(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_str2callstate(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_str2callstate___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_channel_callstate_t result; arg1 = (char *)jarg1; result = (switch_channel_callstate_t)switch_channel_str2callstate((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_mark_hold(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_mark_hold___(void * jarg1, int jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_bool_t arg2 ; @@ -35855,7 +35934,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_mark_hold(void * jarg1, int ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_execute_on(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_execute_on___(void * jarg1, char * jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35864,12 +35943,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_execute_on(void * jarg1, char * arg1 = (switch_channel_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_channel_execute_on(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_api_on(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_api_on___(void * jarg1, char * jarg2) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35878,12 +35957,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_api_on(void * jarg1, char * jar arg1 = (switch_channel_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_channel_api_on(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_process_device_hangup(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_process_device_hangup___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -35891,7 +35970,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_process_device_hangup(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_queued_extension(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_queued_extension___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_extension_t *result = 0 ; @@ -35903,7 +35982,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_queued_extension(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_transfer_to_extension(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_transfer_to_extension___(void * jarg1, void * jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_caller_extension_t *arg2 = (switch_caller_extension_t *) 0 ; @@ -35913,7 +35992,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_transfer_to_extension(void * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_partner_uuid(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_partner_uuid___(void * jarg1) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *result = 0 ; @@ -35925,7 +36004,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_partner_uuid(void * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_partner_uuid_copy(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_partner_uuid_copy___(void * jarg1, char * jarg2, void * jarg3) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -35947,7 +36026,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_get_partner_uuid_copy(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_hold_record(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_hold_record___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_hold_record_t *result = 0 ; @@ -35959,7 +36038,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_hold_record(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_state_thread_lock(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_state_thread_lock___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -35967,7 +36046,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_state_thread_lock(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_state_thread_unlock(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_state_thread_unlock___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -35975,19 +36054,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_state_thread_unlock(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_state_thread_trylock(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_state_thread_trylock___(void * jarg1) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_status_t result; arg1 = (switch_channel_t *)jarg1; result = (switch_status_t)switch_channel_state_thread_trylock(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_handle_cause(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_handle_cause___(void * jarg1, int jarg2) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_call_cause_t arg2 ; @@ -35997,7 +36076,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_handle_cause(void * jarg1, int } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_global_init(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_global_init___(void * jarg1) { switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; arg1 = (switch_memory_pool_t *)jarg1; @@ -36005,12 +36084,12 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_global_init(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_global_uninit() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_global_uninit___() { switch_channel_global_uninit(); } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_set_device_id(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_set_device_id___(void * jarg1, char * jarg2) { char * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; char *arg2 = (char *) 0 ; @@ -36024,7 +36103,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_set_device_id(void * jarg1, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_device_record(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_clear_device_record___(void * jarg1) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; arg1 = (switch_channel_t *)jarg1; @@ -36032,7 +36111,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_clear_device_record(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_device_record(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_get_device_record___(void * jarg1) { void * jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_device_record_t *result = 0 ; @@ -36044,7 +36123,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_channel_get_device_record(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_release_device_record(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_release_device_record___(void * jarg1) { switch_device_record_t **arg1 = (switch_device_record_t **) 0 ; arg1 = (switch_device_record_t **)jarg1; @@ -36052,7 +36131,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_channel_release_device_record(void * j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_bind_device_state_handler(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_bind_device_state_handler___(void * jarg1, void * jarg2) { int jresult ; switch_device_state_function_t arg1 = (switch_device_state_function_t) 0 ; void *arg2 = (void *) 0 ; @@ -36061,24 +36140,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_bind_device_state_handler(void arg1 = (switch_device_state_function_t)jarg1; arg2 = (void *)jarg2; result = (switch_status_t)switch_channel_bind_device_state_handler(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_unbind_device_state_handler(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_unbind_device_state_handler___(void * jarg1) { int jresult ; switch_device_state_function_t arg1 = (switch_device_state_function_t) 0 ; switch_status_t result; arg1 = (switch_device_state_function_t)jarg1; result = (switch_status_t)switch_channel_unbind_device_state_handler(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_device_state2str(int jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_device_state2str___(int jarg1) { char * jresult ; switch_device_state_t arg1 ; char *result = 0 ; @@ -36090,7 +36169,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_channel_device_state2str(int jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_pass_sdp(void * jarg1, void * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_channel_pass_sdp___(void * jarg1, void * jarg2, char * jarg3) { int jresult ; switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_channel_t *arg2 = (switch_channel_t *) 0 ; @@ -36101,12 +36180,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_channel_pass_sdp(void * jarg1, void * j arg2 = (switch_channel_t *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_channel_pass_sdp(arg1,arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create_partition(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_create_partition___(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { int jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; switch_buffer_t **arg2 = (switch_buffer_t **) 0 ; @@ -36125,12 +36204,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create_partition(void * jarg1, v } arg4 = *argp4; result = (switch_status_t)switch_buffer_create_partition(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_set_partition_data(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_set_partition_data___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; void *arg2 = (void *) 0 ; @@ -36147,24 +36226,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_set_partition_data(void * jarg1, } arg3 = *argp3; result = (switch_status_t)switch_buffer_set_partition_data(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_reset_partition_data(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_reset_partition_data___(void * jarg1) { int jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; switch_status_t result; arg1 = (switch_buffer_t *)jarg1; result = (switch_status_t)switch_buffer_reset_partition_data(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_create___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; switch_buffer_t **arg2 = (switch_buffer_t **) 0 ; @@ -36181,12 +36260,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create(void * jarg1, void * jarg } arg3 = *argp3; result = (switch_status_t)switch_buffer_create(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create_dynamic(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_create_dynamic___(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { int jresult ; switch_buffer_t **arg1 = (switch_buffer_t **) 0 ; switch_size_t arg2 ; @@ -36217,12 +36296,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_create_dynamic(void * jarg1, voi } arg4 = *argp4; result = (switch_status_t)switch_buffer_create_dynamic(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_add_mutex(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_add_mutex___(void * jarg1, void * jarg2) { switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -36232,7 +36311,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_add_mutex(void * jarg1, void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_lock(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_lock___(void * jarg1) { switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; arg1 = (switch_buffer_t *)jarg1; @@ -36240,19 +36319,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_lock(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_buffer_trylock(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_trylock___(void * jarg1) { int jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; switch_status_t result; arg1 = (switch_buffer_t *)jarg1; result = (switch_status_t)switch_buffer_trylock(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_unlock(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_unlock___(void * jarg1) { switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; arg1 = (switch_buffer_t *)jarg1; @@ -36260,7 +36339,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_unlock(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_len(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_len___(void * jarg1) { void * jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; switch_size_t result; @@ -36272,7 +36351,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_len(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_freespace(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_freespace___(void * jarg1) { void * jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; switch_size_t result; @@ -36284,7 +36363,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_freespace(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_inuse(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_inuse___(void * jarg1) { void * jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; switch_size_t result; @@ -36296,7 +36375,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_inuse(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_read(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_read___(void * jarg1, void * jarg2, void * jarg3) { void * jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; void *arg2 = (void *) 0 ; @@ -36318,7 +36397,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_read(void * jarg1, void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_peek(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_peek___(void * jarg1, void * jarg2, void * jarg3) { void * jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; void *arg2 = (void *) 0 ; @@ -36340,7 +36419,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_peek(void * jarg1, void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_peek_zerocopy(void * jarg1, void * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_peek_zerocopy___(void * jarg1, void * jarg2) { void * jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; void **arg2 = (void **) 0 ; @@ -36354,7 +36433,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_peek_zerocopy(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_read_loop(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_read_loop___(void * jarg1, void * jarg2, void * jarg3) { void * jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; void *arg2 = (void *) 0 ; @@ -36376,7 +36455,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_read_loop(void * jarg1, void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_set_loops(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_set_loops___(void * jarg1, int jarg2) { switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; int32_t arg2 ; @@ -36386,7 +36465,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_set_loops(void * jarg1, int jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_write(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_write___(void * jarg1, void * jarg2, void * jarg3) { void * jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; void *arg2 = (void *) 0 ; @@ -36408,7 +36487,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_write(void * jarg1, void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_toss(void * jarg1, void * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_toss___(void * jarg1, void * jarg2) { void * jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; switch_size_t arg2 ; @@ -36428,7 +36507,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_toss(void * jarg1, void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_zero(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_zero___(void * jarg1) { switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; arg1 = (switch_buffer_t *)jarg1; @@ -36436,7 +36515,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_zero(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_slide_write(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_slide_write___(void * jarg1, void * jarg2, void * jarg3) { void * jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; void *arg2 = (void *) 0 ; @@ -36458,7 +36537,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_slide_write(void * jarg1, voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_destroy(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_destroy___(void * jarg1) { switch_buffer_t **arg1 = (switch_buffer_t **) 0 ; arg1 = (switch_buffer_t **)jarg1; @@ -36466,7 +36545,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_buffer_destroy(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_zwrite(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_zwrite___(void * jarg1, void * jarg2, void * jarg3) { void * jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; void *arg2 = (void *) 0 ; @@ -36488,7 +36567,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_zwrite(void * jarg1, void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_get_head_pointer(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_buffer_get_head_pointer___(void * jarg1) { void * jresult ; switch_buffer_t *arg1 = (switch_buffer_t *) 0 ; void *result = 0 ; @@ -36500,7 +36579,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_buffer_get_head_pointer(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_header_name_set___(void * jarg1, char * jarg2) { switch_event_header *arg1 = (switch_event_header *) 0 ; char *arg2 = (char *) 0 ; @@ -36518,7 +36597,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_name_set(void * jarg1, ch } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_header_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_header_name_get___(void * jarg1) { char * jresult ; switch_event_header *arg1 = (switch_event_header *) 0 ; char *result = 0 ; @@ -36530,7 +36609,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_header_name_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_value_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_header_value_set___(void * jarg1, char * jarg2) { switch_event_header *arg1 = (switch_event_header *) 0 ; char *arg2 = (char *) 0 ; @@ -36548,7 +36627,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_value_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_header_value_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_header_value_get___(void * jarg1) { char * jresult ; switch_event_header *arg1 = (switch_event_header *) 0 ; char *result = 0 ; @@ -36560,7 +36639,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_header_value_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_array_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_header_array_set___(void * jarg1, void * jarg2) { switch_event_header *arg1 = (switch_event_header *) 0 ; char **arg2 = (char **) 0 ; @@ -36570,7 +36649,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_array_set(void * jarg1, v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_header_array_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_header_array_get___(void * jarg1) { void * jresult ; switch_event_header *arg1 = (switch_event_header *) 0 ; char **result = 0 ; @@ -36582,7 +36661,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_header_array_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_idx_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_header_idx_set___(void * jarg1, int jarg2) { switch_event_header *arg1 = (switch_event_header *) 0 ; int arg2 ; @@ -36592,7 +36671,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_idx_set(void * jarg1, int } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_header_idx_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_header_idx_get___(void * jarg1) { int jresult ; switch_event_header *arg1 = (switch_event_header *) 0 ; int result; @@ -36604,7 +36683,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_header_idx_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_hash_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_header_hash_set___(void * jarg1, unsigned long jarg2) { switch_event_header *arg1 = (switch_event_header *) 0 ; unsigned long arg2 ; @@ -36614,7 +36693,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_hash_set(void * jarg1, un } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_event_header_hash_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_header_hash_get___(void * jarg1) { unsigned long jresult ; switch_event_header *arg1 = (switch_event_header *) 0 ; unsigned long result; @@ -36626,7 +36705,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_event_header_hash_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_header_next_set___(void * jarg1, void * jarg2) { switch_event_header *arg1 = (switch_event_header *) 0 ; switch_event_header *arg2 = (switch_event_header *) 0 ; @@ -36636,7 +36715,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_header_next_set(void * jarg1, vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_header_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_header_next_get___(void * jarg1) { void * jresult ; switch_event_header *arg1 = (switch_event_header *) 0 ; switch_event_header *result = 0 ; @@ -36648,7 +36727,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_header_next_get(void * jarg1) } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_event_header() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_event_header___() { void * jresult ; switch_event_header *result = 0 ; @@ -36658,7 +36737,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_event_header() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_event_header(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_event_header___(void * jarg1) { switch_event_header *arg1 = (switch_event_header *) 0 ; arg1 = (switch_event_header *)jarg1; @@ -36666,7 +36745,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_event_header(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_event_id_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_event_id_set___(void * jarg1, int jarg2) { switch_event *arg1 = (switch_event *) 0 ; switch_event_types_t arg2 ; @@ -36676,19 +36755,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_event_id_set(void * jarg1, int j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_event_id_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_event_id_get___(void * jarg1) { int jresult ; switch_event *arg1 = (switch_event *) 0 ; switch_event_types_t result; arg1 = (switch_event *)jarg1; result = (switch_event_types_t) ((arg1)->event_id); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_priority_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_priority_set___(void * jarg1, int jarg2) { switch_event *arg1 = (switch_event *) 0 ; switch_priority_t arg2 ; @@ -36698,19 +36777,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_priority_set(void * jarg1, int j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_priority_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_priority_get___(void * jarg1) { int jresult ; switch_event *arg1 = (switch_event *) 0 ; switch_priority_t result; arg1 = (switch_event *)jarg1; result = (switch_priority_t) ((arg1)->priority); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_owner_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_owner_set___(void * jarg1, char * jarg2) { switch_event *arg1 = (switch_event *) 0 ; char *arg2 = (char *) 0 ; @@ -36728,7 +36807,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_owner_set(void * jarg1, char * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_owner_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_owner_get___(void * jarg1) { char * jresult ; switch_event *arg1 = (switch_event *) 0 ; char *result = 0 ; @@ -36740,7 +36819,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_owner_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_subclass_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_subclass_name_set___(void * jarg1, char * jarg2) { switch_event *arg1 = (switch_event *) 0 ; char *arg2 = (char *) 0 ; @@ -36758,7 +36837,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_subclass_name_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_subclass_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_subclass_name_get___(void * jarg1) { char * jresult ; switch_event *arg1 = (switch_event *) 0 ; char *result = 0 ; @@ -36770,7 +36849,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_subclass_name_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_headers_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_headers_set___(void * jarg1, void * jarg2) { switch_event *arg1 = (switch_event *) 0 ; switch_event_header_t *arg2 = (switch_event_header_t *) 0 ; @@ -36780,7 +36859,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_headers_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_headers_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_headers_get___(void * jarg1) { void * jresult ; switch_event *arg1 = (switch_event *) 0 ; switch_event_header_t *result = 0 ; @@ -36792,7 +36871,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_headers_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_last_header_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_last_header_set___(void * jarg1, void * jarg2) { switch_event *arg1 = (switch_event *) 0 ; switch_event_header_t *arg2 = (switch_event_header_t *) 0 ; @@ -36802,7 +36881,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_last_header_set(void * jarg1, vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_last_header_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_last_header_get___(void * jarg1) { void * jresult ; switch_event *arg1 = (switch_event *) 0 ; switch_event_header_t *result = 0 ; @@ -36814,7 +36893,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_last_header_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_body_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_body_set___(void * jarg1, char * jarg2) { switch_event *arg1 = (switch_event *) 0 ; char *arg2 = (char *) 0 ; @@ -36832,7 +36911,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_body_set(void * jarg1, char * ja } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_body_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_body_get___(void * jarg1) { char * jresult ; switch_event *arg1 = (switch_event *) 0 ; char *result = 0 ; @@ -36844,7 +36923,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_body_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_bind_user_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_bind_user_data_set___(void * jarg1, void * jarg2) { switch_event *arg1 = (switch_event *) 0 ; void *arg2 = (void *) 0 ; @@ -36854,7 +36933,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_bind_user_data_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_bind_user_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_bind_user_data_get___(void * jarg1) { void * jresult ; switch_event *arg1 = (switch_event *) 0 ; void *result = 0 ; @@ -36866,7 +36945,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_bind_user_data_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_event_user_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_event_user_data_set___(void * jarg1, void * jarg2) { switch_event *arg1 = (switch_event *) 0 ; void *arg2 = (void *) 0 ; @@ -36876,7 +36955,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_event_user_data_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_event_user_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_event_user_data_get___(void * jarg1) { void * jresult ; switch_event *arg1 = (switch_event *) 0 ; void *result = 0 ; @@ -36888,7 +36967,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_event_user_data_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_key_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_key_set___(void * jarg1, unsigned long jarg2) { switch_event *arg1 = (switch_event *) 0 ; unsigned long arg2 ; @@ -36898,7 +36977,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_key_set(void * jarg1, unsigned l } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_event_key_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_key_get___(void * jarg1) { unsigned long jresult ; switch_event *arg1 = (switch_event *) 0 ; unsigned long result; @@ -36910,7 +36989,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_event_key_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_next_set___(void * jarg1, void * jarg2) { switch_event *arg1 = (switch_event *) 0 ; switch_event *arg2 = (switch_event *) 0 ; @@ -36920,7 +36999,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_next_set(void * jarg1, void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_next_get___(void * jarg1) { void * jresult ; switch_event *arg1 = (switch_event *) 0 ; switch_event *result = 0 ; @@ -36932,7 +37011,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_next_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_flags_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_flags_set___(void * jarg1, int jarg2) { switch_event *arg1 = (switch_event *) 0 ; int arg2 ; @@ -36942,7 +37021,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_flags_set(void * jarg1, int jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_flags_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_flags_get___(void * jarg1) { int jresult ; switch_event *arg1 = (switch_event *) 0 ; int result; @@ -36954,7 +37033,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_flags_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_event() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_event___() { void * jresult ; switch_event *result = 0 ; @@ -36964,7 +37043,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_event() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_event(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_event___(void * jarg1) { switch_event *arg1 = (switch_event *) 0 ; arg1 = (switch_event *)jarg1; @@ -36972,7 +37051,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_event(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_event_id_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_t_event_id_set___(void * jarg1, int jarg2) { switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; int arg2 ; @@ -36982,7 +37061,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_event_id_set(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_serial_event_t_event_id_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_t_event_id_get___(void * jarg1) { int jresult ; switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; int result; @@ -36994,7 +37073,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_serial_event_t_event_id_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_priority_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_t_priority_set___(void * jarg1, int jarg2) { switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; int arg2 ; @@ -37004,7 +37083,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_priority_set(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_serial_event_t_priority_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_t_priority_get___(void * jarg1) { int jresult ; switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; int result; @@ -37016,7 +37095,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_serial_event_t_priority_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_flags_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_t_flags_set___(void * jarg1, int jarg2) { switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; int arg2 ; @@ -37026,7 +37105,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_flags_set(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_serial_event_t_flags_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_t_flags_get___(void * jarg1) { int jresult ; switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; int result; @@ -37038,7 +37117,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_serial_event_t_flags_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_owner_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_t_owner_set___(void * jarg1, char * jarg2) { switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; char *arg2 = (char *) 0 ; @@ -37056,7 +37135,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_owner_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_t_owner_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_t_owner_get___(void * jarg1) { char * jresult ; switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; char *result = 0 ; @@ -37068,7 +37147,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_t_owner_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_subclass_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_t_subclass_name_set___(void * jarg1, char * jarg2) { switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; char *arg2 = (char *) 0 ; @@ -37086,7 +37165,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_subclass_name_set(void } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_t_subclass_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_t_subclass_name_get___(void * jarg1) { char * jresult ; switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; char *result = 0 ; @@ -37098,7 +37177,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_t_subclass_name_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_body_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_t_body_set___(void * jarg1, char * jarg2) { switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; char *arg2 = (char *) 0 ; @@ -37116,7 +37195,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_t_body_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_t_body_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_t_body_get___(void * jarg1) { char * jresult ; switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; char *result = 0 ; @@ -37128,7 +37207,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_t_body_get(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_serial_event_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_serial_event_t___() { void * jresult ; switch_serial_event_s *result = 0 ; @@ -37138,7 +37217,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_serial_event_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_serial_event_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_serial_event_t___(void * jarg1) { switch_serial_event_s *arg1 = (switch_serial_event_s *) 0 ; arg1 = (switch_serial_event_s *)jarg1; @@ -37146,7 +37225,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_serial_event_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_header_t_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_header_t_name_set___(void * jarg1, char * jarg2) { switch_serial_event_header_s *arg1 = (switch_serial_event_header_s *) 0 ; char *arg2 = (char *) 0 ; @@ -37164,7 +37243,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_header_t_name_set(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_header_t_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_header_t_name_get___(void * jarg1) { char * jresult ; switch_serial_event_header_s *arg1 = (switch_serial_event_header_s *) 0 ; char *result = 0 ; @@ -37176,7 +37255,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_header_t_name_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_header_t_value_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_header_t_value_set___(void * jarg1, char * jarg2) { switch_serial_event_header_s *arg1 = (switch_serial_event_header_s *) 0 ; char *arg2 = (char *) 0 ; @@ -37194,7 +37273,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_serial_event_header_t_value_set(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_header_t_value_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_serial_event_header_t_value_get___(void * jarg1) { char * jresult ; switch_serial_event_header_s *arg1 = (switch_serial_event_header_s *) 0 ; char *result = 0 ; @@ -37206,7 +37285,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_serial_event_header_t_value_get(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_serial_event_header_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_serial_event_header_t___() { void * jresult ; switch_serial_event_header_s *result = 0 ; @@ -37216,7 +37295,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_serial_event_header_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_serial_event_header_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_serial_event_header_t___(void * jarg1) { switch_serial_event_header_s *arg1 = (switch_serial_event_header_s *) 0 ; arg1 = (switch_serial_event_header_s *)jarg1; @@ -37224,29 +37303,29 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_serial_event_header_t(void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_init(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_init___(void * jarg1) { int jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; switch_status_t result; arg1 = (switch_memory_pool_t *)jarg1; result = (switch_status_t)switch_event_init(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_shutdown() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_shutdown___() { int jresult ; switch_status_t result; result = (switch_status_t)switch_event_shutdown(); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_subclass_detailed(char * jarg1, char * jarg2, int jarg3, void * jarg4, int jarg5, char * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_create_subclass_detailed___(char * jarg1, char * jarg2, int jarg3, void * jarg4, int jarg5, char * jarg6) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -37263,12 +37342,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_subclass_detailed(char * j arg5 = (switch_event_types_t)jarg5; arg6 = (char *)jarg6; result = (switch_status_t)switch_event_create_subclass_detailed((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,(char const *)arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_set_priority(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_set_priority___(void * jarg1, int jarg2) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; switch_priority_t arg2 ; @@ -37277,12 +37356,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_set_priority(void * jarg1, int ja arg1 = (switch_event_t *)jarg1; arg2 = (switch_priority_t)jarg2; result = (switch_status_t)switch_event_set_priority(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_get_header_ptr(void * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_get_header_ptr___(void * jarg1, char * jarg2) { void * jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char *arg2 = (char *) 0 ; @@ -37296,7 +37375,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_event_get_header_ptr(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_get_header_idx(void * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_get_header_idx___(void * jarg1, char * jarg2, int jarg3) { char * jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char *arg2 = (char *) 0 ; @@ -37312,7 +37391,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_get_header_idx(void * jarg1, c } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_rename_header(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_rename_header___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char *arg2 = (char *) 0 ; @@ -37323,12 +37402,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_rename_header(void * jarg1, char arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_event_rename_header(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_get_body(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_get_body___(void * jarg1) { char * jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char *result = 0 ; @@ -37340,7 +37419,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_get_body(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_set_subclass_name(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_set_subclass_name___(void * jarg1, char * jarg2) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char *arg2 = (char *) 0 ; @@ -37349,12 +37428,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_set_subclass_name(void * jarg1, c arg1 = (switch_event_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_event_set_subclass_name(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_add_header_string(void * jarg1, int jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_add_header_string___(void * jarg1, int jarg2, char * jarg3, char * jarg4) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; switch_stack_t arg2 ; @@ -37367,12 +37446,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_add_header_string(void * jarg1, i arg3 = (char *)jarg3; arg4 = (char *)jarg4; result = (switch_status_t)switch_event_add_header_string(arg1,arg2,(char const *)arg3,(char const *)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_del_header_val(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_del_header_val___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char *arg2 = (char *) 0 ; @@ -37383,12 +37462,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_del_header_val(void * jarg1, char arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_event_del_header_val(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_add_array(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_add_array___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char *arg2 = (char *) 0 ; @@ -37404,7 +37483,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_add_array(void * jarg1, char * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_destroy(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_destroy___(void * jarg1) { switch_event_t **arg1 = (switch_event_t **) 0 ; arg1 = (switch_event_t **)jarg1; @@ -37412,7 +37491,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_destroy(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_dup(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_dup___(void * jarg1, void * jarg2) { int jresult ; switch_event_t **arg1 = (switch_event_t **) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -37421,12 +37500,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_dup(void * jarg1, void * jarg2) { arg1 = (switch_event_t **)jarg1; arg2 = (switch_event_t *)jarg2; result = (switch_status_t)switch_event_dup(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_merge(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_merge___(void * jarg1, void * jarg2) { switch_event_t *arg1 = (switch_event_t *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -37436,7 +37515,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_merge(void * jarg1, void * jarg2 } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_dup_reply(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_dup_reply___(void * jarg1, void * jarg2) { int jresult ; switch_event_t **arg1 = (switch_event_t **) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -37445,12 +37524,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_dup_reply(void * jarg1, void * ja arg1 = (switch_event_t **)jarg1; arg2 = (switch_event_t *)jarg2; result = (switch_status_t)switch_event_dup_reply(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_fire_detailed(char * jarg1, char * jarg2, int jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_fire_detailed___(char * jarg1, char * jarg2, int jarg3, void * jarg4, void * jarg5) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -37465,12 +37544,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_fire_detailed(char * jarg1, char arg4 = (switch_event_t **)jarg4; arg5 = (void *)jarg5; result = (switch_status_t)switch_event_fire_detailed((char const *)arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_prep_for_delivery_detailed(char * jarg1, char * jarg2, int jarg3, void * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_prep_for_delivery_detailed___(char * jarg1, char * jarg2, int jarg3, void * jarg4) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; @@ -37484,7 +37563,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_prep_for_delivery_detailed(char } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_bind(char * jarg1, int jarg2, char * jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_bind___(char * jarg1, int jarg2, char * jarg3, void * jarg4, void * jarg5) { int jresult ; char *arg1 = (char *) 0 ; switch_event_types_t arg2 ; @@ -37499,24 +37578,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_bind(char * jarg1, int jarg2, cha arg4 = (switch_event_callback_t)jarg4; arg5 = (void *)jarg5; result = (switch_status_t)switch_event_bind((char const *)arg1,arg2,(char const *)arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_get_custom_events(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_get_custom_events___(void * jarg1) { int jresult ; switch_console_callback_match_t **arg1 = (switch_console_callback_match_t **) 0 ; switch_status_t result; arg1 = (switch_console_callback_match_t **)jarg1; result = (switch_status_t)switch_event_get_custom_events(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_bind_removable(char * jarg1, int jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_bind_removable___(char * jarg1, int jarg2, char * jarg3, void * jarg4, void * jarg5, void * jarg6) { int jresult ; char *arg1 = (char *) 0 ; switch_event_types_t arg2 ; @@ -37533,36 +37612,36 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_bind_removable(char * jarg1, int arg5 = (void *)jarg5; arg6 = (switch_event_node_t **)jarg6; result = (switch_status_t)switch_event_bind_removable((char const *)arg1,arg2,(char const *)arg3,arg4,arg5,arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_unbind(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_unbind___(void * jarg1) { int jresult ; switch_event_node_t **arg1 = (switch_event_node_t **) 0 ; switch_status_t result; arg1 = (switch_event_node_t **)jarg1; result = (switch_status_t)switch_event_unbind(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_unbind_callback(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_unbind_callback___(void * jarg1) { int jresult ; switch_event_callback_t arg1 = (switch_event_callback_t) 0 ; switch_status_t result; arg1 = (switch_event_callback_t)jarg1; result = (switch_status_t)switch_event_unbind_callback(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_name(int jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_name___(int jarg1) { char * jresult ; switch_event_types_t arg1 ; char *result = 0 ; @@ -37574,7 +37653,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_name(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_name_event(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_name_event___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_event_types_t *arg2 = (switch_event_types_t *) 0 ; @@ -37583,12 +37662,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_name_event(char * jarg1, void * jarg2) arg1 = (char *)jarg1; arg2 = (switch_event_types_t *)jarg2; result = (switch_status_t)switch_name_event((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_reserve_subclass_detailed(char * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_reserve_subclass_detailed___(char * jarg1, char * jarg2) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -37597,12 +37676,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_reserve_subclass_detailed(char * arg1 = (char *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_event_reserve_subclass_detailed((char const *)arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_free_subclass_detailed(char * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_free_subclass_detailed___(char * jarg1, char * jarg2) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -37611,12 +37690,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_free_subclass_detailed(char * jar arg1 = (char *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_event_free_subclass_detailed((char const *)arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_binary_deserialize(void * jarg1, void * jarg2, void * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_binary_deserialize___(void * jarg1, void * jarg2, void * jarg3, int jarg4) { int jresult ; switch_event_t **arg1 = (switch_event_t **) 0 ; void **arg2 = (void **) 0 ; @@ -37635,12 +37714,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_binary_deserialize(void * jarg1, arg3 = *argp3; arg4 = (switch_bool_t)jarg4; result = (switch_status_t)switch_event_binary_deserialize(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_binary_serialize(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_binary_serialize___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; void **arg2 = (void **) 0 ; @@ -37651,12 +37730,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_binary_serialize(void * jarg1, vo arg2 = (void **)jarg2; arg3 = (switch_size_t *)jarg3; result = (switch_status_t)switch_event_binary_serialize(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_serialize(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_serialize___(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char **arg2 = (char **) 0 ; @@ -37667,12 +37746,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_serialize(void * jarg1, void * ja arg2 = (char **)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_event_serialize(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_serialize_json(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_serialize_json___(void * jarg1, void * jarg2) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char **arg2 = (char **) 0 ; @@ -37681,12 +37760,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_serialize_json(void * jarg1, void arg1 = (switch_event_t *)jarg1; arg2 = (char **)jarg2; result = (switch_status_t)switch_event_serialize_json(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_serialize_json_obj(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_serialize_json_obj___(void * jarg1, void * jarg2) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; cJSON **arg2 = (cJSON **) 0 ; @@ -37695,12 +37774,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_serialize_json_obj(void * jarg1, arg1 = (switch_event_t *)jarg1; arg2 = (cJSON **)jarg2; result = (switch_status_t)switch_event_serialize_json_obj(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_json(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_create_json___(void * jarg1, char * jarg2) { int jresult ; switch_event_t **arg1 = (switch_event_t **) 0 ; char *arg2 = (char *) 0 ; @@ -37709,12 +37788,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_json(void * jarg1, char * arg1 = (switch_event_t **)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_event_create_json(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_brackets(char * jarg1, char jarg2, char jarg3, char jarg4, void * jarg5, void * jarg6, int jarg7) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_create_brackets___(char * jarg1, char jarg2, char jarg3, char jarg4, void * jarg5, void * jarg6, int jarg7) { int jresult ; char *arg1 = (char *) 0 ; char arg2 ; @@ -37733,12 +37812,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_brackets(char * jarg1, cha arg6 = (char **)jarg6; arg7 = (switch_bool_t)jarg7; result = (switch_status_t)switch_event_create_brackets(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_array_pair(void * jarg1, void * jarg2, void * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_create_array_pair___(void * jarg1, void * jarg2, void * jarg3, int jarg4) { int jresult ; switch_event_t **arg1 = (switch_event_t **) 0 ; char **arg2 = (char **) 0 ; @@ -37751,22 +37830,22 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_array_pair(void * jarg1, v arg3 = (char **)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_event_create_array_pair(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_running() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_running___() { int jresult ; switch_status_t result; result = (switch_status_t)switch_event_running(); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_set_body(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_set_body___(void * jarg1, char * jarg2) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char *arg2 = (char *) 0 ; @@ -37775,12 +37854,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_set_body(void * jarg1, char * jar arg1 = (switch_event_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_event_set_body(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_expand_headers_check(void * jarg1, char * jarg2, void * jarg3, void * jarg4, unsigned long jarg5) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_expand_headers_check___(void * jarg1, char * jarg2, void * jarg3, void * jarg4, unsigned long jarg5) { char * jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char *arg2 = (char *) 0 ; @@ -37800,7 +37879,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_expand_headers_check(void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_pres_in_detailed(char * jarg1, char * jarg2, int jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, int jarg11, char * jarg12, char * jarg13, char * jarg14, char * jarg15) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_create_pres_in_detailed___(char * jarg1, char * jarg2, int jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, int jarg11, char * jarg12, char * jarg13, char * jarg14, char * jarg15) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -37835,12 +37914,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_pres_in_detailed(char * ja arg14 = (char *)jarg14; arg15 = (char *)jarg15; result = (switch_status_t)switch_event_create_pres_in_detailed(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,(char const *)arg10,arg11,(char const *)arg12,(char const *)arg13,(char const *)arg14,(char const *)arg15); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_plain(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_create_plain___(void * jarg1, int jarg2) { int jresult ; switch_event_t **arg1 = (switch_event_t **) 0 ; switch_event_types_t arg2 ; @@ -37849,12 +37928,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_create_plain(void * jarg1, int ja arg1 = (switch_event_t **)jarg1; arg2 = (switch_event_types_t)jarg2; result = (switch_status_t)switch_event_create_plain(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_deliver(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_deliver___(void * jarg1) { switch_event_t **arg1 = (switch_event_t **) 0 ; arg1 = (switch_event_t **)jarg1; @@ -37862,7 +37941,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_deliver(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_build_param_string(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_build_param_string___(void * jarg1, char * jarg2, void * jarg3) { char * jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char *arg2 = (char *) 0 ; @@ -37878,7 +37957,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_event_build_param_string(void * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_check_permission_list(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_check_permission_list___(void * jarg1, char * jarg2) { int jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; char *arg2 = (char *) 0 ; @@ -37892,7 +37971,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_check_permission_list(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_add_presence_data_cols(void * jarg1, void * jarg2, char * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_add_presence_data_cols___(void * jarg1, void * jarg2, char * jarg3) { switch_channel_t *arg1 = (switch_channel_t *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; char *arg3 = (char *) 0 ; @@ -37904,7 +37983,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_add_presence_data_cols(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_add_presence_data_cols(void * jarg1, void * jarg2, char * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_json_add_presence_data_cols___(void * jarg1, void * jarg2, char * jarg3) { switch_event_t *arg1 = (switch_event_t *) 0 ; cJSON *arg2 = (cJSON *) 0 ; char *arg3 = (char *) 0 ; @@ -37916,7 +37995,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_json_add_presence_data_cols(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_launch_dispatch_threads(unsigned long jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_launch_dispatch_threads___(unsigned long jarg1) { uint32_t arg1 ; arg1 = (uint32_t)jarg1; @@ -37924,7 +38003,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_launch_dispatch_threads(unsigned } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_channel_broadcast(char * jarg1, void * jarg2, char * jarg3, unsigned long jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_channel_broadcast___(char * jarg1, void * jarg2, char * jarg3, unsigned long jarg4) { int jresult ; char *arg1 = (char *) 0 ; cJSON **arg2 = (cJSON **) 0 ; @@ -37937,12 +38016,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_channel_broadcast(char * jarg1, v arg3 = (char *)jarg3; arg4 = (switch_event_channel_id_t)jarg4; result = (switch_status_t)switch_event_channel_broadcast((char const *)arg1,arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_event_channel_unbind(char * jarg1, void * jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_channel_unbind___(char * jarg1, void * jarg2) { unsigned long jresult ; char *arg1 = (char *) 0 ; switch_event_channel_func_t arg2 = (switch_event_channel_func_t) 0 ; @@ -37956,7 +38035,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_event_channel_unbind(char * j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_channel_bind(char * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_channel_bind___(char * jarg1, void * jarg2, void * jarg3) { int jresult ; char *arg1 = (char *) 0 ; switch_event_channel_func_t arg2 = (switch_event_channel_func_t) 0 ; @@ -37967,12 +38046,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_channel_bind(char * jarg1, void * arg2 = (switch_event_channel_func_t)jarg2; arg3 = (switch_event_channel_id_t *)jarg3; result = (switch_status_t)switch_event_channel_bind((char const *)arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_NO_EVENT_CHANNEL_ID_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_NO_EVENT_CHANNEL_ID_get___() { int jresult ; int result; @@ -37982,7 +38061,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_NO_EVENT_CHANNEL_ID_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EVENT_CHANNEL_GLOBAL_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_EVENT_CHANNEL_GLOBAL_get___() { char * jresult ; char *result = 0 ; @@ -37992,19 +38071,19 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_EVENT_CHANNEL_GLOBAL_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_clear(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_clear___(void * jarg1) { int jresult ; switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; switch_status_t result; arg1 = (switch_live_array_t *)jarg1; result = (switch_status_t)switch_live_array_clear(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_bootstrap(void * jarg1, char * jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_bootstrap___(void * jarg1, char * jarg2, unsigned long jarg3) { int jresult ; switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; char *arg2 = (char *) 0 ; @@ -38015,24 +38094,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_bootstrap(void * jarg1, char arg2 = (char *)jarg2; arg3 = (switch_event_channel_id_t)jarg3; result = (switch_status_t)switch_live_array_bootstrap(arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_destroy(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_destroy___(void * jarg1) { int jresult ; switch_live_array_t **arg1 = (switch_live_array_t **) 0 ; switch_status_t result; arg1 = (switch_live_array_t **)jarg1; result = (switch_status_t)switch_live_array_destroy(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_create(char * jarg1, char * jarg2, unsigned long jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_create___(char * jarg1, char * jarg2, unsigned long jarg3, void * jarg4) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -38045,12 +38124,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_create(char * jarg1, char * arg3 = (switch_event_channel_id_t)jarg3; arg4 = (switch_live_array_t **)jarg4; result = (switch_status_t)switch_live_array_create((char const *)arg1,(char const *)arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_live_array_get(void * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_get___(void * jarg1, char * jarg2) { void * jresult ; switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; char *arg2 = (char *) 0 ; @@ -38064,7 +38143,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_live_array_get(void * jarg1, char * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_live_array_get_idx(void * jarg1, int jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_get_idx___(void * jarg1, int jarg2) { void * jresult ; switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; int arg2 ; @@ -38078,7 +38157,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_live_array_get_idx(void * jarg1, int } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_del(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_del___(void * jarg1, char * jarg2) { int jresult ; switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; char *arg2 = (char *) 0 ; @@ -38087,12 +38166,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_del(void * jarg1, char * jar arg1 = (switch_live_array_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_live_array_del(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_add(void * jarg1, char * jarg2, int jarg3, void * jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_add___(void * jarg1, char * jarg2, int jarg3, void * jarg4, int jarg5) { int jresult ; switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; char *arg2 = (char *) 0 ; @@ -38107,12 +38186,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_add(void * jarg1, char * jar arg4 = (cJSON **)jarg4; arg5 = (switch_bool_t)jarg5; result = (switch_status_t)switch_live_array_add(arg1,(char const *)arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_visible(void * jarg1, int jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_visible___(void * jarg1, int jarg2, int jarg3) { int jresult ; switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; switch_bool_t arg2 ; @@ -38123,24 +38202,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_visible(void * jarg1, int ja arg2 = (switch_bool_t)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_live_array_visible(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_isnew(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_isnew___(void * jarg1) { int jresult ; switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; switch_bool_t result; arg1 = (switch_live_array_t *)jarg1; result = (switch_bool_t)switch_live_array_isnew(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_lock(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_lock___(void * jarg1) { switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; arg1 = (switch_live_array_t *)jarg1; @@ -38148,7 +38227,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_lock(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_unlock(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_unlock___(void * jarg1) { switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; arg1 = (switch_live_array_t *)jarg1; @@ -38156,7 +38235,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_unlock(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_set_user_data(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_set_user_data___(void * jarg1, void * jarg2) { switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; void *arg2 = (void *) 0 ; @@ -38166,7 +38245,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_set_user_data(void * jarg1, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_set_command_handler(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_set_command_handler___(void * jarg1, void * jarg2) { switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; switch_live_array_command_handler_t arg2 = (switch_live_array_command_handler_t) 0 ; @@ -38176,7 +38255,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_set_command_handler(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_parse_json(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_parse_json___(void * jarg1, unsigned long jarg2) { cJSON *arg1 = (cJSON *) 0 ; switch_event_channel_id_t arg2 ; @@ -38186,7 +38265,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_live_array_parse_json(void * jarg1, un } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_add_alias(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_add_alias___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; char *arg2 = (char *) 0 ; @@ -38197,12 +38276,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_add_alias(void * jarg1, char arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_bool_t)switch_live_array_add_alias(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_clear_alias(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_live_array_clear_alias___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_live_array_t *arg1 = (switch_live_array_t *) 0 ; char *arg2 = (char *) 0 ; @@ -38213,12 +38292,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_live_array_clear_alias(void * jarg1, ch arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_bool_t)switch_live_array_clear_alias(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_channel_permission_verify(char * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_channel_permission_verify___(char * jarg1, char * jarg2) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -38227,12 +38306,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_event_channel_permission_verify(char * arg1 = (char *)jarg1; arg2 = (char *)jarg2; result = (switch_bool_t)switch_event_channel_permission_verify((char const *)arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_channel_permission_modify(char * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_channel_permission_modify___(char * jarg1, char * jarg2, int jarg3) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; switch_bool_t arg3 ; @@ -38244,7 +38323,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_channel_permission_modify(char * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_channel_permission_clear(char * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_event_channel_permission_clear___(char * jarg1) { char *arg1 = (char *) 0 ; arg1 = (char *)jarg1; @@ -38252,7 +38331,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_event_channel_permission_clear(char * } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RESAMPLE_QUALITY_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RESAMPLE_QUALITY_get___() { int jresult ; int result; @@ -38262,7 +38341,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RESAMPLE_QUALITY_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_resampler_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_resampler_set___(void * jarg1, void * jarg2) { switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; void *arg2 = (void *) 0 ; @@ -38272,7 +38351,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_resampler_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_audio_resampler_t_resampler_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_resampler_get___(void * jarg1) { void * jresult ; switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; void *result = 0 ; @@ -38284,7 +38363,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_audio_resampler_t_resampler_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_from_rate_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_from_rate_set___(void * jarg1, int jarg2) { switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; int arg2 ; @@ -38294,7 +38373,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_from_rate_set(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_audio_resampler_t_from_rate_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_from_rate_get___(void * jarg1) { int jresult ; switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; int result; @@ -38306,7 +38385,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_audio_resampler_t_from_rate_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_to_rate_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_rate_set___(void * jarg1, int jarg2) { switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; int arg2 ; @@ -38316,7 +38395,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_to_rate_set(void * j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_audio_resampler_t_to_rate_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_rate_get___(void * jarg1) { int jresult ; switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; int result; @@ -38328,7 +38407,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_audio_resampler_t_to_rate_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_factor_set(void * jarg1, double jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_factor_set___(void * jarg1, double jarg2) { switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; double arg2 ; @@ -38338,7 +38417,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_factor_set(void * ja } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_audio_resampler_t_factor_get(void * jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_factor_get___(void * jarg1) { double jresult ; switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; double result; @@ -38350,7 +38429,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_audio_resampler_t_factor_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_rfactor_set(void * jarg1, double jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_rfactor_set___(void * jarg1, double jarg2) { switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; double arg2 ; @@ -38360,7 +38439,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_rfactor_set(void * j } -SWIGEXPORT double SWIGSTDCALL CSharp_switch_audio_resampler_t_rfactor_get(void * jarg1) { +SWIGEXPORT double SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_rfactor_get___(void * jarg1) { double jresult ; switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; double result; @@ -38372,7 +38451,7 @@ SWIGEXPORT double SWIGSTDCALL CSharp_switch_audio_resampler_t_rfactor_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_to_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_set___(void * jarg1, void * jarg2) { switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; int16_t *arg2 = (int16_t *) 0 ; @@ -38382,7 +38461,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_to_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_audio_resampler_t_to_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_get___(void * jarg1) { void * jresult ; switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; int16_t *result = 0 ; @@ -38394,7 +38473,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_audio_resampler_t_to_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_to_len_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_len_set___(void * jarg1, unsigned long jarg2) { switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; uint32_t arg2 ; @@ -38404,7 +38483,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_to_len_set(void * ja } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_audio_resampler_t_to_len_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_len_get___(void * jarg1) { unsigned long jresult ; switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; uint32_t result; @@ -38416,7 +38495,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_audio_resampler_t_to_len_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_to_size_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_size_set___(void * jarg1, unsigned long jarg2) { switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; uint32_t arg2 ; @@ -38426,7 +38505,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_to_size_set(void * j } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_audio_resampler_t_to_size_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_size_get___(void * jarg1) { unsigned long jresult ; switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; uint32_t result; @@ -38438,7 +38517,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_audio_resampler_t_to_size_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_channels_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_channels_set___(void * jarg1, int jarg2) { switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; int arg2 ; @@ -38448,7 +38527,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_channels_set(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_audio_resampler_t_channels_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_audio_resampler_t_channels_get___(void * jarg1) { int jresult ; switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; int result; @@ -38460,7 +38539,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_audio_resampler_t_channels_get(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_audio_resampler_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_audio_resampler_t___() { void * jresult ; switch_audio_resampler_t *result = 0 ; @@ -38470,7 +38549,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_audio_resampler_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_audio_resampler_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_audio_resampler_t___(void * jarg1) { switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; arg1 = (switch_audio_resampler_t *)jarg1; @@ -38478,7 +38557,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_audio_resampler_t(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_resample_perform_create(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, int jarg5, unsigned long jarg6, char * jarg7, char * jarg8, int jarg9) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_resample_perform_create___(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, int jarg5, unsigned long jarg6, char * jarg7, char * jarg8, int jarg9) { int jresult ; switch_audio_resampler_t **arg1 = (switch_audio_resampler_t **) 0 ; uint32_t arg2 ; @@ -38501,12 +38580,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_resample_perform_create(void * jarg1, u arg8 = (char *)jarg8; arg9 = (int)jarg9; result = (switch_status_t)switch_resample_perform_create(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7,(char const *)arg8,arg9); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_resample_destroy(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_resample_destroy___(void * jarg1) { switch_audio_resampler_t **arg1 = (switch_audio_resampler_t **) 0 ; arg1 = (switch_audio_resampler_t **)jarg1; @@ -38514,7 +38593,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_resample_destroy(void * jarg1) { } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_resample_process(void * jarg1, void * jarg2, unsigned long jarg3) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_resample_process___(void * jarg1, void * jarg2, unsigned long jarg3) { unsigned long jresult ; switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ; int16_t *arg2 = (int16_t *) 0 ; @@ -38530,7 +38609,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_resample_process(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_float_to_short(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_float_to_short___(void * jarg1, void * jarg2, void * jarg3) { void * jresult ; float *arg1 = (float *) 0 ; short *arg2 = (short *) 0 ; @@ -38552,7 +38631,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_float_to_short(void * jarg1, void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_char_to_float(char * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_char_to_float___(char * jarg1, void * jarg2, int jarg3) { int jresult ; char *arg1 = (char *) 0 ; float *arg2 = (float *) 0 ; @@ -38568,7 +38647,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_char_to_float(char * jarg1, void * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_float_to_char(void * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_float_to_char___(void * jarg1, char * jarg2, int jarg3) { int jresult ; float *arg1 = (float *) 0 ; char *arg2 = (char *) 0 ; @@ -38584,7 +38663,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_float_to_char(void * jarg1, char * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_short_to_float(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_short_to_float___(void * jarg1, void * jarg2, int jarg3) { int jresult ; short *arg1 = (short *) 0 ; float *arg2 = (float *) 0 ; @@ -38600,7 +38679,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_short_to_float(void * jarg1, void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_swap_linear(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_swap_linear___(void * jarg1, int jarg2) { int16_t *arg1 = (int16_t *) 0 ; int arg2 ; @@ -38610,7 +38689,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_swap_linear(void * jarg1, int jarg2) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_generate_sln_silence(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_generate_sln_silence___(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4) { int16_t *arg1 = (int16_t *) 0 ; uint32_t arg2 ; uint32_t arg3 ; @@ -38624,7 +38703,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_generate_sln_silence(void * jarg1, uns } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_change_sln_volume(void * jarg1, unsigned long jarg2, int jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_change_sln_volume___(void * jarg1, unsigned long jarg2, int jarg3) { int16_t *arg1 = (int16_t *) 0 ; uint32_t arg2 ; int32_t arg3 ; @@ -38636,7 +38715,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_change_sln_volume(void * jarg1, unsign } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_change_sln_volume_granular(void * jarg1, unsigned long jarg2, int jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_change_sln_volume_granular___(void * jarg1, unsigned long jarg2, int jarg3) { int16_t *arg1 = (int16_t *) 0 ; uint32_t arg2 ; int32_t arg3 ; @@ -38648,7 +38727,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_change_sln_volume_granular(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_merge_sln(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4, int jarg5) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_merge_sln___(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4, int jarg5) { unsigned long jresult ; int16_t *arg1 = (int16_t *) 0 ; uint32_t arg2 ; @@ -38668,7 +38747,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_merge_sln(void * jarg1, unsig } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_unmerge_sln(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4, int jarg5) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unmerge_sln___(void * jarg1, unsigned long jarg2, void * jarg3, unsigned long jarg4, int jarg5) { unsigned long jresult ; int16_t *arg1 = (int16_t *) 0 ; uint32_t arg2 ; @@ -38688,7 +38767,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_unmerge_sln(void * jarg1, uns } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mux_channels(void * jarg1, void * jarg2, unsigned long jarg3, unsigned long jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_mux_channels___(void * jarg1, void * jarg2, unsigned long jarg3, unsigned long jarg4) { int16_t *arg1 = (int16_t *) 0 ; switch_size_t arg2 ; uint32_t arg3 ; @@ -38708,7 +38787,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_mux_channels(void * jarg1, void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_agc_set(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, unsigned long jarg6) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_agc_set___(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, unsigned long jarg6) { switch_agc_t *arg1 = (switch_agc_t *) 0 ; uint32_t arg2 ; uint32_t arg3 ; @@ -38726,7 +38805,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_agc_set(void * jarg1, unsigned long ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_agc_create(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, unsigned long jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_agc_create___(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, unsigned long jarg6) { int jresult ; switch_agc_t **arg1 = (switch_agc_t **) 0 ; uint32_t arg2 ; @@ -38743,12 +38822,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_agc_create(void * jarg1, unsigned long arg5 = (uint32_t)jarg5; arg6 = (uint32_t)jarg6; result = (switch_status_t)switch_agc_create(arg1,arg2,arg3,arg4,arg5,arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_agc_destroy(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_agc_destroy___(void * jarg1) { switch_agc_t **arg1 = (switch_agc_t **) 0 ; arg1 = (switch_agc_t **)jarg1; @@ -38756,7 +38835,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_agc_destroy(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_agc_feed(void * jarg1, void * jarg2, unsigned long jarg3, unsigned long jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_agc_feed___(void * jarg1, void * jarg2, unsigned long jarg3, unsigned long jarg4) { int jresult ; switch_agc_t *arg1 = (switch_agc_t *) 0 ; int16_t *arg2 = (int16_t *) 0 ; @@ -38769,12 +38848,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_agc_feed(void * jarg1, void * jarg2, un arg3 = (uint32_t)jarg3; arg4 = (uint32_t)jarg4; result = (switch_status_t)switch_agc_feed(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_agc_set_energy_avg(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_agc_set_energy_avg___(void * jarg1, unsigned long jarg2) { switch_agc_t *arg1 = (switch_agc_t *) 0 ; uint32_t arg2 ; @@ -38784,7 +38863,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_agc_set_energy_avg(void * jarg1, unsig } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_agc_set_energy_low(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_agc_set_energy_low___(void * jarg1, unsigned long jarg2) { switch_agc_t *arg1 = (switch_agc_t *) 0 ; uint32_t arg2 ; @@ -38794,7 +38873,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_agc_set_energy_low(void * jarg1, unsig } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_agc_set_token(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_agc_set_token___(void * jarg1, char * jarg2) { switch_agc_t *arg1 = (switch_agc_t *) 0 ; char *arg2 = (char *) 0 ; @@ -38804,7 +38883,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_agc_set_token(void * jarg1, char * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_session_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_session_set___(void * jarg1, void * jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -38814,7 +38893,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_session_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_session_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_session_get___(void * jarg1) { void * jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_core_session_t *result = 0 ; @@ -38826,7 +38905,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_session_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_read_codec_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_read_codec_set___(void * jarg1, void * jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_codec_t *arg2 = (switch_codec_t *) 0 ; @@ -38836,7 +38915,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_read_codec_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_read_codec_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_read_codec_get___(void * jarg1) { void * jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_codec_t *result = 0 ; @@ -38848,7 +38927,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_read_codec_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_write_frame_set___(void * jarg1, void * jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -38858,7 +38937,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_write_frame_get___(void * jarg1) { void * jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_frame_t *result = 0 ; @@ -38870,7 +38949,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_data_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_write_frame_data_set___(void * jarg1, void * jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_byte_t *arg2 ; @@ -38884,7 +38963,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_data_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_data_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_write_frame_data_get___(void * jarg1) { void * jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_byte_t *result = 0 ; @@ -38896,7 +38975,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_write_frame_data_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_socket_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_socket_set___(void * jarg1, void * jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_socket_t *arg2 = (switch_socket_t *) 0 ; @@ -38906,7 +38985,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_socket_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_socket_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_socket_get___(void * jarg1) { void * jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_socket_t *result = 0 ; @@ -38918,7 +38997,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_socket_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_local_ip_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_local_ip_set___(void * jarg1, char * jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; char *arg2 = (char *) 0 ; @@ -38936,7 +39015,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_local_ip_set(void * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_unicast_conninfo_local_ip_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_local_ip_get___(void * jarg1) { char * jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; char *result = 0 ; @@ -38948,7 +39027,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_unicast_conninfo_local_ip_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_local_port_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_local_port_set___(void * jarg1, unsigned short jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_port_t arg2 ; @@ -38958,7 +39037,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_local_port_set(void * } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_unicast_conninfo_local_port_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_local_port_get___(void * jarg1) { unsigned short jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_port_t result; @@ -38970,7 +39049,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_unicast_conninfo_local_port_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_ip_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_remote_ip_set___(void * jarg1, char * jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; char *arg2 = (char *) 0 ; @@ -38988,7 +39067,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_ip_set(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_ip_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_remote_ip_get___(void * jarg1) { char * jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; char *result = 0 ; @@ -39000,7 +39079,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_ip_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_port_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_remote_port_set___(void * jarg1, unsigned short jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_port_t arg2 ; @@ -39010,7 +39089,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_port_set(void } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_port_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_remote_port_get___(void * jarg1) { unsigned short jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_port_t result; @@ -39022,7 +39101,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_port } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_local_addr_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_local_addr_set___(void * jarg1, void * jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_sockaddr_t *arg2 = (switch_sockaddr_t *) 0 ; @@ -39032,7 +39111,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_local_addr_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_local_addr_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_local_addr_get___(void * jarg1) { void * jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_sockaddr_t *result = 0 ; @@ -39044,7 +39123,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_local_addr_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_addr_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_remote_addr_set___(void * jarg1, void * jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_sockaddr_t *arg2 = (switch_sockaddr_t *) 0 ; @@ -39054,7 +39133,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_addr_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_addr_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_remote_addr_get___(void * jarg1) { void * jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_sockaddr_t *result = 0 ; @@ -39066,7 +39145,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_remote_addr_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_flag_mutex_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_flag_mutex_set___(void * jarg1, void * jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; @@ -39076,7 +39155,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_flag_mutex_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_flag_mutex_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_flag_mutex_get___(void * jarg1) { void * jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_mutex_t *result = 0 ; @@ -39088,7 +39167,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_flag_mutex_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_flags_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_flags_set___(void * jarg1, int jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; int32_t arg2 ; @@ -39098,7 +39177,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_flags_set(void * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_flags_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_flags_get___(void * jarg1) { int jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; int32_t result; @@ -39110,7 +39189,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_flags_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_type_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_type_set___(void * jarg1, int jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; int arg2 ; @@ -39120,7 +39199,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_type_set(void * jarg1 } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_type_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_type_get___(void * jarg1) { int jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; int result; @@ -39132,7 +39211,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_type_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_transport_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_transport_set___(void * jarg1, int jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; int arg2 ; @@ -39142,7 +39221,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_transport_set(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_transport_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_transport_get___(void * jarg1) { int jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; int result; @@ -39154,7 +39233,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_transport_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_stream_id_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_stream_id_set___(void * jarg1, int jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; int arg2 ; @@ -39164,7 +39243,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_stream_id_set(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_stream_id_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_stream_id_get___(void * jarg1) { int jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; int result; @@ -39176,7 +39255,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_unicast_conninfo_stream_id_get(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_thread_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_thread_set___(void * jarg1, void * jarg2) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_thread_t *arg2 = (switch_thread_t *) 0 ; @@ -39186,7 +39265,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_unicast_conninfo_thread_set(void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_thread_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_unicast_conninfo_thread_get___(void * jarg1) { void * jresult ; switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; switch_thread_t *result = 0 ; @@ -39198,7 +39277,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_unicast_conninfo_thread_get(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_unicast_conninfo() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_unicast_conninfo___() { void * jresult ; switch_unicast_conninfo *result = 0 ; @@ -39208,7 +39287,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_unicast_conninfo() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_unicast_conninfo(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_unicast_conninfo___(void * jarg1) { switch_unicast_conninfo *arg1 = (switch_unicast_conninfo *) 0 ; arg1 = (switch_unicast_conninfo *)jarg1; @@ -39216,19 +39295,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_unicast_conninfo(void * jarg1) } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_deactivate_unicast(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_deactivate_unicast___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_deactivate_unicast(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_activate_unicast(void * jarg1, char * jarg2, unsigned short jarg3, char * jarg4, unsigned short jarg5, char * jarg6, char * jarg7) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_activate_unicast___(void * jarg1, char * jarg2, unsigned short jarg3, char * jarg4, unsigned short jarg5, char * jarg6, char * jarg7) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39247,12 +39326,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_activate_unicast(void * jarg1, char arg6 = (char *)jarg6; arg7 = (char *)jarg7; result = (switch_status_t)switch_ivr_activate_unicast(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_generate_json_cdr(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_generate_json_cdr___(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; cJSON **arg2 = (cJSON **) 0 ; @@ -39263,12 +39342,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_generate_json_cdr(void * jarg1, voi arg2 = (cJSON **)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_ivr_generate_json_cdr(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_generate_xml_cdr(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_generate_xml_cdr___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_xml_t *arg2 = (switch_xml_t *) 0 ; @@ -39277,12 +39356,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_generate_xml_cdr(void * jarg1, void arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_xml_t *)jarg2; result = (switch_status_t)switch_ivr_generate_xml_cdr(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_xml_profile_data(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_set_xml_profile_data___(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; switch_caller_profile_t *arg2 = (switch_caller_profile_t *) 0 ; @@ -39298,7 +39377,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_xml_profile_data(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_xml_chan_vars(void * jarg1, void * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_set_xml_chan_vars___(void * jarg1, void * jarg2, int jarg3) { int jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; switch_channel_t *arg2 = (switch_channel_t *) 0 ; @@ -39314,7 +39393,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_xml_chan_vars(void * jarg1, voi } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_event(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_parse_event___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -39323,60 +39402,60 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_event(void * jarg1, void * ja arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_event_t *)jarg2; result = (switch_status_t)switch_ivr_parse_event(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_all_events(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_parse_all_events___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_parse_all_events(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_next_event(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_parse_next_event___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_parse_next_event(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_all_messages(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_parse_all_messages___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_parse_all_messages(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_all_signal_data(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_parse_all_signal_data___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_parse_all_signal_data(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_signal_data(void * jarg1, int jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_parse_signal_data___(void * jarg1, int jarg2, int jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_bool_t arg2 ; @@ -39387,24 +39466,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_signal_data(void * jarg1, int arg2 = (switch_bool_t)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_ivr_parse_signal_data(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_parse_next_signal_data(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_parse_next_signal_data___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_parse_next_signal_data(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_process_indications(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_process_indications___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_message_t *arg2 = (switch_core_session_message_t *) 0 ; @@ -39413,12 +39492,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_process_indications(void * jarg1, v arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_core_session_message_t *)jarg2; result = (switch_status_t)switch_ivr_process_indications(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_sleep(void * jarg1, unsigned long jarg2, int jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_sleep___(void * jarg1, unsigned long jarg2, int jarg3, void * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t arg2 ; @@ -39431,12 +39510,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_sleep(void * jarg1, unsigned long j arg3 = (switch_bool_t)jarg3; arg4 = (switch_input_args_t *)jarg4; result = (switch_status_t)switch_ivr_sleep(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_park(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_park___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_input_args_t *arg2 = (switch_input_args_t *) 0 ; @@ -39445,12 +39524,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_park(void * jarg1, void * jarg2) { arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_input_args_t *)jarg2; result = (switch_status_t)switch_ivr_park(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_collect_digits_callback(void * jarg1, void * jarg2, unsigned long jarg3, unsigned long jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_collect_digits_callback___(void * jarg1, void * jarg2, unsigned long jarg3, unsigned long jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_input_args_t *arg2 = (switch_input_args_t *) 0 ; @@ -39463,12 +39542,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_collect_digits_callback(void * jarg arg3 = (uint32_t)jarg3; arg4 = (uint32_t)jarg4; result = (switch_status_t)switch_ivr_collect_digits_callback(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_collect_digits_count(void * jarg1, char * jarg2, void * jarg3, void * jarg4, char * jarg5, char * jarg6, unsigned long jarg7, unsigned long jarg8, unsigned long jarg9) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_collect_digits_count___(void * jarg1, char * jarg2, void * jarg3, void * jarg4, char * jarg5, char * jarg6, unsigned long jarg7, unsigned long jarg8, unsigned long jarg9) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39503,12 +39582,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_collect_digits_count(void * jarg1, arg8 = (uint32_t)jarg8; arg9 = (uint32_t)jarg9; result = (switch_status_t)switch_ivr_collect_digits_count(arg1,arg2,arg3,arg4,(char const *)arg5,arg6,arg7,arg8,arg9); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_play_and_detect_speech(void * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, unsigned long jarg6, void * jarg7) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_play_and_detect_speech___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, unsigned long jarg6, void * jarg7) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39527,12 +39606,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_play_and_detect_speech(void * jarg1 arg6 = (uint32_t)jarg6; arg7 = (switch_input_args_t *)jarg7; result = (switch_status_t)switch_ivr_play_and_detect_speech(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_init(void * jarg1, char * jarg2, char * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_init___(void * jarg1, char * jarg2, char * jarg3, void * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39545,12 +39624,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_init(void * jarg1, ch arg3 = (char *)jarg3; arg4 = (switch_asr_handle_t *)jarg4; result = (switch_status_t)switch_ivr_detect_speech_init(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, void * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_detect_speech___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, void * jarg6) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39567,48 +39646,48 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech(void * jarg1, char * arg5 = (char *)jarg5; arg6 = (switch_asr_handle_t *)jarg6; result = (switch_status_t)switch_ivr_detect_speech(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_detect_speech(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_stop_detect_speech___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_stop_detect_speech(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_pause_detect_speech(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_pause_detect_speech___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_pause_detect_speech(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_resume_detect_speech(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_resume_detect_speech___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_resume_detect_speech(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_load_grammar(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_load_grammar___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39619,12 +39698,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_load_grammar(void * j arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_ivr_detect_speech_load_grammar(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_unload_grammar(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_unload_grammar___(void * jarg1, char * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39633,12 +39712,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_unload_grammar(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_ivr_detect_speech_unload_grammar(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_enable_grammar(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_enable_grammar___(void * jarg1, char * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39647,12 +39726,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_enable_grammar(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_ivr_detect_speech_enable_grammar(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_disable_grammar(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_disable_grammar___(void * jarg1, char * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39661,24 +39740,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_disable_grammar(void arg1 = (switch_core_session_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_ivr_detect_speech_disable_grammar(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_disable_all_grammars(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_disable_all_grammars___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_detect_speech_disable_all_grammars(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_param_detect_speech(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_set_param_detect_speech___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39689,24 +39768,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_param_detect_speech(void * jarg arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_ivr_set_param_detect_speech(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_speech_start_input_timers(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_start_input_timers___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_detect_speech_start_input_timers(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_session(void * jarg1, char * jarg2, unsigned long jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_record_session___(void * jarg1, char * jarg2, unsigned long jarg3, void * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39719,12 +39798,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_session(void * jarg1, char * arg3 = (uint32_t)jarg3; arg4 = (switch_file_handle_t *)jarg4; result = (switch_status_t)switch_ivr_record_session(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_transfer_recordings(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_transfer_recordings___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -39733,12 +39812,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_transfer_recordings(void * jarg1, v arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_core_session_t *)jarg2; result = (switch_status_t)switch_ivr_transfer_recordings(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_pop_eavesdropper(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_eavesdrop_pop_eavesdropper___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t **arg2 = (switch_core_session_t **) 0 ; @@ -39747,12 +39826,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_pop_eavesdropper(void * j arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_core_session_t **)jarg2; result = (switch_status_t)switch_ivr_eavesdrop_pop_eavesdropper(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_exec_all(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_eavesdrop_exec_all___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39763,12 +39842,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_exec_all(void * jarg1, ch arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_ivr_eavesdrop_exec_all(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_update_display(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_eavesdrop_update_display___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39779,12 +39858,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_update_display(void * jar arg2 = (char *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_ivr_eavesdrop_update_display(arg1,(char const *)arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_session(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_eavesdrop_session___(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39797,12 +39876,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_eavesdrop_session(void * jarg1, cha arg3 = (char *)jarg3; arg4 = (switch_eavesdrop_flag_t)jarg4; result = (switch_status_t)switch_ivr_eavesdrop_session(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_displace_session(void * jarg1, char * jarg2, unsigned long jarg3, char * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_displace_session___(void * jarg1, char * jarg2, unsigned long jarg3, char * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39815,12 +39894,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_displace_session(void * jarg1, char arg3 = (uint32_t)jarg3; arg4 = (char *)jarg4; result = (switch_status_t)switch_ivr_displace_session(arg1,(char const *)arg2,arg3,(char const *)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_displace_session(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_stop_displace_session___(void * jarg1, char * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39829,12 +39908,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_displace_session(void * jarg1, arg1 = (switch_core_session_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_ivr_stop_displace_session(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_record_session(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_stop_record_session___(void * jarg1, char * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39843,12 +39922,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_record_session(void * jarg1, c arg1 = (switch_core_session_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_ivr_stop_record_session(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_session_audio(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_session_audio___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39861,48 +39940,48 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_session_audio(void * jarg1, char * arg3 = (char *)jarg3; arg4 = (int)jarg4; result = (switch_status_t)switch_ivr_session_audio(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_session_audio(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_stop_session_audio___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_stop_session_audio(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_inband_dtmf_session(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_inband_dtmf_session___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_inband_dtmf_session(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_inband_dtmf_session(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_stop_inband_dtmf_session___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_stop_inband_dtmf_session(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_inband_dtmf_generate_session(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_inband_dtmf_generate_session___(void * jarg1, int jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_bool_t arg2 ; @@ -39911,24 +39990,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_inband_dtmf_generate_session(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_bool_t)jarg2; result = (switch_status_t)switch_ivr_inband_dtmf_generate_session(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_inband_dtmf_generate_session(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_stop_inband_dtmf_generate_session___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_stop_inband_dtmf_generate_session(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_session_echo(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_session_echo___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_input_args_t *arg2 = (switch_input_args_t *) 0 ; @@ -39937,24 +40016,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_session_echo(void * jarg1, void * j arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_input_args_t *)jarg2; result = (switch_status_t)switch_ivr_session_echo(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_tone_detect_session(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_stop_tone_detect_session___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_stop_tone_detect_session(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_tone_detect_session(void * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, int jarg6, char * jarg7, char * jarg8, void * jarg9) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_tone_detect_session___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, int jarg6, char * jarg7, char * jarg8, void * jarg9) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -39983,12 +40062,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_tone_detect_session(void * jarg1, c arg8 = (char *)jarg8; arg9 = (switch_tone_detect_callback_t)jarg9; result = (switch_status_t)switch_ivr_tone_detect_session(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,(char const *)arg7,(char const *)arg8,arg9); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_play_file(void * jarg1, void * jarg2, char * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_play_file___(void * jarg1, void * jarg2, char * jarg3, void * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_file_handle_t *arg2 = (switch_file_handle_t *) 0 ; @@ -40001,12 +40080,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_play_file(void * jarg1, void * jarg arg3 = (char *)jarg3; arg4 = (switch_input_args_t *)jarg4; result = (switch_status_t)switch_ivr_play_file(arg1,arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_audio(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, char * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_detect_audio___(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, char * jarg5) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t arg2 ; @@ -40021,12 +40100,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_audio(void * jarg1, unsigned arg4 = (uint32_t)jarg4; arg5 = (char *)jarg5; result = (switch_status_t)switch_ivr_detect_audio(arg1,arg2,arg3,arg4,(char const *)arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_silence(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, char * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_detect_silence___(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, char * jarg5) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t arg2 ; @@ -40041,12 +40120,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_detect_silence(void * jarg1, unsign arg4 = (uint32_t)jarg4; arg5 = (char *)jarg5; result = (switch_status_t)switch_ivr_detect_silence(arg1,arg2,arg3,arg4,(char const *)arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_wait_for_silence(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, char * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_wait_for_silence___(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, char * jarg6) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t arg2 ; @@ -40063,12 +40142,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_wait_for_silence(void * jarg1, unsi arg5 = (uint32_t)jarg5; arg6 = (char *)jarg6; result = (switch_status_t)switch_ivr_wait_for_silence(arg1,arg2,arg3,arg4,arg5,(char const *)arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_gentones(void * jarg1, char * jarg2, int jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_gentones___(void * jarg1, char * jarg2, int jarg3, void * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -40081,12 +40160,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_gentones(void * jarg1, char * jarg2 arg3 = (int32_t)jarg3; arg4 = (switch_input_args_t *)jarg4; result = (switch_status_t)switch_ivr_gentones(arg1,(char const *)arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_file(void * jarg1, void * jarg2, char * jarg3, void * jarg4, unsigned long jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_record_file___(void * jarg1, void * jarg2, char * jarg3, void * jarg4, unsigned long jarg5) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_file_handle_t *arg2 = (switch_file_handle_t *) 0 ; @@ -40101,12 +40180,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_file(void * jarg1, void * ja arg4 = (switch_input_args_t *)jarg4; arg5 = (uint32_t)jarg5; result = (switch_status_t)switch_ivr_record_file(arg1,arg2,(char const *)arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_play_and_get_digits(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, unsigned long jarg11, char * jarg12, unsigned long jarg13, char * jarg14) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_play_and_get_digits___(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, unsigned long jarg11, char * jarg12, unsigned long jarg13, char * jarg14) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t arg2 ; @@ -40139,12 +40218,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_play_and_get_digits(void * jarg1, unsig arg13 = (uint32_t)jarg13; arg14 = (char *)jarg14; result = (switch_status_t)switch_play_and_get_digits(arg1,arg2,arg3,arg4,arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,arg10,arg11,(char const *)arg12,arg13,(char const *)arg14); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_speak_text_handle(void * jarg1, void * jarg2, void * jarg3, void * jarg4, char * jarg5, void * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_speak_text_handle___(void * jarg1, void * jarg2, void * jarg3, void * jarg4, char * jarg5, void * jarg6) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_speech_handle_t *arg2 = (switch_speech_handle_t *) 0 ; @@ -40161,12 +40240,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_speak_text_handle(void * jarg1, voi arg5 = (char *)jarg5; arg6 = (switch_input_args_t *)jarg6; result = (switch_status_t)switch_ivr_speak_text_handle(arg1,arg2,arg3,arg4,arg5,arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_clear_speech_cache(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_clear_speech_cache___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -40174,7 +40253,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_clear_speech_cache(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_speak_text(void * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_speak_text___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -40189,12 +40268,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_speak_text(void * jarg1, char * jar arg4 = (char *)jarg4; arg5 = (switch_input_args_t *)jarg5; result = (switch_status_t)switch_ivr_speak_text(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_originate(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, void * jarg10, unsigned long jarg11, void * jarg12) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_originate___(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, void * jarg10, unsigned long jarg11, void * jarg12, void * jarg13) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t **arg2 = (switch_core_session_t **) 0 ; @@ -40208,6 +40287,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_originate(void * jarg1, void * jarg switch_event_t *arg10 = (switch_event_t *) 0 ; switch_originate_flag_t arg11 ; switch_call_cause_t *arg12 = (switch_call_cause_t *) 0 ; + switch_dial_handle_t *arg13 = (switch_dial_handle_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; @@ -40222,13 +40302,14 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_originate(void * jarg1, void * jarg arg10 = (switch_event_t *)jarg10; arg11 = (switch_originate_flag_t)jarg11; arg12 = (switch_call_cause_t *)jarg12; - result = (switch_status_t)switch_ivr_originate(arg1,arg2,arg3,(char const *)arg4,arg5,(switch_state_handler_table const *)arg6,(char const *)arg7,(char const *)arg8,arg9,arg10,arg11,arg12); - jresult = result; + arg13 = (switch_dial_handle_t *)jarg13; + result = (switch_status_t)switch_ivr_originate(arg1,arg2,arg3,(char const *)arg4,arg5,(switch_state_handler_table const *)arg6,(char const *)arg7,(char const *)arg8,arg9,arg10,arg11,arg12,arg13); + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_enterprise_originate(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, void * jarg10, unsigned long jarg11, void * jarg12) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_enterprise_originate___(void * jarg1, void * jarg2, void * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, char * jarg7, char * jarg8, void * jarg9, void * jarg10, unsigned long jarg11, void * jarg12) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t **arg2 = (switch_core_session_t **) 0 ; @@ -40257,12 +40338,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_enterprise_originate(void * jarg1, arg11 = (switch_originate_flag_t)jarg11; arg12 = (switch_call_cause_t *)jarg12; result = (switch_status_t)switch_ivr_enterprise_originate(arg1,arg2,arg3,(char const *)arg4,arg5,(switch_state_handler_table const *)arg6,(char const *)arg7,(char const *)arg8,arg9,arg10,arg11,arg12); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_bridge_display(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_bridge_display___(void * jarg1, void * jarg2) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -40272,7 +40353,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_bridge_display(void * jarg1, void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_multi_threaded_bridge(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_multi_threaded_bridge___(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -40287,12 +40368,28 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_multi_threaded_bridge(void * jarg1, arg4 = (void *)jarg4; arg5 = (void *)jarg5; result = (switch_status_t)switch_ivr_multi_threaded_bridge(arg1,arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_signal_bridge(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_bridge_bleg___(void * jarg1, void * jarg2, unsigned long jarg3) { + int jresult ; + switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; + switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; + uint32_t arg3 ; + switch_status_t result; + + arg1 = (switch_core_session_t *)jarg1; + arg2 = (switch_core_session_t *)jarg2; + arg3 = (uint32_t)jarg3; + result = (switch_status_t)switch_ivr_bridge_bleg(arg1,arg2,arg3); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_signal_bridge___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -40301,12 +40398,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_signal_bridge(void * jarg1, void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_core_session_t *)jarg2; result = (switch_status_t)switch_ivr_signal_bridge(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_session_transfer(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_session_transfer___(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -40319,12 +40416,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_session_transfer(void * jarg1, char arg3 = (char *)jarg3; arg4 = (char *)jarg4; result = (switch_status_t)switch_ivr_session_transfer(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_transfer(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_schedule_transfer___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5) { unsigned long jresult ; time_t arg1 ; char *arg2 = (char *) 0 ; @@ -40350,7 +40447,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_transfer(void * } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_hangup(void * jarg1, char * jarg2, int jarg3, int jarg4) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_schedule_hangup___(void * jarg1, char * jarg2, int jarg3, int jarg4) { unsigned long jresult ; time_t arg1 ; char *arg2 = (char *) 0 ; @@ -40374,7 +40471,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_hangup(void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_uuid_bridge(char * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_uuid_bridge___(char * jarg1, char * jarg2) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -40383,12 +40480,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_uuid_bridge(char * jarg1, char * ja arg1 = (char *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_ivr_uuid_bridge((char const *)arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_media(char * jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_media___(char * jarg1, unsigned long jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_media_flag_t arg2 ; @@ -40397,12 +40494,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_media(char * jarg1, unsigned long j arg1 = (char *)jarg1; arg2 = (switch_media_flag_t)jarg2; result = (switch_status_t)switch_ivr_media((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_3p_media(char * jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_3p_media___(char * jarg1, unsigned long jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_media_flag_t arg2 ; @@ -40411,12 +40508,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_3p_media(char * jarg1, unsigned lon arg1 = (char *)jarg1; arg2 = (switch_media_flag_t)jarg2; result = (switch_status_t)switch_ivr_3p_media((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_nomedia(char * jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_nomedia___(char * jarg1, unsigned long jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_media_flag_t arg2 ; @@ -40425,12 +40522,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_nomedia(char * jarg1, unsigned long arg1 = (char *)jarg1; arg2 = (switch_media_flag_t)jarg2; result = (switch_status_t)switch_ivr_nomedia((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_3p_nomedia(char * jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_3p_nomedia___(char * jarg1, unsigned long jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_media_flag_t arg2 ; @@ -40439,12 +40536,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_3p_nomedia(char * jarg1, unsigned l arg1 = (char *)jarg1; arg2 = (switch_media_flag_t)jarg2; result = (switch_status_t)switch_ivr_3p_nomedia((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_bg_media(char * jarg1, unsigned long jarg2, int jarg3, int jarg4, unsigned long jarg5) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_bg_media___(char * jarg1, unsigned long jarg2, int jarg3, int jarg4, unsigned long jarg5) { char *arg1 = (char *) 0 ; switch_media_flag_t arg2 ; switch_bool_t arg3 ; @@ -40460,7 +40557,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_bg_media(char * jarg1, unsigned lo } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_hold_uuid(char * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_hold_uuid___(char * jarg1, char * jarg2, int jarg3) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -40471,12 +40568,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_hold_uuid(char * jarg1, char * jarg arg2 = (char *)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_ivr_hold_uuid((char const *)arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_hold_toggle_uuid(char * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_hold_toggle_uuid___(char * jarg1, char * jarg2, int jarg3) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -40487,24 +40584,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_hold_toggle_uuid(char * jarg1, char arg2 = (char *)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_ivr_hold_toggle_uuid((char const *)arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_unhold_uuid(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_unhold_uuid___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_status_t result; arg1 = (char *)jarg1; result = (switch_status_t)switch_ivr_unhold_uuid((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_hold(void * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_hold___(void * jarg1, char * jarg2, int jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -40515,24 +40612,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_hold(void * jarg1, char * jarg2, in arg2 = (char *)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_ivr_hold(arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_unhold(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_unhold___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_unhold(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_broadcast(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_schedule_broadcast___(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4) { unsigned long jresult ; time_t arg1 ; char *arg2 = (char *) 0 ; @@ -40556,7 +40653,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_ivr_schedule_broadcast(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_broadcast(char * jarg1, char * jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_broadcast___(char * jarg1, char * jarg2, unsigned long jarg3) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -40567,12 +40664,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_broadcast(char * jarg1, char * jarg arg2 = (char *)jarg2; arg3 = (switch_media_flag_t)jarg3; result = (switch_status_t)switch_ivr_broadcast((char const *)arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_broadcast_in_thread(void * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_broadcast_in_thread___(void * jarg1, char * jarg2, int jarg3) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; @@ -40584,7 +40681,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_broadcast_in_thread(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_transfer_variable(void * jarg1, void * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_transfer_variable___(void * jarg1, void * jarg2, char * jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -40595,12 +40692,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_transfer_variable(void * jarg1, voi arg2 = (switch_core_session_t *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_ivr_transfer_variable(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_new(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_parser_new___(void * jarg1, void * jarg2) { int jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; switch_ivr_digit_stream_parser_t **arg2 = (switch_ivr_digit_stream_parser_t **) 0 ; @@ -40609,24 +40706,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_new(void * jarg arg1 = (switch_memory_pool_t *)jarg1; arg2 = (switch_ivr_digit_stream_parser_t **)jarg2; result = (switch_status_t)switch_ivr_digit_stream_parser_new(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_destroy(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_parser_destroy___(void * jarg1) { int jresult ; switch_ivr_digit_stream_parser_t *arg1 = (switch_ivr_digit_stream_parser_t *) 0 ; switch_status_t result; arg1 = (switch_ivr_digit_stream_parser_t *)jarg1; result = (switch_status_t)switch_ivr_digit_stream_parser_destroy(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_new(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_new___(void * jarg1, void * jarg2) { int jresult ; switch_ivr_digit_stream_parser_t *arg1 = (switch_ivr_digit_stream_parser_t *) 0 ; switch_ivr_digit_stream_t **arg2 = (switch_ivr_digit_stream_t **) 0 ; @@ -40635,24 +40732,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_new(void * jarg1, void arg1 = (switch_ivr_digit_stream_parser_t *)jarg1; arg2 = (switch_ivr_digit_stream_t **)jarg2; result = (switch_status_t)switch_ivr_digit_stream_new(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_destroy(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_destroy___(void * jarg1) { int jresult ; switch_ivr_digit_stream_t **arg1 = (switch_ivr_digit_stream_t **) 0 ; switch_status_t result; arg1 = (switch_ivr_digit_stream_t **)jarg1; result = (switch_status_t)switch_ivr_digit_stream_destroy(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_set_event(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_parser_set_event___(void * jarg1, char * jarg2, void * jarg3) { int jresult ; switch_ivr_digit_stream_parser_t *arg1 = (switch_ivr_digit_stream_parser_t *) 0 ; char *arg2 = (char *) 0 ; @@ -40663,12 +40760,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_set_event(void arg2 = (char *)jarg2; arg3 = (void *)jarg3; result = (switch_status_t)switch_ivr_digit_stream_parser_set_event(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_del_event(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_parser_del_event___(void * jarg1, char * jarg2) { int jresult ; switch_ivr_digit_stream_parser_t *arg1 = (switch_ivr_digit_stream_parser_t *) 0 ; char *arg2 = (char *) 0 ; @@ -40677,12 +40774,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_del_event(void arg1 = (switch_ivr_digit_stream_parser_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_ivr_digit_stream_parser_del_event(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_feed(void * jarg1, void * jarg2, char jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_parser_feed___(void * jarg1, void * jarg2, char jarg3) { void * jresult ; switch_ivr_digit_stream_parser_t *arg1 = (switch_ivr_digit_stream_parser_t *) 0 ; switch_ivr_digit_stream_t *arg2 = (switch_ivr_digit_stream_t *) 0 ; @@ -40698,19 +40795,19 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_feed(void * } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_reset(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_reset___(void * jarg1) { int jresult ; switch_ivr_digit_stream_t *arg1 = (switch_ivr_digit_stream_t *) 0 ; switch_status_t result; arg1 = (switch_ivr_digit_stream_t *)jarg1; result = (switch_status_t)switch_ivr_digit_stream_reset(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_set_terminator(void * jarg1, char jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_parser_set_terminator___(void * jarg1, char jarg2) { int jresult ; switch_ivr_digit_stream_parser_t *arg1 = (switch_ivr_digit_stream_parser_t *) 0 ; char arg2 ; @@ -40719,12 +40816,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_digit_stream_parser_set_terminator( arg1 = (switch_ivr_digit_stream_parser_t *)jarg1; arg2 = (char)jarg2; result = (switch_status_t)switch_ivr_digit_stream_parser_set_terminator(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_init(void * jarg1, void * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, char * jarg11, char * jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17, int jarg18, void * jarg19) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_menu_init___(void * jarg1, void * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, char * jarg11, char * jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17, int jarg18, void * jarg19) { int jresult ; switch_ivr_menu_t **arg1 = (switch_ivr_menu_t **) 0 ; switch_ivr_menu_t *arg2 = (switch_ivr_menu_t *) 0 ; @@ -40767,12 +40864,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_init(void * jarg1, void * jarg arg18 = (int)jarg18; arg19 = (switch_memory_pool_t *)jarg19; result = (switch_status_t)switch_ivr_menu_init(arg1,arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,(char const *)arg9,(char const *)arg10,(char const *)arg11,(char const *)arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_bind_action(void * jarg1, int jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_menu_bind_action___(void * jarg1, int jarg2, char * jarg3, char * jarg4) { int jresult ; switch_ivr_menu_t *arg1 = (switch_ivr_menu_t *) 0 ; switch_ivr_action_t arg2 ; @@ -40785,12 +40882,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_bind_action(void * jarg1, int arg3 = (char *)jarg3; arg4 = (char *)jarg4; result = (switch_status_t)switch_ivr_menu_bind_action(arg1,arg2,(char const *)arg3,(char const *)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_bind_function(void * jarg1, void * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_menu_bind_function___(void * jarg1, void * jarg2, char * jarg3, char * jarg4) { int jresult ; switch_ivr_menu_t *arg1 = (switch_ivr_menu_t *) 0 ; switch_ivr_menu_action_function_t *arg2 = (switch_ivr_menu_action_function_t *) 0 ; @@ -40803,12 +40900,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_bind_function(void * jarg1, vo arg3 = (char *)jarg3; arg4 = (char *)jarg4; result = (switch_status_t)switch_ivr_menu_bind_function(arg1,arg2,(char const *)arg3,(char const *)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_execute(void * jarg1, void * jarg2, char * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_menu_execute___(void * jarg1, void * jarg2, char * jarg3, void * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_ivr_menu_t *arg2 = (switch_ivr_menu_t *) 0 ; @@ -40821,24 +40918,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_execute(void * jarg1, void * j arg3 = (char *)jarg3; arg4 = (void *)jarg4; result = (switch_status_t)switch_ivr_menu_execute(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_stack_free(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_menu_stack_free___(void * jarg1) { int jresult ; switch_ivr_menu_t *arg1 = (switch_ivr_menu_t *) 0 ; switch_status_t result; arg1 = (switch_ivr_menu_t *)jarg1; result = (switch_status_t)switch_ivr_menu_stack_free(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_stack_xml_build(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_menu_stack_xml_build___(void * jarg1, void * jarg2, void * jarg3, void * jarg4) { int jresult ; switch_ivr_menu_xml_ctx_t *arg1 = (switch_ivr_menu_xml_ctx_t *) 0 ; switch_ivr_menu_t **arg2 = (switch_ivr_menu_t **) 0 ; @@ -40851,12 +40948,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_stack_xml_build(void * jarg1, arg3 = (switch_xml_t)jarg3; arg4 = (switch_xml_t)jarg4; result = (switch_status_t)switch_ivr_menu_stack_xml_build(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_str2action(char * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_menu_str2action___(char * jarg1, void * jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_ivr_action_t *arg2 = (switch_ivr_action_t *) 0 ; @@ -40865,12 +40962,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_str2action(char * jarg1, void arg1 = (char *)jarg1; arg2 = (switch_ivr_action_t *)jarg2; result = (switch_status_t)switch_ivr_menu_str2action((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_stack_xml_add_custom(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_menu_stack_xml_add_custom___(void * jarg1, char * jarg2, void * jarg3) { int jresult ; switch_ivr_menu_xml_ctx_t *arg1 = (switch_ivr_menu_xml_ctx_t *) 0 ; char *arg2 = (char *) 0 ; @@ -40881,12 +40978,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_stack_xml_add_custom(void * ja arg2 = (char *)jarg2; arg3 = (switch_ivr_menu_action_function_t *)jarg3; result = (switch_status_t)switch_ivr_menu_stack_xml_add_custom(arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_stack_xml_init(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_menu_stack_xml_init___(void * jarg1, void * jarg2) { int jresult ; switch_ivr_menu_xml_ctx_t **arg1 = (switch_ivr_menu_xml_ctx_t **) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -40895,12 +40992,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_menu_stack_xml_init(void * jarg1, v arg1 = (switch_ivr_menu_xml_ctx_t **)jarg1; arg2 = (switch_memory_pool_t *)jarg2; result = (switch_status_t)switch_ivr_menu_stack_xml_init(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_phrase_macro_event(void * jarg1, char * jarg2, char * jarg3, void * jarg4, char * jarg5, void * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_phrase_macro_event___(void * jarg1, char * jarg2, char * jarg3, void * jarg4, char * jarg5, void * jarg6) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -40917,12 +41014,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_phrase_macro_event(void * jarg1, ch arg5 = (char *)jarg5; arg6 = (switch_input_args_t *)jarg6; result = (switch_status_t)switch_ivr_phrase_macro_event(arg1,(char const *)arg2,(char const *)arg3,arg4,(char const *)arg5,arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_delay_echo(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_delay_echo___(void * jarg1, unsigned long jarg2) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t arg2 ; @@ -40932,7 +41029,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_delay_echo(void * jarg1, unsigned } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_find_bridged_uuid(char * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_find_bridged_uuid___(char * jarg1, char * jarg2, void * jarg3) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -40949,12 +41046,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_find_bridged_uuid(char * jarg1, cha } arg3 = *argp3; result = (switch_status_t)switch_ivr_find_bridged_uuid((char const *)arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_intercept_session(void * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_intercept_session___(void * jarg1, char * jarg2, int jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -40965,12 +41062,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_intercept_session(void * jarg1, cha arg2 = (char *)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_ivr_intercept_session(arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_park_session(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_park_session___(void * jarg1) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; arg1 = (switch_core_session_t *)jarg1; @@ -40978,7 +41075,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_park_session(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_wait_for_answer(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_wait_for_answer___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -40987,12 +41084,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_wait_for_answer(void * jarg1, void arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_core_session_t *)jarg2; result = (switch_status_t)switch_ivr_wait_for_answer(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_read(void * jarg1, unsigned long jarg2, unsigned long jarg3, char * jarg4, char * jarg5, char * jarg6, void * jarg7, unsigned long jarg8, char * jarg9, unsigned long jarg10) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_read___(void * jarg1, unsigned long jarg2, unsigned long jarg3, char * jarg4, char * jarg5, char * jarg6, void * jarg7, unsigned long jarg8, char * jarg9, unsigned long jarg10) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t arg2 ; @@ -41023,36 +41120,36 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_read(void * jarg1, unsigned long ja arg9 = (char *)jarg9; arg10 = (uint32_t)jarg10; result = (switch_status_t)switch_ivr_read(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6,arg7,arg8,(char const *)arg9,arg10); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_block_dtmf_session(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_block_dtmf_session___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_block_dtmf_session(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_unblock_dtmf_session(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_unblock_dtmf_session___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_unblock_dtmf_session(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_bind_dtmf_meta_session(void * jarg1, unsigned long jarg2, unsigned long jarg3, char * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_bind_dtmf_meta_session___(void * jarg1, unsigned long jarg2, unsigned long jarg3, char * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t arg2 ; @@ -41065,12 +41162,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_bind_dtmf_meta_session(void * jarg1 arg3 = (switch_bind_flag_t)jarg3; arg4 = (char *)jarg4; result = (switch_status_t)switch_ivr_bind_dtmf_meta_session(arg1,arg2,arg3,(char const *)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_unbind_dtmf_meta_session(void * jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_unbind_dtmf_meta_session___(void * jarg1, unsigned long jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; uint32_t arg2 ; @@ -41079,12 +41176,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_unbind_dtmf_meta_session(void * jar arg1 = (switch_core_session_t *)jarg1; arg2 = (uint32_t)jarg2; result = (switch_status_t)switch_ivr_unbind_dtmf_meta_session(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_soft_hold(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_soft_hold___(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41097,12 +41194,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_soft_hold(void * jarg1, char * jarg arg3 = (char *)jarg3; arg4 = (char *)jarg4; result = (switch_status_t)switch_ivr_soft_hold(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_say(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, void * jarg7) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_say___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, void * jarg7) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41121,12 +41218,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_say(void * jarg1, char * jarg2, cha arg6 = (char *)jarg6; arg7 = (switch_input_args_t *)jarg7; result = (switch_status_t)switch_ivr_say(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,arg7); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_say_string(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, void * jarg9) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_say_string___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, void * jarg9) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41149,48 +41246,48 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_say_string(void * jarg1, char * jar arg8 = (char *)jarg8; arg9 = (char **)jarg9; result = (switch_status_t)switch_ivr_say_string(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,(char const *)arg5,(char const *)arg6,(char const *)arg7,(char const *)arg8,arg9); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_get_say_method_by_name(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_get_say_method_by_name___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_say_method_t result; arg1 = (char *)jarg1; result = (switch_say_method_t)switch_ivr_get_say_method_by_name((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_get_say_gender_by_name(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_get_say_gender_by_name___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_say_gender_t result; arg1 = (char *)jarg1; result = (switch_say_gender_t)switch_ivr_get_say_gender_by_name((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_get_say_type_by_name(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_get_say_type_by_name___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_say_type_t result; arg1 = (char *)jarg1; result = (switch_say_type_t)switch_ivr_get_say_type_by_name((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_say_spell(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_say_spell___(void * jarg1, char * jarg2, void * jarg3, void * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41203,12 +41300,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_say_spell(void * jarg1, char * jarg arg3 = (switch_say_args_t *)jarg3; arg4 = (switch_input_args_t *)jarg4; result = (switch_status_t)switch_ivr_say_spell(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_say_ip(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_say_ip___(void * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41223,12 +41320,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_say_ip(void * jarg1, char * jarg2, arg4 = (switch_say_args_t *)jarg4; arg5 = (switch_input_args_t *)jarg5; result = (switch_status_t)switch_ivr_say_ip(arg1,arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_user(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_set_user___(void * jarg1, char * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41237,12 +41334,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_user(void * jarg1, char * jarg2 arg1 = (switch_core_session_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_ivr_set_user(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_user_extended(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_set_user_extended___(void * jarg1, char * jarg2, void * jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41253,12 +41350,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_user_extended(void * jarg1, cha arg2 = (char *)jarg2; arg3 = (switch_event_t *)jarg3; result = (switch_status_t)switch_ivr_set_user_extended(arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_user_xml(void * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_set_user_xml___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41273,24 +41370,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_set_user_xml(void * jarg1, char * j arg4 = (char *)jarg4; arg5 = (switch_xml_t)jarg5; result = (switch_status_t)switch_ivr_set_user_xml(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_sound_test(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_sound_test___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_sound_test(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_process_import(void * jarg1, void * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_process_import___(void * jarg1, void * jarg2, char * jarg3, char * jarg4) { switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_channel_t *arg2 = (switch_channel_t *) 0 ; char *arg3 = (char *) 0 ; @@ -41304,55 +41401,55 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_process_import(void * jarg1, void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_uuid_exists(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_uuid_exists___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_bool_t result; arg1 = (char *)jarg1; result = (switch_bool_t)switch_ivr_uuid_exists((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_uuid_force_exists(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_uuid_force_exists___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_bool_t result; arg1 = (char *)jarg1; result = (switch_bool_t)switch_ivr_uuid_force_exists((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_is_parsing(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_is_parsing___(void * jarg1) { int jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; switch_bool_t result; arg1 = (switch_ivr_dmachine_t *)jarg1; result = (switch_bool_t)switch_ivr_dmachine_is_parsing(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_last_ping(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_last_ping___(void * jarg1) { int jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; switch_status_t result; arg1 = (switch_ivr_dmachine_t *)jarg1; result = (switch_status_t)switch_ivr_dmachine_last_ping(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_dmachine_get_name(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_get_name___(void * jarg1) { char * jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; char *result = 0 ; @@ -41364,7 +41461,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_dmachine_get_name(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_match_callback(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_match_callback___(void * jarg1, void * jarg2) { switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; switch_ivr_dmachine_callback_t arg2 = (switch_ivr_dmachine_callback_t) 0 ; @@ -41374,7 +41471,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_match_callback(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_nonmatch_callback(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_nonmatch_callback___(void * jarg1, void * jarg2) { switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; switch_ivr_dmachine_callback_t arg2 = (switch_ivr_dmachine_callback_t) 0 ; @@ -41384,7 +41481,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_nonmatch_callback(voi } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_create(void * jarg1, char * jarg2, void * jarg3, unsigned long jarg4, unsigned long jarg5, void * jarg6, void * jarg7, void * jarg8) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_create___(void * jarg1, char * jarg2, void * jarg3, unsigned long jarg4, unsigned long jarg5, void * jarg6, void * jarg7, void * jarg8) { int jresult ; switch_ivr_dmachine_t **arg1 = (switch_ivr_dmachine_t **) 0 ; char *arg2 = (char *) 0 ; @@ -41405,12 +41502,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_create(void * jarg1, char arg7 = (switch_ivr_dmachine_callback_t)jarg7; arg8 = (void *)jarg8; result = (switch_status_t)switch_ivr_dmachine_create(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_destroy(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_destroy___(void * jarg1) { switch_ivr_dmachine_t **arg1 = (switch_ivr_dmachine_t **) 0 ; arg1 = (switch_ivr_dmachine_t **)jarg1; @@ -41418,7 +41515,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_destroy(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_bind(void * jarg1, char * jarg2, char * jarg3, unsigned char jarg4, int jarg5, void * jarg6, void * jarg7) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_bind___(void * jarg1, char * jarg2, char * jarg3, unsigned char jarg4, int jarg5, void * jarg6, void * jarg7) { int jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41437,12 +41534,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_bind(void * jarg1, char * arg6 = (switch_ivr_dmachine_callback_t)jarg6; arg7 = (void *)jarg7; result = (switch_status_t)switch_ivr_dmachine_bind(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_feed(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_feed___(void * jarg1, char * jarg2, void * jarg3) { int jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41453,24 +41550,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_feed(void * jarg1, char * arg2 = (char *)jarg2; arg3 = (switch_ivr_dmachine_match_t **)jarg3; result = (switch_status_t)switch_ivr_dmachine_feed(arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_clear(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_clear___(void * jarg1) { int jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; switch_status_t result; arg1 = (switch_ivr_dmachine_t *)jarg1; result = (switch_status_t)switch_ivr_dmachine_clear(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_ping(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_ping___(void * jarg1, void * jarg2) { int jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; switch_ivr_dmachine_match_t **arg2 = (switch_ivr_dmachine_match_t **) 0 ; @@ -41479,12 +41576,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_ping(void * jarg1, void * arg1 = (switch_ivr_dmachine_t *)jarg1; arg2 = (switch_ivr_dmachine_match_t **)jarg2; result = (switch_status_t)switch_ivr_dmachine_ping(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_ivr_dmachine_get_match(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_get_match___(void * jarg1) { void * jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; switch_ivr_dmachine_match_t *result = 0 ; @@ -41496,7 +41593,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_ivr_dmachine_get_match(void * jarg1) } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_dmachine_get_failed_digits(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_get_failed_digits___(void * jarg1) { char * jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; char *result = 0 ; @@ -41508,7 +41605,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_dmachine_get_failed_digits(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_digit_timeout_ms(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_digit_timeout_ms___(void * jarg1, unsigned long jarg2) { switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; uint32_t arg2 ; @@ -41518,7 +41615,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_digit_timeout_ms(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_input_timeout_ms(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_input_timeout_ms___(void * jarg1, unsigned long jarg2) { switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; uint32_t arg2 ; @@ -41528,7 +41625,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_ivr_dmachine_set_input_timeout_ms(void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_clear_realm(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_clear_realm___(void * jarg1, char * jarg2) { int jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41537,12 +41634,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_clear_realm(void * jarg1, arg1 = (switch_ivr_dmachine_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_ivr_dmachine_clear_realm(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_set_realm(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_realm___(void * jarg1, char * jarg2) { int jresult ; switch_ivr_dmachine_t *arg1 = (switch_ivr_dmachine_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41551,12 +41648,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_dmachine_set_realm(void * jarg1, ch arg1 = (switch_ivr_dmachine_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_ivr_dmachine_set_realm(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_get_file_handle(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_get_file_handle___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_file_handle_t **arg2 = (switch_file_handle_t **) 0 ; @@ -41565,12 +41662,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_get_file_handle(void * jarg1, void arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_file_handle_t **)jarg2; result = (switch_status_t)switch_ivr_get_file_handle(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_release_file_handle(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_release_file_handle___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_file_handle_t **arg2 = (switch_file_handle_t **) 0 ; @@ -41579,12 +41676,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_release_file_handle(void * jarg1, v arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_file_handle_t **)jarg2; result = (switch_status_t)switch_ivr_release_file_handle(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_process_fh(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_process_fh___(void * jarg1, char * jarg2, void * jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41595,12 +41692,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_process_fh(void * jarg1, char * jar arg2 = (char *)jarg2; arg3 = (switch_file_handle_t *)jarg3; result = (switch_status_t)switch_ivr_process_fh(arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_insert_file(void * jarg1, char * jarg2, char * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_insert_file___(void * jarg1, char * jarg2, char * jarg3, void * jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41619,12 +41716,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_insert_file(void * jarg1, char * ja } arg4 = *argp4; result = (switch_status_t)switch_ivr_insert_file(arg1,(char const *)arg2,(char const *)arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_create_message_reply(void * jarg1, void * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_create_message_reply___(void * jarg1, void * jarg2, char * jarg3) { int jresult ; switch_event_t **arg1 = (switch_event_t **) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -41635,12 +41732,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_create_message_reply(void * jarg1, arg2 = (switch_event_t *)jarg2; arg3 = (char *)jarg3; result = (switch_status_t)switch_ivr_create_message_reply(arg1,arg2,(char const *)arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_check_presence_mapping(char * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_check_presence_mapping___(char * jarg1, char * jarg2) { char * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -41654,7 +41751,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_ivr_check_presence_mapping(char * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_kill_uuid(char * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_kill_uuid___(char * jarg1, int jarg2) { int jresult ; char *arg1 = (char *) 0 ; switch_call_cause_t arg2 ; @@ -41663,12 +41760,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_kill_uuid(char * jarg1, int jarg2) arg1 = (char *)jarg1; arg2 = (switch_call_cause_t)jarg2; result = (switch_status_t)switch_ivr_kill_uuid((char const *)arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_blind_transfer_ack(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_blind_transfer_ack___(void * jarg1, int jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_bool_t arg2 ; @@ -41677,12 +41774,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_blind_transfer_ack(void * jarg1, in arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_bool_t)jarg2; result = (switch_status_t)switch_ivr_blind_transfer_ack(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_session_mask(void * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_record_session_mask___(void * jarg1, char * jarg2, int jarg3) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41693,24 +41790,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_record_session_mask(void * jarg1, c arg2 = (char *)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_ivr_record_session_mask(arg1,(char const *)arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_stop_video_write_overlay_session(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_stop_video_write_overlay_session___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)switch_ivr_stop_video_write_overlay_session(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_video_write_overlay_session(void * jarg1, char * jarg2, void * jarg3, unsigned char jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_video_write_overlay_session___(void * jarg1, char * jarg2, void * jarg3, unsigned char jarg4) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41729,12 +41826,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_video_write_overlay_session(void * arg3 = *argp3; arg4 = (uint8_t)jarg4; result = (switch_status_t)switch_ivr_video_write_overlay_session(arg1,(char const *)arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_capture_text(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_capture_text___(void * jarg1, int jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_bool_t arg2 ; @@ -41743,12 +41840,209 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_ivr_capture_text(void * jarg1, int jarg arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_bool_t)jarg2; result = (switch_status_t)switch_ivr_capture_text(arg1,arg2); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_handle_create___(void * jarg1) { + int jresult ; + switch_dial_handle_t **arg1 = (switch_dial_handle_t **) 0 ; + switch_status_t result; + + arg1 = (switch_dial_handle_t **)jarg1; + result = (switch_status_t)switch_dial_handle_create(arg1); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_handle_destroy___(void * jarg1) { + switch_dial_handle_t **arg1 = (switch_dial_handle_t **) 0 ; + + arg1 = (switch_dial_handle_t **)jarg1; + switch_dial_handle_destroy(arg1); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_handle_add_leg_list___(void * jarg1, void * jarg2) { + switch_dial_handle_t *arg1 = (switch_dial_handle_t *) 0 ; + switch_dial_leg_list_t **arg2 = (switch_dial_leg_list_t **) 0 ; + + arg1 = (switch_dial_handle_t *)jarg1; + arg2 = (switch_dial_leg_list_t **)jarg2; + switch_dial_handle_add_leg_list(arg1,arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_leg_list_add_leg___(void * jarg1, void * jarg2, char * jarg3) { + switch_dial_leg_list_t *arg1 = (switch_dial_leg_list_t *) 0 ; + switch_dial_leg_t **arg2 = (switch_dial_leg_t **) 0 ; + char *arg3 = (char *) 0 ; + + arg1 = (switch_dial_leg_list_t *)jarg1; + arg2 = (switch_dial_leg_t **)jarg2; + arg3 = (char *)jarg3; + switch_dial_leg_list_add_leg(arg1,arg2,(char const *)arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_leg_list_add_leg_printf___(void * jarg1, void * jarg2, char * jarg3) { + switch_dial_leg_list_t *arg1 = (switch_dial_leg_list_t *) 0 ; + switch_dial_leg_t **arg2 = (switch_dial_leg_t **) 0 ; + char *arg3 = (char *) 0 ; + void *arg4 = 0 ; + + arg1 = (switch_dial_leg_list_t *)jarg1; + arg2 = (switch_dial_leg_t **)jarg2; + arg3 = (char *)jarg3; + switch_dial_leg_list_add_leg_printf(arg1,arg2,(char const *)arg3,arg4); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_handle_add_global_var___(void * jarg1, char * jarg2, char * jarg3) { + switch_dial_handle_t *arg1 = (switch_dial_handle_t *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + + arg1 = (switch_dial_handle_t *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + switch_dial_handle_add_global_var(arg1,(char const *)arg2,(char const *)arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_handle_add_global_var_printf___(void * jarg1, char * jarg2, char * jarg3) { + switch_dial_handle_t *arg1 = (switch_dial_handle_t *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + void *arg4 = 0 ; + + arg1 = (switch_dial_handle_t *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + switch_dial_handle_add_global_var_printf(arg1,(char const *)arg2,(char const *)arg3,arg4); +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_handle_add_leg_var___(void * jarg1, char * jarg2, char * jarg3) { + int jresult ; + switch_dial_leg_t *arg1 = (switch_dial_leg_t *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + switch_status_t result; + + arg1 = (switch_dial_leg_t *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + result = (switch_status_t)switch_dial_handle_add_leg_var(arg1,(char const *)arg2,(char const *)arg3); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_handle_add_leg_var_printf___(void * jarg1, char * jarg2, char * jarg3) { + int jresult ; + switch_dial_leg_t *arg1 = (switch_dial_leg_t *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + void *arg4 = 0 ; + switch_status_t result; + + arg1 = (switch_dial_leg_t *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + result = (switch_status_t)switch_dial_handle_add_leg_var_printf(arg1,(char const *)arg2,(char const *)arg3,arg4); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_handle_get_peers___(void * jarg1, int jarg2, void * jarg3, int jarg4) { + int jresult ; + switch_dial_handle_t *arg1 = (switch_dial_handle_t *) 0 ; + int arg2 ; + char **arg3 = (char **) 0 ; + int arg4 ; + int result; + + arg1 = (switch_dial_handle_t *)jarg1; + arg2 = (int)jarg2; + arg3 = (char **)jarg3; + arg4 = (int)jarg4; + result = (int)switch_dial_handle_get_peers(arg1,arg2,arg3,arg4); jresult = result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_MAX_BUF_LEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_handle_get_vars___(void * jarg1, int jarg2, void * jarg3, int jarg4) { + int jresult ; + switch_dial_handle_t *arg1 = (switch_dial_handle_t *) 0 ; + int arg2 ; + switch_event_t **arg3 = (switch_event_t **) 0 ; + int arg4 ; + int result; + + arg1 = (switch_dial_handle_t *)jarg1; + arg2 = (int)jarg2; + arg3 = (switch_event_t **)jarg3; + arg4 = (int)jarg4; + result = (int)switch_dial_handle_get_vars(arg1,arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_handle_get_global_vars___(void * jarg1) { + void * jresult ; + switch_dial_handle_t *arg1 = (switch_dial_handle_t *) 0 ; + switch_event_t *result = 0 ; + + arg1 = (switch_dial_handle_t *)jarg1; + result = (switch_event_t *)switch_dial_handle_get_global_vars(arg1); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_leg_get_vars___(void * jarg1) { + void * jresult ; + switch_dial_leg_t *arg1 = (switch_dial_leg_t *) 0 ; + switch_event_t *result = 0 ; + + arg1 = (switch_dial_leg_t *)jarg1; + result = (switch_event_t *)switch_dial_leg_get_vars(arg1); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_dial_handle_get_total___(void * jarg1) { + int jresult ; + switch_dial_handle_t *arg1 = (switch_dial_handle_t *) 0 ; + int result; + + arg1 = (switch_dial_handle_t *)jarg1; + result = (int)switch_dial_handle_get_total(arg1); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_ivr_orig_and_bridge___(void * jarg1, char * jarg2, void * jarg3) { + switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; + char *arg2 = (char *) 0 ; + switch_dial_handle_t *arg3 = (switch_dial_handle_t *) 0 ; + + arg1 = (switch_core_session_t *)jarg1; + arg2 = (char *)jarg2; + arg3 = (switch_dial_handle_t *)jarg3; + switch_ivr_orig_and_bridge(arg1,(char const *)arg2,arg3); +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RTP_MAX_BUF_LEN_get___() { int jresult ; int result; @@ -41758,7 +42052,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_MAX_BUF_LEN_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTCP_MAX_BUF_LEN_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RTCP_MAX_BUF_LEN_get___() { int jresult ; int result; @@ -41768,7 +42062,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTCP_MAX_BUF_LEN_get() { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_MAX_BUF_LEN_WORDS_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RTP_MAX_BUF_LEN_WORDS_get___() { int jresult ; int result; @@ -41778,7 +42072,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_RTP_MAX_BUF_LEN_WORDS_get() { } -SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RTP_CRYPTO_KEY_80_get() { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_RTP_CRYPTO_KEY_80_get___() { char * jresult ; char *result = 0 ; @@ -41788,7 +42082,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_SWITCH_RTP_CRYPTO_KEY_80_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_packet_t_header_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_packet_t_header_set___(void * jarg1, void * jarg2) { switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ; switch_rtp_hdr_t *arg2 = (switch_rtp_hdr_t *) 0 ; @@ -41798,7 +42092,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_packet_t_header_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_packet_t_header_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_packet_t_header_get___(void * jarg1) { void * jresult ; switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ; switch_rtp_hdr_t *result = 0 ; @@ -41810,7 +42104,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_packet_t_header_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_packet_t_body_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_packet_t_body_set___(void * jarg1, char * jarg2) { switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ; char *arg2 ; @@ -41827,7 +42121,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_packet_t_body_set(void * jarg1, ch } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_rtp_packet_t_body_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_packet_t_body_get___(void * jarg1) { char * jresult ; switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ; char *result = 0 ; @@ -41839,7 +42133,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_rtp_packet_t_body_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_packet_t_ext_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_packet_t_ext_set___(void * jarg1, void * jarg2) { switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ; switch_rtp_hdr_ext_t *arg2 = (switch_rtp_hdr_ext_t *) 0 ; @@ -41849,7 +42143,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_packet_t_ext_set(void * jarg1, voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_packet_t_ext_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_packet_t_ext_get___(void * jarg1) { void * jresult ; switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ; switch_rtp_hdr_ext_t *result = 0 ; @@ -41861,7 +42155,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_packet_t_ext_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_packet_t_ebody_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_packet_t_ebody_set___(void * jarg1, char * jarg2) { switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ; char *arg2 = (char *) 0 ; @@ -41879,7 +42173,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_packet_t_ebody_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_rtp_packet_t_ebody_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_packet_t_ebody_get___(void * jarg1) { char * jresult ; switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ; char *result = 0 ; @@ -41891,7 +42185,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_rtp_packet_t_ebody_get(void * jarg1) } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_packet_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_rtp_packet_t___() { void * jresult ; switch_rtp_packet_t *result = 0 ; @@ -41901,7 +42195,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_packet_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_packet_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_rtp_packet_t___(void * jarg1) { switch_rtp_packet_t *arg1 = (switch_rtp_packet_t *) 0 ; arg1 = (switch_rtp_packet_t *)jarg1; @@ -41909,7 +42203,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_packet_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_name_set___(void * jarg1, char * jarg2) { switch_srtp_crypto_suite_s *arg1 = (switch_srtp_crypto_suite_s *) 0 ; char *arg2 = (char *) 0 ; @@ -41927,7 +42221,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_name_set(void * ja } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_name_get___(void * jarg1) { char * jresult ; switch_srtp_crypto_suite_s *arg1 = (switch_srtp_crypto_suite_s *) 0 ; char *result = 0 ; @@ -41939,7 +42233,36 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_name_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_type_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_alias_set___(void * jarg1, char * jarg2) { + switch_srtp_crypto_suite_s *arg1 = (switch_srtp_crypto_suite_s *) 0 ; + char *arg2 = (char *) 0 ; + + arg1 = (switch_srtp_crypto_suite_s *)jarg1; + arg2 = (char *)jarg2; + { + if (arg2) { + arg1->alias = (char const *) (new char[strlen((const char *)arg2)+1]); + strcpy((char *)arg1->alias, (const char *)arg2); + } else { + arg1->alias = 0; + } + } +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_alias_get___(void * jarg1) { + char * jresult ; + switch_srtp_crypto_suite_s *arg1 = (switch_srtp_crypto_suite_s *) 0 ; + char *result = 0 ; + + arg1 = (switch_srtp_crypto_suite_s *)jarg1; + result = (char *) ((arg1)->alias); + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_type_set___(void * jarg1, int jarg2) { switch_srtp_crypto_suite_s *arg1 = (switch_srtp_crypto_suite_s *) 0 ; switch_rtp_crypto_key_type_t arg2 ; @@ -41949,19 +42272,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_type_set(void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_type_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_type_get___(void * jarg1) { int jresult ; switch_srtp_crypto_suite_s *arg1 = (switch_srtp_crypto_suite_s *) 0 ; switch_rtp_crypto_key_type_t result; arg1 = (switch_srtp_crypto_suite_s *)jarg1; result = (switch_rtp_crypto_key_type_t) ((arg1)->type); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_keysalt_len_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_keysalt_len_set___(void * jarg1, int jarg2) { switch_srtp_crypto_suite_s *arg1 = (switch_srtp_crypto_suite_s *) 0 ; int arg2 ; @@ -41971,7 +42294,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_keysalt_len_set(vo } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_keysalt_len_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_keysalt_len_get___(void * jarg1) { int jresult ; switch_srtp_crypto_suite_s *arg1 = (switch_srtp_crypto_suite_s *) 0 ; int result; @@ -41983,7 +42306,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_keysalt_len_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_salt_len_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_salt_len_set___(void * jarg1, int jarg2) { switch_srtp_crypto_suite_s *arg1 = (switch_srtp_crypto_suite_s *) 0 ; int arg2 ; @@ -41993,7 +42316,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_salt_len_set(void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_salt_len_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_salt_len_get___(void * jarg1) { int jresult ; switch_srtp_crypto_suite_s *arg1 = (switch_srtp_crypto_suite_s *) 0 ; int result; @@ -42005,7 +42328,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_srtp_crypto_suite_t_salt_len_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_srtp_crypto_suite_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_srtp_crypto_suite_t___() { void * jresult ; switch_srtp_crypto_suite_s *result = 0 ; @@ -42015,7 +42338,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_srtp_crypto_suite_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_srtp_crypto_suite_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_srtp_crypto_suite_t___(void * jarg1) { switch_srtp_crypto_suite_s *arg1 = (switch_srtp_crypto_suite_s *) 0 ; arg1 = (switch_srtp_crypto_suite_s *)jarg1; @@ -42023,7 +42346,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_srtp_crypto_suite_t(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_index_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_index_set___(void * jarg1, unsigned long jarg2) { switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; uint32_t arg2 ; @@ -42033,7 +42356,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_index_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_crypto_key_index_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_index_get___(void * jarg1) { unsigned long jresult ; switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; uint32_t result; @@ -42045,7 +42368,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_crypto_key_index_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_type_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_type_set___(void * jarg1, int jarg2) { switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; switch_rtp_crypto_key_type_t arg2 ; @@ -42055,19 +42378,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_type_set(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_crypto_key_type_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_type_get___(void * jarg1) { int jresult ; switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; switch_rtp_crypto_key_type_t result; arg1 = (switch_rtp_crypto_key *)jarg1; result = (switch_rtp_crypto_key_type_t) ((arg1)->type); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_keysalt_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_keysalt_set___(void * jarg1, void * jarg2) { switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; unsigned char *arg2 ; @@ -42081,7 +42404,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_keysalt_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_crypto_key_keysalt_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_keysalt_get___(void * jarg1) { void * jresult ; switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; unsigned char *result = 0 ; @@ -42093,7 +42416,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_crypto_key_keysalt_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_keylen_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_keylen_set___(void * jarg1, void * jarg2) { switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -42109,7 +42432,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_keylen_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_crypto_key_keylen_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_keylen_get___(void * jarg1) { void * jresult ; switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; switch_size_t result; @@ -42121,7 +42444,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_crypto_key_keylen_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_next_set___(void * jarg1, void * jarg2) { switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; switch_rtp_crypto_key *arg2 = (switch_rtp_crypto_key *) 0 ; @@ -42131,7 +42454,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_crypto_key_next_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_crypto_key_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_next_get___(void * jarg1) { void * jresult ; switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; switch_rtp_crypto_key *result = 0 ; @@ -42143,7 +42466,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_crypto_key_next_get(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_crypto_key() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_rtp_crypto_key___() { void * jresult ; switch_rtp_crypto_key *result = 0 ; @@ -42153,7 +42476,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_rtp_crypto_key() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_crypto_key(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_rtp_crypto_key___(void * jarg1) { switch_rtp_crypto_key *arg1 = (switch_rtp_crypto_key *) 0 ; arg1 = (switch_rtp_crypto_key *)jarg1; @@ -42161,7 +42484,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_rtp_crypto_key(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_foundation_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_foundation_set___(void * jarg1, char * jarg2) { icand_s *arg1 = (icand_s *) 0 ; char *arg2 = (char *) 0 ; @@ -42179,7 +42502,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_foundation_set(void * jarg1, char * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_foundation_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_foundation_get___(void * jarg1) { char * jresult ; icand_s *arg1 = (icand_s *) 0 ; char *result = 0 ; @@ -42191,7 +42514,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_foundation_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_component_id_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_component_id_set___(void * jarg1, int jarg2) { icand_s *arg1 = (icand_s *) 0 ; int arg2 ; @@ -42201,7 +42524,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_component_id_set(void * jarg1, int ja } -SWIGEXPORT int SWIGSTDCALL CSharp_icand_t_component_id_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_component_id_get___(void * jarg1) { int jresult ; icand_s *arg1 = (icand_s *) 0 ; int result; @@ -42213,7 +42536,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_icand_t_component_id_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_transport_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_transport_set___(void * jarg1, char * jarg2) { icand_s *arg1 = (icand_s *) 0 ; char *arg2 = (char *) 0 ; @@ -42231,7 +42554,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_transport_set(void * jarg1, char * ja } -SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_transport_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_transport_get___(void * jarg1) { char * jresult ; icand_s *arg1 = (icand_s *) 0 ; char *result = 0 ; @@ -42243,7 +42566,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_transport_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_priority_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_priority_set___(void * jarg1, unsigned long jarg2) { icand_s *arg1 = (icand_s *) 0 ; uint32_t arg2 ; @@ -42253,7 +42576,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_priority_set(void * jarg1, unsigned l } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_icand_t_priority_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_priority_get___(void * jarg1) { unsigned long jresult ; icand_s *arg1 = (icand_s *) 0 ; uint32_t result; @@ -42265,7 +42588,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_icand_t_priority_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_con_addr_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_con_addr_set___(void * jarg1, char * jarg2) { icand_s *arg1 = (icand_s *) 0 ; char *arg2 = (char *) 0 ; @@ -42283,7 +42606,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_con_addr_set(void * jarg1, char * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_con_addr_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_con_addr_get___(void * jarg1) { char * jresult ; icand_s *arg1 = (icand_s *) 0 ; char *result = 0 ; @@ -42295,7 +42618,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_con_addr_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_con_port_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_con_port_set___(void * jarg1, unsigned short jarg2) { icand_s *arg1 = (icand_s *) 0 ; switch_port_t arg2 ; @@ -42305,7 +42628,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_con_port_set(void * jarg1, unsigned s } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_icand_t_con_port_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_con_port_get___(void * jarg1) { unsigned short jresult ; icand_s *arg1 = (icand_s *) 0 ; switch_port_t result; @@ -42317,7 +42640,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_icand_t_con_port_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_cand_type_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_cand_type_set___(void * jarg1, char * jarg2) { icand_s *arg1 = (icand_s *) 0 ; char *arg2 = (char *) 0 ; @@ -42335,7 +42658,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_cand_type_set(void * jarg1, char * ja } -SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_cand_type_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_cand_type_get___(void * jarg1) { char * jresult ; icand_s *arg1 = (icand_s *) 0 ; char *result = 0 ; @@ -42347,7 +42670,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_cand_type_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_raddr_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_raddr_set___(void * jarg1, char * jarg2) { icand_s *arg1 = (icand_s *) 0 ; char *arg2 = (char *) 0 ; @@ -42365,7 +42688,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_raddr_set(void * jarg1, char * jarg2) } -SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_raddr_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_raddr_get___(void * jarg1) { char * jresult ; icand_s *arg1 = (icand_s *) 0 ; char *result = 0 ; @@ -42377,7 +42700,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_raddr_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_rport_set(void * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_rport_set___(void * jarg1, unsigned short jarg2) { icand_s *arg1 = (icand_s *) 0 ; switch_port_t arg2 ; @@ -42387,7 +42710,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_rport_set(void * jarg1, unsigned shor } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_icand_t_rport_get(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_rport_get___(void * jarg1) { unsigned short jresult ; icand_s *arg1 = (icand_s *) 0 ; switch_port_t result; @@ -42399,7 +42722,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_icand_t_rport_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_generation_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_generation_set___(void * jarg1, char * jarg2) { icand_s *arg1 = (icand_s *) 0 ; char *arg2 = (char *) 0 ; @@ -42417,7 +42740,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_generation_set(void * jarg1, char * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_generation_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_generation_get___(void * jarg1) { char * jresult ; icand_s *arg1 = (icand_s *) 0 ; char *result = 0 ; @@ -42429,7 +42752,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_icand_t_generation_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_ready_set(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_ready_set___(void * jarg1, unsigned char jarg2) { icand_s *arg1 = (icand_s *) 0 ; uint8_t arg2 ; @@ -42439,7 +42762,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_icand_t_ready_set(void * jarg1, unsigned char } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_icand_t_ready_get(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_icand_t_ready_get___(void * jarg1) { unsigned char jresult ; icand_s *arg1 = (icand_s *) 0 ; uint8_t result; @@ -42451,7 +42774,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_icand_t_ready_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_icand_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_icand_t___() { void * jresult ; icand_s *result = 0 ; @@ -42461,7 +42784,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_icand_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_icand_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_icand_t___(void * jarg1) { icand_s *arg1 = (icand_s *) 0 ; arg1 = (icand_s *)jarg1; @@ -42469,7 +42792,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_icand_t(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_MAX_CAND_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_MAX_CAND_get___() { int jresult ; int result; @@ -42479,7 +42802,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_MAX_CAND_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_cands_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_cands_set___(void * jarg1, void * jarg2) { ice_s *arg1 = (ice_s *) 0 ; icand_t (*arg2)[2] ; @@ -42499,7 +42822,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_cands_set(void * jarg1, void * jarg2) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_cands_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_cands_get___(void * jarg1) { void * jresult ; ice_s *arg1 = (ice_s *) 0 ; icand_t (*result)[2] = 0 ; @@ -42511,7 +42834,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_cands_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_cand_idx_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_cand_idx_set___(void * jarg1, void * jarg2) { ice_s *arg1 = (ice_s *) 0 ; int *arg2 ; @@ -42525,7 +42848,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_cand_idx_set(void * jarg1, void * jarg2 } -SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_cand_idx_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_cand_idx_get___(void * jarg1) { void * jresult ; ice_s *arg1 = (ice_s *) 0 ; int *result = 0 ; @@ -42537,7 +42860,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_cand_idx_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_chosen_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_chosen_set___(void * jarg1, void * jarg2) { ice_s *arg1 = (ice_s *) 0 ; int *arg2 ; @@ -42551,7 +42874,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_chosen_set(void * jarg1, void * jarg2) } -SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_chosen_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_chosen_get___(void * jarg1) { void * jresult ; ice_s *arg1 = (ice_s *) 0 ; int *result = 0 ; @@ -42563,7 +42886,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_chosen_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_is_chosen_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_is_chosen_set___(void * jarg1, void * jarg2) { ice_s *arg1 = (ice_s *) 0 ; int *arg2 ; @@ -42577,7 +42900,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_is_chosen_set(void * jarg1, void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_is_chosen_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_is_chosen_get___(void * jarg1) { void * jresult ; ice_s *arg1 = (ice_s *) 0 ; int *result = 0 ; @@ -42589,7 +42912,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_ice_t_is_chosen_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_ufrag_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_ufrag_set___(void * jarg1, char * jarg2) { ice_s *arg1 = (ice_s *) 0 ; char *arg2 = (char *) 0 ; @@ -42607,7 +42930,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_ufrag_set(void * jarg1, char * jarg2) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_ice_t_ufrag_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_ufrag_get___(void * jarg1) { char * jresult ; ice_s *arg1 = (ice_s *) 0 ; char *result = 0 ; @@ -42619,7 +42942,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_ice_t_ufrag_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_pwd_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_pwd_set___(void * jarg1, char * jarg2) { ice_s *arg1 = (ice_s *) 0 ; char *arg2 = (char *) 0 ; @@ -42637,7 +42960,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_pwd_set(void * jarg1, char * jarg2) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_ice_t_pwd_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_pwd_get___(void * jarg1) { char * jresult ; ice_s *arg1 = (ice_s *) 0 ; char *result = 0 ; @@ -42649,7 +42972,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_ice_t_pwd_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_options_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_options_set___(void * jarg1, char * jarg2) { ice_s *arg1 = (ice_s *) 0 ; char *arg2 = (char *) 0 ; @@ -42667,7 +42990,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_ice_t_options_set(void * jarg1, char * jarg2) } -SWIGEXPORT char * SWIGSTDCALL CSharp_ice_t_options_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_ice_t_options_get___(void * jarg1) { char * jresult ; ice_s *arg1 = (ice_s *) 0 ; char *result = 0 ; @@ -42679,7 +43002,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_ice_t_options_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_ice_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_ice_t___() { void * jresult ; ice_s *result = 0 ; @@ -42689,7 +43012,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_ice_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_ice_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_ice_t___(void * jarg1) { ice_s *arg1 = (ice_s *) 0 ; arg1 = (ice_s *)jarg1; @@ -42697,7 +43020,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_ice_t(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_add_crypto_key(void * jarg1, int jarg2, unsigned long jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_add_crypto_key___(void * jarg1, int jarg2, unsigned long jarg3, void * jarg4) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_rtp_crypto_direction_t arg2 ; @@ -42710,12 +43033,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_add_crypto_key(void * jarg1, int ja arg3 = (uint32_t)jarg3; arg4 = (switch_secure_settings_t *)jarg4; result = (switch_status_t)switch_rtp_add_crypto_key(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_get_random(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_get_random___(void * jarg1, unsigned long jarg2) { void *arg1 = (void *) 0 ; uint32_t arg2 ; @@ -42725,7 +43048,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_get_random(void * jarg1, unsigned } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_init(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_init___(void * jarg1) { switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; arg1 = (switch_memory_pool_t *)jarg1; @@ -42733,12 +43056,12 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_init(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_shutdown() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_shutdown___() { switch_rtp_shutdown(); } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtp_set_start_port(unsigned short jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_start_port___(unsigned short jarg1) { unsigned short jresult ; switch_port_t arg1 ; switch_port_t result; @@ -42750,7 +43073,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtp_set_start_port(unsigned } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_ssrc(void * jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_ssrc___(void * jarg1, unsigned long jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t arg2 ; @@ -42759,12 +43082,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_ssrc(void * jarg1, unsigned lon arg1 = (switch_rtp_t *)jarg1; arg2 = (uint32_t)jarg2; result = (switch_status_t)switch_rtp_set_ssrc(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_remote_ssrc(void * jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_remote_ssrc___(void * jarg1, unsigned long jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t arg2 ; @@ -42773,12 +43096,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_remote_ssrc(void * jarg1, unsig arg1 = (switch_rtp_t *)jarg1; arg2 = (uint32_t)jarg2; result = (switch_status_t)switch_rtp_set_remote_ssrc(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtp_set_end_port(unsigned short jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_end_port___(unsigned short jarg1) { unsigned short jresult ; switch_port_t arg1 ; switch_port_t result; @@ -42790,7 +43113,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtp_set_end_port(unsigned sh } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtp_request_port(char * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_request_port___(char * jarg1) { unsigned short jresult ; char *arg1 = (char *) 0 ; switch_port_t result; @@ -42802,7 +43125,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtp_request_port(char * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_release_port(char * jarg1, unsigned short jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_release_port___(char * jarg1, unsigned short jarg2) { char *arg1 = (char *) 0 ; switch_port_t arg2 ; @@ -42812,7 +43135,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_release_port(char * jarg1, unsigne } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_interval(void * jarg1, unsigned long jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_interval___(void * jarg1, unsigned long jarg2, unsigned long jarg3) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t arg2 ; @@ -42823,12 +43146,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_interval(void * jarg1, unsigned arg2 = (uint32_t)jarg2; arg3 = (uint32_t)jarg3; result = (switch_status_t)switch_rtp_set_interval(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_change_interval(void * jarg1, unsigned long jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_change_interval___(void * jarg1, unsigned long jarg2, unsigned long jarg3) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t arg2 ; @@ -42839,12 +43162,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_change_interval(void * jarg1, unsig arg2 = (uint32_t)jarg2; arg3 = (uint32_t)jarg3; result = (switch_status_t)switch_rtp_change_interval(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_create(void * jarg1, unsigned char jarg2, unsigned long jarg3, unsigned long jarg4, void * jarg5, char * jarg6, void * jarg7, void * jarg8) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_create___(void * jarg1, unsigned char jarg2, unsigned long jarg3, unsigned long jarg4, void * jarg5, char * jarg6, void * jarg7, void * jarg8) { int jresult ; switch_rtp_t **arg1 = (switch_rtp_t **) 0 ; switch_payload_t arg2 ; @@ -42865,12 +43188,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_create(void * jarg1, unsigned char arg7 = (char **)jarg7; arg8 = (switch_memory_pool_t *)jarg8; result = (switch_status_t)switch_rtp_create(arg1,arg2,arg3,arg4,arg5,arg6,(char const **)arg7,arg8); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_new(char * jarg1, unsigned short jarg2, char * jarg3, unsigned short jarg4, unsigned char jarg5, unsigned long jarg6, unsigned long jarg7, void * jarg8, char * jarg9, void * jarg10, void * jarg11) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_new___(char * jarg1, unsigned short jarg2, char * jarg3, unsigned short jarg4, unsigned char jarg5, unsigned long jarg6, unsigned long jarg7, void * jarg8, char * jarg9, void * jarg10, void * jarg11) { void * jresult ; char *arg1 = (char *) 0 ; switch_port_t arg2 ; @@ -42902,7 +43225,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_new(char * jarg1, unsigned short } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_remote_address(void * jarg1, char * jarg2, unsigned short jarg3, unsigned short jarg4, int jarg5, void * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_remote_address___(void * jarg1, char * jarg2, unsigned short jarg3, unsigned short jarg4, int jarg5, void * jarg6) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; char *arg2 = (char *) 0 ; @@ -42919,12 +43242,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_remote_address(void * jarg1, ch arg5 = (switch_bool_t)jarg5; arg6 = (char **)jarg6; result = (switch_status_t)switch_rtp_set_remote_address(arg1,(char const *)arg2,arg3,arg4,arg5,(char const **)arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_reset_jb(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_reset_jb___(void * jarg1) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; arg1 = (switch_rtp_t *)jarg1; @@ -42932,7 +43255,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_reset_jb(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_rtp_get_remote_host(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_get_remote_host___(void * jarg1) { char * jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; char *result = 0 ; @@ -42944,7 +43267,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_rtp_get_remote_host(void * jarg1) { } -SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtp_get_remote_port(void * jarg1) { +SWIGEXPORT unsigned short SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_get_remote_port___(void * jarg1) { unsigned short jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_port_t result; @@ -42956,7 +43279,7 @@ SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_rtp_get_remote_port(void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_reset_media_timer(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_reset_media_timer___(void * jarg1) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; arg1 = (switch_rtp_t *)jarg1; @@ -42964,7 +43287,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_reset_media_timer(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_max_missed_packets(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_max_missed_packets___(void * jarg1, unsigned long jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t arg2 ; @@ -42974,19 +43297,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_max_missed_packets(void * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_udptl_mode(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_udptl_mode___(void * jarg1) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_status_t result; arg1 = (switch_rtp_t *)jarg1; result = (switch_status_t)switch_rtp_udptl_mode(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_reset(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_reset___(void * jarg1) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; arg1 = (switch_rtp_t *)jarg1; @@ -42994,7 +43317,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_reset(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_local_address(void * jarg1, char * jarg2, unsigned short jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_local_address___(void * jarg1, char * jarg2, unsigned short jarg3, void * jarg4) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; char *arg2 = (char *) 0 ; @@ -43007,12 +43330,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_local_address(void * jarg1, cha arg3 = (switch_port_t)jarg3; arg4 = (char **)jarg4; result = (switch_status_t)switch_rtp_set_local_address(arg1,(char const *)arg2,arg3,(char const **)arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_kill_socket(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_kill_socket___(void * jarg1) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; arg1 = (switch_rtp_t *)jarg1; @@ -43020,7 +43343,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_kill_socket(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_break(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_break___(void * jarg1) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; arg1 = (switch_rtp_t *)jarg1; @@ -43028,7 +43351,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_break(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_flush(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_flush___(void * jarg1) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; arg1 = (switch_rtp_t *)jarg1; @@ -43036,7 +43359,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_flush(void * jarg1) { } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_rtp_ready(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_ready___(void * jarg1) { unsigned char jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint8_t result; @@ -43048,7 +43371,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_rtp_ready(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_destroy(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_destroy___(void * jarg1) { switch_rtp_t **arg1 = (switch_rtp_t **) 0 ; arg1 = (switch_rtp_t **)jarg1; @@ -43056,19 +43379,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_destroy(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_sync_stats(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_sync_stats___(void * jarg1) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_status_t result; arg1 = (switch_rtp_t *)jarg1; result = (switch_status_t)switch_rtp_sync_stats(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_ice(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, int jarg6, int jarg7, void * jarg8) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_activate_ice___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, int jarg6, int jarg7, void * jarg8) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; char *arg2 = (char *) 0 ; @@ -43089,12 +43412,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_ice(void * jarg1, char * j arg7 = (switch_core_media_ice_type_t)jarg7; arg8 = (ice_t *)jarg8; result = (switch_status_t)switch_rtp_activate_ice(arg1,arg2,arg3,(char const *)arg4,(char const *)arg5,arg6,arg7,arg8); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_rtcp(void * jarg1, int jarg2, unsigned short jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_activate_rtcp___(void * jarg1, int jarg2, unsigned short jarg3, int jarg4) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; int arg2 ; @@ -43107,12 +43430,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_rtcp(void * jarg1, int jar arg3 = (switch_port_t)jarg3; arg4 = (switch_bool_t)jarg4; result = (switch_status_t)switch_rtp_activate_rtcp(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_media_timer(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_get_media_timer___(void * jarg1) { void * jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_timer_t *result = 0 ; @@ -43124,7 +43447,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_media_timer(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_video_buffer_size(void * jarg1, unsigned long jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_video_buffer_size___(void * jarg1, unsigned long jarg2, unsigned long jarg3) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t arg2 ; @@ -43135,12 +43458,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_video_buffer_size(void * jarg1, arg2 = (uint32_t)jarg2; arg3 = (uint32_t)jarg3; result = (switch_status_t)switch_rtp_set_video_buffer_size(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_get_video_buffer_size(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_get_video_buffer_size___(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t *arg2 = (uint32_t *) 0 ; @@ -43155,12 +43478,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_get_video_buffer_size(void * jarg1, arg4 = (uint32_t *)jarg4; arg5 = (uint32_t *)jarg5; result = (switch_status_t)switch_rtp_get_video_buffer_size(arg1,arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_jitter_buffer(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_activate_jitter_buffer___(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, unsigned long jarg5) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t arg2 ; @@ -43175,12 +43498,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_activate_jitter_buffer(void * jarg1 arg4 = (uint32_t)jarg4; arg5 = (uint32_t)jarg5; result = (switch_status_t)switch_rtp_activate_jitter_buffer(arg1,arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_debug_jitter_buffer(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_debug_jitter_buffer___(void * jarg1, char * jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; char *arg2 = (char *) 0 ; @@ -43189,24 +43512,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_debug_jitter_buffer(void * jarg1, c arg1 = (switch_rtp_t *)jarg1; arg2 = (char *)jarg2; result = (switch_status_t)switch_rtp_debug_jitter_buffer(arg1,(char const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_deactivate_jitter_buffer(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_deactivate_jitter_buffer___(void * jarg1) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_status_t result; arg1 = (switch_rtp_t *)jarg1; result = (switch_status_t)switch_rtp_deactivate_jitter_buffer(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_pause_jitter_buffer(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_pause_jitter_buffer___(void * jarg1, int jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_bool_t arg2 ; @@ -43215,12 +43538,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_pause_jitter_buffer(void * jarg1, i arg1 = (switch_rtp_t *)jarg1; arg2 = (switch_bool_t)jarg2; result = (switch_status_t)switch_rtp_pause_jitter_buffer(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_jitter_buffer(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_get_jitter_buffer___(void * jarg1) { void * jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_jb_t *result = 0 ; @@ -43232,7 +43555,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_jitter_buffer(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_flag(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_flag___(void * jarg1, int jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_rtp_flag_t arg2 ; @@ -43242,7 +43565,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_flag(void * jarg1, int jarg2) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_flags(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_flags___(void * jarg1, void * jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_rtp_flag_t *arg2 ; @@ -43252,7 +43575,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_flags(void * jarg1, void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_clear_flags(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_clear_flags___(void * jarg1, void * jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_rtp_flag_t *arg2 ; @@ -43262,7 +43585,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_clear_flags(void * jarg1, void * j } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_test_flag(void * jarg1, int jarg2) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_test_flag___(void * jarg1, int jarg2) { unsigned long jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_rtp_flag_t arg2 ; @@ -43276,7 +43599,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_test_flag(void * jarg1, i } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_clear_flag(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_clear_flag___(void * jarg1, int jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_rtp_flag_t arg2 ; @@ -43286,7 +43609,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_clear_flag(void * jarg1, int jarg2 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_rtp_socket(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_get_rtp_socket___(void * jarg1) { void * jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_socket_t *result = 0 ; @@ -43298,7 +43621,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_rtp_socket(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_ping(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_ping___(void * jarg1) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; arg1 = (switch_rtp_t *)jarg1; @@ -43306,7 +43629,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_ping(void * jarg1) { } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_default_samples_per_interval(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_get_default_samples_per_interval___(void * jarg1) { unsigned long jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t result; @@ -43318,7 +43641,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_default_samples_per_i } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_default_payload(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_default_payload___(void * jarg1, unsigned char jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_payload_t arg2 ; @@ -43328,7 +43651,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_default_payload(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_default_payload(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_get_default_payload___(void * jarg1) { unsigned long jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t result; @@ -43340,7 +43663,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_default_payload(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_invalid_handler(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_invalid_handler___(void * jarg1, void * jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_rtp_invalid_handler_t arg2 = (switch_rtp_invalid_handler_t) 0 ; @@ -43350,7 +43673,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_invalid_handler(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_read(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, unsigned long jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_read___(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, unsigned long jarg6) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; void *arg2 = (void *) 0 ; @@ -43367,12 +43690,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_read(void * jarg1, void * jarg2, vo arg5 = (switch_frame_flag_t *)jarg5; arg6 = (switch_io_flag_t)jarg6; result = (switch_status_t)switch_rtp_read(arg1,arg2,arg3,arg4,arg5,arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_queue_rfc2833(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_queue_rfc2833___(void * jarg1, void * jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; @@ -43381,12 +43704,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_queue_rfc2833(void * jarg1, void * arg1 = (switch_rtp_t *)jarg1; arg2 = (switch_dtmf_t *)jarg2; result = (switch_status_t)switch_rtp_queue_rfc2833(arg1,(switch_dtmf_t const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_queue_rfc2833_in(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_queue_rfc2833_in___(void * jarg1, void * jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; @@ -43395,12 +43718,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_queue_rfc2833_in(void * jarg1, void arg1 = (switch_rtp_t *)jarg1; arg2 = (switch_dtmf_t *)jarg2; result = (switch_status_t)switch_rtp_queue_rfc2833_in(arg1,(switch_dtmf_t const *)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_has_dtmf(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_has_dtmf___(void * jarg1) { void * jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_size_t result; @@ -43412,7 +43735,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_has_dtmf(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_dequeue_dtmf(void * jarg1, void * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_dequeue_dtmf___(void * jarg1, void * jarg2) { void * jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_dtmf_t *arg2 = (switch_dtmf_t *) 0 ; @@ -43426,7 +43749,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_dequeue_dtmf(void * jarg1, void } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, unsigned long jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_zerocopy_read___(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, unsigned long jarg6) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; void **arg2 = (void **) 0 ; @@ -43443,12 +43766,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read(void * jarg1, void * arg5 = (switch_frame_flag_t *)jarg5; arg6 = (switch_io_flag_t)jarg6; result = (switch_status_t)switch_rtp_zerocopy_read(arg1,arg2,arg3,arg4,arg5,arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read_frame(void * jarg1, void * jarg2, unsigned long jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_zerocopy_read_frame___(void * jarg1, void * jarg2, unsigned long jarg3) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -43459,12 +43782,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_zerocopy_read_frame(void * jarg1, v arg2 = (switch_frame_t *)jarg2; arg3 = (switch_io_flag_t)jarg3; result = (switch_status_t)switch_rtp_zerocopy_read_frame(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtcp_zerocopy_read_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtcp_zerocopy_read_frame___(void * jarg1, void * jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_rtcp_frame_t *arg2 = (switch_rtcp_frame_t *) 0 ; @@ -43473,12 +43796,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtcp_zerocopy_read_frame(void * jarg1, arg1 = (switch_rtp_t *)jarg1; arg2 = (switch_rtcp_frame_t *)jarg2; result = (switch_status_t)switch_rtcp_zerocopy_read_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_rtp_flush_read_buffer(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_rtp_flush_read_buffer___(void * jarg1, int jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_rtp_flush_t arg2 ; @@ -43488,7 +43811,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_rtp_flush_read_buffer(void * jarg1, int jarg2 } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_enable_vad(void * jarg1, void * jarg2, void * jarg3, unsigned long jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_enable_vad___(void * jarg1, void * jarg2, void * jarg3, unsigned long jarg4) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -43501,24 +43824,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_enable_vad(void * jarg1, void * jar arg3 = (switch_codec_t *)jarg3; arg4 = (switch_vad_flag_t)jarg4; result = (switch_status_t)switch_rtp_enable_vad(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_disable_vad(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_disable_vad___(void * jarg1) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_status_t result; arg1 = (switch_rtp_t *)jarg1; result = (switch_status_t)switch_rtp_disable_vad(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_write_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_write_frame___(void * jarg1, void * jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_frame_t *arg2 = (switch_frame_t *) 0 ; @@ -43532,7 +43855,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_write_frame(void * jarg1, void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_write_manual(void * jarg1, void * jarg2, unsigned long jarg3, unsigned char jarg4, unsigned char jarg5, unsigned long jarg6, void * jarg7) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_write_manual___(void * jarg1, void * jarg2, unsigned long jarg3, unsigned char jarg4, unsigned char jarg5, unsigned long jarg6, void * jarg7) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; void *arg2 = (void *) 0 ; @@ -43556,7 +43879,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_write_manual(void * jarg1, void * j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_write_raw(void * jarg1, void * jarg2, void * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_write_raw___(void * jarg1, void * jarg2, void * jarg3, int jarg4) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; void *arg2 = (void *) 0 ; @@ -43569,12 +43892,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_write_raw(void * jarg1, void * jarg arg3 = (switch_size_t *)jarg3; arg4 = (switch_bool_t)jarg4; result = (switch_status_t)switch_rtp_write_raw(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_ssrc(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_get_ssrc___(void * jarg1) { unsigned long jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t result; @@ -43586,7 +43909,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_rtp_get_ssrc(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_private(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_private___(void * jarg1, void * jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; void *arg2 = (void *) 0 ; @@ -43596,7 +43919,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_private(void * jarg1, void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_telephony_event(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_telephony_event___(void * jarg1, unsigned char jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_payload_t arg2 ; @@ -43606,7 +43929,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_telephony_event(void * jarg1, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_telephony_recv_event(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_telephony_recv_event___(void * jarg1, unsigned char jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_payload_t arg2 ; @@ -43616,7 +43939,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_telephony_recv_event(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_cng_pt(void * jarg1, unsigned char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_cng_pt___(void * jarg1, unsigned char jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_payload_t arg2 ; @@ -43626,7 +43949,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_cng_pt(void * jarg1, unsigned } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_private(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_get_private___(void * jarg1) { void * jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; void *result = 0 ; @@ -43638,7 +43961,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_private(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_payload_map(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_payload_map___(void * jarg1, void * jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; payload_map_t **arg2 = (payload_map_t **) 0 ; @@ -43647,12 +43970,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_set_payload_map(void * jarg1, void arg1 = (switch_rtp_t *)jarg1; arg2 = (payload_map_t **)jarg2; result = (switch_status_t)switch_rtp_set_payload_map(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_intentional_bugs(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_intentional_bugs___(void * jarg1, int jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_rtp_bug_flag_t arg2 ; @@ -43662,7 +43985,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_intentional_bugs(void * jarg1, int } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_stats(void * jarg1, void * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_get_stats___(void * jarg1, void * jarg2) { void * jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ; @@ -43676,7 +43999,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_stats(void * jarg1, void * j } -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_rtp_check_auto_adj(void * jarg1) { +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_check_auto_adj___(void * jarg1) { unsigned char jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; switch_byte_t result; @@ -43688,7 +44011,7 @@ SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_rtp_check_auto_adj(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_interdigit_delay(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_set_interdigit_delay___(void * jarg1, unsigned long jarg2) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t arg2 ; @@ -43698,7 +44021,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_set_interdigit_delay(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_add_dtls(void * jarg1, void * jarg2, void * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_add_dtls___(void * jarg1, void * jarg2, void * jarg3, int jarg4) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; dtls_fingerprint_t *arg2 = (dtls_fingerprint_t *) 0 ; @@ -43711,12 +44034,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_add_dtls(void * jarg1, void * jarg2 arg3 = (dtls_fingerprint_t *)jarg3; arg4 = (dtls_type_t)jarg4; result = (switch_status_t)switch_rtp_add_dtls(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_del_dtls(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_del_dtls___(void * jarg1, int jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; dtls_type_t arg2 ; @@ -43725,12 +44048,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_del_dtls(void * jarg1, int jarg2) { arg1 = (switch_rtp_t *)jarg1; arg2 = (dtls_type_t)jarg2; result = (switch_status_t)switch_rtp_del_dtls(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_dtls_state(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_dtls_state___(void * jarg1, int jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; dtls_type_t arg2 ; @@ -43739,12 +44062,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_dtls_state(void * jarg1, int jarg2) arg1 = (switch_rtp_t *)jarg1; arg2 = (dtls_type_t)jarg2; result = (dtls_state_t)switch_rtp_dtls_state(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_has_dtls() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_has_dtls___() { int jresult ; int result; @@ -43754,7 +44077,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_has_dtls() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_req_bitrate(void * jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_req_bitrate___(void * jarg1, unsigned long jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t arg2 ; @@ -43763,12 +44086,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_req_bitrate(void * jarg1, unsigned arg1 = (switch_rtp_t *)jarg1; arg2 = (uint32_t)jarg2; result = (switch_status_t)switch_rtp_req_bitrate(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_ack_bitrate(void * jarg1, unsigned long jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_ack_bitrate___(void * jarg1, unsigned long jarg2) { int jresult ; switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; uint32_t arg2 ; @@ -43777,12 +44100,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_rtp_ack_bitrate(void * jarg1, unsigned arg1 = (switch_rtp_t *)jarg1; arg2 = (uint32_t)jarg2; result = (switch_status_t)switch_rtp_ack_bitrate(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_video_refresh(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_video_refresh___(void * jarg1) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; arg1 = (switch_rtp_t *)jarg1; @@ -43790,7 +44113,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_video_refresh(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_video_loss(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_rtp_video_loss___(void * jarg1) { switch_rtp_t *arg1 = (switch_rtp_t *) 0 ; arg1 = (switch_rtp_t *)jarg1; @@ -43798,7 +44121,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_rtp_video_loss(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_data_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_data_set___(void * jarg1, char * jarg2) { switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; char *arg2 = (char *) 0 ; @@ -43816,7 +44139,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_data_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_data_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_data_get___(void * jarg1) { char * jresult ; switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; char *result = 0 ; @@ -43828,7 +44151,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_data_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_file_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_file_set___(void * jarg1, char * jarg2) { switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; char *arg2 ; @@ -43845,7 +44168,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_file_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_file_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_file_get___(void * jarg1) { char * jresult ; switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; char *result = 0 ; @@ -43857,7 +44180,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_file_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_line_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_line_set___(void * jarg1, unsigned long jarg2) { switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; uint32_t arg2 ; @@ -43867,7 +44190,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_line_set(void * jarg1, unsi } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_log_node_t_line_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_line_get___(void * jarg1) { unsigned long jresult ; switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; uint32_t result; @@ -43879,7 +44202,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_log_node_t_line_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_func_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_func_set___(void * jarg1, char * jarg2) { switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; char *arg2 ; @@ -43896,7 +44219,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_func_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_func_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_func_get___(void * jarg1) { char * jresult ; switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; char *result = 0 ; @@ -43908,7 +44231,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_func_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_level_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_level_set___(void * jarg1, int jarg2) { switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; switch_log_level_t arg2 ; @@ -43918,19 +44241,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_level_set(void * jarg1, int } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_node_t_level_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_level_get___(void * jarg1) { int jresult ; switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; switch_log_level_t result; arg1 = (switch_log_node_t *)jarg1; result = (switch_log_level_t) ((arg1)->level); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_timestamp_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_timestamp_set___(void * jarg1, void * jarg2) { switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; switch_time_t arg2 ; switch_time_t *argp2 ; @@ -43946,7 +44269,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_timestamp_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_log_node_t_timestamp_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_timestamp_get___(void * jarg1) { void * jresult ; switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; switch_time_t result; @@ -43958,7 +44281,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_log_node_t_timestamp_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_content_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_content_set___(void * jarg1, char * jarg2) { switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; char *arg2 = (char *) 0 ; @@ -43976,7 +44299,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_content_set(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_content_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_content_get___(void * jarg1) { char * jresult ; switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; char *result = 0 ; @@ -43988,7 +44311,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_content_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_userdata_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_userdata_set___(void * jarg1, char * jarg2) { switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; char *arg2 = (char *) 0 ; @@ -44006,7 +44329,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_userdata_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_userdata_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_userdata_get___(void * jarg1) { char * jresult ; switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; char *result = 0 ; @@ -44018,7 +44341,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_node_t_userdata_get(void * jarg1 } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_channel_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_channel_set___(void * jarg1, int jarg2) { switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; switch_text_channel_t arg2 ; @@ -44028,19 +44351,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_channel_set(void * jarg1, i } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_node_t_channel_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_channel_get___(void * jarg1) { int jresult ; switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; switch_text_channel_t result; arg1 = (switch_log_node_t *)jarg1; result = (switch_text_channel_t) ((arg1)->channel); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_slevel_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_slevel_set___(void * jarg1, int jarg2) { switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; switch_log_level_t arg2 ; @@ -44050,19 +44373,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_slevel_set(void * jarg1, in } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_node_t_slevel_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_t_slevel_get___(void * jarg1) { int jresult ; switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; switch_log_level_t result; arg1 = (switch_log_node_t *)jarg1; result = (switch_log_level_t) ((arg1)->slevel); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_log_node_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_log_node_t___() { void * jresult ; switch_log_node_t *result = 0 ; @@ -44072,7 +44395,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_log_node_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_log_node_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_log_node_t___(void * jarg1) { switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; arg1 = (switch_log_node_t *)jarg1; @@ -44080,7 +44403,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_log_node_t(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_init(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_init___(void * jarg1, int jarg2) { int jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; switch_bool_t arg2 ; @@ -44089,22 +44412,22 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_init(void * jarg1, int jarg2) { arg1 = (switch_memory_pool_t *)jarg1; arg2 = (switch_bool_t)jarg2; result = (switch_status_t)switch_log_init(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_shutdown() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_shutdown___() { int jresult ; switch_status_t result; result = (switch_status_t)switch_log_shutdown(); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_bind_logger(void * jarg1, int jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_bind_logger___(void * jarg1, int jarg2, int jarg3) { int jresult ; switch_log_function_t arg1 = (switch_log_function_t) 0 ; switch_log_level_t arg2 ; @@ -44115,24 +44438,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_bind_logger(void * jarg1, int jarg2 arg2 = (switch_log_level_t)jarg2; arg3 = (switch_bool_t)jarg3; result = (switch_status_t)switch_log_bind_logger(arg1,arg2,arg3); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_unbind_logger(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_unbind_logger___(void * jarg1) { int jresult ; switch_log_function_t arg1 = (switch_log_function_t) 0 ; switch_status_t result; arg1 = (switch_log_function_t)jarg1; result = (switch_status_t)switch_log_unbind_logger(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_level2str(int jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_level2str___(int jarg1) { char * jresult ; switch_log_level_t arg1 ; char *result = 0 ; @@ -44144,19 +44467,19 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_log_level2str(int jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_log_str2level(char * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_str2level___(char * jarg1) { int jresult ; char *arg1 = (char *) 0 ; switch_log_level_t result; arg1 = (char *)jarg1; result = (switch_log_level_t)switch_log_str2level((char const *)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_log_str2mask(char * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_str2mask___(char * jarg1) { unsigned long jresult ; char *arg1 = (char *) 0 ; uint32_t result; @@ -44168,7 +44491,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_log_str2mask(char * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_log_node_dup(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_dup___(void * jarg1) { void * jresult ; switch_log_node_t *arg1 = (switch_log_node_t *) 0 ; switch_log_node_t *result = 0 ; @@ -44180,7 +44503,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_log_node_dup(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_free(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_log_node_free___(void * jarg1) { switch_log_node_t **arg1 = (switch_log_node_t **) 0 ; arg1 = (switch_log_node_t **)jarg1; @@ -44188,7 +44511,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_free(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_XML_BUFSIZE_get() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_SWITCH_XML_BUFSIZE_get___() { int jresult ; int result; @@ -44198,7 +44521,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_SWITCH_XML_BUFSIZE_get() { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_name_set___(void * jarg1, char * jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; char *arg2 = (char *) 0 ; @@ -44216,7 +44539,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_name_set(void * jarg1, char * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_name_get___(void * jarg1) { char * jresult ; switch_xml *arg1 = (switch_xml *) 0 ; char *result = 0 ; @@ -44228,7 +44551,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_name_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_attr_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_attr_set___(void * jarg1, void * jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; char **arg2 = (char **) 0 ; @@ -44238,7 +44561,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_attr_set(void * jarg1, void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_attr_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_attr_get___(void * jarg1) { void * jresult ; switch_xml *arg1 = (switch_xml *) 0 ; char **result = 0 ; @@ -44250,7 +44573,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_attr_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_txt_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_txt_set___(void * jarg1, char * jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; char *arg2 = (char *) 0 ; @@ -44268,7 +44591,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_txt_set(void * jarg1, char * jarg2 } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_txt_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_txt_get___(void * jarg1) { char * jresult ; switch_xml *arg1 = (switch_xml *) 0 ; char *result = 0 ; @@ -44280,7 +44603,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_txt_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_free_path_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_free_path_set___(void * jarg1, char * jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; char *arg2 = (char *) 0 ; @@ -44298,7 +44621,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_free_path_set(void * jarg1, char * } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_free_path_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_free_path_get___(void * jarg1) { char * jresult ; switch_xml *arg1 = (switch_xml *) 0 ; char *result = 0 ; @@ -44310,7 +44633,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_free_path_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_off_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_off_set___(void * jarg1, void * jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; switch_size_t arg2 ; switch_size_t *argp2 ; @@ -44326,7 +44649,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_off_set(void * jarg1, void * jarg2 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_off_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_off_get___(void * jarg1) { void * jresult ; switch_xml *arg1 = (switch_xml *) 0 ; switch_size_t result; @@ -44338,7 +44661,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_off_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_next_set___(void * jarg1, void * jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; switch_xml_t arg2 = (switch_xml_t) 0 ; @@ -44348,7 +44671,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_next_set(void * jarg1, void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_next_get___(void * jarg1) { void * jresult ; switch_xml *arg1 = (switch_xml *) 0 ; switch_xml_t result; @@ -44360,7 +44683,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_next_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_sibling_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_sibling_set___(void * jarg1, void * jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; switch_xml_t arg2 = (switch_xml_t) 0 ; @@ -44370,7 +44693,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_sibling_set(void * jarg1, void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_sibling_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_sibling_get___(void * jarg1) { void * jresult ; switch_xml *arg1 = (switch_xml *) 0 ; switch_xml_t result; @@ -44382,7 +44705,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_sibling_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_ordered_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_ordered_set___(void * jarg1, void * jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; switch_xml_t arg2 = (switch_xml_t) 0 ; @@ -44392,7 +44715,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_ordered_set(void * jarg1, void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_ordered_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_ordered_get___(void * jarg1) { void * jresult ; switch_xml *arg1 = (switch_xml *) 0 ; switch_xml_t result; @@ -44404,7 +44727,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_ordered_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_child_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_child_set___(void * jarg1, void * jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; switch_xml_t arg2 = (switch_xml_t) 0 ; @@ -44414,7 +44737,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_child_set(void * jarg1, void * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_child_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_child_get___(void * jarg1) { void * jresult ; switch_xml *arg1 = (switch_xml *) 0 ; switch_xml_t result; @@ -44426,7 +44749,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_child_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_parent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_parent_set___(void * jarg1, void * jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; switch_xml_t arg2 = (switch_xml_t) 0 ; @@ -44436,7 +44759,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_parent_set(void * jarg1, void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_parent_get___(void * jarg1) { void * jresult ; switch_xml *arg1 = (switch_xml *) 0 ; switch_xml_t result; @@ -44448,7 +44771,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parent_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_flags_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_flags_set___(void * jarg1, unsigned long jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; uint32_t arg2 ; @@ -44458,7 +44781,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_flags_set(void * jarg1, unsigned l } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_flags_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_flags_get___(void * jarg1) { unsigned long jresult ; switch_xml *arg1 = (switch_xml *) 0 ; uint32_t result; @@ -44470,7 +44793,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_flags_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_is_switch_xml_root_t_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_is_switch_xml_root_t_set___(void * jarg1, int jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; switch_bool_t arg2 ; @@ -44480,19 +44803,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_is_switch_xml_root_t_set(void * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_is_switch_xml_root_t_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_is_switch_xml_root_t_get___(void * jarg1) { int jresult ; switch_xml *arg1 = (switch_xml *) 0 ; switch_bool_t result; arg1 = (switch_xml *)jarg1; result = (switch_bool_t) ((arg1)->is_switch_xml_root_t); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_refs_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_refs_set___(void * jarg1, unsigned long jarg2) { switch_xml *arg1 = (switch_xml *) 0 ; uint32_t arg2 ; @@ -44502,7 +44825,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_refs_set(void * jarg1, unsigned lo } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_refs_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_refs_get___(void * jarg1) { unsigned long jresult ; switch_xml *arg1 = (switch_xml *) 0 ; uint32_t result; @@ -44514,7 +44837,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_refs_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_xml() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_xml___() { void * jresult ; switch_xml *result = 0 ; @@ -44524,7 +44847,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_xml() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_xml(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_xml___(void * jarg1) { switch_xml *arg1 = (switch_xml *) 0 ; arg1 = (switch_xml *)jarg1; @@ -44532,7 +44855,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_xml(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_str_dynamic(char * jarg1, int jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_parse_str_dynamic___(char * jarg1, int jarg2) { void * jresult ; char *arg1 = (char *) 0 ; switch_bool_t arg2 ; @@ -44546,7 +44869,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_str_dynamic(char * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_str(char * jarg1, void * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_parse_str___(char * jarg1, void * jarg2) { void * jresult ; char *arg1 = (char *) 0 ; switch_size_t arg2 ; @@ -44566,7 +44889,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_str(char * jarg1, void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_fd(int jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_parse_fd___(int jarg1) { void * jresult ; int arg1 ; switch_xml_t result; @@ -44578,7 +44901,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_fd(int jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_file(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_parse_file___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_xml_t result; @@ -44590,7 +44913,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_file(char * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_file_simple(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_parse_file_simple___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_xml_t result; @@ -44602,7 +44925,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_file_simple(char * jarg1) } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_fp(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_parse_fp___(void * jarg1) { void * jresult ; FILE *arg1 = (FILE *) 0 ; switch_xml_t result; @@ -44614,7 +44937,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_parse_fp(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_child(void * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_child___(void * jarg1, char * jarg2) { void * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; char *arg2 = (char *) 0 ; @@ -44628,7 +44951,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_child(void * jarg1, char * jarg2 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_find_child(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_find_child___(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { void * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; char *arg2 = (char *) 0 ; @@ -44646,7 +44969,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_find_child(void * jarg1, char * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_find_child_multi(void * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_find_child_multi___(void * jarg1, char * jarg2) { void * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; char *arg2 = (char *) 0 ; @@ -44661,7 +44984,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_find_child_multi(void * jarg1, c } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_attr(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_attr___(void * jarg1, char * jarg2) { char * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; char *arg2 = (char *) 0 ; @@ -44675,7 +44998,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_attr(void * jarg1, char * jarg2) } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_attr_soft(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_attr_soft___(void * jarg1, char * jarg2) { char * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; char *arg2 = (char *) 0 ; @@ -44689,7 +45012,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_attr_soft(void * jarg1, char * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_get___(void * jarg1) { void * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; void *arg2 = 0 ; @@ -44702,7 +45025,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_get(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_toxml(void * jarg1, int jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_toxml___(void * jarg1, int jarg2) { char * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; switch_bool_t arg2 ; @@ -44716,7 +45039,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_toxml(void * jarg1, int jarg2) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_toxml_nolock(void * jarg1, int jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_toxml_nolock___(void * jarg1, int jarg2) { char * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; switch_bool_t arg2 ; @@ -44730,7 +45053,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_toxml_nolock(void * jarg1, int j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_tohtml(void * jarg1, int jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_tohtml___(void * jarg1, int jarg2) { char * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; switch_bool_t arg2 ; @@ -44744,7 +45067,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_tohtml(void * jarg1, int jarg2) } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_toxml_buf(void * jarg1, char * jarg2, void * jarg3, void * jarg4, int jarg5) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_toxml_buf___(void * jarg1, char * jarg2, void * jarg3, void * jarg4, int jarg5) { char * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; char *arg2 = (char *) 0 ; @@ -44776,7 +45099,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_toxml_buf(void * jarg1, char * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_free(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_free___(void * jarg1) { switch_xml_t arg1 = (switch_xml_t) 0 ; arg1 = (switch_xml_t)jarg1; @@ -44784,7 +45107,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_free(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_free_in_thread(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_free_in_thread___(void * jarg1, int jarg2) { switch_xml_t arg1 = (switch_xml_t) 0 ; int arg2 ; @@ -44794,7 +45117,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_free_in_thread(void * jarg1, int j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_error(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_error___(void * jarg1) { char * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; char *result = 0 ; @@ -44806,7 +45129,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_xml_error(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_new(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_new___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; switch_xml_t result; @@ -44818,7 +45141,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_new(char * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_add_child(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_add_child___(void * jarg1, char * jarg2, void * jarg3) { void * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; char *arg2 = (char *) 0 ; @@ -44840,7 +45163,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_add_child(void * jarg1, char * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_set_txt(void * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_set_txt___(void * jarg1, char * jarg2) { void * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; char *arg2 = (char *) 0 ; @@ -44854,7 +45177,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_set_txt(void * jarg1, char * jar } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_set_attr(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_set_attr___(void * jarg1, char * jarg2, char * jarg3) { void * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; char *arg2 = (char *) 0 ; @@ -44870,7 +45193,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_set_attr(void * jarg1, char * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_set_flag(void * jarg1, int jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_set_flag___(void * jarg1, int jarg2) { void * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; switch_xml_flag_t arg2 ; @@ -44884,7 +45207,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_set_flag(void * jarg1, int jarg2 } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_cut(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_cut___(void * jarg1) { void * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; switch_xml_t result; @@ -44896,7 +45219,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_cut(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_insert(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_insert___(void * jarg1, void * jarg2, void * jarg3) { void * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; switch_xml_t arg2 = (switch_xml_t) 0 ; @@ -44918,19 +45241,19 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_insert(void * jarg1, void * jarg } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_set_root(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_set_root___(void * jarg1) { int jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; switch_status_t result; arg1 = (switch_xml_t)jarg1; result = (switch_status_t)switch_xml_set_root(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_set_open_root_function(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_set_open_root_function___(void * jarg1, void * jarg2) { int jresult ; switch_xml_open_root_function_t arg1 = (switch_xml_open_root_function_t) 0 ; void *arg2 = (void *) 0 ; @@ -44939,12 +45262,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_set_open_root_function(void * jarg1 arg1 = (switch_xml_open_root_function_t)jarg1; arg2 = (void *)jarg2; result = (switch_status_t)switch_xml_set_open_root_function(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_open_root(unsigned char jarg1, void * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_open_root___(unsigned char jarg1, void * jarg2) { void * jresult ; uint8_t arg1 ; char **arg2 = (char **) 0 ; @@ -44958,7 +45281,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_open_root(unsigned char jarg1, v } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_init(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_init___(void * jarg1, void * jarg2) { int jresult ; switch_memory_pool_t *arg1 = (switch_memory_pool_t *) 0 ; char **arg2 = (char **) 0 ; @@ -44967,34 +45290,34 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_init(void * jarg1, void * jarg2) { arg1 = (switch_memory_pool_t *)jarg1; arg2 = (char **)jarg2; result = (switch_status_t)switch_xml_init(arg1,(char const **)arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_reload(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_reload___(void * jarg1) { int jresult ; char **arg1 = (char **) 0 ; switch_status_t result; arg1 = (char **)jarg1; result = (switch_status_t)switch_xml_reload((char const **)arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_destroy() { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_destroy___() { int jresult ; switch_status_t result; result = (switch_status_t)switch_xml_destroy(); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_root() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_root___() { void * jresult ; switch_xml_t result; @@ -45004,7 +45327,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_root() { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate(char * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, void * jarg6, void * jarg7, int jarg8) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_locate___(char * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, void * jarg6, void * jarg7, int jarg8) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -45025,12 +45348,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate(char * jarg1, char * jarg2, arg7 = (switch_event_t *)jarg7; arg8 = (switch_bool_t)jarg8; result = (switch_status_t)switch_xml_locate((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7,arg8); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_domain(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_locate_domain___(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { int jresult ; char *arg1 = (char *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -45043,12 +45366,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_domain(char * jarg1, void * arg3 = (switch_xml_t *)jarg3; arg4 = (switch_xml_t *)jarg4; result = (switch_status_t)switch_xml_locate_domain((char const *)arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_group(char * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_locate_group___(char * jarg1, char * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -45065,12 +45388,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_group(char * jarg1, char * j arg5 = (switch_xml_t *)jarg5; arg6 = (switch_event_t *)jarg6; result = (switch_status_t)switch_xml_locate_group((char const *)arg1,(char const *)arg2,arg3,arg4,arg5,arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_user(char * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, void * jarg6, void * jarg7, void * jarg8, void * jarg9) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_locate_user___(char * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, void * jarg6, void * jarg7, void * jarg8, void * jarg9) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -45093,12 +45416,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_user(char * jarg1, char * ja arg8 = (switch_xml_t *)jarg8; arg9 = (switch_event_t *)jarg9; result = (switch_status_t)switch_xml_locate_user((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6,arg7,arg8,arg9); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_user_in_domain(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_locate_user_in_domain___(char * jarg1, void * jarg2, void * jarg3, void * jarg4) { int jresult ; char *arg1 = (char *) 0 ; switch_xml_t arg2 = (switch_xml_t) 0 ; @@ -45111,12 +45434,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_user_in_domain(char * jarg1, arg3 = (switch_xml_t *)jarg3; arg4 = (switch_xml_t *)jarg4; result = (switch_status_t)switch_xml_locate_user_in_domain((char const *)arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_user_merged(char * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, void * jarg6) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_locate_user_merged___(char * jarg1, char * jarg2, char * jarg3, char * jarg4, void * jarg5, void * jarg6) { int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -45133,12 +45456,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_user_merged(char * jarg1, ch arg5 = (switch_xml_t *)jarg5; arg6 = (switch_event_t *)jarg6; result = (switch_status_t)switch_xml_locate_user_merged((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4,arg5,arg6); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_clear_user_cache(char * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_clear_user_cache___(char * jarg1, char * jarg2, char * jarg3) { unsigned long jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -45154,7 +45477,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_clear_user_cache(char * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_merge_user(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_merge_user___(void * jarg1, void * jarg2, void * jarg3) { switch_xml_t arg1 = (switch_xml_t) 0 ; switch_xml_t arg2 = (switch_xml_t) 0 ; switch_xml_t arg3 = (switch_xml_t) 0 ; @@ -45166,7 +45489,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_merge_user(void * jarg1, void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_dup(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_dup___(void * jarg1) { void * jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; switch_xml_t result; @@ -45178,7 +45501,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_dup(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_open_cfg(char * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_open_cfg___(char * jarg1, void * jarg2, void * jarg3) { void * jresult ; char *arg1 = (char *) 0 ; switch_xml_t *arg2 = (switch_xml_t *) 0 ; @@ -45194,7 +45517,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_open_cfg(char * jarg1, void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_set_binding_sections(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_set_binding_sections___(void * jarg1, unsigned long jarg2) { switch_xml_binding_t *arg1 = (switch_xml_binding_t *) 0 ; switch_xml_section_t arg2 ; @@ -45204,7 +45527,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_set_binding_sections(void * jarg1, } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_set_binding_user_data(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_set_binding_user_data___(void * jarg1, void * jarg2) { switch_xml_binding_t *arg1 = (switch_xml_binding_t *) 0 ; void *arg2 = (void *) 0 ; @@ -45214,7 +45537,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_xml_set_binding_user_data(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_get_binding_sections(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_get_binding_sections___(void * jarg1) { unsigned long jresult ; switch_xml_binding_t *arg1 = (switch_xml_binding_t *) 0 ; switch_xml_section_t result; @@ -45226,7 +45549,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_get_binding_sections(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_get_binding_user_data(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_get_binding_user_data___(void * jarg1) { void * jresult ; switch_xml_binding_t *arg1 = (switch_xml_binding_t *) 0 ; void *result = 0 ; @@ -45238,7 +45561,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_xml_get_binding_user_data(void * jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_bind_search_function_ret(void * jarg1, unsigned long jarg2, void * jarg3, void * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_bind_search_function_ret___(void * jarg1, unsigned long jarg2, void * jarg3, void * jarg4) { int jresult ; switch_xml_search_function_t arg1 = (switch_xml_search_function_t) 0 ; switch_xml_section_t arg2 ; @@ -45251,36 +45574,36 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_bind_search_function_ret(void * jar arg3 = (void *)jarg3; arg4 = (switch_xml_binding_t **)jarg4; result = (switch_status_t)switch_xml_bind_search_function_ret(arg1,arg2,arg3,arg4); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_unbind_search_function(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_unbind_search_function___(void * jarg1) { int jresult ; switch_xml_binding_t **arg1 = (switch_xml_binding_t **) 0 ; switch_status_t result; arg1 = (switch_xml_binding_t **)jarg1; result = (switch_status_t)switch_xml_unbind_search_function(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_unbind_search_function_ptr(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_unbind_search_function_ptr___(void * jarg1) { int jresult ; switch_xml_search_function_t arg1 = (switch_xml_search_function_t) 0 ; switch_status_t result; arg1 = (switch_xml_search_function_t)jarg1; result = (switch_status_t)switch_xml_unbind_search_function_ptr(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_parse_section_string(char * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_parse_section_string___(char * jarg1) { unsigned long jresult ; char *arg1 = (char *) 0 ; switch_xml_section_t result; @@ -45292,7 +45615,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_xml_parse_section_string(char } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_std_datetime_check(void * jarg1, void * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_std_datetime_check___(void * jarg1, void * jarg2, char * jarg3) { int jresult ; switch_xml_t arg1 = (switch_xml_t) 0 ; int *arg2 = (int *) 0 ; @@ -45308,7 +45631,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_std_datetime_check(void * jarg1, vo } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_language(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6, char * jarg7) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_xml_locate_language___(void * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5, void * jarg6, char * jarg7) { int jresult ; switch_xml_t *arg1 = (switch_xml_t *) 0 ; switch_xml_t *arg2 = (switch_xml_t *) 0 ; @@ -45327,12 +45650,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_xml_locate_language(void * jarg1, void arg6 = (switch_xml_t *)jarg6; arg7 = (char *)jarg7; result = (switch_status_t)switch_xml_locate_language(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_outgoing_channel_outgoing_channel_set___(void * jarg1, void * jarg2) { switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ; switch_outgoing_channel_hook_t arg2 = (switch_outgoing_channel_hook_t) 0 ; @@ -45342,7 +45665,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_outgoin } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_outgoing_channel_outgoing_channel_get___(void * jarg1) { void * jresult ; switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ; switch_outgoing_channel_hook_t result; @@ -45354,7 +45677,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_outgo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_outgoing_channel_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ; switch_io_event_hook_outgoing_channel *arg2 = (switch_io_event_hook_outgoing_channel *) 0 ; @@ -45364,7 +45687,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_next_se } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_outgoing_channel_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ; switch_io_event_hook_outgoing_channel *result = 0 ; @@ -45376,7 +45699,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_outgoing_channel_next_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_outgoing_channel() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_outgoing_channel___() { void * jresult ; switch_io_event_hook_outgoing_channel *result = 0 ; @@ -45386,7 +45709,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_outgoing_channel() } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_outgoing_channel(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_outgoing_channel___(void * jarg1) { switch_io_event_hook_outgoing_channel *arg1 = (switch_io_event_hook_outgoing_channel *) 0 ; arg1 = (switch_io_event_hook_outgoing_channel *)jarg1; @@ -45394,7 +45717,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_outgoing_channel( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_receive_message_receive_message_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_message_receive_message_set___(void * jarg1, void * jarg2) { switch_io_event_hook_receive_message *arg1 = (switch_io_event_hook_receive_message *) 0 ; switch_receive_message_hook_t arg2 = (switch_receive_message_hook_t) 0 ; @@ -45404,7 +45727,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_receive_message_receive_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_receive_message_receive_message_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_message_receive_message_get___(void * jarg1) { void * jresult ; switch_io_event_hook_receive_message *arg1 = (switch_io_event_hook_receive_message *) 0 ; switch_receive_message_hook_t result; @@ -45416,7 +45739,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_receive_message_receiv } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_receive_message_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_message_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_receive_message *arg1 = (switch_io_event_hook_receive_message *) 0 ; switch_io_event_hook_receive_message *arg2 = (switch_io_event_hook_receive_message *) 0 ; @@ -45426,7 +45749,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_receive_message_next_set } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_receive_message_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_message_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_receive_message *arg1 = (switch_io_event_hook_receive_message *) 0 ; switch_io_event_hook_receive_message *result = 0 ; @@ -45438,7 +45761,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_receive_message_next_g } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_receive_message() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_receive_message___() { void * jresult ; switch_io_event_hook_receive_message *result = 0 ; @@ -45448,7 +45771,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_receive_message() } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_receive_message(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_receive_message___(void * jarg1) { switch_io_event_hook_receive_message *arg1 = (switch_io_event_hook_receive_message *) 0 ; arg1 = (switch_io_event_hook_receive_message *)jarg1; @@ -45456,7 +45779,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_receive_message(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_receive_event_receive_event_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_event_receive_event_set___(void * jarg1, void * jarg2) { switch_io_event_hook_receive_event *arg1 = (switch_io_event_hook_receive_event *) 0 ; switch_receive_event_hook_t arg2 = (switch_receive_event_hook_t) 0 ; @@ -45466,7 +45789,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_receive_event_receive_ev } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_receive_event_receive_event_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_event_receive_event_get___(void * jarg1) { void * jresult ; switch_io_event_hook_receive_event *arg1 = (switch_io_event_hook_receive_event *) 0 ; switch_receive_event_hook_t result; @@ -45478,7 +45801,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_receive_event_receive_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_receive_event_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_event_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_receive_event *arg1 = (switch_io_event_hook_receive_event *) 0 ; switch_io_event_hook_receive_event *arg2 = (switch_io_event_hook_receive_event *) 0 ; @@ -45488,7 +45811,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_receive_event_next_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_receive_event_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_event_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_receive_event *arg1 = (switch_io_event_hook_receive_event *) 0 ; switch_io_event_hook_receive_event *result = 0 ; @@ -45500,7 +45823,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_receive_event_next_get } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_receive_event() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_receive_event___() { void * jresult ; switch_io_event_hook_receive_event *result = 0 ; @@ -45510,7 +45833,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_receive_event() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_receive_event(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_receive_event___(void * jarg1) { switch_io_event_hook_receive_event *arg1 = (switch_io_event_hook_receive_event *) 0 ; arg1 = (switch_io_event_hook_receive_event *)jarg1; @@ -45518,7 +45841,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_receive_event(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_read_frame_read_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_read_frame_read_frame_set___(void * jarg1, void * jarg2) { switch_io_event_hook_read_frame *arg1 = (switch_io_event_hook_read_frame *) 0 ; switch_read_frame_hook_t arg2 = (switch_read_frame_hook_t) 0 ; @@ -45528,7 +45851,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_read_frame_read_frame_se } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_read_frame_read_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_read_frame_read_frame_get___(void * jarg1) { void * jresult ; switch_io_event_hook_read_frame *arg1 = (switch_io_event_hook_read_frame *) 0 ; switch_read_frame_hook_t result; @@ -45540,7 +45863,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_read_frame_read_frame_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_read_frame_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_read_frame_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_read_frame *arg1 = (switch_io_event_hook_read_frame *) 0 ; switch_io_event_hook_read_frame *arg2 = (switch_io_event_hook_read_frame *) 0 ; @@ -45550,7 +45873,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_read_frame_next_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_read_frame_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_read_frame_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_read_frame *arg1 = (switch_io_event_hook_read_frame *) 0 ; switch_io_event_hook_read_frame *result = 0 ; @@ -45562,7 +45885,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_read_frame_next_get(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_read_frame() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_read_frame___() { void * jresult ; switch_io_event_hook_read_frame *result = 0 ; @@ -45572,7 +45895,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_read_frame() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_read_frame(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_read_frame___(void * jarg1) { switch_io_event_hook_read_frame *arg1 = (switch_io_event_hook_read_frame *) 0 ; arg1 = (switch_io_event_hook_read_frame *)jarg1; @@ -45580,7 +45903,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_read_frame(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_video_read_frame_video_read_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_video_read_frame_video_read_frame_set___(void * jarg1, void * jarg2) { switch_io_event_hook_video_read_frame *arg1 = (switch_io_event_hook_video_read_frame *) 0 ; switch_read_frame_hook_t arg2 = (switch_read_frame_hook_t) 0 ; @@ -45590,7 +45913,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_video_read_frame_video_r } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_video_read_frame_video_read_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_video_read_frame_video_read_frame_get___(void * jarg1) { void * jresult ; switch_io_event_hook_video_read_frame *arg1 = (switch_io_event_hook_video_read_frame *) 0 ; switch_read_frame_hook_t result; @@ -45602,7 +45925,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_video_read_frame_video } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_video_read_frame_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_video_read_frame_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_video_read_frame *arg1 = (switch_io_event_hook_video_read_frame *) 0 ; switch_io_event_hook_video_read_frame *arg2 = (switch_io_event_hook_video_read_frame *) 0 ; @@ -45612,7 +45935,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_video_read_frame_next_se } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_video_read_frame_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_video_read_frame_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_video_read_frame *arg1 = (switch_io_event_hook_video_read_frame *) 0 ; switch_io_event_hook_video_read_frame *result = 0 ; @@ -45624,7 +45947,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_video_read_frame_next_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_video_read_frame() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_video_read_frame___() { void * jresult ; switch_io_event_hook_video_read_frame *result = 0 ; @@ -45634,7 +45957,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_video_read_frame() } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_video_read_frame(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_video_read_frame___(void * jarg1) { switch_io_event_hook_video_read_frame *arg1 = (switch_io_event_hook_video_read_frame *) 0 ; arg1 = (switch_io_event_hook_video_read_frame *)jarg1; @@ -45642,7 +45965,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_video_read_frame( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_write_frame_write_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_write_frame_write_frame_set___(void * jarg1, void * jarg2) { switch_io_event_hook_write_frame *arg1 = (switch_io_event_hook_write_frame *) 0 ; switch_write_frame_hook_t arg2 = (switch_write_frame_hook_t) 0 ; @@ -45652,7 +45975,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_write_frame_write_frame_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_write_frame_write_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_write_frame_write_frame_get___(void * jarg1) { void * jresult ; switch_io_event_hook_write_frame *arg1 = (switch_io_event_hook_write_frame *) 0 ; switch_write_frame_hook_t result; @@ -45664,7 +45987,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_write_frame_write_fram } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_write_frame_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_write_frame_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_write_frame *arg1 = (switch_io_event_hook_write_frame *) 0 ; switch_io_event_hook_write_frame *arg2 = (switch_io_event_hook_write_frame *) 0 ; @@ -45674,7 +45997,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_write_frame_next_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_write_frame_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_write_frame_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_write_frame *arg1 = (switch_io_event_hook_write_frame *) 0 ; switch_io_event_hook_write_frame *result = 0 ; @@ -45686,7 +46009,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_write_frame_next_get(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_write_frame() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_write_frame___() { void * jresult ; switch_io_event_hook_write_frame *result = 0 ; @@ -45696,7 +46019,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_write_frame() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_write_frame(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_write_frame___(void * jarg1) { switch_io_event_hook_write_frame *arg1 = (switch_io_event_hook_write_frame *) 0 ; arg1 = (switch_io_event_hook_write_frame *)jarg1; @@ -45704,7 +46027,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_write_frame(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_video_write_frame_video_write_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_video_write_frame_video_write_frame_set___(void * jarg1, void * jarg2) { switch_io_event_hook_video_write_frame *arg1 = (switch_io_event_hook_video_write_frame *) 0 ; switch_video_write_frame_hook_t arg2 = (switch_video_write_frame_hook_t) 0 ; @@ -45714,7 +46037,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_video_write_frame_video_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_video_write_frame_video_write_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_video_write_frame_video_write_frame_get___(void * jarg1) { void * jresult ; switch_io_event_hook_video_write_frame *arg1 = (switch_io_event_hook_video_write_frame *) 0 ; switch_video_write_frame_hook_t result; @@ -45726,7 +46049,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_video_write_frame_vide } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_video_write_frame_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_video_write_frame_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_video_write_frame *arg1 = (switch_io_event_hook_video_write_frame *) 0 ; switch_io_event_hook_video_write_frame *arg2 = (switch_io_event_hook_video_write_frame *) 0 ; @@ -45736,7 +46059,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_video_write_frame_next_s } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_video_write_frame_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_video_write_frame_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_video_write_frame *arg1 = (switch_io_event_hook_video_write_frame *) 0 ; switch_io_event_hook_video_write_frame *result = 0 ; @@ -45748,7 +46071,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_video_write_frame_next } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_video_write_frame() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_video_write_frame___() { void * jresult ; switch_io_event_hook_video_write_frame *result = 0 ; @@ -45758,7 +46081,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_video_write_frame( } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_video_write_frame(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_video_write_frame___(void * jarg1) { switch_io_event_hook_video_write_frame *arg1 = (switch_io_event_hook_video_write_frame *) 0 ; arg1 = (switch_io_event_hook_video_write_frame *)jarg1; @@ -45766,7 +46089,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_video_write_frame } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_text_read_frame_text_read_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_text_read_frame_text_read_frame_set___(void * jarg1, void * jarg2) { switch_io_event_hook_text_read_frame *arg1 = (switch_io_event_hook_text_read_frame *) 0 ; switch_read_frame_hook_t arg2 = (switch_read_frame_hook_t) 0 ; @@ -45776,7 +46099,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_text_read_frame_text_rea } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_text_read_frame_text_read_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_text_read_frame_text_read_frame_get___(void * jarg1) { void * jresult ; switch_io_event_hook_text_read_frame *arg1 = (switch_io_event_hook_text_read_frame *) 0 ; switch_read_frame_hook_t result; @@ -45788,7 +46111,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_text_read_frame_text_r } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_text_read_frame_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_text_read_frame_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_text_read_frame *arg1 = (switch_io_event_hook_text_read_frame *) 0 ; switch_io_event_hook_text_read_frame *arg2 = (switch_io_event_hook_text_read_frame *) 0 ; @@ -45798,7 +46121,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_text_read_frame_next_set } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_text_read_frame_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_text_read_frame_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_text_read_frame *arg1 = (switch_io_event_hook_text_read_frame *) 0 ; switch_io_event_hook_text_read_frame *result = 0 ; @@ -45810,7 +46133,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_text_read_frame_next_g } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_text_read_frame() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_text_read_frame___() { void * jresult ; switch_io_event_hook_text_read_frame *result = 0 ; @@ -45820,7 +46143,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_text_read_frame() } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_text_read_frame(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_text_read_frame___(void * jarg1) { switch_io_event_hook_text_read_frame *arg1 = (switch_io_event_hook_text_read_frame *) 0 ; arg1 = (switch_io_event_hook_text_read_frame *)jarg1; @@ -45828,7 +46151,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_text_read_frame(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_text_write_frame_text_write_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_text_write_frame_text_write_frame_set___(void * jarg1, void * jarg2) { switch_io_event_hook_text_write_frame *arg1 = (switch_io_event_hook_text_write_frame *) 0 ; switch_video_write_frame_hook_t arg2 = (switch_video_write_frame_hook_t) 0 ; @@ -45838,7 +46161,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_text_write_frame_text_wr } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_text_write_frame_text_write_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_text_write_frame_text_write_frame_get___(void * jarg1) { void * jresult ; switch_io_event_hook_text_write_frame *arg1 = (switch_io_event_hook_text_write_frame *) 0 ; switch_video_write_frame_hook_t result; @@ -45850,7 +46173,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_text_write_frame_text_ } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_text_write_frame_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_text_write_frame_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_text_write_frame *arg1 = (switch_io_event_hook_text_write_frame *) 0 ; switch_io_event_hook_text_write_frame *arg2 = (switch_io_event_hook_text_write_frame *) 0 ; @@ -45860,7 +46183,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_text_write_frame_next_se } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_text_write_frame_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_text_write_frame_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_text_write_frame *arg1 = (switch_io_event_hook_text_write_frame *) 0 ; switch_io_event_hook_text_write_frame *result = 0 ; @@ -45872,7 +46195,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_text_write_frame_next_ } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_text_write_frame() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_text_write_frame___() { void * jresult ; switch_io_event_hook_text_write_frame *result = 0 ; @@ -45882,7 +46205,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_text_write_frame() } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_text_write_frame(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_text_write_frame___(void * jarg1) { switch_io_event_hook_text_write_frame *arg1 = (switch_io_event_hook_text_write_frame *) 0 ; arg1 = (switch_io_event_hook_text_write_frame *)jarg1; @@ -45890,7 +46213,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_text_write_frame( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_kill_channel_kill_channel_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_kill_channel_kill_channel_set___(void * jarg1, void * jarg2) { switch_io_event_hook_kill_channel *arg1 = (switch_io_event_hook_kill_channel *) 0 ; switch_kill_channel_hook_t arg2 = (switch_kill_channel_hook_t) 0 ; @@ -45900,7 +46223,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_kill_channel_kill_channe } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_kill_channel_kill_channel_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_kill_channel_kill_channel_get___(void * jarg1) { void * jresult ; switch_io_event_hook_kill_channel *arg1 = (switch_io_event_hook_kill_channel *) 0 ; switch_kill_channel_hook_t result; @@ -45912,7 +46235,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_kill_channel_kill_chan } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_kill_channel_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_kill_channel_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_kill_channel *arg1 = (switch_io_event_hook_kill_channel *) 0 ; switch_io_event_hook_kill_channel *arg2 = (switch_io_event_hook_kill_channel *) 0 ; @@ -45922,7 +46245,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_kill_channel_next_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_kill_channel_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_kill_channel_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_kill_channel *arg1 = (switch_io_event_hook_kill_channel *) 0 ; switch_io_event_hook_kill_channel *result = 0 ; @@ -45934,7 +46257,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_kill_channel_next_get( } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_kill_channel() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_kill_channel___() { void * jresult ; switch_io_event_hook_kill_channel *result = 0 ; @@ -45944,7 +46267,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_kill_channel() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_kill_channel(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_kill_channel___(void * jarg1) { switch_io_event_hook_kill_channel *arg1 = (switch_io_event_hook_kill_channel *) 0 ; arg1 = (switch_io_event_hook_kill_channel *)jarg1; @@ -45952,7 +46275,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_kill_channel(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_send_dtmf_send_dtmf_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_send_dtmf_send_dtmf_set___(void * jarg1, void * jarg2) { switch_io_event_hook_send_dtmf *arg1 = (switch_io_event_hook_send_dtmf *) 0 ; switch_send_dtmf_hook_t arg2 = (switch_send_dtmf_hook_t) 0 ; @@ -45962,7 +46285,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_send_dtmf_send_dtmf_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_send_dtmf_send_dtmf_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_send_dtmf_send_dtmf_get___(void * jarg1) { void * jresult ; switch_io_event_hook_send_dtmf *arg1 = (switch_io_event_hook_send_dtmf *) 0 ; switch_send_dtmf_hook_t result; @@ -45974,7 +46297,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_send_dtmf_send_dtmf_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_send_dtmf_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_send_dtmf_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_send_dtmf *arg1 = (switch_io_event_hook_send_dtmf *) 0 ; switch_io_event_hook_send_dtmf *arg2 = (switch_io_event_hook_send_dtmf *) 0 ; @@ -45984,7 +46307,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_send_dtmf_next_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_send_dtmf_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_send_dtmf_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_send_dtmf *arg1 = (switch_io_event_hook_send_dtmf *) 0 ; switch_io_event_hook_send_dtmf *result = 0 ; @@ -45996,7 +46319,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_send_dtmf_next_get(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_send_dtmf() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_send_dtmf___() { void * jresult ; switch_io_event_hook_send_dtmf *result = 0 ; @@ -46006,7 +46329,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_send_dtmf() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_send_dtmf(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_send_dtmf___(void * jarg1) { switch_io_event_hook_send_dtmf *arg1 = (switch_io_event_hook_send_dtmf *) 0 ; arg1 = (switch_io_event_hook_send_dtmf *)jarg1; @@ -46014,7 +46337,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_send_dtmf(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_recv_dtmf_recv_dtmf_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_recv_dtmf_recv_dtmf_set___(void * jarg1, void * jarg2) { switch_io_event_hook_recv_dtmf *arg1 = (switch_io_event_hook_recv_dtmf *) 0 ; switch_recv_dtmf_hook_t arg2 = (switch_recv_dtmf_hook_t) 0 ; @@ -46024,7 +46347,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_recv_dtmf_recv_dtmf_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_recv_dtmf_recv_dtmf_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_recv_dtmf_recv_dtmf_get___(void * jarg1) { void * jresult ; switch_io_event_hook_recv_dtmf *arg1 = (switch_io_event_hook_recv_dtmf *) 0 ; switch_recv_dtmf_hook_t result; @@ -46036,7 +46359,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_recv_dtmf_recv_dtmf_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_recv_dtmf_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_recv_dtmf_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_recv_dtmf *arg1 = (switch_io_event_hook_recv_dtmf *) 0 ; switch_io_event_hook_recv_dtmf *arg2 = (switch_io_event_hook_recv_dtmf *) 0 ; @@ -46046,7 +46369,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_recv_dtmf_next_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_recv_dtmf_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_recv_dtmf_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_recv_dtmf *arg1 = (switch_io_event_hook_recv_dtmf *) 0 ; switch_io_event_hook_recv_dtmf *result = 0 ; @@ -46058,7 +46381,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_recv_dtmf_next_get(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_recv_dtmf() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_recv_dtmf___() { void * jresult ; switch_io_event_hook_recv_dtmf *result = 0 ; @@ -46068,7 +46391,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_recv_dtmf() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_recv_dtmf(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_recv_dtmf___(void * jarg1) { switch_io_event_hook_recv_dtmf *arg1 = (switch_io_event_hook_recv_dtmf *) 0 ; arg1 = (switch_io_event_hook_recv_dtmf *)jarg1; @@ -46076,7 +46399,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_recv_dtmf(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_change_state_change_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_state_change_state_change_set___(void * jarg1, void * jarg2) { switch_io_event_hook_state_change *arg1 = (switch_io_event_hook_state_change *) 0 ; switch_state_change_hook_t arg2 = (switch_state_change_hook_t) 0 ; @@ -46086,7 +46409,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_change_state_chang } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_change_state_change_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_state_change_state_change_get___(void * jarg1) { void * jresult ; switch_io_event_hook_state_change *arg1 = (switch_io_event_hook_state_change *) 0 ; switch_state_change_hook_t result; @@ -46098,7 +46421,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_change_state_cha } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_change_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_state_change_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_state_change *arg1 = (switch_io_event_hook_state_change *) 0 ; switch_io_event_hook_state_change *arg2 = (switch_io_event_hook_state_change *) 0 ; @@ -46108,7 +46431,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_change_next_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_change_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_state_change_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_state_change *arg1 = (switch_io_event_hook_state_change *) 0 ; switch_io_event_hook_state_change *result = 0 ; @@ -46120,7 +46443,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_change_next_get( } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_state_change() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_state_change___() { void * jresult ; switch_io_event_hook_state_change *result = 0 ; @@ -46130,7 +46453,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_state_change() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_state_change(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_state_change___(void * jarg1) { switch_io_event_hook_state_change *arg1 = (switch_io_event_hook_state_change *) 0 ; arg1 = (switch_io_event_hook_state_change *)jarg1; @@ -46138,7 +46461,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_state_change(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_run_state_run_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_state_run_state_run_set___(void * jarg1, void * jarg2) { switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ; switch_state_run_hook_t arg2 = (switch_state_run_hook_t) 0 ; @@ -46148,7 +46471,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_run_state_run_set( } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_run_state_run_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_state_run_state_run_get___(void * jarg1) { void * jresult ; switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ; switch_state_run_hook_t result; @@ -46160,7 +46483,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_run_state_run_ge } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_run_next_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_state_run_next_set___(void * jarg1, void * jarg2) { switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ; switch_io_event_hook_state_run *arg2 = (switch_io_event_hook_state_run *) 0 ; @@ -46170,7 +46493,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hook_state_run_next_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_run_next_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hook_state_run_next_get___(void * jarg1) { void * jresult ; switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ; switch_io_event_hook_state_run *result = 0 ; @@ -46182,7 +46505,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hook_state_run_next_get(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_state_run() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hook_state_run___() { void * jresult ; switch_io_event_hook_state_run *result = 0 ; @@ -46192,7 +46515,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hook_state_run() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_state_run(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_state_run___(void * jarg1) { switch_io_event_hook_state_run *arg1 = (switch_io_event_hook_state_run *) 0 ; arg1 = (switch_io_event_hook_state_run *)jarg1; @@ -46200,7 +46523,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hook_state_run(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_outgoing_channel_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_outgoing_channel_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_outgoing_channel_t *arg2 = (switch_io_event_hook_outgoing_channel_t *) 0 ; @@ -46210,7 +46533,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_outgoing_channel_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_outgoing_channel_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_outgoing_channel_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_outgoing_channel_t *result = 0 ; @@ -46222,7 +46545,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_outgoing_channel_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_receive_message_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_receive_message_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_receive_message_t *arg2 = (switch_io_event_hook_receive_message_t *) 0 ; @@ -46232,7 +46555,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_receive_message_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_receive_message_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_receive_message_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_receive_message_t *result = 0 ; @@ -46244,7 +46567,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_receive_message_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_receive_event_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_receive_event_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_receive_event_t *arg2 = (switch_io_event_hook_receive_event_t *) 0 ; @@ -46254,7 +46577,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_receive_event_set(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_receive_event_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_receive_event_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_receive_event_t *result = 0 ; @@ -46266,7 +46589,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_receive_event_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_read_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_read_frame_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_read_frame_t *arg2 = (switch_io_event_hook_read_frame_t *) 0 ; @@ -46276,7 +46599,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_read_frame_set(void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_read_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_read_frame_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_read_frame_t *result = 0 ; @@ -46288,7 +46611,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_read_frame_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_video_read_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_video_read_frame_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_video_read_frame_t *arg2 = (switch_io_event_hook_video_read_frame_t *) 0 ; @@ -46298,7 +46621,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_video_read_frame_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_video_read_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_video_read_frame_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_video_read_frame_t *result = 0 ; @@ -46310,7 +46633,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_video_read_frame_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_write_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_write_frame_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_write_frame_t *arg2 = (switch_io_event_hook_write_frame_t *) 0 ; @@ -46320,7 +46643,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_write_frame_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_write_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_write_frame_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_write_frame_t *result = 0 ; @@ -46332,7 +46655,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_write_frame_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_video_write_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_video_write_frame_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_video_write_frame_t *arg2 = (switch_io_event_hook_video_write_frame_t *) 0 ; @@ -46342,7 +46665,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_video_write_frame_set(v } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_video_write_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_video_write_frame_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_video_write_frame_t *result = 0 ; @@ -46354,7 +46677,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_video_write_frame_get } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_text_write_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_text_write_frame_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_text_write_frame_t *arg2 = (switch_io_event_hook_text_write_frame_t *) 0 ; @@ -46364,7 +46687,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_text_write_frame_set(vo } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_text_write_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_text_write_frame_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_text_write_frame_t *result = 0 ; @@ -46376,7 +46699,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_text_write_frame_get( } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_text_read_frame_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_text_read_frame_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_text_read_frame_t *arg2 = (switch_io_event_hook_text_read_frame_t *) 0 ; @@ -46386,7 +46709,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_text_read_frame_set(voi } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_text_read_frame_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_text_read_frame_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_text_read_frame_t *result = 0 ; @@ -46398,7 +46721,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_text_read_frame_get(v } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_kill_channel_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_kill_channel_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_kill_channel_t *arg2 = (switch_io_event_hook_kill_channel_t *) 0 ; @@ -46408,7 +46731,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_kill_channel_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_kill_channel_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_kill_channel_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_kill_channel_t *result = 0 ; @@ -46420,7 +46743,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_kill_channel_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_send_dtmf_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_send_dtmf_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_send_dtmf_t *arg2 = (switch_io_event_hook_send_dtmf_t *) 0 ; @@ -46430,7 +46753,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_send_dtmf_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_send_dtmf_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_send_dtmf_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_send_dtmf_t *result = 0 ; @@ -46442,7 +46765,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_send_dtmf_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_recv_dtmf_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_recv_dtmf_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_recv_dtmf_t *arg2 = (switch_io_event_hook_recv_dtmf_t *) 0 ; @@ -46452,7 +46775,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_recv_dtmf_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_recv_dtmf_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_recv_dtmf_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_recv_dtmf_t *result = 0 ; @@ -46464,7 +46787,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_recv_dtmf_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_state_change_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_state_change_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_state_change_t *arg2 = (switch_io_event_hook_state_change_t *) 0 ; @@ -46474,7 +46797,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_state_change_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_state_change_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_state_change_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_state_change_t *result = 0 ; @@ -46486,7 +46809,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_state_change_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_state_run_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_state_run_set___(void * jarg1, void * jarg2) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_state_run_t *arg2 = (switch_io_event_hook_state_run_t *) 0 ; @@ -46496,7 +46819,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_io_event_hooks_state_run_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_state_run_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_io_event_hooks_state_run_get___(void * jarg1) { void * jresult ; switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; switch_io_event_hook_state_run_t *result = 0 ; @@ -46508,7 +46831,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_io_event_hooks_state_run_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hooks() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_io_event_hooks___() { void * jresult ; switch_io_event_hooks *result = 0 ; @@ -46518,7 +46841,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_io_event_hooks() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hooks(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_io_event_hooks___(void * jarg1) { switch_io_event_hooks *arg1 = (switch_io_event_hooks *) 0 ; arg1 = (switch_io_event_hooks *)jarg1; @@ -46526,7 +46849,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_io_event_hooks(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_outgoing_channel(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_outgoing_channel___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_outgoing_channel_hook_t arg2 = (switch_outgoing_channel_hook_t) 0 ; @@ -46535,12 +46858,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_outgoing_channel(vo arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_outgoing_channel_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_outgoing_channel(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_receive_message(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_receive_message___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_receive_message_hook_t arg2 = (switch_receive_message_hook_t) 0 ; @@ -46549,12 +46872,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_receive_message(voi arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_receive_message_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_receive_message(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_receive_event(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_receive_event___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_receive_event_hook_t arg2 = (switch_receive_event_hook_t) 0 ; @@ -46563,12 +46886,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_receive_event(void arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_receive_event_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_receive_event(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_state_change(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_state_change___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_state_change_hook_t arg2 = (switch_state_change_hook_t) 0 ; @@ -46577,12 +46900,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_state_change(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_state_change_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_state_change(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_state_run(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_state_run___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_state_run_hook_t arg2 = (switch_state_run_hook_t) 0 ; @@ -46591,12 +46914,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_state_run(void * ja arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_state_run_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_state_run(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_read_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_read_frame___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_read_frame_hook_t arg2 = (switch_read_frame_hook_t) 0 ; @@ -46605,12 +46928,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_read_frame(void * j arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_read_frame_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_read_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_write_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_write_frame___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_write_frame_hook_t arg2 = (switch_write_frame_hook_t) 0 ; @@ -46619,12 +46942,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_write_frame(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_write_frame_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_write_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_video_read_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_video_read_frame___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_video_read_frame_hook_t arg2 = (switch_video_read_frame_hook_t) 0 ; @@ -46633,12 +46956,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_video_read_frame(vo arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_video_read_frame_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_video_read_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_video_write_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_video_write_frame___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_video_write_frame_hook_t arg2 = (switch_video_write_frame_hook_t) 0 ; @@ -46647,12 +46970,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_video_write_frame(v arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_video_write_frame_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_video_write_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_text_read_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_text_read_frame___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_text_read_frame_hook_t arg2 = (switch_text_read_frame_hook_t) 0 ; @@ -46661,12 +46984,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_text_read_frame(voi arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_text_read_frame_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_text_read_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_text_write_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_text_write_frame___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_text_write_frame_hook_t arg2 = (switch_text_write_frame_hook_t) 0 ; @@ -46675,12 +46998,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_text_write_frame(vo arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_text_write_frame_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_text_write_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_kill_channel(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_kill_channel___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_kill_channel_hook_t arg2 = (switch_kill_channel_hook_t) 0 ; @@ -46689,12 +47012,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_kill_channel(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_kill_channel_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_kill_channel(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_send_dtmf(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_send_dtmf___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_send_dtmf_hook_t arg2 = (switch_send_dtmf_hook_t) 0 ; @@ -46703,12 +47026,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_send_dtmf(void * ja arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_send_dtmf_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_send_dtmf(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_recv_dtmf(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_add_recv_dtmf___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_recv_dtmf_hook_t arg2 = (switch_recv_dtmf_hook_t) 0 ; @@ -46717,12 +47040,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_add_recv_dtmf(void * ja arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_recv_dtmf_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_add_recv_dtmf(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_outgoing_channel(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_outgoing_channel___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_outgoing_channel_hook_t arg2 = (switch_outgoing_channel_hook_t) 0 ; @@ -46731,12 +47054,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_outgoing_channel arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_outgoing_channel_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_outgoing_channel(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_receive_message(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_receive_message___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_receive_message_hook_t arg2 = (switch_receive_message_hook_t) 0 ; @@ -46745,12 +47068,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_receive_message( arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_receive_message_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_receive_message(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_receive_event(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_receive_event___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_receive_event_hook_t arg2 = (switch_receive_event_hook_t) 0 ; @@ -46759,12 +47082,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_receive_event(vo arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_receive_event_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_receive_event(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_state_change(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_state_change___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_state_change_hook_t arg2 = (switch_state_change_hook_t) 0 ; @@ -46773,12 +47096,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_state_change(voi arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_state_change_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_state_change(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_state_run(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_state_run___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_state_run_hook_t arg2 = (switch_state_run_hook_t) 0 ; @@ -46787,12 +47110,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_state_run(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_state_run_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_state_run(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_read_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_read_frame___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_read_frame_hook_t arg2 = (switch_read_frame_hook_t) 0 ; @@ -46801,12 +47124,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_read_frame(void arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_read_frame_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_read_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_write_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_write_frame___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_write_frame_hook_t arg2 = (switch_write_frame_hook_t) 0 ; @@ -46815,12 +47138,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_write_frame(void arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_write_frame_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_write_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_video_read_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_video_read_frame___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_video_read_frame_hook_t arg2 = (switch_video_read_frame_hook_t) 0 ; @@ -46829,12 +47152,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_video_read_frame arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_video_read_frame_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_video_read_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_video_write_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_video_write_frame___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_video_write_frame_hook_t arg2 = (switch_video_write_frame_hook_t) 0 ; @@ -46843,12 +47166,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_video_write_fram arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_video_write_frame_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_video_write_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_text_read_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_text_read_frame___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_text_read_frame_hook_t arg2 = (switch_text_read_frame_hook_t) 0 ; @@ -46857,12 +47180,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_text_read_frame( arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_text_read_frame_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_text_read_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_text_write_frame(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_text_write_frame___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_text_write_frame_hook_t arg2 = (switch_text_write_frame_hook_t) 0 ; @@ -46871,12 +47194,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_text_write_frame arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_text_write_frame_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_text_write_frame(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_kill_channel(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_kill_channel___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_kill_channel_hook_t arg2 = (switch_kill_channel_hook_t) 0 ; @@ -46885,12 +47208,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_kill_channel(voi arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_kill_channel_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_kill_channel(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_send_dtmf(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_send_dtmf___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_send_dtmf_hook_t arg2 = (switch_send_dtmf_hook_t) 0 ; @@ -46899,12 +47222,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_send_dtmf(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_send_dtmf_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_send_dtmf(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_recv_dtmf(void * jarg1, void * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_recv_dtmf___(void * jarg1, void * jarg2) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_recv_dtmf_hook_t arg2 = (switch_recv_dtmf_hook_t) 0 ; @@ -46913,12 +47236,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_event_hook_remove_recv_dtmf(void * arg1 = (switch_core_session_t *)jarg1; arg2 = (switch_recv_dtmf_hook_t)jarg2; result = (switch_status_t)switch_core_event_hook_remove_recv_dtmf(arg1,arg2); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_created_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_created_set___(void * jarg1, long long jarg2) { switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; int64_t arg2 ; @@ -46928,7 +47251,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_created_set(void * jarg } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_scheduler_task_created_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_created_get___(void * jarg1) { long long jresult ; switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; int64_t result; @@ -46940,7 +47263,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_scheduler_task_created_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_runtime_set(void * jarg1, long long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_runtime_set___(void * jarg1, long long jarg2) { switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; int64_t arg2 ; @@ -46950,7 +47273,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_runtime_set(void * jarg } -SWIGEXPORT long long SWIGSTDCALL CSharp_switch_scheduler_task_runtime_get(void * jarg1) { +SWIGEXPORT long long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_runtime_get___(void * jarg1) { long long jresult ; switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; int64_t result; @@ -46962,7 +47285,7 @@ SWIGEXPORT long long SWIGSTDCALL CSharp_switch_scheduler_task_runtime_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_cmd_id_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_cmd_id_set___(void * jarg1, unsigned long jarg2) { switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; uint32_t arg2 ; @@ -46972,7 +47295,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_cmd_id_set(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_cmd_id_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_cmd_id_get___(void * jarg1) { unsigned long jresult ; switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; uint32_t result; @@ -46984,7 +47307,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_cmd_id_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_repeat_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_repeat_set___(void * jarg1, unsigned long jarg2) { switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; uint32_t arg2 ; @@ -46994,7 +47317,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_repeat_set(void * jarg1 } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_repeat_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_repeat_get___(void * jarg1) { unsigned long jresult ; switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; uint32_t result; @@ -47006,7 +47329,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_repeat_get(voi } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_group_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_group_set___(void * jarg1, char * jarg2) { switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; char *arg2 = (char *) 0 ; @@ -47024,7 +47347,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_group_set(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_scheduler_task_group_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_group_get___(void * jarg1) { char * jresult ; switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; char *result = 0 ; @@ -47036,7 +47359,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_scheduler_task_group_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_cmd_arg_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_cmd_arg_set___(void * jarg1, void * jarg2) { switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; void *arg2 = (void *) 0 ; @@ -47046,7 +47369,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_cmd_arg_set(void * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_scheduler_task_cmd_arg_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_cmd_arg_get___(void * jarg1) { void * jresult ; switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; void *result = 0 ; @@ -47058,7 +47381,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_scheduler_task_cmd_arg_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_task_id_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_task_id_set___(void * jarg1, unsigned long jarg2) { switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; uint32_t arg2 ; @@ -47068,7 +47391,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_task_id_set(void * jarg } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_task_id_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_task_id_get___(void * jarg1) { unsigned long jresult ; switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; uint32_t result; @@ -47080,7 +47403,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_task_id_get(vo } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_hash_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_hash_set___(void * jarg1, unsigned long jarg2) { switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; unsigned long arg2 ; @@ -47090,7 +47413,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_hash_set(void * jarg1, } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_hash_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_hash_get___(void * jarg1) { unsigned long jresult ; switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; unsigned long result; @@ -47102,7 +47425,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_task_hash_get(void } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_scheduler_task() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_scheduler_task___() { void * jresult ; switch_scheduler_task *result = 0 ; @@ -47112,7 +47435,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_scheduler_task() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_scheduler_task(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_scheduler_task___(void * jarg1) { switch_scheduler_task *arg1 = (switch_scheduler_task *) 0 ; arg1 = (switch_scheduler_task *)jarg1; @@ -47120,7 +47443,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_scheduler_task(void * jarg1) { } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_add_task(void * jarg1, void * jarg2, char * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, unsigned long jarg7) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_add_task___(void * jarg1, void * jarg2, char * jarg3, char * jarg4, unsigned long jarg5, void * jarg6, unsigned long jarg7) { unsigned long jresult ; time_t arg1 ; switch_scheduler_func_t arg2 = (switch_scheduler_func_t) 0 ; @@ -47150,7 +47473,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_add_task(void * jar } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_del_task_id(unsigned long jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_del_task_id___(unsigned long jarg1) { unsigned long jresult ; uint32_t arg1 ; uint32_t result; @@ -47162,7 +47485,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_del_task_id(unsigne } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_del_task_group(char * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_del_task_group___(char * jarg1) { unsigned long jresult ; char *arg1 = (char *) 0 ; uint32_t result; @@ -47174,17 +47497,17 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_scheduler_del_task_group(char } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_thread_start() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_thread_start___() { switch_scheduler_task_thread_start(); } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_scheduler_task_thread_stop() { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_scheduler_task_thread_stop___() { switch_scheduler_task_thread_stop(); } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_file_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_file_set___(void * jarg1, void * jarg2) { switch_config *arg1 = (switch_config *) 0 ; FILE *arg2 = (FILE *) 0 ; @@ -47194,7 +47517,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_file_set(void * jarg1, void * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_config_file_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_file_get___(void * jarg1) { void * jresult ; switch_config *arg1 = (switch_config *) 0 ; FILE *result = 0 ; @@ -47206,7 +47529,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_config_file_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_path_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_path_set___(void * jarg1, char * jarg2) { switch_config *arg1 = (switch_config *) 0 ; char *arg2 ; @@ -47223,7 +47546,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_path_set(void * jarg1, char * j } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_config_path_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_path_get___(void * jarg1) { char * jresult ; switch_config *arg1 = (switch_config *) 0 ; char *result = 0 ; @@ -47235,7 +47558,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_config_path_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_category_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_category_set___(void * jarg1, char * jarg2) { switch_config *arg1 = (switch_config *) 0 ; char *arg2 ; @@ -47252,7 +47575,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_category_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_config_category_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_category_get___(void * jarg1) { char * jresult ; switch_config *arg1 = (switch_config *) 0 ; char *result = 0 ; @@ -47264,7 +47587,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_config_category_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_section_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_section_set___(void * jarg1, char * jarg2) { switch_config *arg1 = (switch_config *) 0 ; char *arg2 ; @@ -47281,7 +47604,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_section_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_config_section_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_section_get___(void * jarg1) { char * jresult ; switch_config *arg1 = (switch_config *) 0 ; char *result = 0 ; @@ -47293,7 +47616,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_config_section_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_buf_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_buf_set___(void * jarg1, char * jarg2) { switch_config *arg1 = (switch_config *) 0 ; char *arg2 ; @@ -47310,7 +47633,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_buf_set(void * jarg1, char * ja } -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_config_buf_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_buf_get___(void * jarg1) { char * jresult ; switch_config *arg1 = (switch_config *) 0 ; char *result = 0 ; @@ -47322,7 +47645,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_config_buf_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_lineno_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_lineno_set___(void * jarg1, int jarg2) { switch_config *arg1 = (switch_config *) 0 ; int arg2 ; @@ -47332,7 +47655,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_lineno_set(void * jarg1, int ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_lineno_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_lineno_get___(void * jarg1) { int jresult ; switch_config *arg1 = (switch_config *) 0 ; int result; @@ -47344,7 +47667,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_lineno_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_catno_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_catno_set___(void * jarg1, int jarg2) { switch_config *arg1 = (switch_config *) 0 ; int arg2 ; @@ -47354,7 +47677,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_catno_set(void * jarg1, int jar } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_catno_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_catno_get___(void * jarg1) { int jresult ; switch_config *arg1 = (switch_config *) 0 ; int result; @@ -47366,7 +47689,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_catno_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_sectno_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_sectno_set___(void * jarg1, int jarg2) { switch_config *arg1 = (switch_config *) 0 ; int arg2 ; @@ -47376,7 +47699,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_sectno_set(void * jarg1, int ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_sectno_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_sectno_get___(void * jarg1) { int jresult ; switch_config *arg1 = (switch_config *) 0 ; int result; @@ -47388,7 +47711,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_sectno_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_lockto_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_lockto_set___(void * jarg1, int jarg2) { switch_config *arg1 = (switch_config *) 0 ; int arg2 ; @@ -47398,7 +47721,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_lockto_set(void * jarg1, int ja } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_lockto_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_lockto_get___(void * jarg1) { int jresult ; switch_config *arg1 = (switch_config *) 0 ; int result; @@ -47410,7 +47733,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_lockto_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_config() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_switch_config___() { void * jresult ; switch_config *result = 0 ; @@ -47420,7 +47743,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_config() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_config(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_switch_config___(void * jarg1) { switch_config *arg1 = (switch_config *) 0 ; arg1 = (switch_config *)jarg1; @@ -47428,7 +47751,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_config(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_open_file(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_open_file___(void * jarg1, char * jarg2) { int jresult ; switch_config_t *arg1 = (switch_config_t *) 0 ; char *arg2 = (char *) 0 ; @@ -47442,7 +47765,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_open_file(void * jarg1, char * j } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_close_file(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_close_file___(void * jarg1) { switch_config_t *arg1 = (switch_config_t *) 0 ; arg1 = (switch_config_t *)jarg1; @@ -47450,7 +47773,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_switch_config_close_file(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_next_pair(void * jarg1, void * jarg2, void * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_config_next_pair___(void * jarg1, void * jarg2, void * jarg3) { int jresult ; switch_config_t *arg1 = (switch_config_t *) 0 ; char **arg2 = (char **) 0 ; @@ -47466,7 +47789,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_config_next_pair(void * jarg1, void * j } -SWIGEXPORT void SWIGSTDCALL CSharp_setGlobalVariable(char * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_setGlobalVariable___(char * jarg1, char * jarg2) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -47476,7 +47799,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_setGlobalVariable(char * jarg1, char * jarg2) } -SWIGEXPORT char * SWIGSTDCALL CSharp_getGlobalVariable(char * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_getGlobalVariable___(char * jarg1) { char * jresult ; char *arg1 = (char *) 0 ; char *result = 0 ; @@ -47489,7 +47812,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_getGlobalVariable(char * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_consoleLog(char * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_consoleLog___(char * jarg1, char * jarg2) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -47499,7 +47822,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_consoleLog(char * jarg1, char * jarg2) { } -SWIGEXPORT void SWIGSTDCALL CSharp_consoleLog2(char * jarg1, char * jarg2, char * jarg3, int jarg4, char * jarg5) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_consoleLog2___(char * jarg1, char * jarg2, char * jarg3, int jarg4, char * jarg5) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -47515,7 +47838,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_consoleLog2(char * jarg1, char * jarg2, char } -SWIGEXPORT void SWIGSTDCALL CSharp_consoleCleanLog(char * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_consoleCleanLog___(char * jarg1) { char *arg1 = (char *) 0 ; arg1 = (char *)jarg1; @@ -47523,7 +47846,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_consoleCleanLog(char * jarg1) { } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_running() { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_running___() { unsigned int jresult ; bool result; @@ -47533,7 +47856,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_running() { } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_email(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_email___(char * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7) { unsigned int jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -47557,7 +47880,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_email(char * jarg1, char * jarg2, cha } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_IvrMenu(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, char * jarg11, int jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_IvrMenu___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, char * jarg11, int jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17) { void * jresult ; IVRMenu *arg1 = (IVRMenu *) 0 ; char *arg2 = (char *) 0 ; @@ -47601,7 +47924,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_IvrMenu(void * jarg1, char * jarg2, cha } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_IvrMenu(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_IvrMenu___(void * jarg1) { IVRMenu *arg1 = (IVRMenu *) 0 ; arg1 = (IVRMenu *)jarg1; @@ -47609,7 +47932,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_IvrMenu(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_IvrMenu_bindAction(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_IvrMenu_bindAction___(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { IVRMenu *arg1 = (IVRMenu *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -47623,7 +47946,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_IvrMenu_bindAction(void * jarg1, char * jarg2 } -SWIGEXPORT void SWIGSTDCALL CSharp_IvrMenu_Execute(void * jarg1, void * jarg2, char * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_IvrMenu_Execute___(void * jarg1, void * jarg2, char * jarg3) { IVRMenu *arg1 = (IVRMenu *) 0 ; CoreSession *arg2 = (CoreSession *) 0 ; char *arg3 = (char *) 0 ; @@ -47635,7 +47958,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_IvrMenu_Execute(void * jarg1, void * jarg2, c } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_Api(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_Api___(void * jarg1) { void * jresult ; CoreSession *arg1 = (CoreSession *) NULL ; API *result = 0 ; @@ -47647,7 +47970,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_Api(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_Api(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_Api___(void * jarg1) { API *arg1 = (API *) 0 ; arg1 = (API *)jarg1; @@ -47655,7 +47978,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_Api(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_Api_Execute(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_Api_Execute___(void * jarg1, char * jarg2, char * jarg3) { char * jresult ; API *arg1 = (API *) 0 ; char *arg2 = (char *) 0 ; @@ -47672,7 +47995,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Api_Execute(void * jarg1, char * jarg2, cha } -SWIGEXPORT char * SWIGSTDCALL CSharp_Api_ExecuteString(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_Api_ExecuteString___(void * jarg1, char * jarg2) { char * jresult ; API *arg1 = (API *) 0 ; char *arg2 = (char *) 0 ; @@ -47687,7 +48010,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Api_ExecuteString(void * jarg1, char * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_Api_getTime(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_Api_getTime___(void * jarg1) { char * jresult ; API *arg1 = (API *) 0 ; char *result = 0 ; @@ -47699,7 +48022,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Api_getTime(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_input_callback_state_t_function_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_input_callback_state_t_function_set___(void * jarg1, void * jarg2) { input_callback_state *arg1 = (input_callback_state *) 0 ; void *arg2 = (void *) 0 ; @@ -47709,7 +48032,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_input_callback_state_t_function_set(void * ja } -SWIGEXPORT void * SWIGSTDCALL CSharp_input_callback_state_t_function_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_input_callback_state_t_function_get___(void * jarg1) { void * jresult ; input_callback_state *arg1 = (input_callback_state *) 0 ; void *result = 0 ; @@ -47721,7 +48044,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_input_callback_state_t_function_get(void * } -SWIGEXPORT void SWIGSTDCALL CSharp_input_callback_state_t_threadState_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_input_callback_state_t_threadState_set___(void * jarg1, void * jarg2) { input_callback_state *arg1 = (input_callback_state *) 0 ; void *arg2 = (void *) 0 ; @@ -47731,7 +48054,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_input_callback_state_t_threadState_set(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_input_callback_state_t_threadState_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_input_callback_state_t_threadState_get___(void * jarg1) { void * jresult ; input_callback_state *arg1 = (input_callback_state *) 0 ; void *result = 0 ; @@ -47743,7 +48066,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_input_callback_state_t_threadState_get(void } -SWIGEXPORT void SWIGSTDCALL CSharp_input_callback_state_t_extra_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_input_callback_state_t_extra_set___(void * jarg1, void * jarg2) { input_callback_state *arg1 = (input_callback_state *) 0 ; void *arg2 = (void *) 0 ; @@ -47753,7 +48076,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_input_callback_state_t_extra_set(void * jarg1 } -SWIGEXPORT void * SWIGSTDCALL CSharp_input_callback_state_t_extra_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_input_callback_state_t_extra_get___(void * jarg1) { void * jresult ; input_callback_state *arg1 = (input_callback_state *) 0 ; void *result = 0 ; @@ -47765,7 +48088,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_input_callback_state_t_extra_get(void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_input_callback_state_t_funcargs_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_input_callback_state_t_funcargs_set___(void * jarg1, char * jarg2) { input_callback_state *arg1 = (input_callback_state *) 0 ; char *arg2 = (char *) 0 ; @@ -47783,7 +48106,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_input_callback_state_t_funcargs_set(void * ja } -SWIGEXPORT char * SWIGSTDCALL CSharp_input_callback_state_t_funcargs_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_input_callback_state_t_funcargs_get___(void * jarg1) { char * jresult ; input_callback_state *arg1 = (input_callback_state *) 0 ; char *result = 0 ; @@ -47795,7 +48118,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_input_callback_state_t_funcargs_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_input_callback_state_t() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_input_callback_state_t___() { void * jresult ; input_callback_state *result = 0 ; @@ -47805,7 +48128,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_input_callback_state_t() { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_input_callback_state_t(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_input_callback_state_t___(void * jarg1) { input_callback_state *arg1 = (input_callback_state *) 0 ; arg1 = (input_callback_state *)jarg1; @@ -47813,7 +48136,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_input_callback_state_t(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_DTMF_digit_set(void * jarg1, char jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_DTMF_digit_set___(void * jarg1, char jarg2) { DTMF *arg1 = (DTMF *) 0 ; char arg2 ; @@ -47823,7 +48146,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_DTMF_digit_set(void * jarg1, char jarg2) { } -SWIGEXPORT char SWIGSTDCALL CSharp_DTMF_digit_get(void * jarg1) { +SWIGEXPORT char SWIGSTDCALL CSharp_FreeSWITCHfNative_DTMF_digit_get___(void * jarg1) { char jresult ; DTMF *arg1 = (DTMF *) 0 ; char result; @@ -47835,7 +48158,7 @@ SWIGEXPORT char SWIGSTDCALL CSharp_DTMF_digit_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_DTMF_duration_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_DTMF_duration_set___(void * jarg1, unsigned long jarg2) { DTMF *arg1 = (DTMF *) 0 ; uint32_t arg2 ; @@ -47845,7 +48168,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_DTMF_duration_set(void * jarg1, unsigned long } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_DTMF_duration_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_DTMF_duration_get___(void * jarg1) { unsigned long jresult ; DTMF *arg1 = (DTMF *) 0 ; uint32_t result; @@ -47857,7 +48180,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_DTMF_duration_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_DTMF(char jarg1, unsigned long jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_DTMF___(char jarg1, unsigned long jarg2) { void * jresult ; char arg1 ; uint32_t arg2 = (uint32_t) 2000 ; @@ -47871,7 +48194,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_DTMF(char jarg1, unsigned long jarg2) { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_DTMF(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_DTMF___(void * jarg1) { DTMF *arg1 = (DTMF *) 0 ; arg1 = (DTMF *)jarg1; @@ -47879,7 +48202,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_DTMF(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_Stream__SWIG_0() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_Stream__SWIG_0___() { void * jresult ; Stream *result = 0 ; @@ -47889,7 +48212,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_Stream__SWIG_0() { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_Stream__SWIG_1(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_Stream__SWIG_1___(void * jarg1) { void * jresult ; switch_stream_handle_t *arg1 = (switch_stream_handle_t *) 0 ; Stream *result = 0 ; @@ -47901,7 +48224,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_Stream__SWIG_1(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_Stream(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_Stream___(void * jarg1) { Stream *arg1 = (Stream *) 0 ; arg1 = (Stream *)jarg1; @@ -47909,7 +48232,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_Stream(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_Stream_read(void * jarg1, void * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_Stream_read___(void * jarg1, void * jarg2) { char * jresult ; Stream *arg1 = (Stream *) 0 ; int *arg2 = (int *) 0 ; @@ -47923,7 +48246,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Stream_read(void * jarg1, void * jarg2) { } -SWIGEXPORT void SWIGSTDCALL CSharp_Stream_Write(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_Stream_Write___(void * jarg1, char * jarg2) { Stream *arg1 = (Stream *) 0 ; char *arg2 = (char *) 0 ; @@ -47933,7 +48256,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Stream_Write(void * jarg1, char * jarg2) { } -SWIGEXPORT void SWIGSTDCALL CSharp_Stream_raw_write(void * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_Stream_raw_write___(void * jarg1, char * jarg2, int jarg3) { Stream *arg1 = (Stream *) 0 ; char *arg2 = (char *) 0 ; int arg3 ; @@ -47945,7 +48268,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Stream_raw_write(void * jarg1, char * jarg2, } -SWIGEXPORT char * SWIGSTDCALL CSharp_Stream_get_data(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_Stream_get_data___(void * jarg1) { char * jresult ; Stream *arg1 = (Stream *) 0 ; char *result = 0 ; @@ -47957,7 +48280,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Stream_get_data(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_Event_InternalEvent_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_InternalEvent_set___(void * jarg1, void * jarg2) { Event *arg1 = (Event *) 0 ; switch_event_t *arg2 = (switch_event_t *) 0 ; @@ -47967,7 +48290,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Event_InternalEvent_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_Event_InternalEvent_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_InternalEvent_get___(void * jarg1) { void * jresult ; Event *arg1 = (Event *) 0 ; switch_event_t *result = 0 ; @@ -47979,7 +48302,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Event_InternalEvent_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_Event_serialized_string_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_serialized_string_set___(void * jarg1, char * jarg2) { Event *arg1 = (Event *) 0 ; char *arg2 = (char *) 0 ; @@ -47997,7 +48320,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Event_serialized_string_set(void * jarg1, cha } -SWIGEXPORT char * SWIGSTDCALL CSharp_Event_serialized_string_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_serialized_string_get___(void * jarg1) { char * jresult ; Event *arg1 = (Event *) 0 ; char *result = 0 ; @@ -48009,7 +48332,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Event_serialized_string_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_Event_mine_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_mine_set___(void * jarg1, int jarg2) { Event *arg1 = (Event *) 0 ; int arg2 ; @@ -48019,7 +48342,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Event_mine_set(void * jarg1, int jarg2) { } -SWIGEXPORT int SWIGSTDCALL CSharp_Event_mine_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_mine_get___(void * jarg1) { int jresult ; Event *arg1 = (Event *) 0 ; int result; @@ -48031,7 +48354,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Event_mine_get(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_Event__SWIG_0(char * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_Event__SWIG_0___(char * jarg1, char * jarg2) { void * jresult ; char *arg1 = (char *) 0 ; char *arg2 = (char *) NULL ; @@ -48045,7 +48368,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_Event__SWIG_0(char * jarg1, char * jarg } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_Event__SWIG_1(void * jarg1, int jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_Event__SWIG_1___(void * jarg1, int jarg2) { void * jresult ; switch_event_t *arg1 = (switch_event_t *) 0 ; int arg2 = (int) 0 ; @@ -48059,7 +48382,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_Event__SWIG_1(void * jarg1, int jarg2) } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_Event(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_Event___(void * jarg1) { Event *arg1 = (Event *) 0 ; arg1 = (Event *)jarg1; @@ -48067,7 +48390,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_Event(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_Event_chat_execute(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_chat_execute___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; Event *arg1 = (Event *) 0 ; char *arg2 = (char *) 0 ; @@ -48083,7 +48406,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Event_chat_execute(void * jarg1, char * jarg2, } -SWIGEXPORT int SWIGSTDCALL CSharp_Event_chat_send(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_chat_send___(void * jarg1, char * jarg2) { int jresult ; Event *arg1 = (Event *) 0 ; char *arg2 = (char *) NULL ; @@ -48097,7 +48420,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Event_chat_send(void * jarg1, char * jarg2) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_Event_Serialize(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_Serialize___(void * jarg1, char * jarg2) { char * jresult ; Event *arg1 = (Event *) 0 ; char *arg2 = (char *) NULL ; @@ -48111,7 +48434,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Event_Serialize(void * jarg1, char * jarg2) } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_SetPriority(void * jarg1, int jarg2) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_SetPriority___(void * jarg1, int jarg2) { unsigned int jresult ; Event *arg1 = (Event *) 0 ; switch_priority_t arg2 = (switch_priority_t) SWITCH_PRIORITY_NORMAL ; @@ -48125,7 +48448,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_SetPriority(void * jarg1, int j } -SWIGEXPORT char * SWIGSTDCALL CSharp_Event_GetHeader(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_GetHeader___(void * jarg1, char * jarg2) { char * jresult ; Event *arg1 = (Event *) 0 ; char *arg2 = (char *) 0 ; @@ -48139,7 +48462,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Event_GetHeader(void * jarg1, char * jarg2) } -SWIGEXPORT char * SWIGSTDCALL CSharp_Event_GetBody(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_GetBody___(void * jarg1) { char * jresult ; Event *arg1 = (Event *) 0 ; char *result = 0 ; @@ -48151,7 +48474,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Event_GetBody(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_Event_GetEventType(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_GetEventType___(void * jarg1) { char * jresult ; Event *arg1 = (Event *) 0 ; char *result = 0 ; @@ -48163,7 +48486,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_Event_GetEventType(void * jarg1) { } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_AddBody(void * jarg1, char * jarg2) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_AddBody___(void * jarg1, char * jarg2) { unsigned int jresult ; Event *arg1 = (Event *) 0 ; char *arg2 = (char *) 0 ; @@ -48177,7 +48500,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_AddBody(void * jarg1, char * ja } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_AddHeader(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_AddHeader___(void * jarg1, char * jarg2, char * jarg3) { unsigned int jresult ; Event *arg1 = (Event *) 0 ; char *arg2 = (char *) 0 ; @@ -48193,7 +48516,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_AddHeader(void * jarg1, char * } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_DeleteHeader(void * jarg1, char * jarg2) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_DeleteHeader___(void * jarg1, char * jarg2) { unsigned int jresult ; Event *arg1 = (Event *) 0 ; char *arg2 = (char *) 0 ; @@ -48207,7 +48530,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_DeleteHeader(void * jarg1, char } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_Fire(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_Event_Fire___(void * jarg1) { unsigned int jresult ; Event *arg1 = (Event *) 0 ; bool result; @@ -48219,7 +48542,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Event_Fire(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_events_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_events_set___(void * jarg1, void * jarg2) { EventConsumer *arg1 = (EventConsumer *) 0 ; switch_queue_t *arg2 = (switch_queue_t *) 0 ; @@ -48229,7 +48552,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_events_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_EventConsumer_events_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_events_get___(void * jarg1) { void * jresult ; EventConsumer *arg1 = (EventConsumer *) 0 ; switch_queue_t *result = 0 ; @@ -48241,7 +48564,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_EventConsumer_events_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_e_event_id_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_e_event_id_set___(void * jarg1, int jarg2) { EventConsumer *arg1 = (EventConsumer *) 0 ; switch_event_types_t arg2 ; @@ -48251,19 +48574,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_e_event_id_set(void * jarg1, in } -SWIGEXPORT int SWIGSTDCALL CSharp_EventConsumer_e_event_id_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_e_event_id_get___(void * jarg1) { int jresult ; EventConsumer *arg1 = (EventConsumer *) 0 ; switch_event_types_t result; arg1 = (EventConsumer *)jarg1; result = (switch_event_types_t) ((arg1)->e_event_id); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_e_callback_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_e_callback_set___(void * jarg1, char * jarg2) { EventConsumer *arg1 = (EventConsumer *) 0 ; char *arg2 = (char *) 0 ; @@ -48281,7 +48604,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_e_callback_set(void * jarg1, ch } -SWIGEXPORT char * SWIGSTDCALL CSharp_EventConsumer_e_callback_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_e_callback_get___(void * jarg1) { char * jresult ; EventConsumer *arg1 = (EventConsumer *) 0 ; char *result = 0 ; @@ -48293,7 +48616,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_EventConsumer_e_callback_get(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_e_subclass_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_e_subclass_name_set___(void * jarg1, char * jarg2) { EventConsumer *arg1 = (EventConsumer *) 0 ; char *arg2 = (char *) 0 ; @@ -48311,7 +48634,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_e_subclass_name_set(void * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_EventConsumer_e_subclass_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_e_subclass_name_get___(void * jarg1) { char * jresult ; EventConsumer *arg1 = (EventConsumer *) 0 ; char *result = 0 ; @@ -48323,7 +48646,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_EventConsumer_e_subclass_name_get(void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_e_cb_arg_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_e_cb_arg_set___(void * jarg1, char * jarg2) { EventConsumer *arg1 = (EventConsumer *) 0 ; char *arg2 = (char *) 0 ; @@ -48341,7 +48664,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_e_cb_arg_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_EventConsumer_e_cb_arg_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_e_cb_arg_get___(void * jarg1) { char * jresult ; EventConsumer *arg1 = (EventConsumer *) 0 ; char *result = 0 ; @@ -48353,7 +48676,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_EventConsumer_e_cb_arg_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_enodes_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_enodes_set___(void * jarg1, void * jarg2) { EventConsumer *arg1 = (EventConsumer *) 0 ; switch_event_node_t **arg2 ; @@ -48367,7 +48690,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_enodes_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_EventConsumer_enodes_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_enodes_get___(void * jarg1) { void * jresult ; EventConsumer *arg1 = (EventConsumer *) 0 ; switch_event_node_t **result = 0 ; @@ -48379,7 +48702,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_EventConsumer_enodes_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_node_index_set(void * jarg1, unsigned long jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_node_index_set___(void * jarg1, unsigned long jarg2) { EventConsumer *arg1 = (EventConsumer *) 0 ; uint32_t arg2 ; @@ -48389,7 +48712,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_node_index_set(void * jarg1, un } -SWIGEXPORT unsigned long SWIGSTDCALL CSharp_EventConsumer_node_index_get(void * jarg1) { +SWIGEXPORT unsigned long SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_node_index_get___(void * jarg1) { unsigned long jresult ; EventConsumer *arg1 = (EventConsumer *) 0 ; uint32_t result; @@ -48401,7 +48724,7 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_EventConsumer_node_index_get(void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_EventConsumer(char * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_EventConsumer___(char * jarg1, char * jarg2, int jarg3) { void * jresult ; char *arg1 = (char *) NULL ; char *arg2 = (char *) "" ; @@ -48417,7 +48740,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_EventConsumer(char * jarg1, char * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_EventConsumer(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_EventConsumer___(void * jarg1) { EventConsumer *arg1 = (EventConsumer *) 0 ; arg1 = (EventConsumer *)jarg1; @@ -48425,7 +48748,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_EventConsumer(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_EventConsumer_bind(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_bind___(void * jarg1, char * jarg2, char * jarg3) { int jresult ; EventConsumer *arg1 = (EventConsumer *) 0 ; char *arg2 = (char *) 0 ; @@ -48441,7 +48764,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_EventConsumer_bind(void * jarg1, char * jarg2, } -SWIGEXPORT void * SWIGSTDCALL CSharp_EventConsumer_pop(void * jarg1, int jarg2, int jarg3) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_pop___(void * jarg1, int jarg2, int jarg3) { void * jresult ; EventConsumer *arg1 = (EventConsumer *) 0 ; int arg2 = (int) 0 ; @@ -48457,7 +48780,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_EventConsumer_pop(void * jarg1, int jarg2, } -SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_cleanup(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_EventConsumer_cleanup___(void * jarg1) { EventConsumer *arg1 = (EventConsumer *) 0 ; arg1 = (EventConsumer *)jarg1; @@ -48465,7 +48788,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_EventConsumer_cleanup(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_CoreSession(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_CoreSession___(void * jarg1) { CoreSession *arg1 = (CoreSession *) 0 ; arg1 = (CoreSession *)jarg1; @@ -48473,7 +48796,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_CoreSession(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_InternalSession_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_InternalSession_set___(void * jarg1, void * jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; switch_core_session_t *arg2 = (switch_core_session_t *) 0 ; @@ -48483,7 +48806,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_InternalSession_set(void * jarg1, } -SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_InternalSession_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_InternalSession_get___(void * jarg1) { void * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; switch_core_session_t *result = 0 ; @@ -48495,7 +48818,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_InternalSession_get(void * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_channel_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_channel_set___(void * jarg1, void * jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; switch_channel_t *arg2 = (switch_channel_t *) 0 ; @@ -48505,7 +48828,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_channel_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_channel_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_channel_get___(void * jarg1) { void * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; switch_channel_t *result = 0 ; @@ -48517,7 +48840,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_channel_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_flags_set(void * jarg1, unsigned int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_flags_set___(void * jarg1, unsigned int jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; unsigned int arg2 ; @@ -48527,7 +48850,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_flags_set(void * jarg1, unsigned } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_flags_get(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_flags_get___(void * jarg1) { unsigned int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; unsigned int result; @@ -48539,7 +48862,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_flags_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_allocated_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_allocated_set___(void * jarg1, int jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; int arg2 ; @@ -48549,7 +48872,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_allocated_set(void * jarg1, int j } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_allocated_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_allocated_get___(void * jarg1) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int result; @@ -48561,7 +48884,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_allocated_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_cb_state_set(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_cb_state_set___(void * jarg1, void * jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; input_callback_state *arg2 = (input_callback_state *) 0 ; @@ -48571,7 +48894,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_cb_state_set(void * jarg1, void * } -SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_cb_state_get(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_cb_state_get___(void * jarg1) { void * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; input_callback_state *result = 0 ; @@ -48583,7 +48906,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_cb_state_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_HookState_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_HookState_set___(void * jarg1, int jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; switch_channel_state_t arg2 ; @@ -48593,19 +48916,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_HookState_set(void * jarg1, int j } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_HookState_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_HookState_get___(void * jarg1) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; switch_channel_state_t result; arg1 = (CoreSession *)jarg1; result = (switch_channel_state_t) ((arg1)->hook_state); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_cause_set(void * jarg1, int jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_cause_set___(void * jarg1, int jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; switch_call_cause_t arg2 ; @@ -48615,19 +48938,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_cause_set(void * jarg1, int jarg2 } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_cause_get(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_cause_get___(void * jarg1) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; switch_call_cause_t result; arg1 = (CoreSession *)jarg1; result = (switch_call_cause_t) ((arg1)->cause); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_uuid_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_uuid_set___(void * jarg1, char * jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; @@ -48645,7 +48968,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_uuid_set(void * jarg1, char * jar } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_uuid_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_uuid_get___(void * jarg1) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *result = 0 ; @@ -48657,7 +48980,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_uuid_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_tts_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_tts_name_set___(void * jarg1, char * jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; @@ -48675,7 +48998,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_tts_name_set(void * jarg1, char * } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_tts_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_tts_name_get___(void * jarg1) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *result = 0 ; @@ -48687,7 +49010,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_tts_name_get(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_voice_name_set(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_voice_name_set___(void * jarg1, char * jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; @@ -48705,7 +49028,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_voice_name_set(void * jarg1, char } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_voice_name_get(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_voice_name_get___(void * jarg1) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *result = 0 ; @@ -48717,7 +49040,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_voice_name_get(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_insertFile(void * jarg1, char * jarg2, char * jarg3, int jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_insertFile___(void * jarg1, char * jarg2, char * jarg3, int jarg4) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; @@ -48735,7 +49058,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_insertFile(void * jarg1, char * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_Answer(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_Answer___(void * jarg1) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int result; @@ -48747,7 +49070,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_Answer(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_print(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_print___(void * jarg1, char * jarg2) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; @@ -48761,7 +49084,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_print(void * jarg1, char * jarg2) } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_preAnswer(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_preAnswer___(void * jarg1) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int result; @@ -48773,7 +49096,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_preAnswer(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_Hangup(void * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_Hangup___(void * jarg1, char * jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) "normal_clearing" ; @@ -48783,7 +49106,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_Hangup(void * jarg1, char * jarg2 } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_hangupState(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_hangupState___(void * jarg1) { CoreSession *arg1 = (CoreSession *) 0 ; arg1 = (CoreSession *)jarg1; @@ -48791,7 +49114,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_hangupState(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_SetVariable(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_SetVariable___(void * jarg1, char * jarg2, char * jarg3) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -48803,7 +49126,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_SetVariable(void * jarg1, char * } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_SetPrivate(void * jarg1, char * jarg2, void * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_SetPrivate___(void * jarg1, char * jarg2, void * jarg3) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; void *arg3 = (void *) 0 ; @@ -48815,7 +49138,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_SetPrivate(void * jarg1, char * j } -SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_GetPrivate(void * jarg1, char * jarg2) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_GetPrivate___(void * jarg1, char * jarg2) { void * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; @@ -48829,7 +49152,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_GetPrivate(void * jarg1, char * } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetVariable(void * jarg1, char * jarg2) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_GetVariable___(void * jarg1, char * jarg2) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; @@ -48843,7 +49166,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetVariable(void * jarg1, char } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_Say(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_Say___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5, char * jarg6) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -48861,7 +49184,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_Say(void * jarg1, char * jarg2, c } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_SayPhrase(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_SayPhrase___(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) "" ; @@ -48875,7 +49198,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_SayPhrase(void * jarg1, char * ja } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_hangupCause(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_hangupCause___(void * jarg1) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *result = 0 ; @@ -48887,7 +49210,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_hangupCause(void * jarg1) { } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_getState(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_getState___(void * jarg1) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *result = 0 ; @@ -48899,7 +49222,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_getState(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_RecordFile(void * jarg1, char * jarg2, int jarg3, int jarg4, int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_RecordFile___(void * jarg1, char * jarg2, int jarg3, int jarg4, int jarg5) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; @@ -48919,7 +49242,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_RecordFile(void * jarg1, char * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_originate(void * jarg1, void * jarg2, char * jarg3, int jarg4, void * jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_originate___(void * jarg1, void * jarg2, char * jarg3, int jarg4, void * jarg5) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; CoreSession *arg2 = (CoreSession *) 0 ; @@ -48939,7 +49262,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_originate(void * jarg1, void * jar } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_destroy(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_destroy___(void * jarg1) { CoreSession *arg1 = (CoreSession *) 0 ; arg1 = (CoreSession *)jarg1; @@ -48947,7 +49270,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_destroy(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_Speak(void * jarg1, char * jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_Speak___(void * jarg1, char * jarg2) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; @@ -48961,7 +49284,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_Speak(void * jarg1, char * jarg2) } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_SetTtsParameters(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_SetTtsParameters___(void * jarg1, char * jarg2, char * jarg3) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -48973,7 +49296,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_SetTtsParameters(void * jarg1, ch } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_set_tts_params(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_set_tts_params___(void * jarg1, char * jarg2, char * jarg3) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -48985,7 +49308,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_set_tts_params(void * jarg1, char } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_CollectDigits__SWIG_0(void * jarg1, int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_CollectDigits__SWIG_0___(void * jarg1, int jarg2) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int arg2 ; @@ -48999,7 +49322,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_CollectDigits__SWIG_0(void * jarg1 } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_CollectDigits__SWIG_1(void * jarg1, int jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_CollectDigits__SWIG_1___(void * jarg1, int jarg2, int jarg3) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int arg2 ; @@ -49015,7 +49338,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_CollectDigits__SWIG_1(void * jarg1 } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetDigits__SWIG_0(void * jarg1, int jarg2, char * jarg3, int jarg4) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_GetDigits__SWIG_0___(void * jarg1, int jarg2, char * jarg3, int jarg4) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int arg2 ; @@ -49033,7 +49356,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetDigits__SWIG_0(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetDigits__SWIG_1(void * jarg1, int jarg2, char * jarg3, int jarg4, int jarg5) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_GetDigits__SWIG_1___(void * jarg1, int jarg2, char * jarg3, int jarg4, int jarg5) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int arg2 ; @@ -49053,7 +49376,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetDigits__SWIG_1(void * jarg1, } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetDigits__SWIG_2(void * jarg1, int jarg2, char * jarg3, int jarg4, int jarg5, int jarg6) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_GetDigits__SWIG_2___(void * jarg1, int jarg2, char * jarg3, int jarg4, int jarg5, int jarg6) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int arg2 ; @@ -49075,7 +49398,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetDigits__SWIG_2(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_Transfer(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_Transfer___(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; @@ -49093,7 +49416,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_Transfer(void * jarg1, char * jarg } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_read(void * jarg1, int jarg2, int jarg3, char * jarg4, int jarg5, char * jarg6, int jarg7) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_read___(void * jarg1, int jarg2, int jarg3, char * jarg4, int jarg5, char * jarg6, int jarg7) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int arg2 ; @@ -49117,7 +49440,23 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_read(void * jarg1, int jarg2, i } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_PlayAndGetDigits(void * jarg1, int jarg2, int jarg3, int jarg4, int jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, int jarg11, char * jarg12) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_detectSpeech___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, char * jarg5) { + CoreSession *arg1 = (CoreSession *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) NULL ; + char *arg4 = (char *) NULL ; + char *arg5 = (char *) NULL ; + + arg1 = (CoreSession *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + arg4 = (char *)jarg4; + arg5 = (char *)jarg5; + (arg1)->detectSpeech(arg2,arg3,arg4,arg5); +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_PlayAndGetDigits___(void * jarg1, int jarg2, int jarg3, int jarg4, int jarg5, char * jarg6, char * jarg7, char * jarg8, char * jarg9, char * jarg10, int jarg11, char * jarg12) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int arg2 ; @@ -49151,7 +49490,26 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_PlayAndGetDigits(void * jarg1, } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_StreamFile(void * jarg1, char * jarg2, int jarg3) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_playAndDetectSpeech___(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { + char * jresult ; + CoreSession *arg1 = (CoreSession *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + char *result = 0 ; + + arg1 = (CoreSession *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + arg4 = (char *)jarg4; + result = (char *)(arg1)->playAndDetectSpeech(arg2,arg3,arg4); + jresult = SWIG_csharp_string_callback((const char *)result); + free(result); + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_StreamFile___(void * jarg1, char * jarg2, int jarg3) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; @@ -49167,7 +49525,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_StreamFile(void * jarg1, char * ja } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_sleep(void * jarg1, int jarg2, int jarg3) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_sleep___(void * jarg1, int jarg2, int jarg3) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int arg2 ; @@ -49183,7 +49541,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_sleep(void * jarg1, int jarg2, int } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_flushEvents(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_flushEvents___(void * jarg1) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int result; @@ -49195,7 +49553,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_flushEvents(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_flushDigits(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_flushDigits___(void * jarg1) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; int result; @@ -49207,7 +49565,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_flushDigits(void * jarg1) { } -SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_SetAutoHangup(void * jarg1, unsigned int jarg2) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_SetAutoHangup___(void * jarg1, unsigned int jarg2) { int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; bool arg2 ; @@ -49221,7 +49579,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_CoreSession_SetAutoHangup(void * jarg1, unsign } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_Ready(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_Ready___(void * jarg1) { unsigned int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; bool result; @@ -49233,7 +49591,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_Ready(void * jarg1) { } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_bridged(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_bridged___(void * jarg1) { unsigned int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; bool result; @@ -49245,7 +49603,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_bridged(void * jarg1) { } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_answered(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_answered___(void * jarg1) { unsigned int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; bool result; @@ -49257,7 +49615,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_answered(void * jarg1) { } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_mediaReady(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_mediaReady___(void * jarg1) { unsigned int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; bool result; @@ -49269,7 +49627,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_mediaReady(void * jarg1) } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_waitForAnswer(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_waitForAnswer___(void * jarg1, void * jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; CoreSession *arg2 = (CoreSession *) 0 ; @@ -49279,7 +49637,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_waitForAnswer(void * jarg1, void } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_Execute(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_Execute___(void * jarg1, char * jarg2, char * jarg3) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) NULL ; @@ -49291,7 +49649,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_Execute(void * jarg1, char * jarg } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_sendEvent(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_sendEvent___(void * jarg1, void * jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; Event *arg2 = (Event *) 0 ; @@ -49301,7 +49659,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_sendEvent(void * jarg1, void * ja } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_setEventData(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_setEventData___(void * jarg1, void * jarg2) { CoreSession *arg1 = (CoreSession *) 0 ; Event *arg2 = (Event *) 0 ; @@ -49311,7 +49669,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_setEventData(void * jarg1, void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_getXMLCDR(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_getXMLCDR___(void * jarg1) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *result = 0 ; @@ -49323,7 +49681,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_getXMLCDR(void * jarg1) { } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_begin_allow_threads(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_begin_allow_threads___(void * jarg1) { unsigned int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; bool result; @@ -49335,7 +49693,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_begin_allow_threads(void } -SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_end_allow_threads(void * jarg1) { +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_end_allow_threads___(void * jarg1) { unsigned int jresult ; CoreSession *arg1 = (CoreSession *) 0 ; bool result; @@ -49347,7 +49705,7 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_CoreSession_end_allow_threads(void * } -SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetUuid(void * jarg1) { +SWIGEXPORT char * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_GetUuid___(void * jarg1) { char * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; char *result = 0 ; @@ -49359,7 +49717,7 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_CoreSession_GetUuid(void * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_get_cb_args(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_get_cb_args___(void * jarg1) { void * jresult ; CoreSession *arg1 = (CoreSession *) 0 ; switch_input_args_t *result = 0 ; @@ -49371,7 +49729,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_CoreSession_get_cb_args(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_check_hangup_hook(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_check_hangup_hook___(void * jarg1) { CoreSession *arg1 = (CoreSession *) 0 ; arg1 = (CoreSession *)jarg1; @@ -49379,7 +49737,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_check_hangup_hook(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_consoleLog(void * jarg1, char * jarg2, char * jarg3) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_consoleLog___(void * jarg1, char * jarg2, char * jarg3) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -49391,7 +49749,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_consoleLog(void * jarg1, char * j } -SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_consoleLog2(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5, char * jarg6) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_CoreSession_consoleLog2___(void * jarg1, char * jarg2, char * jarg3, char * jarg4, int jarg5, char * jarg6) { CoreSession *arg1 = (CoreSession *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -49409,7 +49767,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_CoreSession_consoleLog2(void * jarg1, char * } -SWIGEXPORT void SWIGSTDCALL CSharp_console_log(char * jarg1, char * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_console_log___(char * jarg1, char * jarg2) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; @@ -49419,7 +49777,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_console_log(char * jarg1, char * jarg2) { } -SWIGEXPORT void SWIGSTDCALL CSharp_console_log2(char * jarg1, char * jarg2, char * jarg3, int jarg4, char * jarg5) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_console_log2___(char * jarg1, char * jarg2, char * jarg3, int jarg4, char * jarg5) { char *arg1 = (char *) 0 ; char *arg2 = (char *) 0 ; char *arg3 = (char *) 0 ; @@ -49435,7 +49793,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_console_log2(char * jarg1, char * jarg2, char } -SWIGEXPORT void SWIGSTDCALL CSharp_console_clean_log(char * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_console_clean_log___(char * jarg1) { char *arg1 = (char *) 0 ; arg1 = (char *)jarg1; @@ -49443,7 +49801,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_console_clean_log(char * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_msleep(unsigned int jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_msleep___(unsigned int jarg1) { unsigned int arg1 ; arg1 = (unsigned int)jarg1; @@ -49451,7 +49809,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_msleep(unsigned int jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_bridge(void * jarg1, void * jarg2) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_bridge___(void * jarg1, void * jarg2) { CoreSession *arg1 = 0 ; CoreSession *arg2 = 0 ; @@ -49469,19 +49827,19 @@ SWIGEXPORT void SWIGSTDCALL CSharp_bridge(void * jarg1, void * jarg2) { } -SWIGEXPORT int SWIGSTDCALL CSharp_hanguphook(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_hanguphook___(void * jarg1) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; switch_status_t result; arg1 = (switch_core_session_t *)jarg1; result = (switch_status_t)hanguphook(arg1); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT int SWIGSTDCALL CSharp_dtmf_callback(void * jarg1, void * jarg2, int jarg3, void * jarg4, unsigned int jarg5) { +SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_dtmf_callback___(void * jarg1, void * jarg2, int jarg3, void * jarg4, unsigned int jarg5) { int jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; void *arg2 = (void *) 0 ; @@ -49496,12 +49854,12 @@ SWIGEXPORT int SWIGSTDCALL CSharp_dtmf_callback(void * jarg1, void * jarg2, int arg4 = (void *)jarg4; arg5 = (unsigned int)jarg5; result = (switch_status_t)dtmf_callback(arg1,arg2,arg3,arg4,arg5); - jresult = result; + jresult = (int)result; return jresult; } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_ManagedSession__SWIG_0() { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_ManagedSession__SWIG_0___() { void * jresult ; ManagedSession *result = 0 ; @@ -49511,7 +49869,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_ManagedSession__SWIG_0() { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_ManagedSession__SWIG_1(char * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_ManagedSession__SWIG_1___(char * jarg1) { void * jresult ; char *arg1 = (char *) 0 ; ManagedSession *result = 0 ; @@ -49523,7 +49881,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_ManagedSession__SWIG_1(char * jarg1) { } -SWIGEXPORT void * SWIGSTDCALL CSharp_new_ManagedSession__SWIG_2(void * jarg1) { +SWIGEXPORT void * SWIGSTDCALL CSharp_FreeSWITCHfNative_new_ManagedSession__SWIG_2___(void * jarg1) { void * jresult ; switch_core_session_t *arg1 = (switch_core_session_t *) 0 ; ManagedSession *result = 0 ; @@ -49535,7 +49893,7 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_new_ManagedSession__SWIG_2(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_delete_ManagedSession(void * jarg1) { +SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_delete_ManagedSession___(void * jarg1) { ManagedSession *arg1 = (ManagedSession *) 0 ; arg1 = (ManagedSession *)jarg1; @@ -49543,7 +49901,7 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_ManagedSession(void * jarg1) { } -SWIGEXPORT CoreSession * SWIGSTDCALL CSharp_ManagedSession_SWIGUpcast(ManagedSession *jarg1) { +SWIGEXPORT CoreSession * SWIGSTDCALL CSharp_FreeSWITCHfNative_ManagedSession_SWIGUpcast___(ManagedSession *jarg1) { return (CoreSession *)jarg1; } diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs index b9b7e0d462..192da11ea6 100644 --- a/src/mod/languages/mod_managed/managed/swig.cs +++ b/src/mod/languages/mod_managed/managed/swig.cs @@ -1,27 +1,26 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class Api : IDisposable { - private HandleRef swigCPtr; +public class Api : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal Api(IntPtr cPtr, bool cMemoryOwn) { + internal Api(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(Api obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Api obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~Api() { @@ -30,14 +29,14 @@ public class Api : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_Api(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -62,115 +61,29 @@ public class Api : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class audio_buffer_header_t : IDisposable { - private HandleRef swigCPtr; +public class CoreSession : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal audio_buffer_header_t(IntPtr cPtr, bool cMemoryOwn) { + internal CoreSession(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(audio_buffer_header_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~audio_buffer_header_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_audio_buffer_header_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint ts { - set { - freeswitchPINVOKE.audio_buffer_header_t_ts_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.audio_buffer_header_t_ts_get(swigCPtr); - return ret; - } - } - - public uint len { - set { - freeswitchPINVOKE.audio_buffer_header_t_len_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.audio_buffer_header_t_len_get(swigCPtr); - return ret; - } - } - - public audio_buffer_header_t() : this(freeswitchPINVOKE.new_audio_buffer_header_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum cache_db_flag_t { - CDF_INUSE = (1 << 0), - CDF_PRUNE = (1 << 1) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class CoreSession : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal CoreSession(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(CoreSession obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CoreSession obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~CoreSession() { @@ -179,14 +92,14 @@ public class CoreSession : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_CoreSession(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -195,8 +108,8 @@ public class CoreSession : IDisposable { freeswitchPINVOKE.CoreSession_InternalSession_set(swigCPtr, SWIGTYPE_p_switch_core_session.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.CoreSession_InternalSession_get(swigCPtr); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.CoreSession_InternalSession_get(swigCPtr); + SWIGTYPE_p_switch_core_session ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); return ret; } } @@ -206,8 +119,8 @@ public class CoreSession : IDisposable { freeswitchPINVOKE.CoreSession_channel_set(swigCPtr, SWIGTYPE_p_switch_channel.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.CoreSession_channel_get(swigCPtr); - SWIGTYPE_p_switch_channel ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_channel(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.CoreSession_channel_get(swigCPtr); + SWIGTYPE_p_switch_channel ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_channel(cPtr, false); return ret; } } @@ -237,8 +150,8 @@ public class CoreSession : IDisposable { freeswitchPINVOKE.CoreSession_cb_state_set(swigCPtr, input_callback_state_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.CoreSession_cb_state_get(swigCPtr); - input_callback_state_t ret = (cPtr == IntPtr.Zero) ? null : new input_callback_state_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.CoreSession_cb_state_get(swigCPtr); + input_callback_state_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new input_callback_state_t(cPtr, false); return ret; } } @@ -330,8 +243,8 @@ public class CoreSession : IDisposable { } public SWIGTYPE_p_void GetPrivate(string var) { - IntPtr cPtr = freeswitchPINVOKE.CoreSession_GetPrivate(swigCPtr, var); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.CoreSession_GetPrivate(swigCPtr, var); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -420,11 +333,20 @@ public class CoreSession : IDisposable { return ret; } + public void detectSpeech(string arg0, string arg1, string arg2, string arg3) { + freeswitchPINVOKE.CoreSession_detectSpeech(swigCPtr, arg0, arg1, arg2, arg3); + } + public string PlayAndGetDigits(int min_digits, int max_digits, int max_tries, int timeout, string terminators, string audio_files, string bad_input_audio_files, string digits_regex, string var_name, int digit_timeout, string transfer_on_failure) { string ret = freeswitchPINVOKE.CoreSession_PlayAndGetDigits(swigCPtr, min_digits, max_digits, max_tries, timeout, terminators, audio_files, bad_input_audio_files, digits_regex, var_name, digit_timeout, transfer_on_failure); return ret; } + public string playAndDetectSpeech(string file, string engine, string grammar) { + string ret = freeswitchPINVOKE.CoreSession_playAndDetectSpeech(swigCPtr, file, engine, grammar); + return ret; + } + public int StreamFile(string file, int starting_sample_count) { int ret = freeswitchPINVOKE.CoreSession_StreamFile(swigCPtr, file, starting_sample_count); return ret; @@ -526,174 +448,29 @@ public class CoreSession : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -public enum dm_match_type_t { - DM_MATCH_POSITIVE, - DM_MATCH_NEGATIVE -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class dtls_fingerprint_t : IDisposable { - private HandleRef swigCPtr; +public class DTMF : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal dtls_fingerprint_t(IntPtr cPtr, bool cMemoryOwn) { + internal DTMF(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(dtls_fingerprint_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~dtls_fingerprint_t() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_dtls_fingerprint_t(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint len { - set { - freeswitchPINVOKE.dtls_fingerprint_t_len_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.dtls_fingerprint_t_len_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_unsigned_char data { - set { - freeswitchPINVOKE.dtls_fingerprint_t_data_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.dtls_fingerprint_t_data_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); - return ret; - } - } - - public string type { - set { - freeswitchPINVOKE.dtls_fingerprint_t_type_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.dtls_fingerprint_t_type_get(swigCPtr); - return ret; - } - } - - public string str { - set { - freeswitchPINVOKE.dtls_fingerprint_t_str_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.dtls_fingerprint_t_str_get(swigCPtr); - return ret; - } - } - - public dtls_fingerprint_t() : this(freeswitchPINVOKE.new_dtls_fingerprint_t(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum dtls_state_t { - DS_OFF, - DS_HANDSHAKE, - DS_SETUP, - DS_READY, - DS_FAIL, - DS_INVALID -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum dtls_type_t { - DTLS_TYPE_CLIENT = (1 << 0), - DTLS_TYPE_SERVER = (1 << 1), - DTLS_TYPE_RTP = (1 << 2), - DTLS_TYPE_RTCP = (1 << 3) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class DTMF : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal DTMF(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(DTMF obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DTMF obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~DTMF() { @@ -702,14 +479,14 @@ public class DTMF : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_DTMF(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -739,182 +516,29 @@ public class DTMF : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -public enum dtmf_flag_t { - DTMF_FLAG_SKIP_PROCESS = (1 << 0), - DTMF_FLAG_SENSITIVE = (1 << 1) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class EventConsumer : IDisposable { - private HandleRef swigCPtr; +public partial class Event : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal EventConsumer(IntPtr cPtr, bool cMemoryOwn) { + internal Event(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(EventConsumer obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~EventConsumer() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_EventConsumer(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_switch_queue_t events { - set { - freeswitchPINVOKE.EventConsumer_events_set(swigCPtr, SWIGTYPE_p_switch_queue_t.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.EventConsumer_events_get(swigCPtr); - SWIGTYPE_p_switch_queue_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_queue_t(cPtr, false); - return ret; - } - } - - public switch_event_types_t e_event_id { - set { - freeswitchPINVOKE.EventConsumer_e_event_id_set(swigCPtr, (int)value); - } - get { - switch_event_types_t ret = (switch_event_types_t)freeswitchPINVOKE.EventConsumer_e_event_id_get(swigCPtr); - return ret; - } - } - - public string e_callback { - set { - freeswitchPINVOKE.EventConsumer_e_callback_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.EventConsumer_e_callback_get(swigCPtr); - return ret; - } - } - - public string e_subclass_name { - set { - freeswitchPINVOKE.EventConsumer_e_subclass_name_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.EventConsumer_e_subclass_name_get(swigCPtr); - return ret; - } - } - - public string e_cb_arg { - set { - freeswitchPINVOKE.EventConsumer_e_cb_arg_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.EventConsumer_e_cb_arg_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_p_switch_event_node enodes { - set { - freeswitchPINVOKE.EventConsumer_enodes_set(swigCPtr, SWIGTYPE_p_p_switch_event_node.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.EventConsumer_enodes_get(swigCPtr); - SWIGTYPE_p_p_switch_event_node ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_switch_event_node(cPtr, false); - return ret; - } - } - - public uint node_index { - set { - freeswitchPINVOKE.EventConsumer_node_index_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.EventConsumer_node_index_get(swigCPtr); - return ret; - } - } - - public EventConsumer(string event_name, string subclass_name, int len) : this(freeswitchPINVOKE.new_EventConsumer(event_name, subclass_name, len), true) { - } - - public int bind(string event_name, string subclass_name) { - int ret = freeswitchPINVOKE.EventConsumer_bind(swigCPtr, event_name, subclass_name); - return ret; - } - - public Event pop(int block, int timeout) { - IntPtr cPtr = freeswitchPINVOKE.EventConsumer_pop(swigCPtr, block, timeout); - Event ret = (cPtr == IntPtr.Zero) ? null : new Event(cPtr, true); - return ret; - } - - public void cleanup() { - freeswitchPINVOKE.EventConsumer_cleanup(swigCPtr); - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public partial class Event : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal Event(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(Event obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Event obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~Event() { @@ -923,14 +547,14 @@ public partial class Event : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_Event(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -939,8 +563,8 @@ public partial class Event : IDisposable { freeswitchPINVOKE.Event_InternalEvent_set(swigCPtr, switch_event.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.Event_InternalEvent_get(swigCPtr); - switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.Event_InternalEvent_get(swigCPtr); + switch_event ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event(cPtr, false); return ret; } } @@ -1029,18 +653,6905 @@ public partial class Event : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; +public class EventConsumer : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal EventConsumer(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(EventConsumer obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~EventConsumer() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + freeswitchPINVOKE.delete_EventConsumer(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public SWIGTYPE_p_switch_queue_t events { + set { + freeswitchPINVOKE.EventConsumer_events_set(swigCPtr, SWIGTYPE_p_switch_queue_t.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.EventConsumer_events_get(swigCPtr); + SWIGTYPE_p_switch_queue_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_queue_t(cPtr, false); + return ret; + } + } + + public switch_event_types_t e_event_id { + set { + freeswitchPINVOKE.EventConsumer_e_event_id_set(swigCPtr, (int)value); + } + get { + switch_event_types_t ret = (switch_event_types_t)freeswitchPINVOKE.EventConsumer_e_event_id_get(swigCPtr); + return ret; + } + } + + public string e_callback { + set { + freeswitchPINVOKE.EventConsumer_e_callback_set(swigCPtr, value); + } + get { + string ret = freeswitchPINVOKE.EventConsumer_e_callback_get(swigCPtr); + return ret; + } + } + + public string e_subclass_name { + set { + freeswitchPINVOKE.EventConsumer_e_subclass_name_set(swigCPtr, value); + } + get { + string ret = freeswitchPINVOKE.EventConsumer_e_subclass_name_get(swigCPtr); + return ret; + } + } + + public string e_cb_arg { + set { + freeswitchPINVOKE.EventConsumer_e_cb_arg_set(swigCPtr, value); + } + get { + string ret = freeswitchPINVOKE.EventConsumer_e_cb_arg_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_p_switch_event_node enodes { + set { + freeswitchPINVOKE.EventConsumer_enodes_set(swigCPtr, SWIGTYPE_p_p_switch_event_node.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.EventConsumer_enodes_get(swigCPtr); + SWIGTYPE_p_p_switch_event_node ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_p_switch_event_node(cPtr, false); + return ret; + } + } + + public uint node_index { + set { + freeswitchPINVOKE.EventConsumer_node_index_set(swigCPtr, value); + } + get { + uint ret = freeswitchPINVOKE.EventConsumer_node_index_get(swigCPtr); + return ret; + } + } + + public EventConsumer(string event_name, string subclass_name, int len) : this(freeswitchPINVOKE.new_EventConsumer(event_name, subclass_name, len), true) { + } + + public int bind(string event_name, string subclass_name) { + int ret = freeswitchPINVOKE.EventConsumer_bind(swigCPtr, event_name, subclass_name); + return ret; + } + + public Event pop(int block, int timeout) { + global::System.IntPtr cPtr = freeswitchPINVOKE.EventConsumer_pop(swigCPtr, block, timeout); + Event ret = (cPtr == global::System.IntPtr.Zero) ? null : new Event(cPtr, true); + return ret; + } + + public void cleanup() { + freeswitchPINVOKE.EventConsumer_cleanup(swigCPtr); + } + +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class IvrMenu : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal IvrMenu(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IvrMenu obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~IvrMenu() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + freeswitchPINVOKE.delete_IvrMenu(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public IvrMenu(IvrMenu main, string name, string greeting_sound, string short_greeting_sound, string invalid_sound, string exit_sound, string transfer_sound, string confirm_macro, string confirm_key, string tts_engine, string tts_voice, int confirm_attempts, int inter_timeout, int digit_len, int timeout, int max_failures, int max_timeouts) : this(freeswitchPINVOKE.new_IvrMenu(IvrMenu.getCPtr(main), name, greeting_sound, short_greeting_sound, invalid_sound, exit_sound, transfer_sound, confirm_macro, confirm_key, tts_engine, tts_voice, confirm_attempts, inter_timeout, digit_len, timeout, max_failures, max_timeouts), true) { + } + + public void bindAction(string action, string arg, string bind) { + freeswitchPINVOKE.IvrMenu_bindAction(swigCPtr, action, arg, bind); + } + + public void Execute(CoreSession session, string name) { + freeswitchPINVOKE.IvrMenu_Execute(swigCPtr, CoreSession.getCPtr(session), name); + } + +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public partial class ManagedSession : CoreSession { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal ManagedSession(global::System.IntPtr cPtr, bool cMemoryOwn) : base(freeswitchPINVOKE.ManagedSession_SWIGUpcast(cPtr), cMemoryOwn) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ManagedSession obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~ManagedSession() { + Dispose(); + } + + public override void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + freeswitchPINVOKE.delete_ManagedSession(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + base.Dispose(); + } + } + + public ManagedSession() : this(freeswitchPINVOKE.new_ManagedSession__SWIG_0(), true) { + } + + public ManagedSession(string uuid) : this(freeswitchPINVOKE.new_ManagedSession__SWIG_1(uuid), true) { + } + + public ManagedSession(SWIGTYPE_p_switch_core_session session) : this(freeswitchPINVOKE.new_ManagedSession__SWIG_2(SWIGTYPE_p_switch_core_session.getCPtr(session)), true) { + } + +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_FILE { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_FILE(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_FILE() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_FILE obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_a_256__char { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_a_256__char(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_a_256__char() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_a_256__char obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_a_2__icand_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_a_2__icand_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_a_2__icand_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_a_2__icand_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_apr_pool_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_apr_pool_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_apr_pool_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_apr_pool_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_cJSON { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_cJSON(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_cJSON() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_cJSON obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_codec__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_codec__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_codec__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session__int { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session__int(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session__int() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session__int obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_void__p_void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_void__p_void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_void__p_void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_void__p_void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_event__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_event__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_event__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_event__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_event__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_event__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_event__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_event__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_file_handle__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_file_handle__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_file_handle__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_media_bug_p_void__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_media_bug_p_void__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_media_bug_p_void__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_media_bug_p_void__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_scheduler_task__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_scheduler_task__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_scheduler_task__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_scheduler_task__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_speech_handle__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_speech_handle__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_speech_handle__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_timer__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_timer__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_timer__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_timer__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_void__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_void__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_void__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_void__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_void_p_q_const__char__int { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_void_p_q_const__char__int(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_void_p_q_const__char__int() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_void_p_q_const__char__int obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_p_void_p_switch_event__int { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_void_p_switch_event__int(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_void_p_switch_event__int() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_void_p_switch_event__int obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_void__p_char { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_void__p_char(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_void__p_char() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_void__p_char obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_f_void__switch_status_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_void__switch_status_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_void__switch_status_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_void__switch_status_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_float { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_float(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_float() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_float obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_in6_addr { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_in6_addr(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_in6_addr() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_in6_addr obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_int { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_int(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_int() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_int obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_apr_pool_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_apr_pool_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_apr_pool_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_apr_pool_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_cJSON { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_cJSON(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_cJSON() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_cJSON obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_char { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_char(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_char() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_char obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_p_char { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_p_char(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_p_char() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_p_char obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_payload_map_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_payload_map_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_payload_map_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_payload_map_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_real_pcre { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_real_pcre(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_real_pcre() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_real_pcre obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_sqlite3 { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_sqlite3(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_sqlite3() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_sqlite3 obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_sqlite3_stmt { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_sqlite3_stmt(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_sqlite3_stmt() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_sqlite3_stmt obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_agc_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_agc_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_agc_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_agc_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_audio_resampler_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_audio_resampler_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_audio_resampler_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_audio_resampler_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_buffer { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_buffer(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_buffer() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_buffer obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_cache_db_handle { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_cache_db_handle(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_cache_db_handle() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_cache_db_handle obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_caller_extension { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_caller_extension(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_caller_extension() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_caller_extension obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_channel { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_channel(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_channel() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_channel obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_codec_implementation { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_codec_implementation(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_codec_implementation() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_codec_implementation obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_console_callback_match { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_console_callback_match(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_console_callback_match() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_console_callback_match obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_core_port_allocator { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_core_port_allocator(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_core_port_allocator() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_core_port_allocator obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_core_session { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_core_session(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_core_session() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_core_session obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_core_session_message { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_core_session_message(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_core_session_message() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_core_session_message obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_device_record_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_device_record_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_device_record_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_device_record_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_dial_handle_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_dial_handle_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_dial_handle_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_dial_handle_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_dial_leg_list_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_dial_leg_list_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_dial_leg_list_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_dial_leg_list_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_dial_leg_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_dial_leg_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_dial_leg_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_dial_leg_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_event { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_event(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_event() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_event obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_event_node { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_event_node(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_event_node() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_event_node obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_file_handle { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_file_handle(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_file_handle() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_file_handle obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_frame { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_frame(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_frame() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_frame obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_frame_buffer_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_frame_buffer_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_frame_buffer_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_frame_buffer_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_hashtable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_hashtable(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_hashtable() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_hashtable obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_hashtable_iterator { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_hashtable_iterator(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_hashtable_iterator() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_hashtable_iterator obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_ivr_digit_stream { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_ivr_digit_stream(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_ivr_digit_stream() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_digit_stream obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_ivr_digit_stream_parser { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_ivr_digit_stream_parser(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_ivr_digit_stream_parser() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_digit_stream_parser obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_ivr_dmachine { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_ivr_dmachine(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_ivr_dmachine() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_dmachine obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_ivr_dmachine_match { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_ivr_dmachine_match(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_ivr_dmachine_match() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_dmachine_match obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_ivr_menu { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_ivr_menu(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_ivr_menu() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_menu obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_ivr_menu_xml_ctx { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_ivr_menu_xml_ctx(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_ivr_menu_xml_ctx() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_menu_xml_ctx obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_live_array_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_live_array_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_live_array_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_live_array_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_log_node_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_log_node_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_log_node_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_log_node_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_media_bug { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_media_bug(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_media_bug() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_media_bug obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_network_list { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_network_list(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_network_list() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_network_list obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_rtp { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_rtp(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_rtp() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_rtp obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_say_file_handle { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_say_file_handle(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_say_file_handle() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_say_file_handle obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_sql_queue_manager { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_sql_queue_manager(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_sql_queue_manager() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_sql_queue_manager obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_thread_data_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_thread_data_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_thread_data_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_thread_data_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_xml { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_xml(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_xml() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_xml obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_switch_xml_binding { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_switch_xml_binding(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_switch_xml_binding() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_switch_xml_binding obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_unsigned_char { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_unsigned_char(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_unsigned_char() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_unsigned_char obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_p_void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_p_void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_pid_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_pid_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_pid_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_pid_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_real_pcre { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_real_pcre(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_real_pcre() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_real_pcre obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_short { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_short(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_short() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_short obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_sockaddr { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_sockaddr(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_sockaddr() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_sockaddr obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_sockaddr_in6 { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_sockaddr_in6(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_sockaddr_in6() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_sockaddr_in6 obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_socklen_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_socklen_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_socklen_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_socklen_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_sqlite3 { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_sqlite3(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_sqlite3() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_sqlite3 obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_sqlite3_stmt { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_sqlite3_stmt(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_sqlite3_stmt() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_sqlite3_stmt obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_agc_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_agc_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_agc_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_agc_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_buffer { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_buffer(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_buffer() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_buffer obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_cache_db_handle { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_cache_db_handle(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_cache_db_handle() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_cache_db_handle obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_call_cause_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_call_cause_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_call_cause_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_call_cause_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_channel { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_channel(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_channel() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_channel obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_codec_control_type_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_codec_control_type_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_codec_control_type_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_codec_control_type_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_core_port_allocator { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_core_port_allocator(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_core_port_allocator() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_core_port_allocator obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_core_session { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_core_session(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_core_session() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_core_session obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_dial_handle_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_dial_handle_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_dial_handle_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_dial_handle_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_dial_leg_list_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_dial_leg_list_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_dial_leg_list_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_dial_leg_list_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_dial_leg_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_dial_leg_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_dial_leg_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_dial_leg_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_event_types_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_event_types_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_event_types_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_event_types_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_file_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_file_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_file_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_file_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_frame_buffer_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_frame_buffer_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_frame_buffer_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_frame_buffer_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_hashtable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_hashtable(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_hashtable() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_hashtable obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_hashtable_iterator { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_hashtable_iterator(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_hashtable_iterator() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_hashtable_iterator obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_image_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_image_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_image_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_image_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_img_fmt_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_img_fmt_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_img_fmt_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_img_fmt_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_img_position_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_img_position_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_img_position_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_img_position_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_interval_time_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_interval_time_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_interval_time_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_interval_time_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_ivr_action_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_ivr_action_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_ivr_action_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_ivr_action_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_ivr_digit_stream { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_ivr_digit_stream(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_ivr_digit_stream() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_ivr_digit_stream obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_ivr_digit_stream_parser { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_ivr_digit_stream_parser(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_ivr_digit_stream_parser() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_ivr_digit_stream_parser obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_ivr_dmachine { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_ivr_dmachine(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_ivr_dmachine() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_ivr_dmachine obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_ivr_menu { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_ivr_menu(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_ivr_menu() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_ivr_menu obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_ivr_menu_xml_ctx { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_ivr_menu_xml_ctx(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_ivr_menu_xml_ctx() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_ivr_menu_xml_ctx obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_jb_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_jb_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_jb_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_jb_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_live_array_s { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_live_array_s(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_live_array_s() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_live_array_s obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_media_bug { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_media_bug(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_media_bug() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_media_bug obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_mutex_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_mutex_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_mutex_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_mutex_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_network_list { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_network_list(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_network_list() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_network_list obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_odbc_handle { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_odbc_handle(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_odbc_handle() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_odbc_handle obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_pgsql_handle { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_pgsql_handle(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_pgsql_handle() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_pgsql_handle obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_pollfd_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_pollfd_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_pollfd_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_pollfd_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_queue_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_queue_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_queue_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_queue_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_rtcp_frame { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_rtcp_frame(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_rtcp_frame() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_rtcp_frame obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_rtp { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_rtp(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_rtp() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_rtp obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_rtp_flag_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_rtp_flag_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_rtp_flag_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_rtp_flag_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_say_file_handle { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_say_file_handle(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_say_file_handle() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_say_file_handle obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_size_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_size_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_size_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_size_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_sockaddr_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_sockaddr_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_sockaddr_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_sockaddr_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_socket_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_socket_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_socket_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_socket_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_sql_queue_manager { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_sql_queue_manager(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_sql_queue_manager() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_sql_queue_manager obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_ssize_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_ssize_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_ssize_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_ssize_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_thread_rwlock_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_thread_rwlock_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_thread_rwlock_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_thread_rwlock_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_thread_start_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_thread_start_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_thread_start_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_thread_start_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_thread_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_thread_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_thread_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_thread_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_time_exp_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_time_exp_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_time_exp_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_time_exp_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_time_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_time_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_time_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_time_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_switch_xml_binding { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_switch_xml_binding(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_switch_xml_binding() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_switch_xml_binding obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_time_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_time_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_time_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_time_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_unsigned_char { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_unsigned_char(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_unsigned_char() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_unsigned_char obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_unsigned_int { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_unsigned_int(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_unsigned_int() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_unsigned_int obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_unsigned_long { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_unsigned_long(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_unsigned_long() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_unsigned_long obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_unsigned_short { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_unsigned_short(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_unsigned_short() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_unsigned_short obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class SWIGTYPE_p_void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public partial class Stream : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal Stream(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Stream obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~Stream() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + freeswitchPINVOKE.delete_Stream(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public Stream() : this(freeswitchPINVOKE.new_Stream__SWIG_0(), true) { + } + + public Stream(switch_stream_handle arg0) : this(freeswitchPINVOKE.new_Stream__SWIG_1(switch_stream_handle.getCPtr(arg0)), true) { + } + + public string read(SWIGTYPE_p_int len) { + string ret = freeswitchPINVOKE.Stream_read(swigCPtr, SWIGTYPE_p_int.getCPtr(len)); + return ret; + } + + public void Write(string data) { + freeswitchPINVOKE.Stream_Write(swigCPtr, data); + } + + public void raw_write(string data, int len) { + freeswitchPINVOKE.Stream_raw_write(swigCPtr, data, len); + } + + public string get_data() { + string ret = freeswitchPINVOKE.Stream_get_data(swigCPtr); + return ret; + } + +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class audio_buffer_header_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal audio_buffer_header_t(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(audio_buffer_header_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~audio_buffer_header_t() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + freeswitchPINVOKE.delete_audio_buffer_header_t(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public uint ts { + set { + freeswitchPINVOKE.audio_buffer_header_t_ts_set(swigCPtr, value); + } + get { + uint ret = freeswitchPINVOKE.audio_buffer_header_t_ts_get(swigCPtr); + return ret; + } + } + + public uint len { + set { + freeswitchPINVOKE.audio_buffer_header_t_len_set(swigCPtr, value); + } + get { + uint ret = freeswitchPINVOKE.audio_buffer_header_t_len_get(swigCPtr); + return ret; + } + } + + public audio_buffer_header_t() : this(freeswitchPINVOKE.new_audio_buffer_header_t(), true) { + } + +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public enum cache_db_flag_t { + CDF_INUSE = (1 << 0), + CDF_PRUNE = (1 << 1) +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public enum dm_match_type_t { + DM_MATCH_POSITIVE, + DM_MATCH_NEGATIVE +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class dtls_fingerprint_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal dtls_fingerprint_t(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(dtls_fingerprint_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~dtls_fingerprint_t() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + freeswitchPINVOKE.delete_dtls_fingerprint_t(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public uint len { + set { + freeswitchPINVOKE.dtls_fingerprint_t_len_set(swigCPtr, value); + } + get { + uint ret = freeswitchPINVOKE.dtls_fingerprint_t_len_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_unsigned_char data { + set { + freeswitchPINVOKE.dtls_fingerprint_t_data_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.dtls_fingerprint_t_data_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + return ret; + } + } + + public string type { + set { + freeswitchPINVOKE.dtls_fingerprint_t_type_set(swigCPtr, value); + } + get { + string ret = freeswitchPINVOKE.dtls_fingerprint_t_type_get(swigCPtr); + return ret; + } + } + + public string str { + set { + freeswitchPINVOKE.dtls_fingerprint_t_str_set(swigCPtr, value); + } + get { + string ret = freeswitchPINVOKE.dtls_fingerprint_t_str_get(swigCPtr); + return ret; + } + } + + public dtls_fingerprint_t() : this(freeswitchPINVOKE.new_dtls_fingerprint_t(), true) { + } + +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public enum dtls_state_t { + DS_OFF, + DS_HANDSHAKE, + DS_SETUP, + DS_READY, + DS_FAIL, + DS_INVALID +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public enum dtls_type_t { + DTLS_TYPE_CLIENT = (1 << 0), + DTLS_TYPE_SERVER = (1 << 1), + DTLS_TYPE_RTP = (1 << 2), + DTLS_TYPE_RTCP = (1 << 3) +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public enum dtmf_flag_t { + DTMF_FLAG_SKIP_PROCESS = (1 << 0), + DTMF_FLAG_SENSITIVE = (1 << 1) +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { public class freeswitch { public static switch_directories SWITCH_GLOBAL_dirs { @@ -1048,8 +7559,8 @@ public class freeswitch { freeswitchPINVOKE.SWITCH_GLOBAL_dirs_set(switch_directories.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.SWITCH_GLOBAL_dirs_get(); - switch_directories ret = (cPtr == IntPtr.Zero) ? null : new switch_directories(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.SWITCH_GLOBAL_dirs_get(); + switch_directories ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_directories(cPtr, false); return ret; } } @@ -1059,8 +7570,8 @@ public class freeswitch { freeswitchPINVOKE.SWITCH_GLOBAL_filenames_set(switch_filenames.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.SWITCH_GLOBAL_filenames_get(); - switch_filenames ret = (cPtr == IntPtr.Zero) ? null : new switch_filenames(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.SWITCH_GLOBAL_filenames_get(); + switch_filenames ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_filenames(cPtr, false); return ret; } } @@ -1076,8 +7587,8 @@ public class freeswitch { } public static SWIGTYPE_p_unsigned_char switch_core_db_column_text(SWIGTYPE_p_sqlite3_stmt stmt, int iCol) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_db_column_text(SWIGTYPE_p_sqlite3_stmt.getCPtr(stmt), iCol); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_db_column_text(SWIGTYPE_p_sqlite3_stmt.getCPtr(stmt), iCol); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return ret; } @@ -1185,8 +7696,8 @@ else public static SWIGTYPE_p_real_pcre switch_regex_compile(string pattern, int options, out string errorptr, SWIGTYPE_p_int erroroffset, SWIGTYPE_p_unsigned_char tables) { var errorptr_ptr = global::System.IntPtr.Zero; try { - IntPtr cPtr = freeswitchPINVOKE.switch_regex_compile(pattern, options, ref errorptr_ptr, SWIGTYPE_p_int.getCPtr(erroroffset), SWIGTYPE_p_unsigned_char.getCPtr(tables)); - SWIGTYPE_p_real_pcre ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_real_pcre(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_regex_compile(pattern, options, ref errorptr_ptr, SWIGTYPE_p_int.getCPtr(erroroffset), SWIGTYPE_p_unsigned_char.getCPtr(tables)); + SWIGTYPE_p_real_pcre ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_real_pcre(cPtr, false); return ret; } finally { if(errorptr_ptr != global::System.IntPtr.Zero) @@ -1238,14 +7749,14 @@ else } public static SWIGTYPE_p_void switch_must_malloc(uint _b) { - IntPtr cPtr = freeswitchPINVOKE.switch_must_malloc(_b); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_must_malloc(_b); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } public static SWIGTYPE_p_void switch_must_realloc(SWIGTYPE_p_void _b, uint _z) { - IntPtr cPtr = freeswitchPINVOKE.switch_must_realloc(SWIGTYPE_p_void.getCPtr(_b), _z); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_must_realloc(SWIGTYPE_p_void.getCPtr(_b), _z); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -1332,32 +7843,32 @@ else } public static SWIGTYPE_p_void switch_core_media_bug_get_user_data(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_user_data(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_user_data(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } public static switch_frame switch_core_media_bug_get_write_replace_frame(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_write_replace_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_write_replace_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); + switch_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_frame(cPtr, false); return ret; } public static switch_frame switch_core_media_bug_get_native_read_frame(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_native_read_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_native_read_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); + switch_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_frame(cPtr, false); return ret; } public static switch_frame switch_core_media_bug_get_native_write_frame(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_native_write_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_native_write_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); + switch_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_frame(cPtr, false); return ret; } public static switch_frame switch_core_media_bug_get_video_ping_frame(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_video_ping_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_video_ping_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); + switch_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_frame(cPtr, false); return ret; } @@ -1366,8 +7877,8 @@ else } public static switch_frame switch_core_media_bug_get_read_replace_frame(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_read_replace_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_read_replace_frame(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); + switch_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_frame(cPtr, false); return ret; } @@ -1376,8 +7887,8 @@ else } public static SWIGTYPE_p_switch_core_session switch_core_media_bug_get_session(SWIGTYPE_p_switch_media_bug bug) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_session(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_media_bug_get_session(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); + SWIGTYPE_p_switch_core_session ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); return ret; } @@ -1448,11 +7959,6 @@ else return ret; } - public static switch_status_t switch_core_media_bug_transfer_recordings(SWIGTYPE_p_switch_core_session orig_session, SWIGTYPE_p_switch_core_session new_session) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_transfer_recordings(SWIGTYPE_p_switch_core_session.getCPtr(orig_session), SWIGTYPE_p_switch_core_session.getCPtr(new_session)); - return ret; - } - public static switch_status_t switch_core_media_bug_transfer_callback(SWIGTYPE_p_switch_core_session orig_session, SWIGTYPE_p_switch_core_session new_session, SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t callback, SWIGTYPE_p_f_p_switch_core_session_p_void__p_void user_data_dup_func) { switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_transfer_callback(SWIGTYPE_p_switch_core_session.getCPtr(orig_session), SWIGTYPE_p_switch_core_session.getCPtr(new_session), SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t.getCPtr(callback), SWIGTYPE_p_f_p_switch_core_session_p_void__p_void.getCPtr(user_data_dup_func)); return ret; @@ -1585,8 +8091,8 @@ else } public static switch_state_handler_table switch_core_get_state_handler(int index) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_get_state_handler(index); - switch_state_handler_table ret = (cPtr == IntPtr.Zero) ? null : new switch_state_handler_table(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_get_state_handler(index); + switch_state_handler_table ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_state_handler_table(cPtr, false); return ret; } @@ -1614,8 +8120,8 @@ else } public static SWIGTYPE_p_void switch_core_memory_pool_get_data(SWIGTYPE_p_apr_pool_t pool, string key) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_memory_pool_get_data(SWIGTYPE_p_apr_pool_t.getCPtr(pool), key); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_memory_pool_get_data(SWIGTYPE_p_apr_pool_t.getCPtr(pool), key); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -1634,22 +8140,22 @@ else } public static SWIGTYPE_p_void switch_core_perform_permanent_alloc(SWIGTYPE_p_switch_size_t memory, string file, string func, int line) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_perform_permanent_alloc(SWIGTYPE_p_switch_size_t.getCPtr(memory), file, func, line); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_perform_permanent_alloc(SWIGTYPE_p_switch_size_t.getCPtr(memory), file, func, line); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); return ret; } public static SWIGTYPE_p_void switch_core_perform_alloc(SWIGTYPE_p_apr_pool_t pool, SWIGTYPE_p_switch_size_t memory, string file, string func, int line) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_perform_alloc(SWIGTYPE_p_apr_pool_t.getCPtr(pool), SWIGTYPE_p_switch_size_t.getCPtr(memory), file, func, line); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_perform_alloc(SWIGTYPE_p_apr_pool_t.getCPtr(pool), SWIGTYPE_p_switch_size_t.getCPtr(memory), file, func, line); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); return ret; } public static SWIGTYPE_p_void switch_core_perform_session_alloc(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_size_t memory, string file, string func, int line) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_perform_session_alloc(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_size_t.getCPtr(memory), file, func, line); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_perform_session_alloc(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_size_t.getCPtr(memory), file, func, line); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -1680,20 +8186,20 @@ else } public static SWIGTYPE_p_apr_pool_t switch_core_session_get_pool(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_pool(SWIGTYPE_p_switch_core_session.getCPtr(session)); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_pool(SWIGTYPE_p_switch_core_session.getCPtr(session)); + SWIGTYPE_p_apr_pool_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); return ret; } public static SWIGTYPE_p_switch_core_session switch_core_session_request_xml(switch_endpoint_interface endpoint_interface, SWIGTYPE_p_p_apr_pool_t pool, switch_xml xml) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_request_xml(switch_endpoint_interface.getCPtr(endpoint_interface), SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), switch_xml.getCPtr(xml)); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_request_xml(switch_endpoint_interface.getCPtr(endpoint_interface), SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), switch_xml.getCPtr(xml)); + SWIGTYPE_p_switch_core_session ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); return ret; } public static SWIGTYPE_p_switch_core_session switch_core_session_request_uuid(switch_endpoint_interface endpoint_interface, switch_call_direction_t direction, uint originate_flags, SWIGTYPE_p_p_apr_pool_t pool, string use_uuid) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_request_uuid(switch_endpoint_interface.getCPtr(endpoint_interface), (int)direction, originate_flags, SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), use_uuid); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_request_uuid(switch_endpoint_interface.getCPtr(endpoint_interface), (int)direction, originate_flags, SWIGTYPE_p_p_apr_pool_t.getCPtr(pool), use_uuid); + SWIGTYPE_p_switch_core_session ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); return ret; } @@ -1739,8 +8245,8 @@ else } public static SWIGTYPE_p_switch_core_session switch_core_session_request_by_name(string endpoint_name, switch_call_direction_t direction, SWIGTYPE_p_p_apr_pool_t pool) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_request_by_name(endpoint_name, (int)direction, SWIGTYPE_p_p_apr_pool_t.getCPtr(pool)); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_request_by_name(endpoint_name, (int)direction, SWIGTYPE_p_p_apr_pool_t.getCPtr(pool)); + SWIGTYPE_p_switch_core_session ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); return ret; } @@ -1760,14 +8266,14 @@ else } public static SWIGTYPE_p_switch_channel switch_core_session_get_channel(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_channel(SWIGTYPE_p_switch_core_session.getCPtr(session)); - SWIGTYPE_p_switch_channel ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_channel(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_channel(SWIGTYPE_p_switch_core_session.getCPtr(session)); + SWIGTYPE_p_switch_channel ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_channel(cPtr, false); return ret; } public static SWIGTYPE_p_switch_mutex_t switch_core_session_get_mutex(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_mutex(SWIGTYPE_p_switch_core_session.getCPtr(session)); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_mutex(SWIGTYPE_p_switch_core_session.getCPtr(session)); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } @@ -1796,8 +8302,8 @@ else } public static SWIGTYPE_p_switch_jb_s switch_core_session_get_jb(SWIGTYPE_p_switch_core_session session, switch_media_type_t type) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_jb(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)type); - SWIGTYPE_p_switch_jb_s ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_jb_s(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_jb(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)type); + SWIGTYPE_p_switch_jb_s ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_jb_s(cPtr, false); return ret; } @@ -1814,8 +8320,8 @@ else } public static SWIGTYPE_p_switch_ivr_dmachine switch_core_session_get_dmachine(SWIGTYPE_p_switch_core_session session, switch_digit_action_target_t target) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_dmachine(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)target); - SWIGTYPE_p_switch_ivr_dmachine ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_ivr_dmachine(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_dmachine(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)target); + SWIGTYPE_p_switch_ivr_dmachine ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_ivr_dmachine(cPtr, false); return ret; } @@ -1848,14 +8354,14 @@ else } public static SWIGTYPE_p_switch_core_session switch_core_session_perform_locate(string uuid_str, string file, string func, int line) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_perform_locate(uuid_str, file, func, line); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_perform_locate(uuid_str, file, func, line); + SWIGTYPE_p_switch_core_session ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); return ret; } public static SWIGTYPE_p_switch_core_session switch_core_session_perform_force_locate(string uuid_str, string file, string func, int line) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_perform_force_locate(uuid_str, file, func, line); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_perform_force_locate(uuid_str, file, func, line); + SWIGTYPE_p_switch_core_session ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); return ret; } @@ -1917,14 +8423,14 @@ else } public static switch_console_callback_match switch_core_session_findall_matching_var(string var_name, string var_val) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_findall_matching_var(var_name, var_val); - switch_console_callback_match ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_findall_matching_var(var_name, var_val); + switch_console_callback_match ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_console_callback_match(cPtr, false); return ret; } public static switch_console_callback_match switch_core_session_findall() { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_findall(); - switch_console_callback_match ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_findall(); + switch_console_callback_match ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_console_callback_match(cPtr, false); return ret; } @@ -1992,8 +8498,8 @@ else } public static switch_app_log switch_core_session_get_app_log(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_app_log(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_app_log ret = (cPtr == IntPtr.Zero) ? null : new switch_app_log(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_app_log(SWIGTYPE_p_switch_core_session.getCPtr(session)); + switch_app_log ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_app_log(cPtr, false); return ret; } @@ -2037,8 +8543,8 @@ else } public static SWIGTYPE_p_void switch_core_session_get_private_class(SWIGTYPE_p_switch_core_session session, switch_pvt_class_t index) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_private_class(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)index); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_private_class(SWIGTYPE_p_switch_core_session.getCPtr(session), (int)index); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -2053,8 +8559,8 @@ else } public static SWIGTYPE_p_void switch_core_session_get_stream(SWIGTYPE_p_switch_core_session session, int index) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_stream(SWIGTYPE_p_switch_core_session.getCPtr(session), index); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_stream(SWIGTYPE_p_switch_core_session.getCPtr(session), index); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -2234,20 +8740,20 @@ else } public static SWIGTYPE_p_void switch_core_hash_delete(SWIGTYPE_p_switch_hashtable hash, string key) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_delete(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_delete(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } public static SWIGTYPE_p_void switch_core_hash_delete_locked(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_switch_mutex_t mutex) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_delete_locked(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_switch_mutex_t.getCPtr(mutex)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_delete_locked(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_switch_mutex_t.getCPtr(mutex)); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } public static SWIGTYPE_p_void switch_core_hash_delete_wrlock(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_switch_thread_rwlock_t rwlock) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_delete_wrlock(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(rwlock)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_delete_wrlock(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(rwlock)); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -2257,26 +8763,26 @@ else } public static SWIGTYPE_p_void switch_core_hash_find(SWIGTYPE_p_switch_hashtable hash, string key) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_find(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_find(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } public static SWIGTYPE_p_void switch_core_hash_find_locked(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_switch_mutex_t mutex) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_find_locked(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_switch_mutex_t.getCPtr(mutex)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_find_locked(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_switch_mutex_t.getCPtr(mutex)); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } public static SWIGTYPE_p_void switch_core_hash_find_rdlock(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_switch_thread_rwlock_t rwlock) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_find_rdlock(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(rwlock)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_find_rdlock(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(rwlock)); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } public static SWIGTYPE_p_switch_hashtable_iterator switch_core_hash_first_iter(SWIGTYPE_p_switch_hashtable hash, SWIGTYPE_p_switch_hashtable_iterator hi) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_first_iter(SWIGTYPE_p_switch_hashtable.getCPtr(hash), SWIGTYPE_p_switch_hashtable_iterator.getCPtr(hi)); - SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_first_iter(SWIGTYPE_p_switch_hashtable.getCPtr(hash), SWIGTYPE_p_switch_hashtable_iterator.getCPtr(hi)); + SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false); return ret; } @@ -2286,8 +8792,8 @@ else } public static SWIGTYPE_p_switch_hashtable_iterator switch_core_hash_next(SWIGTYPE_p_p_switch_hashtable_iterator hi) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_next(SWIGTYPE_p_p_switch_hashtable_iterator.getCPtr(hi)); - SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_hash_next(SWIGTYPE_p_p_switch_hashtable_iterator.getCPtr(hi)); + SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false); return ret; } @@ -2315,14 +8821,14 @@ else } public static SWIGTYPE_p_void switch_core_inthash_delete(SWIGTYPE_p_switch_hashtable hash, uint key) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_inthash_delete(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_inthash_delete(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } public static SWIGTYPE_p_void switch_core_inthash_find(SWIGTYPE_p_switch_hashtable hash, uint key) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_inthash_find(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_inthash_find(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -2470,14 +8976,14 @@ else } public static switch_codec switch_core_session_get_read_codec(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); + switch_codec ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec(cPtr, false); return ret; } public static switch_codec switch_core_session_get_effective_read_codec(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_effective_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_effective_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); + switch_codec ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec(cPtr, false); return ret; } @@ -2487,14 +8993,14 @@ else } public static switch_codec switch_core_session_get_write_codec(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); + switch_codec ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec(cPtr, false); return ret; } public static switch_codec switch_core_session_get_effective_write_codec(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_effective_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_effective_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); + switch_codec ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec(cPtr, false); return ret; } @@ -2504,8 +9010,8 @@ else } public static switch_codec switch_core_session_get_video_read_codec(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_video_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_video_read_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); + switch_codec ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec(cPtr, false); return ret; } @@ -2515,14 +9021,14 @@ else } public static switch_codec switch_core_session_get_video_write_codec(SWIGTYPE_p_switch_core_session session) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_video_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_get_video_write_codec(SWIGTYPE_p_switch_core_session.getCPtr(session)); + switch_codec ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec(cPtr, false); return ret; } public static SWIGTYPE_p_sqlite3 switch_core_db_open_file(string filename) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_db_open_file(filename); - SWIGTYPE_p_sqlite3 ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_sqlite3(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_db_open_file(filename); + SWIGTYPE_p_sqlite3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_sqlite3(cPtr, false); return ret; } @@ -2588,6 +9094,11 @@ else } } + public static switch_status_t switch_core_file_pre_close(switch_file_handle fh) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_pre_close(switch_file_handle.getCPtr(fh)); + return ret; + } + public static switch_status_t switch_core_file_close(switch_file_handle fh) { switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_close(switch_file_handle.getCPtr(fh)); return ret; @@ -2757,8 +9268,8 @@ else } public static SWIGTYPE_p_FILE switch_core_data_channel(switch_text_channel_t channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_data_channel((int)channel); - SWIGTYPE_p_FILE ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_data_channel((int)channel); + SWIGTYPE_p_FILE ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false); return ret; } @@ -2848,8 +9359,8 @@ else } public static SWIGTYPE_p_FILE switch_core_get_console() { - IntPtr cPtr = freeswitchPINVOKE.switch_core_get_console(); - SWIGTYPE_p_FILE ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_get_console(); + SWIGTYPE_p_FILE ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false); return ret; } @@ -2878,8 +9389,8 @@ else } public static SWIGTYPE_p_switch_hashtable_iterator switch_core_mime_index() { - IntPtr cPtr = freeswitchPINVOKE.switch_core_mime_index(); - SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_mime_index(); + SWIGTYPE_p_switch_hashtable_iterator ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_hashtable_iterator(cPtr, false); return ret; } @@ -2899,14 +9410,14 @@ else } public static switch_loadable_module_interface switch_loadable_module_create_module_interface(SWIGTYPE_p_apr_pool_t pool, string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_create_module_interface(SWIGTYPE_p_apr_pool_t.getCPtr(pool), name); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_create_module_interface(SWIGTYPE_p_apr_pool_t.getCPtr(pool), name); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } public static SWIGTYPE_p_void switch_loadable_module_create_interface(switch_loadable_module_interface mod, switch_module_interface_name_t iname) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_create_interface(switch_loadable_module_interface.getCPtr(mod), (int)iname); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_create_interface(switch_loadable_module_interface.getCPtr(mod), (int)iname); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -3518,14 +10029,14 @@ else } public static switch_endpoint_interface switch_loadable_module_get_endpoint_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_endpoint_interface(name); - switch_endpoint_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_endpoint_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_endpoint_interface(name); + switch_endpoint_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_endpoint_interface(cPtr, false); return ret; } public static switch_codec_interface switch_loadable_module_get_codec_interface(string name, string modname) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_codec_interface(name, modname); - switch_codec_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_codec_interface(name, modname); + switch_codec_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec_interface(cPtr, false); return ret; } @@ -3535,8 +10046,8 @@ else } public static switch_dialplan_interface switch_loadable_module_get_dialplan_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_dialplan_interface(name); - switch_dialplan_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_dialplan_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_dialplan_interface(name); + switch_dialplan_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_dialplan_interface(cPtr, false); return ret; } @@ -3556,20 +10067,20 @@ else } public static switch_timer_interface switch_loadable_module_get_timer_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_timer_interface(name); - switch_timer_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_timer_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_timer_interface(name); + switch_timer_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_timer_interface(cPtr, false); return ret; } public static switch_application_interface switch_loadable_module_get_application_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_application_interface(name); - switch_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_application_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_application_interface(name); + switch_application_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_application_interface(cPtr, false); return ret; } public static switch_chat_application_interface switch_loadable_module_get_chat_application_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_chat_application_interface(name); - switch_chat_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_chat_application_interface(name); + switch_chat_application_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false); return ret; } @@ -3579,62 +10090,62 @@ else } public static switch_api_interface switch_loadable_module_get_api_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_api_interface(name); - switch_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_api_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_api_interface(name); + switch_api_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_api_interface(cPtr, false); return ret; } public static switch_json_api_interface switch_loadable_module_get_json_api_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_json_api_interface(name); - switch_json_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_json_api_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_json_api_interface(name); + switch_json_api_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_json_api_interface(cPtr, false); return ret; } public static switch_file_interface switch_loadable_module_get_file_interface(string name, string modname) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_file_interface(name, modname); - switch_file_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_file_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_file_interface(name, modname); + switch_file_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_file_interface(cPtr, false); return ret; } public static switch_speech_interface switch_loadable_module_get_speech_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_speech_interface(name); - switch_speech_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_speech_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_speech_interface(name); + switch_speech_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_speech_interface(cPtr, false); return ret; } public static switch_asr_interface switch_loadable_module_get_asr_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_asr_interface(name); - switch_asr_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_asr_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_asr_interface(name); + switch_asr_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_asr_interface(cPtr, false); return ret; } public static switch_directory_interface switch_loadable_module_get_directory_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_directory_interface(name); - switch_directory_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_directory_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_directory_interface(name); + switch_directory_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_directory_interface(cPtr, false); return ret; } public static switch_chat_interface switch_loadable_module_get_chat_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_chat_interface(name); - switch_chat_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_chat_interface(name); + switch_chat_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_chat_interface(cPtr, false); return ret; } public static switch_say_interface switch_loadable_module_get_say_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_say_interface(name); - switch_say_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_say_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_say_interface(name); + switch_say_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_say_interface(cPtr, false); return ret; } public static switch_management_interface switch_loadable_module_get_management_interface(string relative_oid) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_management_interface(relative_oid); - switch_management_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_management_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_management_interface(relative_oid); + switch_management_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_management_interface(cPtr, false); return ret; } public static switch_limit_interface switch_loadable_module_get_limit_interface(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_limit_interface(name); - switch_limit_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_limit_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_get_limit_interface(name); + switch_limit_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_limit_interface(cPtr, false); return ret; } @@ -3713,8 +10224,8 @@ else } public static SWIGTYPE_p_f_p_switch_core_session__int switch_core_get_secondary_recover_callback(string key) { - IntPtr cPtr = freeswitchPINVOKE.switch_core_get_secondary_recover_callback(key); - SWIGTYPE_p_f_p_switch_core_session__int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__int(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_get_secondary_recover_callback(key); + SWIGTYPE_p_f_p_switch_core_session__int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__int(cPtr, false); return ret; } @@ -4224,6 +10735,11 @@ else return ret; } + public static string switch_pool_strip_whitespace(SWIGTYPE_p_apr_pool_t pool, string str) { + string ret = freeswitchPINVOKE.switch_pool_strip_whitespace(SWIGTYPE_p_apr_pool_t.getCPtr(pool), str); + return ret; + } + public static string switch_escape_char(SWIGTYPE_p_apr_pool_t pool, string arg1, string delim, char esc) { string ret = freeswitchPINVOKE.switch_escape_char(SWIGTYPE_p_apr_pool_t.getCPtr(pool), arg1, delim, esc); return ret; @@ -4285,6 +10801,11 @@ else return ret; } + public static uint switch_parse_cpu_string(string cpu) { + uint ret = freeswitchPINVOKE.switch_parse_cpu_string(cpu); + return ret; + } + public static int switch_needs_url_encode(string s) { int ret = freeswitchPINVOKE.switch_needs_url_encode(s); return ret; @@ -4549,8 +11070,8 @@ else } public static switch_caller_extension switch_caller_extension_new(SWIGTYPE_p_switch_core_session session, string extension_name, string extension_number) { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number); - switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_new(SWIGTYPE_p_switch_core_session.getCPtr(session), extension_name, extension_number); + switch_caller_extension ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); return ret; } @@ -4573,20 +11094,20 @@ else } public static switch_caller_profile switch_caller_profile_new(SWIGTYPE_p_apr_pool_t pool, string username, string dialplan, string caller_id_name, string caller_id_number, string network_addr, string ani, string aniii, string rdnis, string source, string context, string destination_number) { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_new(SWIGTYPE_p_apr_pool_t.getCPtr(pool), username, dialplan, caller_id_name, caller_id_number, network_addr, ani, aniii, rdnis, source, context, destination_number); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_new(SWIGTYPE_p_apr_pool_t.getCPtr(pool), username, dialplan, caller_id_name, caller_id_number, network_addr, ani, aniii, rdnis, source, context, destination_number); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } public static switch_caller_profile switch_caller_profile_clone(SWIGTYPE_p_switch_core_session session, switch_caller_profile tocopy) { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_clone(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_caller_profile.getCPtr(tocopy)); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_clone(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_caller_profile.getCPtr(tocopy)); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } public static switch_caller_profile switch_caller_profile_dup(SWIGTYPE_p_apr_pool_t pool, switch_caller_profile tocopy) { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_dup(SWIGTYPE_p_apr_pool_t.getCPtr(pool), switch_caller_profile.getCPtr(tocopy)); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_dup(SWIGTYPE_p_apr_pool_t.getCPtr(pool), switch_caller_profile.getCPtr(tocopy)); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } @@ -4658,8 +11179,8 @@ else } public static SWIGTYPE_p_switch_call_cause_t switch_channel_get_cause_ptr(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_cause_ptr(SWIGTYPE_p_switch_channel.getCPtr(channel)); - SWIGTYPE_p_switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_call_cause_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_cause_ptr(SWIGTYPE_p_switch_channel.getCPtr(channel)); + SWIGTYPE_p_switch_call_cause_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_call_cause_t(cPtr, false); return ret; } @@ -4669,8 +11190,8 @@ else } public static switch_channel_timetable switch_channel_get_timetable(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_timetable(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_channel_timetable ret = (cPtr == IntPtr.Zero) ? null : new switch_channel_timetable(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_timetable(SWIGTYPE_p_switch_channel.getCPtr(channel)); + switch_channel_timetable ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_channel_timetable(cPtr, false); return ret; } @@ -4705,8 +11226,8 @@ else } public static switch_caller_profile switch_channel_get_caller_profile(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } @@ -4719,8 +11240,8 @@ else } public static switch_caller_profile switch_channel_get_originator_caller_profile(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_originator_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_originator_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } @@ -4729,8 +11250,8 @@ else } public static switch_caller_profile switch_channel_get_originatee_caller_profile(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_originatee_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_originatee_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } @@ -4739,8 +11260,8 @@ else } public static switch_caller_profile switch_channel_get_origination_caller_profile(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_origination_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_origination_caller_profile(SWIGTYPE_p_switch_channel.getCPtr(channel)); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } @@ -4842,14 +11363,19 @@ else return ret; } + public static int switch_channel_var_false(SWIGTYPE_p_switch_channel channel, string variable) { + int ret = freeswitchPINVOKE.switch_channel_var_false(SWIGTYPE_p_switch_channel.getCPtr(channel), variable); + return ret; + } + public static int switch_channel_var_true(SWIGTYPE_p_switch_channel channel, string variable) { int ret = freeswitchPINVOKE.switch_channel_var_true(SWIGTYPE_p_switch_channel.getCPtr(channel), variable); return ret; } public static switch_event_header switch_channel_variable_first(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_variable_first(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_event_header ret = (cPtr == IntPtr.Zero) ? null : new switch_event_header(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_variable_first(SWIGTYPE_p_switch_channel.getCPtr(channel)); + switch_event_header ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event_header(cPtr, false); return ret; } @@ -4883,8 +11409,8 @@ else } public static switch_caller_extension switch_channel_get_caller_extension(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_caller_extension(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_caller_extension(SWIGTYPE_p_switch_channel.getCPtr(channel)); + switch_caller_extension ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); return ret; } @@ -4999,8 +11525,8 @@ else } public static switch_state_handler_table switch_channel_get_state_handler(SWIGTYPE_p_switch_channel channel, int index) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_state_handler(SWIGTYPE_p_switch_channel.getCPtr(channel), index); - switch_state_handler_table ret = (cPtr == IntPtr.Zero) ? null : new switch_state_handler_table(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_state_handler(SWIGTYPE_p_switch_channel.getCPtr(channel), index); + switch_state_handler_table ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_state_handler_table(cPtr, false); return ret; } @@ -5010,14 +11536,14 @@ else } public static SWIGTYPE_p_void switch_channel_get_private(SWIGTYPE_p_switch_channel channel, string key) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_private(SWIGTYPE_p_switch_channel.getCPtr(channel), key); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_private(SWIGTYPE_p_switch_channel.getCPtr(channel), key); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } public static SWIGTYPE_p_void switch_channel_get_private_partner(SWIGTYPE_p_switch_channel channel, string key) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_private_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), key); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_private_partner(SWIGTYPE_p_switch_channel.getCPtr(channel), key); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -5175,8 +11701,8 @@ else } public static SWIGTYPE_p_switch_core_session switch_channel_get_session(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_session(SWIGTYPE_p_switch_channel.getCPtr(channel)); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_session(SWIGTYPE_p_switch_channel.getCPtr(channel)); + SWIGTYPE_p_switch_core_session ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); return ret; } @@ -5233,8 +11759,8 @@ else } public static switch_caller_extension switch_channel_get_queued_extension(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_queued_extension(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_queued_extension(SWIGTYPE_p_switch_channel.getCPtr(channel)); + switch_caller_extension ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); return ret; } @@ -5254,8 +11780,8 @@ else } public static switch_hold_record_t switch_channel_get_hold_record(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_hold_record(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_hold_record_t ret = (cPtr == IntPtr.Zero) ? null : new switch_hold_record_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_hold_record(SWIGTYPE_p_switch_channel.getCPtr(channel)); + switch_hold_record_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_hold_record_t(cPtr, false); return ret; } @@ -5294,8 +11820,8 @@ else } public static switch_device_record_t switch_channel_get_device_record(SWIGTYPE_p_switch_channel channel) { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_device_record(SWIGTYPE_p_switch_channel.getCPtr(channel)); - switch_device_record_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_record_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_get_device_record(SWIGTYPE_p_switch_channel.getCPtr(channel)); + switch_device_record_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_device_record_t(cPtr, false); return ret; } @@ -5444,8 +11970,8 @@ else } public static SWIGTYPE_p_void switch_buffer_get_head_pointer(SWIGTYPE_p_switch_buffer buffer) { - IntPtr cPtr = freeswitchPINVOKE.switch_buffer_get_head_pointer(SWIGTYPE_p_switch_buffer.getCPtr(buffer)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_buffer_get_head_pointer(SWIGTYPE_p_switch_buffer.getCPtr(buffer)); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -5470,8 +11996,8 @@ else } public static switch_event_header switch_event_get_header_ptr(switch_event arg0, string header_name) { - IntPtr cPtr = freeswitchPINVOKE.switch_event_get_header_ptr(switch_event.getCPtr(arg0), header_name); - switch_event_header ret = (cPtr == IntPtr.Zero) ? null : new switch_event_header(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_event_get_header_ptr(switch_event.getCPtr(arg0), header_name); + switch_event_header ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event_header(cPtr, false); return ret; } @@ -5710,14 +12236,14 @@ else } public static SWIGTYPE_p_cJSON switch_live_array_get(SWIGTYPE_p_switch_live_array_s la, string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_live_array_get(SWIGTYPE_p_switch_live_array_s.getCPtr(la), name); - SWIGTYPE_p_cJSON ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_cJSON(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_live_array_get(SWIGTYPE_p_switch_live_array_s.getCPtr(la), name); + SWIGTYPE_p_cJSON ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_cJSON(cPtr, false); return ret; } public static SWIGTYPE_p_cJSON switch_live_array_get_idx(SWIGTYPE_p_switch_live_array_s la, int idx) { - IntPtr cPtr = freeswitchPINVOKE.switch_live_array_get_idx(SWIGTYPE_p_switch_live_array_s.getCPtr(la), idx); - SWIGTYPE_p_cJSON ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_cJSON(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_live_array_get_idx(SWIGTYPE_p_switch_live_array_s.getCPtr(la), idx); + SWIGTYPE_p_cJSON ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_cJSON(cPtr, false); return ret; } @@ -6176,8 +12702,8 @@ else return ret; } - public static switch_status_t switch_ivr_originate(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session bleg, SWIGTYPE_p_switch_call_cause_t cause, string bridgeto, uint timelimit_sec, switch_state_handler_table table, string cid_name_override, string cid_num_override, switch_caller_profile caller_profile_override, switch_event ovars, uint flags, SWIGTYPE_p_switch_call_cause_t cancel_cause) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_originate(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(bleg), SWIGTYPE_p_switch_call_cause_t.getCPtr(cause), bridgeto, timelimit_sec, switch_state_handler_table.getCPtr(table), cid_name_override, cid_num_override, switch_caller_profile.getCPtr(caller_profile_override), switch_event.getCPtr(ovars), flags, SWIGTYPE_p_switch_call_cause_t.getCPtr(cancel_cause)); + public static switch_status_t switch_ivr_originate(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_p_switch_core_session bleg, SWIGTYPE_p_switch_call_cause_t cause, string bridgeto, uint timelimit_sec, switch_state_handler_table table, string cid_name_override, string cid_num_override, switch_caller_profile caller_profile_override, switch_event ovars, uint flags, SWIGTYPE_p_switch_call_cause_t cancel_cause, SWIGTYPE_p_switch_dial_handle_s dh) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_originate(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_p_switch_core_session.getCPtr(bleg), SWIGTYPE_p_switch_call_cause_t.getCPtr(cause), bridgeto, timelimit_sec, switch_state_handler_table.getCPtr(table), cid_name_override, cid_num_override, switch_caller_profile.getCPtr(caller_profile_override), switch_event.getCPtr(ovars), flags, SWIGTYPE_p_switch_call_cause_t.getCPtr(cancel_cause), SWIGTYPE_p_switch_dial_handle_s.getCPtr(dh)); return ret; } @@ -6195,6 +12721,11 @@ else return ret; } + public static switch_status_t switch_ivr_bridge_bleg(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_core_session peer_session, uint max_wait_ms) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_bridge_bleg(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_core_session.getCPtr(peer_session), max_wait_ms); + return ret; + } + public static switch_status_t switch_ivr_signal_bridge(SWIGTYPE_p_switch_core_session session, SWIGTYPE_p_switch_core_session peer_session) { switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_signal_bridge(SWIGTYPE_p_switch_core_session.getCPtr(session), SWIGTYPE_p_switch_core_session.getCPtr(peer_session)); return ret; @@ -6322,8 +12853,8 @@ else } public static SWIGTYPE_p_void switch_ivr_digit_stream_parser_feed(SWIGTYPE_p_switch_ivr_digit_stream_parser parser, SWIGTYPE_p_switch_ivr_digit_stream stream, char digit) { - IntPtr cPtr = freeswitchPINVOKE.switch_ivr_digit_stream_parser_feed(SWIGTYPE_p_switch_ivr_digit_stream_parser.getCPtr(parser), SWIGTYPE_p_switch_ivr_digit_stream.getCPtr(stream), digit); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_ivr_digit_stream_parser_feed(SWIGTYPE_p_switch_ivr_digit_stream_parser.getCPtr(parser), SWIGTYPE_p_switch_ivr_digit_stream.getCPtr(stream), digit); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -6564,8 +13095,8 @@ else } public static switch_ivr_dmachine_match switch_ivr_dmachine_get_match(SWIGTYPE_p_switch_ivr_dmachine dmachine) { - IntPtr cPtr = freeswitchPINVOKE.switch_ivr_dmachine_get_match(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine)); - switch_ivr_dmachine_match ret = (cPtr == IntPtr.Zero) ? null : new switch_ivr_dmachine_match(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_ivr_dmachine_get_match(SWIGTYPE_p_switch_ivr_dmachine.getCPtr(dmachine)); + switch_ivr_dmachine_match ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_ivr_dmachine_match(cPtr, false); return ret; } @@ -6654,6 +13185,76 @@ else return ret; } + public static switch_status_t switch_dial_handle_create(SWIGTYPE_p_p_switch_dial_handle_s handle) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_dial_handle_create(SWIGTYPE_p_p_switch_dial_handle_s.getCPtr(handle)); + return ret; + } + + public static void switch_dial_handle_destroy(SWIGTYPE_p_p_switch_dial_handle_s handle) { + freeswitchPINVOKE.switch_dial_handle_destroy(SWIGTYPE_p_p_switch_dial_handle_s.getCPtr(handle)); + } + + public static void switch_dial_handle_add_leg_list(SWIGTYPE_p_switch_dial_handle_s handle, SWIGTYPE_p_p_switch_dial_leg_list_s leg_listP) { + freeswitchPINVOKE.switch_dial_handle_add_leg_list(SWIGTYPE_p_switch_dial_handle_s.getCPtr(handle), SWIGTYPE_p_p_switch_dial_leg_list_s.getCPtr(leg_listP)); + } + + public static void switch_dial_leg_list_add_leg(SWIGTYPE_p_switch_dial_leg_list_s parent, SWIGTYPE_p_p_switch_dial_leg_s legP, string dial_string) { + freeswitchPINVOKE.switch_dial_leg_list_add_leg(SWIGTYPE_p_switch_dial_leg_list_s.getCPtr(parent), SWIGTYPE_p_p_switch_dial_leg_s.getCPtr(legP), dial_string); + } + + public static void switch_dial_leg_list_add_leg_printf(SWIGTYPE_p_switch_dial_leg_list_s parent, SWIGTYPE_p_p_switch_dial_leg_s legP, string fmt) { + freeswitchPINVOKE.switch_dial_leg_list_add_leg_printf(SWIGTYPE_p_switch_dial_leg_list_s.getCPtr(parent), SWIGTYPE_p_p_switch_dial_leg_s.getCPtr(legP), fmt); + } + + public static void switch_dial_handle_add_global_var(SWIGTYPE_p_switch_dial_handle_s handle, string var, string val) { + freeswitchPINVOKE.switch_dial_handle_add_global_var(SWIGTYPE_p_switch_dial_handle_s.getCPtr(handle), var, val); + } + + public static void switch_dial_handle_add_global_var_printf(SWIGTYPE_p_switch_dial_handle_s handle, string var, string fmt) { + freeswitchPINVOKE.switch_dial_handle_add_global_var_printf(SWIGTYPE_p_switch_dial_handle_s.getCPtr(handle), var, fmt); + } + + public static switch_status_t switch_dial_handle_add_leg_var(SWIGTYPE_p_switch_dial_leg_s leg, string var, string val) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_dial_handle_add_leg_var(SWIGTYPE_p_switch_dial_leg_s.getCPtr(leg), var, val); + return ret; + } + + public static switch_status_t switch_dial_handle_add_leg_var_printf(SWIGTYPE_p_switch_dial_leg_s leg, string var, string fmt) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_dial_handle_add_leg_var_printf(SWIGTYPE_p_switch_dial_leg_s.getCPtr(leg), var, fmt); + return ret; + } + + public static int switch_dial_handle_get_peers(SWIGTYPE_p_switch_dial_handle_s handle, int idx, ref string array, int max) { + int ret = freeswitchPINVOKE.switch_dial_handle_get_peers(SWIGTYPE_p_switch_dial_handle_s.getCPtr(handle), idx, ref array, max); + return ret; + } + + public static int switch_dial_handle_get_vars(SWIGTYPE_p_switch_dial_handle_s handle, int idx, SWIGTYPE_p_p_switch_event array, int max) { + int ret = freeswitchPINVOKE.switch_dial_handle_get_vars(SWIGTYPE_p_switch_dial_handle_s.getCPtr(handle), idx, SWIGTYPE_p_p_switch_event.getCPtr(array), max); + return ret; + } + + public static switch_event switch_dial_handle_get_global_vars(SWIGTYPE_p_switch_dial_handle_s handle) { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_dial_handle_get_global_vars(SWIGTYPE_p_switch_dial_handle_s.getCPtr(handle)); + switch_event ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event(cPtr, false); + return ret; + } + + public static switch_event switch_dial_leg_get_vars(SWIGTYPE_p_switch_dial_leg_s leg) { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_dial_leg_get_vars(SWIGTYPE_p_switch_dial_leg_s.getCPtr(leg)); + switch_event ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event(cPtr, false); + return ret; + } + + public static int switch_dial_handle_get_total(SWIGTYPE_p_switch_dial_handle_s handle) { + int ret = freeswitchPINVOKE.switch_dial_handle_get_total(SWIGTYPE_p_switch_dial_handle_s.getCPtr(handle)); + return ret; + } + + public static void switch_ivr_orig_and_bridge(SWIGTYPE_p_switch_core_session session, string data, SWIGTYPE_p_switch_dial_handle_s dh) { + freeswitchPINVOKE.switch_ivr_orig_and_bridge(SWIGTYPE_p_switch_core_session.getCPtr(session), data, SWIGTYPE_p_switch_dial_handle_s.getCPtr(dh)); + } + public static switch_status_t switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp rtp_session, switch_rtp_crypto_direction_t direction, uint index, switch_secure_settings_t ssec) { switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_rtp_add_crypto_key(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), (int)direction, index, switch_secure_settings_t.getCPtr(ssec)); return ret; @@ -6726,8 +13327,8 @@ else public static SWIGTYPE_p_switch_rtp switch_rtp_new(string rx_host, ushort rx_port, string tx_host, ushort tx_port, byte payload, uint samples_per_interval, uint ms_per_packet, SWIGTYPE_p_switch_rtp_flag_t flags, string timer_name, out string err, SWIGTYPE_p_apr_pool_t pool) { var err_ptr = global::System.IntPtr.Zero; try { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_new(rx_host, rx_port, tx_host, tx_port, payload, samples_per_interval, ms_per_packet, SWIGTYPE_p_switch_rtp_flag_t.getCPtr(flags), timer_name, ref err_ptr, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - SWIGTYPE_p_switch_rtp ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_rtp(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_new(rx_host, rx_port, tx_host, tx_port, payload, samples_per_interval, ms_per_packet, SWIGTYPE_p_switch_rtp_flag_t.getCPtr(flags), timer_name, ref err_ptr, SWIGTYPE_p_apr_pool_t.getCPtr(pool)); + SWIGTYPE_p_switch_rtp ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_rtp(cPtr, false); return ret; } finally { if(err_ptr != global::System.IntPtr.Zero) @@ -6831,8 +13432,8 @@ else } public static switch_timer switch_rtp_get_media_timer(SWIGTYPE_p_switch_rtp rtp_session) { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_media_timer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - switch_timer ret = (cPtr == IntPtr.Zero) ? null : new switch_timer(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_media_timer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); + switch_timer ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_timer(cPtr, false); return ret; } @@ -6867,8 +13468,8 @@ else } public static SWIGTYPE_p_switch_jb_s switch_rtp_get_jitter_buffer(SWIGTYPE_p_switch_rtp rtp_session) { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_jitter_buffer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - SWIGTYPE_p_switch_jb_s ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_jb_s(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_jitter_buffer(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); + SWIGTYPE_p_switch_jb_s ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_jb_s(cPtr, false); return ret; } @@ -6894,8 +13495,8 @@ else } public static SWIGTYPE_p_switch_socket_t switch_rtp_get_rtp_socket(SWIGTYPE_p_switch_rtp rtp_session) { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_rtp_socket(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - SWIGTYPE_p_switch_socket_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_socket_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_rtp_socket(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); + SWIGTYPE_p_switch_socket_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_socket_t(cPtr, false); return ret; } @@ -7012,8 +13613,8 @@ else } public static SWIGTYPE_p_void switch_rtp_get_private(SWIGTYPE_p_switch_rtp rtp_session) { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_private(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_private(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session)); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -7027,8 +13628,8 @@ else } public static switch_rtp_stats_t switch_rtp_get_stats(SWIGTYPE_p_switch_rtp rtp_session, SWIGTYPE_p_apr_pool_t pool) { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_stats(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_apr_pool_t.getCPtr(pool)); - switch_rtp_stats_t ret = (cPtr == IntPtr.Zero) ? null : new switch_rtp_stats_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_get_stats(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session), SWIGTYPE_p_apr_pool_t.getCPtr(pool)); + switch_rtp_stats_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_rtp_stats_t(cPtr, false); return ret; } @@ -7115,8 +13716,8 @@ else } public static switch_log_node_t switch_log_node_dup(switch_log_node_t node) { - IntPtr cPtr = freeswitchPINVOKE.switch_log_node_dup(switch_log_node_t.getCPtr(node)); - switch_log_node_t ret = (cPtr == IntPtr.Zero) ? null : new switch_log_node_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_log_node_dup(switch_log_node_t.getCPtr(node)); + switch_log_node_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_log_node_t(cPtr, false); return ret; } @@ -7125,57 +13726,57 @@ else } public static switch_xml switch_xml_parse_str_dynamic(string s, switch_bool_t dup) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_str_dynamic(s, (int)dup); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_str_dynamic(s, (int)dup); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_parse_str(string s, SWIGTYPE_p_switch_size_t len) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_str(s, SWIGTYPE_p_switch_size_t.getCPtr(len)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_str(s, SWIGTYPE_p_switch_size_t.getCPtr(len)); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); return ret; } public static switch_xml switch_xml_parse_fd(int fd) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_fd(fd); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_fd(fd); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_parse_file(string file) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_file(file); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_file(file); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_parse_file_simple(string file) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_file_simple(file); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_file_simple(file); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_parse_fp(SWIGTYPE_p_FILE fp) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_fp(SWIGTYPE_p_FILE.getCPtr(fp)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_parse_fp(SWIGTYPE_p_FILE.getCPtr(fp)); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_child(switch_xml xml, string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_child(switch_xml.getCPtr(xml), name); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_child(switch_xml.getCPtr(xml), name); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_find_child(switch_xml node, string childname, string attrname, string value) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_find_child(switch_xml.getCPtr(node), childname, attrname, value); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_find_child(switch_xml.getCPtr(node), childname, attrname, value); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_find_child_multi(switch_xml node, string childname) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_find_child_multi(switch_xml.getCPtr(node), childname); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_find_child_multi(switch_xml.getCPtr(node), childname); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } @@ -7190,8 +13791,8 @@ else } public static switch_xml switch_xml_get(switch_xml xml) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_get(switch_xml.getCPtr(xml)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_get(switch_xml.getCPtr(xml)); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } @@ -7230,45 +13831,45 @@ else } public static switch_xml switch_xml_new(string name) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_new(name); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_new(name); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_add_child(switch_xml xml, string name, SWIGTYPE_p_switch_size_t off) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_add_child(switch_xml.getCPtr(xml), name, SWIGTYPE_p_switch_size_t.getCPtr(off)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_add_child(switch_xml.getCPtr(xml), name, SWIGTYPE_p_switch_size_t.getCPtr(off)); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); return ret; } public static switch_xml switch_xml_set_txt(switch_xml xml, string txt) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_set_txt(switch_xml.getCPtr(xml), txt); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_set_txt(switch_xml.getCPtr(xml), txt); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_set_attr(switch_xml xml, string name, string value) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_set_attr(switch_xml.getCPtr(xml), name, value); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_set_attr(switch_xml.getCPtr(xml), name, value); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_set_flag(switch_xml xml, switch_xml_flag_t flag) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_set_flag(switch_xml.getCPtr(xml), (int)flag); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_set_flag(switch_xml.getCPtr(xml), (int)flag); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_cut(switch_xml xml) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_cut(switch_xml.getCPtr(xml)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_cut(switch_xml.getCPtr(xml)); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_insert(switch_xml xml, switch_xml dest, SWIGTYPE_p_switch_size_t off) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_insert(switch_xml.getCPtr(xml), switch_xml.getCPtr(dest), SWIGTYPE_p_switch_size_t.getCPtr(off)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_insert(switch_xml.getCPtr(xml), switch_xml.getCPtr(dest), SWIGTYPE_p_switch_size_t.getCPtr(off)); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -7286,8 +13887,8 @@ else public static switch_xml switch_xml_open_root(byte reload, out string err) { var err_ptr = global::System.IntPtr.Zero; try { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_open_root(reload, ref err_ptr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_open_root(reload, ref err_ptr); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } finally { if(err_ptr != global::System.IntPtr.Zero) @@ -7329,8 +13930,8 @@ else } public static switch_xml switch_xml_root() { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_root(); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_root(); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } @@ -7374,14 +13975,14 @@ else } public static switch_xml switch_xml_dup(switch_xml xml) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_dup(switch_xml.getCPtr(xml)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_dup(switch_xml.getCPtr(xml)); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } public static switch_xml switch_xml_open_cfg(string file_path, SWIGTYPE_p_p_switch_xml node, switch_event arg2) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_open_cfg(file_path, SWIGTYPE_p_p_switch_xml.getCPtr(node), switch_event.getCPtr(arg2)); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_open_cfg(file_path, SWIGTYPE_p_p_switch_xml.getCPtr(node), switch_event.getCPtr(arg2)); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } @@ -7399,8 +14000,8 @@ else } public static SWIGTYPE_p_void switch_xml_get_binding_user_data(SWIGTYPE_p_switch_xml_binding binding) { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_get_binding_user_data(SWIGTYPE_p_switch_xml_binding.getCPtr(binding)); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_get_binding_user_data(SWIGTYPE_p_switch_xml_binding.getCPtr(binding)); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } @@ -7924,19 +14525,18 @@ else } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - class freeswitchPINVOKE { protected class SWIGExceptionHelper { @@ -7960,7 +14560,7 @@ class freeswitchPINVOKE { static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException); static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException); - [DllImport("mod_managed", EntryPoint="SWIGRegisterExceptionCallbacks_freeswitch")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="SWIGRegisterExceptionCallbacks_freeswitch")] public static extern void SWIGRegisterExceptionCallbacks_freeswitch( ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, @@ -7974,58 +14574,58 @@ class freeswitchPINVOKE { ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate); - [DllImport("mod_managed", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_freeswitch")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_freeswitch")] public static extern void SWIGRegisterExceptionCallbacksArgument_freeswitch( ExceptionArgumentDelegate argumentDelegate, ExceptionArgumentDelegate argumentNullDelegate, ExceptionArgumentDelegate argumentOutOfRangeDelegate); static void SetPendingApplicationException(string message) { - SWIGPendingException.Set(new System.ApplicationException(message, SWIGPendingException.Retrieve())); + SWIGPendingException.Set(new global::System.ApplicationException(message, SWIGPendingException.Retrieve())); } static void SetPendingArithmeticException(string message) { - SWIGPendingException.Set(new System.ArithmeticException(message, SWIGPendingException.Retrieve())); + SWIGPendingException.Set(new global::System.ArithmeticException(message, SWIGPendingException.Retrieve())); } static void SetPendingDivideByZeroException(string message) { - SWIGPendingException.Set(new System.DivideByZeroException(message, SWIGPendingException.Retrieve())); + SWIGPendingException.Set(new global::System.DivideByZeroException(message, SWIGPendingException.Retrieve())); } static void SetPendingIndexOutOfRangeException(string message) { - SWIGPendingException.Set(new System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve())); + SWIGPendingException.Set(new global::System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve())); } static void SetPendingInvalidCastException(string message) { - SWIGPendingException.Set(new System.InvalidCastException(message, SWIGPendingException.Retrieve())); + SWIGPendingException.Set(new global::System.InvalidCastException(message, SWIGPendingException.Retrieve())); } static void SetPendingInvalidOperationException(string message) { - SWIGPendingException.Set(new System.InvalidOperationException(message, SWIGPendingException.Retrieve())); + SWIGPendingException.Set(new global::System.InvalidOperationException(message, SWIGPendingException.Retrieve())); } static void SetPendingIOException(string message) { - SWIGPendingException.Set(new System.IO.IOException(message, SWIGPendingException.Retrieve())); + SWIGPendingException.Set(new global::System.IO.IOException(message, SWIGPendingException.Retrieve())); } static void SetPendingNullReferenceException(string message) { - SWIGPendingException.Set(new System.NullReferenceException(message, SWIGPendingException.Retrieve())); + SWIGPendingException.Set(new global::System.NullReferenceException(message, SWIGPendingException.Retrieve())); } static void SetPendingOutOfMemoryException(string message) { - SWIGPendingException.Set(new System.OutOfMemoryException(message, SWIGPendingException.Retrieve())); + SWIGPendingException.Set(new global::System.OutOfMemoryException(message, SWIGPendingException.Retrieve())); } static void SetPendingOverflowException(string message) { - SWIGPendingException.Set(new System.OverflowException(message, SWIGPendingException.Retrieve())); + SWIGPendingException.Set(new global::System.OverflowException(message, SWIGPendingException.Retrieve())); } static void SetPendingSystemException(string message) { - SWIGPendingException.Set(new System.SystemException(message, SWIGPendingException.Retrieve())); + SWIGPendingException.Set(new global::System.SystemException(message, SWIGPendingException.Retrieve())); } static void SetPendingArgumentException(string message, string paramName) { - SWIGPendingException.Set(new System.ArgumentException(message, paramName, SWIGPendingException.Retrieve())); + SWIGPendingException.Set(new global::System.ArgumentException(message, paramName, SWIGPendingException.Retrieve())); } static void SetPendingArgumentNullException(string message, string paramName) { - Exception e = SWIGPendingException.Retrieve(); + global::System.Exception e = SWIGPendingException.Retrieve(); if (e != null) message = message + " Inner Exception: " + e.Message; - SWIGPendingException.Set(new System.ArgumentNullException(paramName, message)); + SWIGPendingException.Set(new global::System.ArgumentNullException(paramName, message)); } static void SetPendingArgumentOutOfRangeException(string message, string paramName) { - Exception e = SWIGPendingException.Retrieve(); + global::System.Exception e = SWIGPendingException.Retrieve(); if (e != null) message = message + " Inner Exception: " + e.Message; - SWIGPendingException.Set(new System.ArgumentOutOfRangeException(paramName, message)); + SWIGPendingException.Set(new global::System.ArgumentOutOfRangeException(paramName, message)); } static SWIGExceptionHelper() { @@ -8052,8 +14652,8 @@ class freeswitchPINVOKE { protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper(); public class SWIGPendingException { - [ThreadStatic] - private static Exception pendingException = null; + [global::System.ThreadStatic] + private static global::System.Exception pendingException = null; private static int numExceptionsPending = 0; public static bool Pending { @@ -8066,17 +14666,17 @@ class freeswitchPINVOKE { } } - public static void Set(Exception e) { + public static void Set(global::System.Exception e) { if (pendingException != null) - throw new ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e); + throw new global::System.ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e); pendingException = e; lock(typeof(freeswitchPINVOKE)) { numExceptionsPending++; } } - public static Exception Retrieve() { - Exception e = null; + public static global::System.Exception Retrieve() { + global::System.Exception e = null; if (numExceptionsPending > 0) { if (pendingException != null) { e = pendingException; @@ -8101,7 +14701,7 @@ class freeswitchPINVOKE { public delegate string SWIGStringDelegate(string message); static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); - [DllImport("mod_managed", EntryPoint="SWIGRegisterStringCallback_freeswitch")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="SWIGRegisterStringCallback_freeswitch")] public static extern void SWIGRegisterStringCallback_freeswitch(SWIGStringDelegate stringDelegate); static string CreateString(string cString) { @@ -8116,11957 +14716,12031 @@ class freeswitchPINVOKE { static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); - [DllImport("mod_managed", EntryPoint="CSharp_FREESWITCH_PEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_FREESWITCH_PEN_get___")] public static extern string FREESWITCH_PEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_FREESWITCH_OID_PREFIX_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_FREESWITCH_OID_PREFIX_get___")] public static extern string FREESWITCH_OID_PREFIX_get(); - [DllImport("mod_managed", EntryPoint="CSharp_FREESWITCH_ITAD_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_FREESWITCH_ITAD_get___")] public static extern string FREESWITCH_ITAD_get(); - [DllImport("mod_managed", EntryPoint="CSharp___EXTENSIONS___get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative___EXTENSIONS___get___")] public static extern int __EXTENSIONS___get(); - [DllImport("mod_managed", EntryPoint="CSharp___BSD_VISIBLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative___BSD_VISIBLE_get___")] public static extern int __BSD_VISIBLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ENT_ORIGINATE_DELIM_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_ENT_ORIGINATE_DELIM_get___")] public static extern string SWITCH_ENT_ORIGINATE_DELIM_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BLANK_STRING_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_BLANK_STRING_get___")] public static extern string SWITCH_BLANK_STRING_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_TON_UNDEF_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_TON_UNDEF_get___")] public static extern int SWITCH_TON_UNDEF_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_NUMPLAN_UNDEF_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_NUMPLAN_UNDEF_get___")] public static extern int SWITCH_NUMPLAN_UNDEF_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_ESC_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_ESC_get___")] public static extern string SWITCH_SEQ_ESC_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_HOME_CHAR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_HOME_CHAR_get___")] public static extern char SWITCH_SEQ_HOME_CHAR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_HOME_CHAR_STR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_HOME_CHAR_STR_get___")] public static extern string SWITCH_SEQ_HOME_CHAR_STR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_CHAR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARLINE_CHAR_get___")] public static extern char SWITCH_SEQ_CLEARLINE_CHAR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_CHAR_STR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARLINE_CHAR_STR_get___")] public static extern string SWITCH_SEQ_CLEARLINE_CHAR_STR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINEEND_CHAR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARLINEEND_CHAR_get___")] public static extern string SWITCH_SEQ_CLEARLINEEND_CHAR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_CHAR0_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARSCR_CHAR0_get___")] public static extern char SWITCH_SEQ_CLEARSCR_CHAR0_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_CHAR1_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARSCR_CHAR1_get___")] public static extern char SWITCH_SEQ_CLEARSCR_CHAR1_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_CHAR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARSCR_CHAR_get___")] public static extern string SWITCH_SEQ_CLEARSCR_CHAR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_AND_COLOR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_AND_COLOR_get___")] public static extern string SWITCH_SEQ_AND_COLOR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_END_COLOR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_END_COLOR_get___")] public static extern string SWITCH_SEQ_END_COLOR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_BLACK_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_BLACK_get___")] public static extern string SWITCH_SEQ_F_BLACK_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_RED_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_RED_get___")] public static extern string SWITCH_SEQ_F_RED_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_GREEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_GREEN_get___")] public static extern string SWITCH_SEQ_F_GREEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_YELLOW_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_YELLOW_get___")] public static extern string SWITCH_SEQ_F_YELLOW_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_BLUE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_BLUE_get___")] public static extern string SWITCH_SEQ_F_BLUE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_MAGEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_MAGEN_get___")] public static extern string SWITCH_SEQ_F_MAGEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_CYAN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_CYAN_get___")] public static extern string SWITCH_SEQ_F_CYAN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_F_WHITE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_F_WHITE_get___")] public static extern string SWITCH_SEQ_F_WHITE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_BLACK_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_BLACK_get___")] public static extern string SWITCH_SEQ_B_BLACK_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_RED_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_RED_get___")] public static extern string SWITCH_SEQ_B_RED_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_GREEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_GREEN_get___")] public static extern string SWITCH_SEQ_B_GREEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_YELLOW_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_YELLOW_get___")] public static extern string SWITCH_SEQ_B_YELLOW_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_BLUE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_BLUE_get___")] public static extern string SWITCH_SEQ_B_BLUE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_MAGEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_MAGEN_get___")] public static extern string SWITCH_SEQ_B_MAGEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_CYAN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_CYAN_get___")] public static extern string SWITCH_SEQ_B_CYAN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_B_WHITE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_B_WHITE_get___")] public static extern string SWITCH_SEQ_B_WHITE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FBLACK_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_FBLACK_get___")] public static extern string SWITCH_SEQ_FBLACK_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FRED_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_FRED_get___")] public static extern string SWITCH_SEQ_FRED_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FGREEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_FGREEN_get___")] public static extern string SWITCH_SEQ_FGREEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FYELLOW_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_FYELLOW_get___")] public static extern string SWITCH_SEQ_FYELLOW_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FBLUE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_FBLUE_get___")] public static extern string SWITCH_SEQ_FBLUE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FMAGEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_FMAGEN_get___")] public static extern string SWITCH_SEQ_FMAGEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FCYAN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_FCYAN_get___")] public static extern string SWITCH_SEQ_FCYAN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_FWHITE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_FWHITE_get___")] public static extern string SWITCH_SEQ_FWHITE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BBLACK_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_BBLACK_get___")] public static extern string SWITCH_SEQ_BBLACK_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BRED_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_BRED_get___")] public static extern string SWITCH_SEQ_BRED_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BGREEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_BGREEN_get___")] public static extern string SWITCH_SEQ_BGREEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BYELLOW_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_BYELLOW_get___")] public static extern string SWITCH_SEQ_BYELLOW_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BBLUE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_BBLUE_get___")] public static extern string SWITCH_SEQ_BBLUE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BMAGEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_BMAGEN_get___")] public static extern string SWITCH_SEQ_BMAGEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BCYAN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_BCYAN_get___")] public static extern string SWITCH_SEQ_BCYAN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_BWHITE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_BWHITE_get___")] public static extern string SWITCH_SEQ_BWHITE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_HOME_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_HOME_get___")] public static extern string SWITCH_SEQ_HOME_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARLINE_get___")] public static extern string SWITCH_SEQ_CLEARLINE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARLINEEND_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARLINEEND_get___")] public static extern string SWITCH_SEQ_CLEARLINEEND_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEQ_CLEARSCR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEQ_CLEARSCR_get___")] public static extern string SWITCH_SEQ_CLEARSCR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DEFAULT_CLID_NAME_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_DEFAULT_CLID_NAME_get___")] public static extern string SWITCH_DEFAULT_CLID_NAME_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DEFAULT_CLID_NUMBER_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_DEFAULT_CLID_NUMBER_get___")] public static extern string SWITCH_DEFAULT_CLID_NUMBER_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DEFAULT_DTMF_DURATION_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_DEFAULT_DTMF_DURATION_get___")] public static extern int SWITCH_DEFAULT_DTMF_DURATION_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DEFAULT_TIMEOUT_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_DEFAULT_TIMEOUT_get___")] public static extern int SWITCH_DEFAULT_TIMEOUT_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MIN_DTMF_DURATION_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MIN_DTMF_DURATION_get___")] public static extern int SWITCH_MIN_DTMF_DURATION_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_DTMF_DURATION_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_DTMF_DURATION_get___")] public static extern int SWITCH_MAX_DTMF_DURATION_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PATH_SEPARATOR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_PATH_SEPARATOR_get___")] public static extern string SWITCH_PATH_SEPARATOR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_URL_SEPARATOR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_URL_SEPARATOR_get___")] public static extern string SWITCH_URL_SEPARATOR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE_get___")] public static extern string SWITCH_IGNORE_DISPLAY_UPDATES_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_AUDIO_SPOOL_PATH_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_AUDIO_SPOOL_PATH_VARIABLE_get___")] public static extern string SWITCH_AUDIO_SPOOL_PATH_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get___")] public static extern string SWITCH_BRIDGE_HANGUP_CAUSE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_READ_TERMINATOR_USED_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_READ_TERMINATOR_USED_VARIABLE_get___")] public static extern string SWITCH_READ_TERMINATOR_USED_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get___")] public static extern string SWITCH_SEND_SILENCE_WHEN_IDLE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CURRENT_APPLICATION_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CURRENT_APPLICATION_VARIABLE_get___")] public static extern string SWITCH_CURRENT_APPLICATION_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CURRENT_APPLICATION_DATA_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CURRENT_APPLICATION_DATA_VARIABLE_get___")] public static extern string SWITCH_CURRENT_APPLICATION_DATA_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE_get___")] public static extern string SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE_get___")] public static extern string SWITCH_PASSTHRU_PTIME_MISMATCH_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get___")] public static extern string SWITCH_ENABLE_HEARTBEAT_EVENTS_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get___")] public static extern string SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_READ_RESULT_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_READ_RESULT_VARIABLE_get___")] public static extern string SWITCH_READ_RESULT_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ATT_XFER_RESULT_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_ATT_XFER_RESULT_VARIABLE_get___")] public static extern string SWITCH_ATT_XFER_RESULT_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_COPY_XML_CDR_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_COPY_XML_CDR_VARIABLE_get___")] public static extern string SWITCH_COPY_XML_CDR_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_COPY_JSON_CDR_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_COPY_JSON_CDR_VARIABLE_get___")] public static extern string SWITCH_COPY_JSON_CDR_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get___")] public static extern string SWITCH_PROTO_SPECIFIC_HANGUP_CAUSE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_TRANSFER_HISTORY_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_TRANSFER_HISTORY_VARIABLE_get___")] public static extern string SWITCH_TRANSFER_HISTORY_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_TRANSFER_SOURCE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_TRANSFER_SOURCE_VARIABLE_get___")] public static extern string SWITCH_TRANSFER_SOURCE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SENSITIVE_DTMF_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SENSITIVE_DTMF_VARIABLE_get___")] public static extern string SWITCH_SENSITIVE_DTMF_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE_get___")] public static extern string SWITCH_RECORD_POST_PROCESS_EXEC_APP_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE_get___")] public static extern string SWITCH_RECORD_POST_PROCESS_EXEC_API_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_EXECUTE_ON_ANSWER_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_EXECUTE_ON_PRE_ANSWER_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_EXECUTE_ON_MEDIA_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_EXECUTE_ON_RING_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_EXECUTE_ON_TONE_DETECT_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_EXECUTE_ON_ORIGINATE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_EXECUTE_ON_POST_ORIGINATE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_EXECUTE_ON_PRE_ORIGINATE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_EXECUTE_ON_PRE_BRIDGE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_EXECUTE_ON_POST_BRIDGE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_API_ON_ANSWER_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_API_ON_PRE_ANSWER_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_API_ON_MEDIA_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_RING_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_RING_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_API_ON_RING_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_API_ON_TONE_DETECT_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_API_ON_ORIGINATE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_API_ON_POST_ORIGINATE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_API_ON_PRE_ORIGINATE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CALL_TIMEOUT_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CALL_TIMEOUT_VARIABLE_get___")] public static extern string SWITCH_CALL_TIMEOUT_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_HOLDING_UUID_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_HOLDING_UUID_VARIABLE_get___")] public static extern string SWITCH_HOLDING_UUID_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SOFT_HOLDING_UUID_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SOFT_HOLDING_UUID_VARIABLE_get___")] public static extern string SWITCH_SOFT_HOLDING_UUID_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_API_BRIDGE_END_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_API_BRIDGE_END_VARIABLE_get___")] public static extern string SWITCH_API_BRIDGE_END_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_API_BRIDGE_START_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_API_BRIDGE_START_VARIABLE_get___")] public static extern string SWITCH_API_BRIDGE_START_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_API_HANGUP_HOOK_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_API_HANGUP_HOOK_VARIABLE_get___")] public static extern string SWITCH_API_HANGUP_HOOK_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_API_REPORTING_HOOK_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_API_REPORTING_HOOK_VARIABLE_get___")] public static extern string SWITCH_API_REPORTING_HOOK_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get___")] public static extern string SWITCH_SESSION_IN_HANGUP_HOOK_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PROCESS_CDR_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_PROCESS_CDR_VARIABLE_get___")] public static extern string SWITCH_PROCESS_CDR_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SKIP_CDR_CAUSES_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SKIP_CDR_CAUSES_VARIABLE_get___")] public static extern string SWITCH_SKIP_CDR_CAUSES_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_FORCE_PROCESS_CDR_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_FORCE_PROCESS_CDR_VARIABLE_get___")] public static extern string SWITCH_FORCE_PROCESS_CDR_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_CHANNEL_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_BRIDGE_CHANNEL_VARIABLE_get___")] public static extern string SWITCH_BRIDGE_CHANNEL_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CHANNEL_NAME_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CHANNEL_NAME_VARIABLE_get___")] public static extern string SWITCH_CHANNEL_NAME_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_UUID_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_BRIDGE_UUID_VARIABLE_get___")] public static extern string SWITCH_BRIDGE_UUID_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CONTINUE_ON_FAILURE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CONTINUE_ON_FAILURE_VARIABLE_get___")] public static extern string SWITCH_CONTINUE_ON_FAILURE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get___")] public static extern string SWITCH_PLAYBACK_TERMINATORS_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PLAYBACK_TERMINATOR_USED_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_PLAYBACK_TERMINATOR_USED_get___")] public static extern string SWITCH_PLAYBACK_TERMINATOR_USED_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get___")] public static extern string SWITCH_CACHE_SPEECH_HANDLES_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get___")] public static extern string SWITCH_CACHE_SPEECH_HANDLES_OBJ_NAME_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BYPASS_MEDIA_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_BYPASS_MEDIA_VARIABLE_get___")] public static extern string SWITCH_BYPASS_MEDIA_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PROXY_MEDIA_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_PROXY_MEDIA_VARIABLE_get___")] public static extern string SWITCH_PROXY_MEDIA_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ZRTP_PASSTHRU_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_ZRTP_PASSTHRU_VARIABLE_get___")] public static extern string SWITCH_ZRTP_PASSTHRU_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get___")] public static extern string SWITCH_ENDPOINT_DISPOSITION_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_HOLD_MUSIC_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_HOLD_MUSIC_VARIABLE_get___")] public static extern string SWITCH_HOLD_MUSIC_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_TEMP_HOLD_MUSIC_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_TEMP_HOLD_MUSIC_VARIABLE_get___")] public static extern string SWITCH_TEMP_HOLD_MUSIC_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_EXPORT_VARS_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_EXPORT_VARS_VARIABLE_get___")] public static extern string SWITCH_EXPORT_VARS_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_EXPORT_VARS_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_BRIDGE_EXPORT_VARS_VARIABLE_get___")] public static extern string SWITCH_BRIDGE_EXPORT_VARS_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_R_SDP_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_R_SDP_VARIABLE_get___")] public static extern string SWITCH_R_SDP_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_L_SDP_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_L_SDP_VARIABLE_get___")] public static extern string SWITCH_L_SDP_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_B_SDP_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_B_SDP_VARIABLE_get___")] public static extern string SWITCH_B_SDP_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BRIDGE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_BRIDGE_VARIABLE_get___")] public static extern string SWITCH_BRIDGE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LAST_BRIDGE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_LAST_BRIDGE_VARIABLE_get___")] public static extern string SWITCH_LAST_BRIDGE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SIGNAL_BRIDGE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SIGNAL_BRIDGE_VARIABLE_get___")] public static extern string SWITCH_SIGNAL_BRIDGE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SIGNAL_BOND_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SIGNAL_BOND_VARIABLE_get___")] public static extern string SWITCH_SIGNAL_BOND_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE_get___")] public static extern string SWITCH_ORIGINATE_SIGNAL_BOND_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ORIGINATOR_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_ORIGINATOR_VARIABLE_get___")] public static extern string SWITCH_ORIGINATOR_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ORIGINATOR_CODEC_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_ORIGINATOR_CODEC_VARIABLE_get___")] public static extern string SWITCH_ORIGINATOR_CODEC_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE_get___")] public static extern string SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LOCAL_MEDIA_IP_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_LOCAL_MEDIA_IP_VARIABLE_get___")] public static extern string SWITCH_LOCAL_MEDIA_IP_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get___")] public static extern string SWITCH_LOCAL_MEDIA_PORT_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_ADVERTISED_MEDIA_IP_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_ADVERTISED_MEDIA_IP_VARIABLE_get___")] public static extern string SWITCH_ADVERTISED_MEDIA_IP_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_REMOTE_MEDIA_IP_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_REMOTE_MEDIA_IP_VARIABLE_get___")] public static extern string SWITCH_REMOTE_MEDIA_IP_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get___")] public static extern string SWITCH_REMOTE_MEDIA_PORT_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_REMOTE_VIDEO_IP_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_REMOTE_VIDEO_IP_VARIABLE_get___")] public static extern string SWITCH_REMOTE_VIDEO_IP_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get___")] public static extern string SWITCH_REMOTE_VIDEO_PORT_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LOCAL_VIDEO_IP_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_LOCAL_VIDEO_IP_VARIABLE_get___")] public static extern string SWITCH_LOCAL_VIDEO_IP_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get___")] public static extern string SWITCH_LOCAL_VIDEO_PORT_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LOCAL_TEXT_IP_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_LOCAL_TEXT_IP_VARIABLE_get___")] public static extern string SWITCH_LOCAL_TEXT_IP_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_LOCAL_TEXT_PORT_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_LOCAL_TEXT_PORT_VARIABLE_get___")] public static extern string SWITCH_LOCAL_TEXT_PORT_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get___")] public static extern string SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get___")] public static extern string SWITCH_PARK_AFTER_BRIDGE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_PARK_AFTER_EARLY_BRIDGE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_PARK_AFTER_EARLY_BRIDGE_VARIABLE_get___")] public static extern string SWITCH_PARK_AFTER_EARLY_BRIDGE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE_get___")] public static extern string SWITCH_TRANSFER_AFTER_BRIDGE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_TRANSFER_AFTER_EARLY_BRIDGE_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_TRANSFER_AFTER_EARLY_BRIDGE_VARIABLE_get___")] public static extern string SWITCH_TRANSFER_AFTER_EARLY_BRIDGE_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get___")] public static extern string SWITCH_EXEC_AFTER_BRIDGE_APP_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get___")] public static extern string SWITCH_EXEC_AFTER_BRIDGE_ARG_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_FORWARDS_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_FORWARDS_VARIABLE_get___")] public static extern string SWITCH_MAX_FORWARDS_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_SESSION_TRANSFERS_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_SESSION_TRANSFERS_VARIABLE_get___")] public static extern string SWITCH_MAX_SESSION_TRANSFERS_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DISABLE_APP_LOG_VARIABLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_DISABLE_APP_LOG_VARIABLE_get___")] public static extern string SWITCH_DISABLE_APP_LOG_VARIABLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SPEECH_KEY_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SPEECH_KEY_get___")] public static extern string SWITCH_SPEECH_KEY_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_UUID_BRIDGE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_UUID_BRIDGE_get___")] public static extern string SWITCH_UUID_BRIDGE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BITS_PER_BYTE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_BITS_PER_BYTE_get___")] public static extern int SWITCH_BITS_PER_BYTE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DEFAULT_FILE_BUFFER_LEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_DEFAULT_FILE_BUFFER_LEN_get___")] public static extern int SWITCH_DEFAULT_FILE_BUFFER_LEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DTMF_LOG_LEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_DTMF_LOG_LEN_get___")] public static extern int SWITCH_DTMF_LOG_LEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_TRANS_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_TRANS_get___")] public static extern int SWITCH_MAX_TRANS_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_SESSION_MAX_PRIVATES_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_SESSION_MAX_PRIVATES_get___")] public static extern int SWITCH_CORE_SESSION_MAX_PRIVATES_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_DEFAULT_VIDEO_SIZE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_DEFAULT_VIDEO_SIZE_get___")] public static extern int SWITCH_DEFAULT_VIDEO_SIZE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTCP_AUDIO_INTERVAL_MSEC_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RTCP_AUDIO_INTERVAL_MSEC_get___")] public static extern string SWITCH_RTCP_AUDIO_INTERVAL_MSEC_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTCP_VIDEO_INTERVAL_MSEC_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RTCP_VIDEO_INTERVAL_MSEC_get___")] public static extern string SWITCH_RTCP_VIDEO_INTERVAL_MSEC_get(); - [DllImport("mod_managed", EntryPoint="CSharp_MAX_FMTP_LEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_MAX_FMTP_LEN_get___")] public static extern int MAX_FMTP_LEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_JITTER_VARIANCE_THRESHOLD_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_JITTER_VARIANCE_THRESHOLD_get___")] public static extern double JITTER_VARIANCE_THRESHOLD_get(); - [DllImport("mod_managed", EntryPoint="CSharp_IPDV_THRESHOLD_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_IPDV_THRESHOLD_get___")] public static extern double IPDV_THRESHOLD_get(); - [DllImport("mod_managed", EntryPoint="CSharp_LOST_BURST_ANALYZE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_LOST_BURST_ANALYZE_get___")] public static extern int LOST_BURST_ANALYZE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_LOST_BURST_CAPTURE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_LOST_BURST_CAPTURE_get___")] public static extern int LOST_BURST_CAPTURE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_digit_set")] - public static extern void switch_dtmf_t_digit_set(HandleRef jarg1, char jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dtmf_t_digit_set___")] + public static extern void switch_dtmf_t_digit_set(global::System.Runtime.InteropServices.HandleRef jarg1, char jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_digit_get")] - public static extern char switch_dtmf_t_digit_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dtmf_t_digit_get___")] + public static extern char switch_dtmf_t_digit_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_duration_set")] - public static extern void switch_dtmf_t_duration_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dtmf_t_duration_set___")] + public static extern void switch_dtmf_t_duration_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_duration_get")] - public static extern uint switch_dtmf_t_duration_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dtmf_t_duration_get___")] + public static extern uint switch_dtmf_t_duration_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_flags_set")] - public static extern void switch_dtmf_t_flags_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dtmf_t_flags_set___")] + public static extern void switch_dtmf_t_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_flags_get")] - public static extern int switch_dtmf_t_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dtmf_t_flags_get___")] + public static extern int switch_dtmf_t_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_source_set")] - public static extern void switch_dtmf_t_source_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dtmf_t_source_set___")] + public static extern void switch_dtmf_t_source_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmf_t_source_get")] - public static extern int switch_dtmf_t_source_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dtmf_t_source_get___")] + public static extern int switch_dtmf_t_source_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_dtmf_t")] - public static extern IntPtr new_switch_dtmf_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_dtmf_t___")] + public static extern global::System.IntPtr new_switch_dtmf_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_dtmf_t")] - public static extern void delete_switch_dtmf_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_dtmf_t___")] + public static extern void delete_switch_dtmf_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_buf_set")] - public static extern void switch_bitpack_t_buf_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_buf_set___")] + public static extern void switch_bitpack_t_buf_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_buf_get")] - public static extern IntPtr switch_bitpack_t_buf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_buf_get___")] + public static extern global::System.IntPtr switch_bitpack_t_buf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_buflen_set")] - public static extern void switch_bitpack_t_buflen_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_buflen_set___")] + public static extern void switch_bitpack_t_buflen_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_buflen_get")] - public static extern uint switch_bitpack_t_buflen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_buflen_get___")] + public static extern uint switch_bitpack_t_buflen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_cur_set")] - public static extern void switch_bitpack_t_cur_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_cur_set___")] + public static extern void switch_bitpack_t_cur_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_cur_get")] - public static extern IntPtr switch_bitpack_t_cur_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_cur_get___")] + public static extern global::System.IntPtr switch_bitpack_t_cur_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bytes_set")] - public static extern void switch_bitpack_t_bytes_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_bytes_set___")] + public static extern void switch_bitpack_t_bytes_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bytes_get")] - public static extern uint switch_bitpack_t_bytes_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_bytes_get___")] + public static extern uint switch_bitpack_t_bytes_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bits_tot_set")] - public static extern void switch_bitpack_t_bits_tot_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_bits_tot_set___")] + public static extern void switch_bitpack_t_bits_tot_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bits_tot_get")] - public static extern uint switch_bitpack_t_bits_tot_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_bits_tot_get___")] + public static extern uint switch_bitpack_t_bits_tot_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bits_cur_set")] - public static extern void switch_bitpack_t_bits_cur_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_bits_cur_set___")] + public static extern void switch_bitpack_t_bits_cur_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bits_cur_get")] - public static extern byte switch_bitpack_t_bits_cur_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_bits_cur_get___")] + public static extern byte switch_bitpack_t_bits_cur_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bits_rem_set")] - public static extern void switch_bitpack_t_bits_rem_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_bits_rem_set___")] + public static extern void switch_bitpack_t_bits_rem_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_bits_rem_get")] - public static extern byte switch_bitpack_t_bits_rem_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_bits_rem_get___")] + public static extern byte switch_bitpack_t_bits_rem_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_frame_bits_set")] - public static extern void switch_bitpack_t_frame_bits_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_frame_bits_set___")] + public static extern void switch_bitpack_t_frame_bits_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_frame_bits_get")] - public static extern byte switch_bitpack_t_frame_bits_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_frame_bits_get___")] + public static extern byte switch_bitpack_t_frame_bits_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_shiftby_set")] - public static extern void switch_bitpack_t_shiftby_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_shiftby_set___")] + public static extern void switch_bitpack_t_shiftby_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_shiftby_get")] - public static extern byte switch_bitpack_t_shiftby_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_shiftby_get___")] + public static extern byte switch_bitpack_t_shiftby_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_this_byte_set")] - public static extern void switch_bitpack_t_this_byte_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_this_byte_set___")] + public static extern void switch_bitpack_t_this_byte_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_this_byte_get")] - public static extern byte switch_bitpack_t_this_byte_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_this_byte_get___")] + public static extern byte switch_bitpack_t_this_byte_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_under_set")] - public static extern void switch_bitpack_t_under_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_under_set___")] + public static extern void switch_bitpack_t_under_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_under_get")] - public static extern byte switch_bitpack_t_under_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_under_get___")] + public static extern byte switch_bitpack_t_under_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_over_set")] - public static extern void switch_bitpack_t_over_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_over_set___")] + public static extern void switch_bitpack_t_over_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_over_get")] - public static extern byte switch_bitpack_t_over_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_over_get___")] + public static extern byte switch_bitpack_t_over_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_mode_set")] - public static extern void switch_bitpack_t_mode_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_mode_set___")] + public static extern void switch_bitpack_t_mode_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_bitpack_t_mode_get")] - public static extern int switch_bitpack_t_mode_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_bitpack_t_mode_get___")] + public static extern int switch_bitpack_t_mode_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_bitpack_t")] - public static extern IntPtr new_switch_bitpack_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_bitpack_t___")] + public static extern global::System.IntPtr new_switch_bitpack_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_bitpack_t")] - public static extern void delete_switch_bitpack_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_bitpack_t___")] + public static extern void delete_switch_bitpack_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_base_dir_set")] - public static extern void switch_directories_base_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_base_dir_set___")] + public static extern void switch_directories_base_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_base_dir_get")] - public static extern string switch_directories_base_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_base_dir_get___")] + public static extern string switch_directories_base_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_mod_dir_set")] - public static extern void switch_directories_mod_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_mod_dir_set___")] + public static extern void switch_directories_mod_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_mod_dir_get")] - public static extern string switch_directories_mod_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_mod_dir_get___")] + public static extern string switch_directories_mod_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_conf_dir_set")] - public static extern void switch_directories_conf_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_conf_dir_set___")] + public static extern void switch_directories_conf_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_conf_dir_get")] - public static extern string switch_directories_conf_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_conf_dir_get___")] + public static extern string switch_directories_conf_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_log_dir_set")] - public static extern void switch_directories_log_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_log_dir_set___")] + public static extern void switch_directories_log_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_log_dir_get")] - public static extern string switch_directories_log_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_log_dir_get___")] + public static extern string switch_directories_log_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_run_dir_set")] - public static extern void switch_directories_run_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_run_dir_set___")] + public static extern void switch_directories_run_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_run_dir_get")] - public static extern string switch_directories_run_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_run_dir_get___")] + public static extern string switch_directories_run_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_db_dir_set")] - public static extern void switch_directories_db_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_db_dir_set___")] + public static extern void switch_directories_db_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_db_dir_get")] - public static extern string switch_directories_db_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_db_dir_get___")] + public static extern string switch_directories_db_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_script_dir_set")] - public static extern void switch_directories_script_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_script_dir_set___")] + public static extern void switch_directories_script_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_script_dir_get")] - public static extern string switch_directories_script_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_script_dir_get___")] + public static extern string switch_directories_script_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_temp_dir_set")] - public static extern void switch_directories_temp_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_temp_dir_set___")] + public static extern void switch_directories_temp_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_temp_dir_get")] - public static extern string switch_directories_temp_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_temp_dir_get___")] + public static extern string switch_directories_temp_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_htdocs_dir_set")] - public static extern void switch_directories_htdocs_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_htdocs_dir_set___")] + public static extern void switch_directories_htdocs_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_htdocs_dir_get")] - public static extern string switch_directories_htdocs_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_htdocs_dir_get___")] + public static extern string switch_directories_htdocs_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_grammar_dir_set")] - public static extern void switch_directories_grammar_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_grammar_dir_set___")] + public static extern void switch_directories_grammar_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_grammar_dir_get")] - public static extern string switch_directories_grammar_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_grammar_dir_get___")] + public static extern string switch_directories_grammar_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_storage_dir_set")] - public static extern void switch_directories_storage_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_storage_dir_set___")] + public static extern void switch_directories_storage_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_storage_dir_get")] - public static extern string switch_directories_storage_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_storage_dir_get___")] + public static extern string switch_directories_storage_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_cache_dir_set")] - public static extern void switch_directories_cache_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_cache_dir_set___")] + public static extern void switch_directories_cache_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_cache_dir_get")] - public static extern string switch_directories_cache_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_cache_dir_get___")] + public static extern string switch_directories_cache_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_recordings_dir_set")] - public static extern void switch_directories_recordings_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_recordings_dir_set___")] + public static extern void switch_directories_recordings_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_recordings_dir_get")] - public static extern string switch_directories_recordings_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_recordings_dir_get___")] + public static extern string switch_directories_recordings_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_sounds_dir_set")] - public static extern void switch_directories_sounds_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_sounds_dir_set___")] + public static extern void switch_directories_sounds_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_sounds_dir_get")] - public static extern string switch_directories_sounds_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_sounds_dir_get___")] + public static extern string switch_directories_sounds_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_lib_dir_set")] - public static extern void switch_directories_lib_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_lib_dir_set___")] + public static extern void switch_directories_lib_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_lib_dir_get")] - public static extern string switch_directories_lib_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_lib_dir_get___")] + public static extern string switch_directories_lib_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_certs_dir_set")] - public static extern void switch_directories_certs_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_certs_dir_set___")] + public static extern void switch_directories_certs_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_certs_dir_get")] - public static extern string switch_directories_certs_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_certs_dir_get___")] + public static extern string switch_directories_certs_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_fonts_dir_set")] - public static extern void switch_directories_fonts_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_fonts_dir_set___")] + public static extern void switch_directories_fonts_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_fonts_dir_get")] - public static extern string switch_directories_fonts_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_fonts_dir_get___")] + public static extern string switch_directories_fonts_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_images_dir_set")] - public static extern void switch_directories_images_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_images_dir_set___")] + public static extern void switch_directories_images_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_images_dir_get")] - public static extern string switch_directories_images_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_images_dir_get___")] + public static extern string switch_directories_images_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_data_dir_set")] - public static extern void switch_directories_data_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_data_dir_set___")] + public static extern void switch_directories_data_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_data_dir_get")] - public static extern string switch_directories_data_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_data_dir_get___")] + public static extern string switch_directories_data_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_localstate_dir_set")] - public static extern void switch_directories_localstate_dir_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_localstate_dir_set___")] + public static extern void switch_directories_localstate_dir_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directories_localstate_dir_get")] - public static extern string switch_directories_localstate_dir_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directories_localstate_dir_get___")] + public static extern string switch_directories_localstate_dir_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_directories")] - public static extern IntPtr new_switch_directories(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_directories___")] + public static extern global::System.IntPtr new_switch_directories(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_directories")] - public static extern void delete_switch_directories(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_directories___")] + public static extern void delete_switch_directories(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_GLOBAL_dirs_set")] - public static extern void SWITCH_GLOBAL_dirs_set(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_GLOBAL_dirs_set___")] + public static extern void SWITCH_GLOBAL_dirs_set(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_GLOBAL_dirs_get")] - public static extern IntPtr SWITCH_GLOBAL_dirs_get(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_GLOBAL_dirs_get___")] + public static extern global::System.IntPtr SWITCH_GLOBAL_dirs_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_filenames_conf_name_set")] - public static extern void switch_filenames_conf_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_filenames_conf_name_set___")] + public static extern void switch_filenames_conf_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_filenames_conf_name_get")] - public static extern string switch_filenames_conf_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_filenames_conf_name_get___")] + public static extern string switch_filenames_conf_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_filenames")] - public static extern IntPtr new_switch_filenames(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_filenames___")] + public static extern global::System.IntPtr new_switch_filenames(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_filenames")] - public static extern void delete_switch_filenames(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_filenames___")] + public static extern void delete_switch_filenames(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_GLOBAL_filenames_set")] - public static extern void SWITCH_GLOBAL_filenames_set(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_GLOBAL_filenames_set___")] + public static extern void SWITCH_GLOBAL_filenames_set(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_GLOBAL_filenames_get")] - public static extern IntPtr SWITCH_GLOBAL_filenames_get(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_GLOBAL_filenames_get___")] + public static extern global::System.IntPtr SWITCH_GLOBAL_filenames_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_STACKS_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_STACKS_get___")] public static extern int SWITCH_MAX_STACKS_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_THREAD_STACKSIZE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_THREAD_STACKSIZE_get___")] public static extern int SWITCH_THREAD_STACKSIZE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SYSTEM_THREAD_STACKSIZE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SYSTEM_THREAD_STACKSIZE_get___")] public static extern int SWITCH_SYSTEM_THREAD_STACKSIZE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_INTERVAL_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_INTERVAL_get___")] public static extern int SWITCH_MAX_INTERVAL_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_INTERVAL_PAD_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_INTERVAL_PAD_get___")] public static extern int SWITCH_INTERVAL_PAD_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_SAMPLE_LEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_SAMPLE_LEN_get___")] public static extern int SWITCH_MAX_SAMPLE_LEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_BYTES_PER_SAMPLE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_BYTES_PER_SAMPLE_get___")] public static extern int SWITCH_BYTES_PER_SAMPLE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RECOMMENDED_BUFFER_SIZE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RECOMMENDED_BUFFER_SIZE_get___")] public static extern int SWITCH_RECOMMENDED_BUFFER_SIZE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_CODECS_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_CODECS_get___")] public static extern int SWITCH_MAX_CODECS_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_STATE_HANDLERS_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_STATE_HANDLERS_get___")] public static extern int SWITCH_MAX_STATE_HANDLERS_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_QUEUE_LEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_QUEUE_LEN_get___")] public static extern int SWITCH_CORE_QUEUE_LEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get___")] public static extern int SWITCH_MAX_MANAGEMENT_BUFFER_LEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_error_period_t_start_set")] - public static extern void switch_error_period_t_start_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_error_period_t_start_set___")] + public static extern void switch_error_period_t_start_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_error_period_t_start_get")] - public static extern long switch_error_period_t_start_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_error_period_t_start_get___")] + public static extern long switch_error_period_t_start_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_error_period_t_stop_set")] - public static extern void switch_error_period_t_stop_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_error_period_t_stop_set___")] + public static extern void switch_error_period_t_stop_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_error_period_t_stop_get")] - public static extern long switch_error_period_t_stop_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_error_period_t_stop_get___")] + public static extern long switch_error_period_t_stop_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_error_period_t_flaws_set")] - public static extern void switch_error_period_t_flaws_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_error_period_t_flaws_set___")] + public static extern void switch_error_period_t_flaws_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_error_period_t_flaws_get")] - public static extern uint switch_error_period_t_flaws_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_error_period_t_flaws_get___")] + public static extern uint switch_error_period_t_flaws_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_error_period_t_consecutive_flaws_set")] - public static extern void switch_error_period_t_consecutive_flaws_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_error_period_t_consecutive_flaws_set___")] + public static extern void switch_error_period_t_consecutive_flaws_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_error_period_t_consecutive_flaws_get")] - public static extern uint switch_error_period_t_consecutive_flaws_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_error_period_t_consecutive_flaws_get___")] + public static extern uint switch_error_period_t_consecutive_flaws_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_error_period_t_next_set")] - public static extern void switch_error_period_t_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_error_period_t_next_set___")] + public static extern void switch_error_period_t_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_error_period_t_next_get")] - public static extern IntPtr switch_error_period_t_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_error_period_t_next_get___")] + public static extern global::System.IntPtr switch_error_period_t_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_error_period_t")] - public static extern IntPtr new_switch_error_period_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_error_period_t___")] + public static extern global::System.IntPtr new_switch_error_period_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_error_period_t")] - public static extern void delete_switch_error_period_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_error_period_t___")] + public static extern void delete_switch_error_period_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_raw_bytes_set")] - public static extern void switch_rtp_numbers_t_raw_bytes_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_raw_bytes_set___")] + public static extern void switch_rtp_numbers_t_raw_bytes_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_raw_bytes_get")] - public static extern IntPtr switch_rtp_numbers_t_raw_bytes_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_raw_bytes_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_raw_bytes_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_media_bytes_set")] - public static extern void switch_rtp_numbers_t_media_bytes_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_media_bytes_set___")] + public static extern void switch_rtp_numbers_t_media_bytes_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_media_bytes_get")] - public static extern IntPtr switch_rtp_numbers_t_media_bytes_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_media_bytes_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_media_bytes_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_packet_count_set")] - public static extern void switch_rtp_numbers_t_packet_count_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_packet_count_set___")] + public static extern void switch_rtp_numbers_t_packet_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_packet_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_packet_count_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_packet_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_period_packet_count_set")] - public static extern void switch_rtp_numbers_t_period_packet_count_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_period_packet_count_set___")] + public static extern void switch_rtp_numbers_t_period_packet_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_period_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_period_packet_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_period_packet_count_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_period_packet_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_media_packet_count_set")] - public static extern void switch_rtp_numbers_t_media_packet_count_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_media_packet_count_set___")] + public static extern void switch_rtp_numbers_t_media_packet_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_media_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_media_packet_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_media_packet_count_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_media_packet_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_skip_packet_count_set")] - public static extern void switch_rtp_numbers_t_skip_packet_count_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_skip_packet_count_set___")] + public static extern void switch_rtp_numbers_t_skip_packet_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_skip_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_skip_packet_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_skip_packet_count_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_skip_packet_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jb_packet_count_set")] - public static extern void switch_rtp_numbers_t_jb_packet_count_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jb_packet_count_set___")] + public static extern void switch_rtp_numbers_t_jb_packet_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jb_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_jb_packet_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jb_packet_count_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_jb_packet_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_dtmf_packet_count_set")] - public static extern void switch_rtp_numbers_t_dtmf_packet_count_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_dtmf_packet_count_set___")] + public static extern void switch_rtp_numbers_t_dtmf_packet_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_dtmf_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_dtmf_packet_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_dtmf_packet_count_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_dtmf_packet_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_cng_packet_count_set")] - public static extern void switch_rtp_numbers_t_cng_packet_count_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_cng_packet_count_set___")] + public static extern void switch_rtp_numbers_t_cng_packet_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_cng_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_cng_packet_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_cng_packet_count_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_cng_packet_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_flush_packet_count_set")] - public static extern void switch_rtp_numbers_t_flush_packet_count_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_flush_packet_count_set___")] + public static extern void switch_rtp_numbers_t_flush_packet_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_flush_packet_count_get")] - public static extern IntPtr switch_rtp_numbers_t_flush_packet_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_flush_packet_count_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_flush_packet_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_largest_jb_size_set")] - public static extern void switch_rtp_numbers_t_largest_jb_size_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_largest_jb_size_set___")] + public static extern void switch_rtp_numbers_t_largest_jb_size_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_largest_jb_size_get")] - public static extern IntPtr switch_rtp_numbers_t_largest_jb_size_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_largest_jb_size_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_largest_jb_size_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_proc_time_set")] - public static extern void switch_rtp_numbers_t_last_proc_time_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_proc_time_set___")] + public static extern void switch_rtp_numbers_t_last_proc_time_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_proc_time_get")] - public static extern long switch_rtp_numbers_t_last_proc_time_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_proc_time_get___")] + public static extern long switch_rtp_numbers_t_last_proc_time_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jitter_n_set")] - public static extern void switch_rtp_numbers_t_jitter_n_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_n_set___")] + public static extern void switch_rtp_numbers_t_jitter_n_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jitter_n_get")] - public static extern long switch_rtp_numbers_t_jitter_n_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_n_get___")] + public static extern long switch_rtp_numbers_t_jitter_n_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jitter_add_set")] - public static extern void switch_rtp_numbers_t_jitter_add_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_add_set___")] + public static extern void switch_rtp_numbers_t_jitter_add_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jitter_add_get")] - public static extern long switch_rtp_numbers_t_jitter_add_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_add_get___")] + public static extern long switch_rtp_numbers_t_jitter_add_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jitter_addsq_set")] - public static extern void switch_rtp_numbers_t_jitter_addsq_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_addsq_set___")] + public static extern void switch_rtp_numbers_t_jitter_addsq_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_jitter_addsq_get")] - public static extern long switch_rtp_numbers_t_jitter_addsq_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_jitter_addsq_get___")] + public static extern long switch_rtp_numbers_t_jitter_addsq_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_variance_set")] - public static extern void switch_rtp_numbers_t_variance_set(HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_variance_set___")] + public static extern void switch_rtp_numbers_t_variance_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_variance_get")] - public static extern double switch_rtp_numbers_t_variance_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_variance_get___")] + public static extern double switch_rtp_numbers_t_variance_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_min_variance_set")] - public static extern void switch_rtp_numbers_t_min_variance_set(HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_min_variance_set___")] + public static extern void switch_rtp_numbers_t_min_variance_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_min_variance_get")] - public static extern double switch_rtp_numbers_t_min_variance_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_min_variance_get___")] + public static extern double switch_rtp_numbers_t_min_variance_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_max_variance_set")] - public static extern void switch_rtp_numbers_t_max_variance_set(HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_max_variance_set___")] + public static extern void switch_rtp_numbers_t_max_variance_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_max_variance_get")] - public static extern double switch_rtp_numbers_t_max_variance_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_max_variance_get___")] + public static extern double switch_rtp_numbers_t_max_variance_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_std_deviation_set")] - public static extern void switch_rtp_numbers_t_std_deviation_set(HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_std_deviation_set___")] + public static extern void switch_rtp_numbers_t_std_deviation_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_std_deviation_get")] - public static extern double switch_rtp_numbers_t_std_deviation_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_std_deviation_get___")] + public static extern double switch_rtp_numbers_t_std_deviation_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_lossrate_set")] - public static extern void switch_rtp_numbers_t_lossrate_set(HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_lossrate_set___")] + public static extern void switch_rtp_numbers_t_lossrate_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_lossrate_get")] - public static extern double switch_rtp_numbers_t_lossrate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_lossrate_get___")] + public static extern double switch_rtp_numbers_t_lossrate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_burstrate_set")] - public static extern void switch_rtp_numbers_t_burstrate_set(HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_burstrate_set___")] + public static extern void switch_rtp_numbers_t_burstrate_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_burstrate_get")] - public static extern double switch_rtp_numbers_t_burstrate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_burstrate_get___")] + public static extern double switch_rtp_numbers_t_burstrate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_mean_interval_set")] - public static extern void switch_rtp_numbers_t_mean_interval_set(HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_mean_interval_set___")] + public static extern void switch_rtp_numbers_t_mean_interval_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_mean_interval_get")] - public static extern double switch_rtp_numbers_t_mean_interval_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_mean_interval_get___")] + public static extern double switch_rtp_numbers_t_mean_interval_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_loss_set")] - public static extern void switch_rtp_numbers_t_loss_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_loss_set___")] + public static extern void switch_rtp_numbers_t_loss_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_loss_get")] - public static extern IntPtr switch_rtp_numbers_t_loss_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_loss_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_loss_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_loss_set")] - public static extern void switch_rtp_numbers_t_last_loss_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_loss_set___")] + public static extern void switch_rtp_numbers_t_last_loss_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_loss_get")] - public static extern int switch_rtp_numbers_t_last_loss_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_loss_get___")] + public static extern int switch_rtp_numbers_t_last_loss_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_recved_set")] - public static extern void switch_rtp_numbers_t_recved_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_recved_set___")] + public static extern void switch_rtp_numbers_t_recved_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_recved_get")] - public static extern int switch_rtp_numbers_t_recved_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_recved_get___")] + public static extern int switch_rtp_numbers_t_recved_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_processed_seq_set")] - public static extern void switch_rtp_numbers_t_last_processed_seq_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_processed_seq_set___")] + public static extern void switch_rtp_numbers_t_last_processed_seq_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_processed_seq_get")] - public static extern int switch_rtp_numbers_t_last_processed_seq_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_processed_seq_get___")] + public static extern int switch_rtp_numbers_t_last_processed_seq_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_flaws_set")] - public static extern void switch_rtp_numbers_t_flaws_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_flaws_set___")] + public static extern void switch_rtp_numbers_t_flaws_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_flaws_get")] - public static extern IntPtr switch_rtp_numbers_t_flaws_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_flaws_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_flaws_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_flaw_set")] - public static extern void switch_rtp_numbers_t_last_flaw_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_flaw_set___")] + public static extern void switch_rtp_numbers_t_last_flaw_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_last_flaw_get")] - public static extern IntPtr switch_rtp_numbers_t_last_flaw_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_last_flaw_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_last_flaw_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_R_set")] - public static extern void switch_rtp_numbers_t_R_set(HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_R_set___")] + public static extern void switch_rtp_numbers_t_R_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_R_get")] - public static extern double switch_rtp_numbers_t_R_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_R_get___")] + public static extern double switch_rtp_numbers_t_R_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_mos_set")] - public static extern void switch_rtp_numbers_t_mos_set(HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_mos_set___")] + public static extern void switch_rtp_numbers_t_mos_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_mos_get")] - public static extern double switch_rtp_numbers_t_mos_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_mos_get___")] + public static extern double switch_rtp_numbers_t_mos_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_error_log_set")] - public static extern void switch_rtp_numbers_t_error_log_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_error_log_set___")] + public static extern void switch_rtp_numbers_t_error_log_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_numbers_t_error_log_get")] - public static extern IntPtr switch_rtp_numbers_t_error_log_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_numbers_t_error_log_get___")] + public static extern global::System.IntPtr switch_rtp_numbers_t_error_log_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_numbers_t")] - public static extern IntPtr new_switch_rtp_numbers_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_rtp_numbers_t___")] + public static extern global::System.IntPtr new_switch_rtp_numbers_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtp_numbers_t")] - public static extern void delete_switch_rtp_numbers_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_rtp_numbers_t___")] + public static extern void delete_switch_rtp_numbers_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_packet_count_set")] - public static extern void switch_rtcp_numbers_t_packet_count_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_packet_count_set___")] + public static extern void switch_rtcp_numbers_t_packet_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_packet_count_get")] - public static extern uint switch_rtcp_numbers_t_packet_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_packet_count_get___")] + public static extern uint switch_rtcp_numbers_t_packet_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_octet_count_set")] - public static extern void switch_rtcp_numbers_t_octet_count_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_octet_count_set___")] + public static extern void switch_rtcp_numbers_t_octet_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_octet_count_get")] - public static extern uint switch_rtcp_numbers_t_octet_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_octet_count_get___")] + public static extern uint switch_rtcp_numbers_t_octet_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_peer_ssrc_set")] - public static extern void switch_rtcp_numbers_t_peer_ssrc_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_peer_ssrc_set___")] + public static extern void switch_rtcp_numbers_t_peer_ssrc_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_peer_ssrc_get")] - public static extern uint switch_rtcp_numbers_t_peer_ssrc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_peer_ssrc_get___")] + public static extern uint switch_rtcp_numbers_t_peer_ssrc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_ts_set")] - public static extern void switch_rtcp_numbers_t_last_rpt_ts_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_rpt_ts_set___")] + public static extern void switch_rtcp_numbers_t_last_rpt_ts_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_ts_get")] - public static extern uint switch_rtcp_numbers_t_last_rpt_ts_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_rpt_ts_get___")] + public static extern uint switch_rtcp_numbers_t_last_rpt_ts_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_ssrc_set")] - public static extern void switch_rtcp_numbers_t_ssrc_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_ssrc_set___")] + public static extern void switch_rtcp_numbers_t_ssrc_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_ssrc_get")] - public static extern uint switch_rtcp_numbers_t_ssrc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_ssrc_get___")] + public static extern uint switch_rtcp_numbers_t_ssrc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_csrc_set")] - public static extern void switch_rtcp_numbers_t_csrc_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_csrc_set___")] + public static extern void switch_rtcp_numbers_t_csrc_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_csrc_get")] - public static extern uint switch_rtcp_numbers_t_csrc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_csrc_get___")] + public static extern uint switch_rtcp_numbers_t_csrc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_set")] - public static extern void switch_rtcp_numbers_t_last_pkt_tsdiff_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_pkt_tsdiff_set___")] + public static extern void switch_rtcp_numbers_t_last_pkt_tsdiff_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_pkt_tsdiff_get")] - public static extern uint switch_rtcp_numbers_t_last_pkt_tsdiff_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_pkt_tsdiff_get___")] + public static extern uint switch_rtcp_numbers_t_last_pkt_tsdiff_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_inter_jitter_set")] - public static extern void switch_rtcp_numbers_t_inter_jitter_set(HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_inter_jitter_set___")] + public static extern void switch_rtcp_numbers_t_inter_jitter_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_inter_jitter_get")] - public static extern double switch_rtcp_numbers_t_inter_jitter_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_inter_jitter_get___")] + public static extern double switch_rtcp_numbers_t_inter_jitter_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_set")] - public static extern void switch_rtcp_numbers_t_last_rpt_ext_seq_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_rpt_ext_seq_set___")] + public static extern void switch_rtcp_numbers_t_last_rpt_ext_seq_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_ext_seq_get")] - public static extern uint switch_rtcp_numbers_t_last_rpt_ext_seq_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_rpt_ext_seq_get___")] + public static extern uint switch_rtcp_numbers_t_last_rpt_ext_seq_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_cycle_set")] - public static extern void switch_rtcp_numbers_t_last_rpt_cycle_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_rpt_cycle_set___")] + public static extern void switch_rtcp_numbers_t_last_rpt_cycle_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_rpt_cycle_get")] - public static extern ushort switch_rtcp_numbers_t_last_rpt_cycle_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_rpt_cycle_get___")] + public static extern ushort switch_rtcp_numbers_t_last_rpt_cycle_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_period_pkt_count_set")] - public static extern void switch_rtcp_numbers_t_period_pkt_count_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_period_pkt_count_set___")] + public static extern void switch_rtcp_numbers_t_period_pkt_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_period_pkt_count_get")] - public static extern ushort switch_rtcp_numbers_t_period_pkt_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_period_pkt_count_get___")] + public static extern ushort switch_rtcp_numbers_t_period_pkt_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_pkt_count_set")] - public static extern void switch_rtcp_numbers_t_pkt_count_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_pkt_count_set___")] + public static extern void switch_rtcp_numbers_t_pkt_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_pkt_count_get")] - public static extern ushort switch_rtcp_numbers_t_pkt_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_pkt_count_get___")] + public static extern ushort switch_rtcp_numbers_t_pkt_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_sent_pkt_count_set")] - public static extern void switch_rtcp_numbers_t_sent_pkt_count_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_sent_pkt_count_set___")] + public static extern void switch_rtcp_numbers_t_sent_pkt_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_sent_pkt_count_get")] - public static extern ushort switch_rtcp_numbers_t_sent_pkt_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_sent_pkt_count_get___")] + public static extern ushort switch_rtcp_numbers_t_sent_pkt_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_set")] - public static extern void switch_rtcp_numbers_t_rtcp_rtp_count_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_rtcp_rtp_count_set___")] + public static extern void switch_rtcp_numbers_t_rtcp_rtp_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_rtcp_rtp_count_get")] - public static extern uint switch_rtcp_numbers_t_rtcp_rtp_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_rtcp_rtp_count_get___")] + public static extern uint switch_rtcp_numbers_t_rtcp_rtp_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_set")] - public static extern void switch_rtcp_numbers_t_high_ext_seq_recv_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_high_ext_seq_recv_set___")] + public static extern void switch_rtcp_numbers_t_high_ext_seq_recv_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_high_ext_seq_recv_get")] - public static extern uint switch_rtcp_numbers_t_high_ext_seq_recv_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_high_ext_seq_recv_get___")] + public static extern uint switch_rtcp_numbers_t_high_ext_seq_recv_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_cycle_set")] - public static extern void switch_rtcp_numbers_t_cycle_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_cycle_set___")] + public static extern void switch_rtcp_numbers_t_cycle_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_cycle_get")] - public static extern ushort switch_rtcp_numbers_t_cycle_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_cycle_get___")] + public static extern ushort switch_rtcp_numbers_t_cycle_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_bad_seq_set")] - public static extern void switch_rtcp_numbers_t_bad_seq_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_bad_seq_set___")] + public static extern void switch_rtcp_numbers_t_bad_seq_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_bad_seq_get")] - public static extern uint switch_rtcp_numbers_t_bad_seq_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_bad_seq_get___")] + public static extern uint switch_rtcp_numbers_t_bad_seq_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_base_seq_set")] - public static extern void switch_rtcp_numbers_t_base_seq_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_base_seq_set___")] + public static extern void switch_rtcp_numbers_t_base_seq_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_base_seq_get")] - public static extern ushort switch_rtcp_numbers_t_base_seq_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_base_seq_get___")] + public static extern ushort switch_rtcp_numbers_t_base_seq_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_cum_lost_set")] - public static extern void switch_rtcp_numbers_t_cum_lost_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_cum_lost_set___")] + public static extern void switch_rtcp_numbers_t_cum_lost_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_cum_lost_get")] - public static extern uint switch_rtcp_numbers_t_cum_lost_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_cum_lost_get___")] + public static extern uint switch_rtcp_numbers_t_cum_lost_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_set")] - public static extern void switch_rtcp_numbers_t_last_recv_lsr_local_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_recv_lsr_local_set___")] + public static extern void switch_rtcp_numbers_t_last_recv_lsr_local_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_recv_lsr_local_get")] - public static extern uint switch_rtcp_numbers_t_last_recv_lsr_local_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_recv_lsr_local_get___")] + public static extern uint switch_rtcp_numbers_t_last_recv_lsr_local_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_set")] - public static extern void switch_rtcp_numbers_t_last_recv_lsr_peer_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_recv_lsr_peer_set___")] + public static extern void switch_rtcp_numbers_t_last_recv_lsr_peer_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_last_recv_lsr_peer_get")] - public static extern uint switch_rtcp_numbers_t_last_recv_lsr_peer_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_last_recv_lsr_peer_get___")] + public static extern uint switch_rtcp_numbers_t_last_recv_lsr_peer_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_init_set")] - public static extern void switch_rtcp_numbers_t_init_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_init_set___")] + public static extern void switch_rtcp_numbers_t_init_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_numbers_t_init_get")] - public static extern uint switch_rtcp_numbers_t_init_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_numbers_t_init_get___")] + public static extern uint switch_rtcp_numbers_t_init_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtcp_numbers_t")] - public static extern IntPtr new_switch_rtcp_numbers_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_rtcp_numbers_t___")] + public static extern global::System.IntPtr new_switch_rtcp_numbers_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtcp_numbers_t")] - public static extern void delete_switch_rtcp_numbers_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_rtcp_numbers_t___")] + public static extern void delete_switch_rtcp_numbers_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_inbound_set")] - public static extern void switch_rtp_stats_t_inbound_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_stats_t_inbound_set___")] + public static extern void switch_rtp_stats_t_inbound_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_inbound_get")] - public static extern IntPtr switch_rtp_stats_t_inbound_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_stats_t_inbound_get___")] + public static extern global::System.IntPtr switch_rtp_stats_t_inbound_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_outbound_set")] - public static extern void switch_rtp_stats_t_outbound_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_stats_t_outbound_set___")] + public static extern void switch_rtp_stats_t_outbound_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_outbound_get")] - public static extern IntPtr switch_rtp_stats_t_outbound_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_stats_t_outbound_get___")] + public static extern global::System.IntPtr switch_rtp_stats_t_outbound_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_rtcp_set")] - public static extern void switch_rtp_stats_t_rtcp_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_stats_t_rtcp_set___")] + public static extern void switch_rtp_stats_t_rtcp_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_rtcp_get")] - public static extern IntPtr switch_rtp_stats_t_rtcp_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_stats_t_rtcp_get___")] + public static extern global::System.IntPtr switch_rtp_stats_t_rtcp_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_read_count_set")] - public static extern void switch_rtp_stats_t_read_count_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_stats_t_read_count_set___")] + public static extern void switch_rtp_stats_t_read_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_stats_t_read_count_get")] - public static extern uint switch_rtp_stats_t_read_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_stats_t_read_count_get___")] + public static extern uint switch_rtp_stats_t_read_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_stats_t")] - public static extern IntPtr new_switch_rtp_stats_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_rtp_stats_t___")] + public static extern global::System.IntPtr new_switch_rtp_stats_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtp_stats_t")] - public static extern void delete_switch_rtp_stats_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_rtp_stats_t___")] + public static extern void delete_switch_rtp_stats_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_CNG_PAYLOAD_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RTP_CNG_PAYLOAD_get___")] public static extern int SWITCH_RTP_CNG_PAYLOAD_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_version_set")] - public static extern void switch_rtp_hdr_t_version_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_version_set___")] + public static extern void switch_rtp_hdr_t_version_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_version_get")] - public static extern uint switch_rtp_hdr_t_version_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_version_get___")] + public static extern uint switch_rtp_hdr_t_version_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_p_set")] - public static extern void switch_rtp_hdr_t_p_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_p_set___")] + public static extern void switch_rtp_hdr_t_p_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_p_get")] - public static extern uint switch_rtp_hdr_t_p_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_p_get___")] + public static extern uint switch_rtp_hdr_t_p_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_x_set")] - public static extern void switch_rtp_hdr_t_x_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_x_set___")] + public static extern void switch_rtp_hdr_t_x_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_x_get")] - public static extern uint switch_rtp_hdr_t_x_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_x_get___")] + public static extern uint switch_rtp_hdr_t_x_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_cc_set")] - public static extern void switch_rtp_hdr_t_cc_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_cc_set___")] + public static extern void switch_rtp_hdr_t_cc_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_cc_get")] - public static extern uint switch_rtp_hdr_t_cc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_cc_get___")] + public static extern uint switch_rtp_hdr_t_cc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_m_set")] - public static extern void switch_rtp_hdr_t_m_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_m_set___")] + public static extern void switch_rtp_hdr_t_m_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_m_get")] - public static extern uint switch_rtp_hdr_t_m_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_m_get___")] + public static extern uint switch_rtp_hdr_t_m_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_pt_set")] - public static extern void switch_rtp_hdr_t_pt_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_pt_set___")] + public static extern void switch_rtp_hdr_t_pt_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_pt_get")] - public static extern uint switch_rtp_hdr_t_pt_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_pt_get___")] + public static extern uint switch_rtp_hdr_t_pt_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_seq_set")] - public static extern void switch_rtp_hdr_t_seq_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_seq_set___")] + public static extern void switch_rtp_hdr_t_seq_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_seq_get")] - public static extern uint switch_rtp_hdr_t_seq_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_seq_get___")] + public static extern uint switch_rtp_hdr_t_seq_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_ts_set")] - public static extern void switch_rtp_hdr_t_ts_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_ts_set___")] + public static extern void switch_rtp_hdr_t_ts_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_ts_get")] - public static extern uint switch_rtp_hdr_t_ts_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_ts_get___")] + public static extern uint switch_rtp_hdr_t_ts_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_ssrc_set")] - public static extern void switch_rtp_hdr_t_ssrc_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_ssrc_set___")] + public static extern void switch_rtp_hdr_t_ssrc_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_t_ssrc_get")] - public static extern uint switch_rtp_hdr_t_ssrc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_t_ssrc_get___")] + public static extern uint switch_rtp_hdr_t_ssrc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_hdr_t")] - public static extern IntPtr new_switch_rtp_hdr_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_rtp_hdr_t___")] + public static extern global::System.IntPtr new_switch_rtp_hdr_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtp_hdr_t")] - public static extern void delete_switch_rtp_hdr_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_rtp_hdr_t___")] + public static extern void delete_switch_rtp_hdr_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_ext_t_length_set")] - public static extern void switch_rtp_hdr_ext_t_length_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_ext_t_length_set___")] + public static extern void switch_rtp_hdr_ext_t_length_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_ext_t_length_get")] - public static extern uint switch_rtp_hdr_ext_t_length_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_ext_t_length_get___")] + public static extern uint switch_rtp_hdr_ext_t_length_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_ext_t_profile_set")] - public static extern void switch_rtp_hdr_ext_t_profile_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_ext_t_profile_set___")] + public static extern void switch_rtp_hdr_ext_t_profile_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_hdr_ext_t_profile_get")] - public static extern uint switch_rtp_hdr_ext_t_profile_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_hdr_ext_t_profile_get___")] + public static extern uint switch_rtp_hdr_ext_t_profile_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_hdr_ext_t")] - public static extern IntPtr new_switch_rtp_hdr_ext_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_rtp_hdr_ext_t___")] + public static extern global::System.IntPtr new_switch_rtp_hdr_ext_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtp_hdr_ext_t")] - public static extern void delete_switch_rtp_hdr_ext_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_rtp_hdr_ext_t___")] + public static extern void delete_switch_rtp_hdr_ext_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_version_set")] - public static extern void switch_rtcp_hdr_t_version_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_version_set___")] + public static extern void switch_rtcp_hdr_t_version_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_version_get")] - public static extern uint switch_rtcp_hdr_t_version_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_version_get___")] + public static extern uint switch_rtcp_hdr_t_version_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_p_set")] - public static extern void switch_rtcp_hdr_t_p_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_p_set___")] + public static extern void switch_rtcp_hdr_t_p_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_p_get")] - public static extern uint switch_rtcp_hdr_t_p_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_p_get___")] + public static extern uint switch_rtcp_hdr_t_p_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_count_set")] - public static extern void switch_rtcp_hdr_t_count_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_count_set___")] + public static extern void switch_rtcp_hdr_t_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_count_get")] - public static extern uint switch_rtcp_hdr_t_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_count_get___")] + public static extern uint switch_rtcp_hdr_t_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_type_set")] - public static extern void switch_rtcp_hdr_t_type_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_type_set___")] + public static extern void switch_rtcp_hdr_t_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_type_get")] - public static extern uint switch_rtcp_hdr_t_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_type_get___")] + public static extern uint switch_rtcp_hdr_t_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_length_set")] - public static extern void switch_rtcp_hdr_t_length_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_length_set___")] + public static extern void switch_rtcp_hdr_t_length_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_hdr_t_length_get")] - public static extern uint switch_rtcp_hdr_t_length_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_hdr_t_length_get___")] + public static extern uint switch_rtcp_hdr_t_length_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtcp_hdr_t")] - public static extern IntPtr new_switch_rtcp_hdr_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_rtcp_hdr_t___")] + public static extern global::System.IntPtr new_switch_rtcp_hdr_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtcp_hdr_t")] - public static extern void delete_switch_rtcp_hdr_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_rtcp_hdr_t___")] + public static extern void delete_switch_rtcp_hdr_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_audio_buffer_header_t_ts_set")] - public static extern void audio_buffer_header_t_ts_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_audio_buffer_header_t_ts_set___")] + public static extern void audio_buffer_header_t_ts_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_audio_buffer_header_t_ts_get")] - public static extern uint audio_buffer_header_t_ts_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_audio_buffer_header_t_ts_get___")] + public static extern uint audio_buffer_header_t_ts_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_audio_buffer_header_t_len_set")] - public static extern void audio_buffer_header_t_len_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_audio_buffer_header_t_len_set___")] + public static extern void audio_buffer_header_t_len_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_audio_buffer_header_t_len_get")] - public static extern uint audio_buffer_header_t_len_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_audio_buffer_header_t_len_get___")] + public static extern uint audio_buffer_header_t_len_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_audio_buffer_header_t")] - public static extern IntPtr new_audio_buffer_header_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_audio_buffer_header_t___")] + public static extern global::System.IntPtr new_audio_buffer_header_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_audio_buffer_header_t")] - public static extern void delete_audio_buffer_header_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_audio_buffer_header_t___")] + public static extern void delete_audio_buffer_header_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxVersion_set")] - public static extern void switch_t38_options_t_T38FaxVersion_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxVersion_set___")] + public static extern void switch_t38_options_t_T38FaxVersion_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxVersion_get")] - public static extern ushort switch_t38_options_t_T38FaxVersion_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxVersion_get___")] + public static extern ushort switch_t38_options_t_T38FaxVersion_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38MaxBitRate_set")] - public static extern void switch_t38_options_t_T38MaxBitRate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38MaxBitRate_set___")] + public static extern void switch_t38_options_t_T38MaxBitRate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38MaxBitRate_get")] - public static extern uint switch_t38_options_t_T38MaxBitRate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38MaxBitRate_get___")] + public static extern uint switch_t38_options_t_T38MaxBitRate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxFillBitRemoval_set")] - public static extern void switch_t38_options_t_T38FaxFillBitRemoval_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxFillBitRemoval_set___")] + public static extern void switch_t38_options_t_T38FaxFillBitRemoval_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxFillBitRemoval_get")] - public static extern int switch_t38_options_t_T38FaxFillBitRemoval_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxFillBitRemoval_get___")] + public static extern int switch_t38_options_t_T38FaxFillBitRemoval_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxTranscodingMMR_set")] - public static extern void switch_t38_options_t_T38FaxTranscodingMMR_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxTranscodingMMR_set___")] + public static extern void switch_t38_options_t_T38FaxTranscodingMMR_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxTranscodingMMR_get")] - public static extern int switch_t38_options_t_T38FaxTranscodingMMR_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxTranscodingMMR_get___")] + public static extern int switch_t38_options_t_T38FaxTranscodingMMR_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxTranscodingJBIG_set")] - public static extern void switch_t38_options_t_T38FaxTranscodingJBIG_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxTranscodingJBIG_set___")] + public static extern void switch_t38_options_t_T38FaxTranscodingJBIG_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxTranscodingJBIG_get")] - public static extern int switch_t38_options_t_T38FaxTranscodingJBIG_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxTranscodingJBIG_get___")] + public static extern int switch_t38_options_t_T38FaxTranscodingJBIG_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxRateManagement_set")] - public static extern void switch_t38_options_t_T38FaxRateManagement_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxRateManagement_set___")] + public static extern void switch_t38_options_t_T38FaxRateManagement_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxRateManagement_get")] - public static extern string switch_t38_options_t_T38FaxRateManagement_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxRateManagement_get___")] + public static extern string switch_t38_options_t_T38FaxRateManagement_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxMaxBuffer_set")] - public static extern void switch_t38_options_t_T38FaxMaxBuffer_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxMaxBuffer_set___")] + public static extern void switch_t38_options_t_T38FaxMaxBuffer_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxMaxBuffer_get")] - public static extern uint switch_t38_options_t_T38FaxMaxBuffer_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxMaxBuffer_get___")] + public static extern uint switch_t38_options_t_T38FaxMaxBuffer_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxMaxDatagram_set")] - public static extern void switch_t38_options_t_T38FaxMaxDatagram_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxMaxDatagram_set___")] + public static extern void switch_t38_options_t_T38FaxMaxDatagram_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxMaxDatagram_get")] - public static extern uint switch_t38_options_t_T38FaxMaxDatagram_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxMaxDatagram_get___")] + public static extern uint switch_t38_options_t_T38FaxMaxDatagram_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxUdpEC_set")] - public static extern void switch_t38_options_t_T38FaxUdpEC_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxUdpEC_set___")] + public static extern void switch_t38_options_t_T38FaxUdpEC_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38FaxUdpEC_get")] - public static extern string switch_t38_options_t_T38FaxUdpEC_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38FaxUdpEC_get___")] + public static extern string switch_t38_options_t_T38FaxUdpEC_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38VendorInfo_set")] - public static extern void switch_t38_options_t_T38VendorInfo_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38VendorInfo_set___")] + public static extern void switch_t38_options_t_T38VendorInfo_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_T38VendorInfo_get")] - public static extern string switch_t38_options_t_T38VendorInfo_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_T38VendorInfo_get___")] + public static extern string switch_t38_options_t_T38VendorInfo_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_remote_ip_set")] - public static extern void switch_t38_options_t_remote_ip_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_remote_ip_set___")] + public static extern void switch_t38_options_t_remote_ip_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_remote_ip_get")] - public static extern string switch_t38_options_t_remote_ip_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_remote_ip_get___")] + public static extern string switch_t38_options_t_remote_ip_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_remote_port_set")] - public static extern void switch_t38_options_t_remote_port_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_remote_port_set___")] + public static extern void switch_t38_options_t_remote_port_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_remote_port_get")] - public static extern ushort switch_t38_options_t_remote_port_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_remote_port_get___")] + public static extern ushort switch_t38_options_t_remote_port_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_ip_set")] - public static extern void switch_t38_options_t_local_ip_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_local_ip_set___")] + public static extern void switch_t38_options_t_local_ip_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_ip_get")] - public static extern string switch_t38_options_t_local_ip_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_local_ip_get___")] + public static extern string switch_t38_options_t_local_ip_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_port_set")] - public static extern void switch_t38_options_t_local_port_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_local_port_set___")] + public static extern void switch_t38_options_t_local_port_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_port_get")] - public static extern ushort switch_t38_options_t_local_port_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_local_port_get___")] + public static extern ushort switch_t38_options_t_local_port_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_sdp_o_line_set")] - public static extern void switch_t38_options_t_sdp_o_line_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_sdp_o_line_set___")] + public static extern void switch_t38_options_t_sdp_o_line_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_sdp_o_line_get")] - public static extern string switch_t38_options_t_sdp_o_line_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_t38_options_t_sdp_o_line_get___")] + public static extern string switch_t38_options_t_sdp_o_line_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_t38_options_t")] - public static extern IntPtr new_switch_t38_options_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_t38_options_t___")] + public static extern global::System.IntPtr new_switch_t38_options_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_t38_options_t")] - public static extern void delete_switch_t38_options_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_t38_options_t___")] + public static extern void delete_switch_t38_options_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_vid_params_t_width_set")] - public static extern void switch_vid_params_t_width_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_vid_params_t_width_set___")] + public static extern void switch_vid_params_t_width_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_vid_params_t_width_get")] - public static extern uint switch_vid_params_t_width_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_vid_params_t_width_get___")] + public static extern uint switch_vid_params_t_width_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_vid_params_t_height_set")] - public static extern void switch_vid_params_t_height_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_vid_params_t_height_set___")] + public static extern void switch_vid_params_t_height_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_vid_params_t_height_get")] - public static extern uint switch_vid_params_t_height_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_vid_params_t_height_get___")] + public static extern uint switch_vid_params_t_height_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_vid_params_t_fps_set")] - public static extern void switch_vid_params_t_fps_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_vid_params_t_fps_set___")] + public static extern void switch_vid_params_t_fps_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_vid_params_t_fps_get")] - public static extern uint switch_vid_params_t_fps_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_vid_params_t_fps_get___")] + public static extern uint switch_vid_params_t_fps_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_vid_params_t_d_width_set")] - public static extern void switch_vid_params_t_d_width_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_vid_params_t_d_width_set___")] + public static extern void switch_vid_params_t_d_width_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_vid_params_t_d_width_get")] - public static extern uint switch_vid_params_t_d_width_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_vid_params_t_d_width_get___")] + public static extern uint switch_vid_params_t_d_width_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_vid_params_t_d_height_set")] - public static extern void switch_vid_params_t_d_height_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_vid_params_t_d_height_set___")] + public static extern void switch_vid_params_t_d_height_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_vid_params_t_d_height_get")] - public static extern uint switch_vid_params_t_d_height_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_vid_params_t_d_height_get___")] + public static extern uint switch_vid_params_t_d_height_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_vid_params_t")] - public static extern IntPtr new_switch_vid_params_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_vid_params_t___")] + public static extern global::System.IntPtr new_switch_vid_params_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_vid_params_t")] - public static extern void delete_switch_vid_params_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_vid_params_t___")] + public static extern void delete_switch_vid_params_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MEDIA_TYPE_TOTAL_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MEDIA_TYPE_TOTAL_get___")] public static extern int SWITCH_MEDIA_TYPE_TOTAL_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SOCK_INVALID_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SOCK_INVALID_get___")] public static extern int SWITCH_SOCK_INVALID_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_val_set")] - public static extern void switch_console_callback_match_node_val_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_callback_match_node_val_set___")] + public static extern void switch_console_callback_match_node_val_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_val_get")] - public static extern string switch_console_callback_match_node_val_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_callback_match_node_val_get___")] + public static extern string switch_console_callback_match_node_val_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_next_set")] - public static extern void switch_console_callback_match_node_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_callback_match_node_next_set___")] + public static extern void switch_console_callback_match_node_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_node_next_get")] - public static extern IntPtr switch_console_callback_match_node_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_callback_match_node_next_get___")] + public static extern global::System.IntPtr switch_console_callback_match_node_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_console_callback_match_node")] - public static extern IntPtr new_switch_console_callback_match_node(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_console_callback_match_node___")] + public static extern global::System.IntPtr new_switch_console_callback_match_node(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_console_callback_match_node")] - public static extern void delete_switch_console_callback_match_node(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_console_callback_match_node___")] + public static extern void delete_switch_console_callback_match_node(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_head_set")] - public static extern void switch_console_callback_match_head_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_callback_match_head_set___")] + public static extern void switch_console_callback_match_head_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_head_get")] - public static extern IntPtr switch_console_callback_match_head_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_callback_match_head_get___")] + public static extern global::System.IntPtr switch_console_callback_match_head_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_end_set")] - public static extern void switch_console_callback_match_end_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_callback_match_end_set___")] + public static extern void switch_console_callback_match_end_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_end_get")] - public static extern IntPtr switch_console_callback_match_end_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_callback_match_end_get___")] + public static extern global::System.IntPtr switch_console_callback_match_end_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_count_set")] - public static extern void switch_console_callback_match_count_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_callback_match_count_set___")] + public static extern void switch_console_callback_match_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_count_get")] - public static extern int switch_console_callback_match_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_callback_match_count_get___")] + public static extern int switch_console_callback_match_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_dynamic_set")] - public static extern void switch_console_callback_match_dynamic_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_callback_match_dynamic_set___")] + public static extern void switch_console_callback_match_dynamic_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_callback_match_dynamic_get")] - public static extern int switch_console_callback_match_dynamic_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_callback_match_dynamic_get___")] + public static extern int switch_console_callback_match_dynamic_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_console_callback_match")] - public static extern IntPtr new_switch_console_callback_match(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_console_callback_match___")] + public static extern global::System.IntPtr new_switch_console_callback_match(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_console_callback_match")] - public static extern void delete_switch_console_callback_match(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_console_callback_match___")] + public static extern void delete_switch_console_callback_match(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_DMACHINE_MAX_DIGIT_LEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_DMACHINE_MAX_DIGIT_LEN_get___")] public static extern int DMACHINE_MAX_DIGIT_LEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_dmachine_set")] - public static extern void switch_ivr_dmachine_match_dmachine_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_dmachine_set___")] + public static extern void switch_ivr_dmachine_match_dmachine_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_dmachine_get")] - public static extern IntPtr switch_ivr_dmachine_match_dmachine_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_dmachine_get___")] + public static extern global::System.IntPtr switch_ivr_dmachine_match_dmachine_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_match_digits_set")] - public static extern void switch_ivr_dmachine_match_match_digits_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_match_digits_set___")] + public static extern void switch_ivr_dmachine_match_match_digits_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_match_digits_get")] - public static extern string switch_ivr_dmachine_match_match_digits_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_match_digits_get___")] + public static extern string switch_ivr_dmachine_match_match_digits_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_match_key_set")] - public static extern void switch_ivr_dmachine_match_match_key_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_match_key_set___")] + public static extern void switch_ivr_dmachine_match_match_key_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_match_key_get")] - public static extern int switch_ivr_dmachine_match_match_key_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_match_key_get___")] + public static extern int switch_ivr_dmachine_match_match_key_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_type_set")] - public static extern void switch_ivr_dmachine_match_type_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_type_set___")] + public static extern void switch_ivr_dmachine_match_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_type_get")] - public static extern int switch_ivr_dmachine_match_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_type_get___")] + public static extern int switch_ivr_dmachine_match_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_user_data_set")] - public static extern void switch_ivr_dmachine_match_user_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_user_data_set___")] + public static extern void switch_ivr_dmachine_match_user_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_match_user_data_get")] - public static extern IntPtr switch_ivr_dmachine_match_user_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_match_user_data_get___")] + public static extern global::System.IntPtr switch_ivr_dmachine_match_user_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_ivr_dmachine_match")] - public static extern IntPtr new_switch_ivr_dmachine_match(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_ivr_dmachine_match___")] + public static extern global::System.IntPtr new_switch_ivr_dmachine_match(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_ivr_dmachine_match")] - public static extern void delete_switch_ivr_dmachine_match(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_ivr_dmachine_match___")] + public static extern void delete_switch_ivr_dmachine_match(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_MAX_ARG_RECURSION_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_MAX_ARG_RECURSION_get___")] public static extern int MAX_ARG_RECURSION_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_input_callback_set")] - public static extern void switch_input_args_t_input_callback_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_input_callback_set___")] + public static extern void switch_input_args_t_input_callback_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_input_callback_get")] - public static extern IntPtr switch_input_args_t_input_callback_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_input_callback_get___")] + public static extern global::System.IntPtr switch_input_args_t_input_callback_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_buf_set")] - public static extern void switch_input_args_t_buf_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_buf_set___")] + public static extern void switch_input_args_t_buf_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_buf_get")] - public static extern IntPtr switch_input_args_t_buf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_buf_get___")] + public static extern global::System.IntPtr switch_input_args_t_buf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_buflen_set")] - public static extern void switch_input_args_t_buflen_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_buflen_set___")] + public static extern void switch_input_args_t_buflen_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_buflen_get")] - public static extern uint switch_input_args_t_buflen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_buflen_get___")] + public static extern uint switch_input_args_t_buflen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_read_frame_callback_set")] - public static extern void switch_input_args_t_read_frame_callback_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_read_frame_callback_set___")] + public static extern void switch_input_args_t_read_frame_callback_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_read_frame_callback_get")] - public static extern IntPtr switch_input_args_t_read_frame_callback_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_read_frame_callback_get___")] + public static extern global::System.IntPtr switch_input_args_t_read_frame_callback_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_user_data_set")] - public static extern void switch_input_args_t_user_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_user_data_set___")] + public static extern void switch_input_args_t_user_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_user_data_get")] - public static extern IntPtr switch_input_args_t_user_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_user_data_get___")] + public static extern global::System.IntPtr switch_input_args_t_user_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_dmachine_set")] - public static extern void switch_input_args_t_dmachine_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_dmachine_set___")] + public static extern void switch_input_args_t_dmachine_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_dmachine_get")] - public static extern IntPtr switch_input_args_t_dmachine_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_dmachine_get___")] + public static extern global::System.IntPtr switch_input_args_t_dmachine_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_loops_set")] - public static extern void switch_input_args_t_loops_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_loops_set___")] + public static extern void switch_input_args_t_loops_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_input_args_t_loops_get")] - public static extern int switch_input_args_t_loops_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_input_args_t_loops_get___")] + public static extern int switch_input_args_t_loops_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_input_args_t")] - public static extern IntPtr new_switch_input_args_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_input_args_t___")] + public static extern global::System.IntPtr new_switch_input_args_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_input_args_t")] - public static extern void delete_switch_input_args_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_input_args_t___")] + public static extern void delete_switch_input_args_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_type_set")] - public static extern void switch_say_args_t_type_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_args_t_type_set___")] + public static extern void switch_say_args_t_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_type_get")] - public static extern int switch_say_args_t_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_args_t_type_get___")] + public static extern int switch_say_args_t_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_method_set")] - public static extern void switch_say_args_t_method_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_args_t_method_set___")] + public static extern void switch_say_args_t_method_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_method_get")] - public static extern int switch_say_args_t_method_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_args_t_method_get___")] + public static extern int switch_say_args_t_method_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_gender_set")] - public static extern void switch_say_args_t_gender_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_args_t_gender_set___")] + public static extern void switch_say_args_t_gender_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_gender_get")] - public static extern int switch_say_args_t_gender_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_args_t_gender_get___")] + public static extern int switch_say_args_t_gender_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_ext_set")] - public static extern void switch_say_args_t_ext_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_args_t_ext_set___")] + public static extern void switch_say_args_t_ext_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_args_t_ext_get")] - public static extern string switch_say_args_t_ext_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_args_t_ext_get___")] + public static extern string switch_say_args_t_ext_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_say_args_t")] - public static extern IntPtr new_switch_say_args_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_say_args_t___")] + public static extern global::System.IntPtr new_switch_say_args_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_say_args_t")] - public static extern void delete_switch_say_args_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_say_args_t___")] + public static extern void delete_switch_say_args_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_API_VERSION_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_API_VERSION_get___")] public static extern int SWITCH_API_VERSION_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_switch_api_version_set")] - public static extern void switch_loadable_module_function_table_t_switch_api_version_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_switch_api_version_set___")] + public static extern void switch_loadable_module_function_table_t_switch_api_version_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_switch_api_version_get")] - public static extern int switch_loadable_module_function_table_t_switch_api_version_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_switch_api_version_get___")] + public static extern int switch_loadable_module_function_table_t_switch_api_version_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_load_set")] - public static extern void switch_loadable_module_function_table_t_load_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_load_set___")] + public static extern void switch_loadable_module_function_table_t_load_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_load_get")] - public static extern IntPtr switch_loadable_module_function_table_t_load_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_load_get___")] + public static extern global::System.IntPtr switch_loadable_module_function_table_t_load_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_shutdown_set")] - public static extern void switch_loadable_module_function_table_t_shutdown_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_shutdown_set___")] + public static extern void switch_loadable_module_function_table_t_shutdown_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_shutdown_get")] - public static extern IntPtr switch_loadable_module_function_table_t_shutdown_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_shutdown_get___")] + public static extern global::System.IntPtr switch_loadable_module_function_table_t_shutdown_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_runtime_set")] - public static extern void switch_loadable_module_function_table_t_runtime_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_runtime_set___")] + public static extern void switch_loadable_module_function_table_t_runtime_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_runtime_get")] - public static extern IntPtr switch_loadable_module_function_table_t_runtime_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_runtime_get___")] + public static extern global::System.IntPtr switch_loadable_module_function_table_t_runtime_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_flags_set")] - public static extern void switch_loadable_module_function_table_t_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_flags_set___")] + public static extern void switch_loadable_module_function_table_t_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_function_table_t_flags_get")] - public static extern uint switch_loadable_module_function_table_t_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_function_table_t_flags_get___")] + public static extern uint switch_loadable_module_function_table_t_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_loadable_module_function_table_t")] - public static extern IntPtr new_switch_loadable_module_function_table_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_loadable_module_function_table_t___")] + public static extern global::System.IntPtr new_switch_loadable_module_function_table_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_loadable_module_function_table_t")] - public static extern void delete_switch_loadable_module_function_table_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_loadable_module_function_table_t___")] + public static extern void delete_switch_loadable_module_function_table_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_type_set")] - public static extern void payload_map_t_type_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_type_set___")] + public static extern void payload_map_t_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_type_get")] - public static extern int payload_map_t_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_type_get___")] + public static extern int payload_map_t_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_sdp_type_set")] - public static extern void payload_map_t_sdp_type_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_sdp_type_set___")] + public static extern void payload_map_t_sdp_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_sdp_type_get")] - public static extern int payload_map_t_sdp_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_sdp_type_get___")] + public static extern int payload_map_t_sdp_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_ptime_set")] - public static extern void payload_map_t_ptime_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_ptime_set___")] + public static extern void payload_map_t_ptime_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_ptime_get")] - public static extern uint payload_map_t_ptime_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_ptime_get___")] + public static extern uint payload_map_t_ptime_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rate_set")] - public static extern void payload_map_t_rate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_rate_set___")] + public static extern void payload_map_t_rate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rate_get")] - public static extern uint payload_map_t_rate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_rate_get___")] + public static extern uint payload_map_t_rate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_allocated_set")] - public static extern void payload_map_t_allocated_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_allocated_set___")] + public static extern void payload_map_t_allocated_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_allocated_get")] - public static extern byte payload_map_t_allocated_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_allocated_get___")] + public static extern byte payload_map_t_allocated_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_negotiated_set")] - public static extern void payload_map_t_negotiated_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_negotiated_set___")] + public static extern void payload_map_t_negotiated_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_negotiated_get")] - public static extern byte payload_map_t_negotiated_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_negotiated_get___")] + public static extern byte payload_map_t_negotiated_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_current_set")] - public static extern void payload_map_t_current_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_current_set___")] + public static extern void payload_map_t_current_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_current_get")] - public static extern byte payload_map_t_current_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_current_get___")] + public static extern byte payload_map_t_current_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_hash_set")] - public static extern void payload_map_t_hash_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_hash_set___")] + public static extern void payload_map_t_hash_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_hash_get")] - public static extern uint payload_map_t_hash_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_hash_get___")] + public static extern uint payload_map_t_hash_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_encoding_set")] - public static extern void payload_map_t_rm_encoding_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_rm_encoding_set___")] + public static extern void payload_map_t_rm_encoding_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_encoding_get")] - public static extern string payload_map_t_rm_encoding_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_rm_encoding_get___")] + public static extern string payload_map_t_rm_encoding_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_iananame_set")] - public static extern void payload_map_t_iananame_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_iananame_set___")] + public static extern void payload_map_t_iananame_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_iananame_get")] - public static extern string payload_map_t_iananame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_iananame_get___")] + public static extern string payload_map_t_iananame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_modname_set")] - public static extern void payload_map_t_modname_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_modname_set___")] + public static extern void payload_map_t_modname_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_modname_get")] - public static extern string payload_map_t_modname_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_modname_get___")] + public static extern string payload_map_t_modname_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_pt_set")] - public static extern void payload_map_t_pt_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_pt_set___")] + public static extern void payload_map_t_pt_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_pt_get")] - public static extern byte payload_map_t_pt_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_pt_get___")] + public static extern byte payload_map_t_pt_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_rate_set")] - public static extern void payload_map_t_rm_rate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_rm_rate_set___")] + public static extern void payload_map_t_rm_rate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_rate_get")] - public static extern uint payload_map_t_rm_rate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_rm_rate_get___")] + public static extern uint payload_map_t_rm_rate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_adv_rm_rate_set")] - public static extern void payload_map_t_adv_rm_rate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_adv_rm_rate_set___")] + public static extern void payload_map_t_adv_rm_rate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_adv_rm_rate_get")] - public static extern uint payload_map_t_adv_rm_rate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_adv_rm_rate_get___")] + public static extern uint payload_map_t_adv_rm_rate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_codec_ms_set")] - public static extern void payload_map_t_codec_ms_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_codec_ms_set___")] + public static extern void payload_map_t_codec_ms_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_codec_ms_get")] - public static extern uint payload_map_t_codec_ms_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_codec_ms_get___")] + public static extern uint payload_map_t_codec_ms_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_bitrate_set")] - public static extern void payload_map_t_bitrate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_bitrate_set___")] + public static extern void payload_map_t_bitrate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_bitrate_get")] - public static extern uint payload_map_t_bitrate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_bitrate_get___")] + public static extern uint payload_map_t_bitrate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_fmtp_set")] - public static extern void payload_map_t_rm_fmtp_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_rm_fmtp_set___")] + public static extern void payload_map_t_rm_fmtp_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_rm_fmtp_get")] - public static extern string payload_map_t_rm_fmtp_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_rm_fmtp_get___")] + public static extern string payload_map_t_rm_fmtp_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_recv_pt_set")] - public static extern void payload_map_t_recv_pt_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_recv_pt_set___")] + public static extern void payload_map_t_recv_pt_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_recv_pt_get")] - public static extern byte payload_map_t_recv_pt_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_recv_pt_get___")] + public static extern byte payload_map_t_recv_pt_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_fmtp_out_set")] - public static extern void payload_map_t_fmtp_out_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_fmtp_out_set___")] + public static extern void payload_map_t_fmtp_out_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_fmtp_out_get")] - public static extern string payload_map_t_fmtp_out_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_fmtp_out_get___")] + public static extern string payload_map_t_fmtp_out_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_remote_sdp_ip_set")] - public static extern void payload_map_t_remote_sdp_ip_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_remote_sdp_ip_set___")] + public static extern void payload_map_t_remote_sdp_ip_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_remote_sdp_ip_get")] - public static extern string payload_map_t_remote_sdp_ip_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_remote_sdp_ip_get___")] + public static extern string payload_map_t_remote_sdp_ip_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_remote_sdp_port_set")] - public static extern void payload_map_t_remote_sdp_port_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_remote_sdp_port_set___")] + public static extern void payload_map_t_remote_sdp_port_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_remote_sdp_port_get")] - public static extern ushort payload_map_t_remote_sdp_port_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_remote_sdp_port_get___")] + public static extern ushort payload_map_t_remote_sdp_port_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_channels_set")] - public static extern void payload_map_t_channels_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_channels_set___")] + public static extern void payload_map_t_channels_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_channels_get")] - public static extern int payload_map_t_channels_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_channels_get___")] + public static extern int payload_map_t_channels_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_adv_channels_set")] - public static extern void payload_map_t_adv_channels_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_adv_channels_set___")] + public static extern void payload_map_t_adv_channels_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_adv_channels_get")] - public static extern int payload_map_t_adv_channels_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_adv_channels_get___")] + public static extern int payload_map_t_adv_channels_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_next_set")] - public static extern void payload_map_t_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_next_set___")] + public static extern void payload_map_t_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_payload_map_t_next_get")] - public static extern IntPtr payload_map_t_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_payload_map_t_next_get___")] + public static extern global::System.IntPtr payload_map_t_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_payload_map_t")] - public static extern IntPtr new_payload_map_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_payload_map_t___")] + public static extern global::System.IntPtr new_payload_map_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_payload_map_t")] - public static extern void delete_payload_map_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_payload_map_t___")] + public static extern void delete_payload_map_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_sock_set")] - public static extern void switch_waitlist_t_sock_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_waitlist_t_sock_set___")] + public static extern void switch_waitlist_t_sock_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_sock_get")] - public static extern int switch_waitlist_t_sock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_waitlist_t_sock_get___")] + public static extern int switch_waitlist_t_sock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_events_set")] - public static extern void switch_waitlist_t_events_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_waitlist_t_events_set___")] + public static extern void switch_waitlist_t_events_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_events_get")] - public static extern uint switch_waitlist_t_events_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_waitlist_t_events_get___")] + public static extern uint switch_waitlist_t_events_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_revents_set")] - public static extern void switch_waitlist_t_revents_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_waitlist_t_revents_set___")] + public static extern void switch_waitlist_t_revents_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_waitlist_t_revents_get")] - public static extern uint switch_waitlist_t_revents_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_waitlist_t_revents_get___")] + public static extern uint switch_waitlist_t_revents_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_waitlist_t")] - public static extern IntPtr new_switch_waitlist_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_waitlist_t___")] + public static extern global::System.IntPtr new_switch_waitlist_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_waitlist_t")] - public static extern void delete_switch_waitlist_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_waitlist_t___")] + public static extern void delete_switch_waitlist_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_samplerate_set")] - public static extern void switch_mm_t_samplerate_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_samplerate_set___")] + public static extern void switch_mm_t_samplerate_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_samplerate_get")] - public static extern int switch_mm_t_samplerate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_samplerate_get___")] + public static extern int switch_mm_t_samplerate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_channels_set")] - public static extern void switch_mm_t_channels_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_channels_set___")] + public static extern void switch_mm_t_channels_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_channels_get")] - public static extern int switch_mm_t_channels_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_channels_get___")] + public static extern int switch_mm_t_channels_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_keyint_set")] - public static extern void switch_mm_t_keyint_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_keyint_set___")] + public static extern void switch_mm_t_keyint_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_keyint_get")] - public static extern int switch_mm_t_keyint_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_keyint_get___")] + public static extern int switch_mm_t_keyint_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_ab_set")] - public static extern void switch_mm_t_ab_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_ab_set___")] + public static extern void switch_mm_t_ab_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_ab_get")] - public static extern int switch_mm_t_ab_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_ab_get___")] + public static extern int switch_mm_t_ab_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vb_set")] - public static extern void switch_mm_t_vb_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_vb_set___")] + public static extern void switch_mm_t_vb_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vb_get")] - public static extern int switch_mm_t_vb_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_vb_get___")] + public static extern int switch_mm_t_vb_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vw_set")] - public static extern void switch_mm_t_vw_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_vw_set___")] + public static extern void switch_mm_t_vw_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vw_get")] - public static extern int switch_mm_t_vw_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_vw_get___")] + public static extern int switch_mm_t_vw_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vh_set")] - public static extern void switch_mm_t_vh_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_vh_set___")] + public static extern void switch_mm_t_vh_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vh_get")] - public static extern int switch_mm_t_vh_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_vh_get___")] + public static extern int switch_mm_t_vh_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_cbr_set")] - public static extern void switch_mm_t_cbr_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_cbr_set___")] + public static extern void switch_mm_t_cbr_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_cbr_get")] - public static extern int switch_mm_t_cbr_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_cbr_get___")] + public static extern int switch_mm_t_cbr_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fps_set")] - public static extern void switch_mm_t_fps_set(HandleRef jarg1, float jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_fps_set___")] + public static extern void switch_mm_t_fps_set(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fps_get")] - public static extern float switch_mm_t_fps_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_fps_get___")] + public static extern float switch_mm_t_fps_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_source_fps_set")] - public static extern void switch_mm_t_source_fps_set(HandleRef jarg1, float jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_source_fps_set___")] + public static extern void switch_mm_t_source_fps_set(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_source_fps_get")] - public static extern float switch_mm_t_source_fps_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_source_fps_get___")] + public static extern float switch_mm_t_source_fps_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vbuf_set")] - public static extern void switch_mm_t_vbuf_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_vbuf_set___")] + public static extern void switch_mm_t_vbuf_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vbuf_get")] - public static extern int switch_mm_t_vbuf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_vbuf_get___")] + public static extern int switch_mm_t_vbuf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vprofile_set")] - public static extern void switch_mm_t_vprofile_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_vprofile_set___")] + public static extern void switch_mm_t_vprofile_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vprofile_get")] - public static extern int switch_mm_t_vprofile_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_vprofile_get___")] + public static extern int switch_mm_t_vprofile_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vencspd_set")] - public static extern void switch_mm_t_vencspd_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_vencspd_set___")] + public static extern void switch_mm_t_vencspd_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vencspd_get")] - public static extern int switch_mm_t_vencspd_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_vencspd_get___")] + public static extern int switch_mm_t_vencspd_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_try_hardware_encoder_set")] - public static extern void switch_mm_t_try_hardware_encoder_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_try_hardware_encoder_set___")] + public static extern void switch_mm_t_try_hardware_encoder_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_try_hardware_encoder_get")] - public static extern byte switch_mm_t_try_hardware_encoder_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_try_hardware_encoder_get___")] + public static extern byte switch_mm_t_try_hardware_encoder_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_w_set")] - public static extern void switch_mm_t_scale_w_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_scale_w_set___")] + public static extern void switch_mm_t_scale_w_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_w_get")] - public static extern int switch_mm_t_scale_w_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_scale_w_get___")] + public static extern int switch_mm_t_scale_w_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_h_set")] - public static extern void switch_mm_t_scale_h_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_scale_h_set___")] + public static extern void switch_mm_t_scale_h_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_h_get")] - public static extern int switch_mm_t_scale_h_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_scale_h_get___")] + public static extern int switch_mm_t_scale_h_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fmt_set")] - public static extern void switch_mm_t_fmt_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_fmt_set___")] + public static extern void switch_mm_t_fmt_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fmt_get")] - public static extern IntPtr switch_mm_t_fmt_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_fmt_get___")] + public static extern global::System.IntPtr switch_mm_t_fmt_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_username_set")] - public static extern void switch_mm_t_auth_username_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_auth_username_set___")] + public static extern void switch_mm_t_auth_username_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_username_get")] - public static extern string switch_mm_t_auth_username_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_auth_username_get___")] + public static extern string switch_mm_t_auth_username_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_password_set")] - public static extern void switch_mm_t_auth_password_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_auth_password_set___")] + public static extern void switch_mm_t_auth_password_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_password_get")] - public static extern string switch_mm_t_auth_password_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mm_t_auth_password_get___")] + public static extern string switch_mm_t_auth_password_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_mm_t")] - public static extern IntPtr new_switch_mm_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_mm_t___")] + public static extern global::System.IntPtr new_switch_mm_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_mm_t")] - public static extern void delete_switch_mm_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_mm_t___")] + public static extern void delete_switch_mm_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_MAX_CRYPTO_LEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RTP_MAX_CRYPTO_LEN_get___")] public static extern int SWITCH_RTP_MAX_CRYPTO_LEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_method_set")] - public static extern void switch_crypto_key_material_t_method_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_method_set___")] + public static extern void switch_crypto_key_material_t_method_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_method_get")] - public static extern int switch_crypto_key_material_t_method_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_method_get___")] + public static extern int switch_crypto_key_material_t_method_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_raw_key_set")] - public static extern void switch_crypto_key_material_t_raw_key_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_raw_key_set___")] + public static extern void switch_crypto_key_material_t_raw_key_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_raw_key_get")] - public static extern IntPtr switch_crypto_key_material_t_raw_key_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_raw_key_get___")] + public static extern global::System.IntPtr switch_crypto_key_material_t_raw_key_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_crypto_key_set")] - public static extern void switch_crypto_key_material_t_crypto_key_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_crypto_key_set___")] + public static extern void switch_crypto_key_material_t_crypto_key_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_crypto_key_get")] - public static extern string switch_crypto_key_material_t_crypto_key_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_crypto_key_get___")] + public static extern string switch_crypto_key_material_t_crypto_key_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_lifetime_set")] - public static extern void switch_crypto_key_material_t_lifetime_set(HandleRef jarg1, ulong jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_lifetime_set___")] + public static extern void switch_crypto_key_material_t_lifetime_set(global::System.Runtime.InteropServices.HandleRef jarg1, ulong jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_lifetime_get")] - public static extern ulong switch_crypto_key_material_t_lifetime_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_lifetime_get___")] + public static extern ulong switch_crypto_key_material_t_lifetime_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_mki_id_set")] - public static extern void switch_crypto_key_material_t_mki_id_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_mki_id_set___")] + public static extern void switch_crypto_key_material_t_mki_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_mki_id_get")] - public static extern uint switch_crypto_key_material_t_mki_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_mki_id_get___")] + public static extern uint switch_crypto_key_material_t_mki_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_mki_size_set")] - public static extern void switch_crypto_key_material_t_mki_size_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_mki_size_set___")] + public static extern void switch_crypto_key_material_t_mki_size_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_mki_size_get")] - public static extern uint switch_crypto_key_material_t_mki_size_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_mki_size_get___")] + public static extern uint switch_crypto_key_material_t_mki_size_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_next_set")] - public static extern void switch_crypto_key_material_t_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_next_set___")] + public static extern void switch_crypto_key_material_t_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_crypto_key_material_t_next_get")] - public static extern IntPtr switch_crypto_key_material_t_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_crypto_key_material_t_next_get___")] + public static extern global::System.IntPtr switch_crypto_key_material_t_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_crypto_key_material_t")] - public static extern IntPtr new_switch_crypto_key_material_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_crypto_key_material_t___")] + public static extern global::System.IntPtr new_switch_crypto_key_material_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_crypto_key_material_t")] - public static extern void delete_switch_crypto_key_material_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_crypto_key_material_t___")] + public static extern void delete_switch_crypto_key_material_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_crypto_tag_set")] - public static extern void switch_secure_settings_t_crypto_tag_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_crypto_tag_set___")] + public static extern void switch_secure_settings_t_crypto_tag_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_crypto_tag_get")] - public static extern int switch_secure_settings_t_crypto_tag_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_crypto_tag_get___")] + public static extern int switch_secure_settings_t_crypto_tag_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_local_raw_key_set")] - public static extern void switch_secure_settings_t_local_raw_key_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_raw_key_set___")] + public static extern void switch_secure_settings_t_local_raw_key_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_local_raw_key_get")] - public static extern IntPtr switch_secure_settings_t_local_raw_key_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_raw_key_get___")] + public static extern global::System.IntPtr switch_secure_settings_t_local_raw_key_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_remote_raw_key_set")] - public static extern void switch_secure_settings_t_remote_raw_key_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_raw_key_set___")] + public static extern void switch_secure_settings_t_remote_raw_key_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_remote_raw_key_get")] - public static extern IntPtr switch_secure_settings_t_remote_raw_key_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_raw_key_get___")] + public static extern global::System.IntPtr switch_secure_settings_t_remote_raw_key_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_crypto_type_set")] - public static extern void switch_secure_settings_t_crypto_type_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_crypto_type_set___")] + public static extern void switch_secure_settings_t_crypto_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_crypto_type_get")] - public static extern int switch_secure_settings_t_crypto_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_crypto_type_get___")] + public static extern int switch_secure_settings_t_crypto_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_local_crypto_key_set")] - public static extern void switch_secure_settings_t_local_crypto_key_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_crypto_key_set___")] + public static extern void switch_secure_settings_t_local_crypto_key_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_local_crypto_key_get")] - public static extern string switch_secure_settings_t_local_crypto_key_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_crypto_key_get___")] + public static extern string switch_secure_settings_t_local_crypto_key_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_remote_crypto_key_set")] - public static extern void switch_secure_settings_t_remote_crypto_key_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_crypto_key_set___")] + public static extern void switch_secure_settings_t_remote_crypto_key_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_remote_crypto_key_get")] - public static extern string switch_secure_settings_t_remote_crypto_key_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_crypto_key_get___")] + public static extern string switch_secure_settings_t_remote_crypto_key_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_local_key_material_next_set")] - public static extern void switch_secure_settings_t_local_key_material_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_key_material_next_set___")] + public static extern void switch_secure_settings_t_local_key_material_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_local_key_material_next_get")] - public static extern IntPtr switch_secure_settings_t_local_key_material_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_key_material_next_get___")] + public static extern global::System.IntPtr switch_secure_settings_t_local_key_material_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_local_key_material_n_set")] - public static extern void switch_secure_settings_t_local_key_material_n_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_key_material_n_set___")] + public static extern void switch_secure_settings_t_local_key_material_n_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_local_key_material_n_get")] - public static extern uint switch_secure_settings_t_local_key_material_n_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_local_key_material_n_get___")] + public static extern uint switch_secure_settings_t_local_key_material_n_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_remote_key_material_next_set")] - public static extern void switch_secure_settings_t_remote_key_material_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_key_material_next_set___")] + public static extern void switch_secure_settings_t_remote_key_material_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_remote_key_material_next_get")] - public static extern IntPtr switch_secure_settings_t_remote_key_material_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_key_material_next_get___")] + public static extern global::System.IntPtr switch_secure_settings_t_remote_key_material_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_remote_key_material_n_set")] - public static extern void switch_secure_settings_t_remote_key_material_n_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_key_material_n_set___")] + public static extern void switch_secure_settings_t_remote_key_material_n_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_secure_settings_t_remote_key_material_n_get")] - public static extern uint switch_secure_settings_t_remote_key_material_n_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_secure_settings_t_remote_key_material_n_get___")] + public static extern uint switch_secure_settings_t_remote_key_material_n_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_secure_settings_t")] - public static extern IntPtr new_switch_secure_settings_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_secure_settings_t___")] + public static extern global::System.IntPtr new_switch_secure_settings_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_secure_settings_t")] - public static extern void delete_switch_secure_settings_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_secure_settings_t___")] + public static extern void delete_switch_secure_settings_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CRYPTO_MKI_INDEX_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CRYPTO_MKI_INDEX_get___")] public static extern int SWITCH_CRYPTO_MKI_INDEX_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CRYPTO_MKI_MAX_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CRYPTO_MKI_MAX_get___")] public static extern int SWITCH_CRYPTO_MKI_MAX_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_close")] - public static extern int switch_core_db_close(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_close___")] + public static extern int switch_core_db_close(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_open")] - public static extern int switch_core_db_open(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_open___")] + public static extern int switch_core_db_open(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_column_text")] - public static extern IntPtr switch_core_db_column_text(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_column_text___")] + public static extern global::System.IntPtr switch_core_db_column_text(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_column_name")] - public static extern string switch_core_db_column_name(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_column_name___")] + public static extern string switch_core_db_column_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_column_count")] - public static extern int switch_core_db_column_count(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_column_count___")] + public static extern int switch_core_db_column_count(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_errmsg")] - public static extern string switch_core_db_errmsg(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_errmsg___")] + public static extern string switch_core_db_errmsg(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_exec")] - public static extern int switch_core_db_exec(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, ref string jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_exec___")] + public static extern int switch_core_db_exec(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref string jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_finalize")] - public static extern int switch_core_db_finalize(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_finalize___")] + public static extern int switch_core_db_finalize(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_prepare")] - public static extern int switch_core_db_prepare(HandleRef jarg1, string jarg2, int jarg3, HandleRef jarg4, ref global::System.IntPtr jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_prepare___")] + public static extern int switch_core_db_prepare(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref global::System.IntPtr jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_step")] - public static extern int switch_core_db_step(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_step___")] + public static extern int switch_core_db_step(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_reset")] - public static extern int switch_core_db_reset(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_reset___")] + public static extern int switch_core_db_reset(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_bind_int")] - public static extern int switch_core_db_bind_int(HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_bind_int___")] + public static extern int switch_core_db_bind_int(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_bind_int64")] - public static extern int switch_core_db_bind_int64(HandleRef jarg1, int jarg2, long jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_bind_int64___")] + public static extern int switch_core_db_bind_int64(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_bind_text")] - public static extern int switch_core_db_bind_text(HandleRef jarg1, int jarg2, string jarg3, int jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_bind_text___")] + public static extern int switch_core_db_bind_text(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_bind_double")] - public static extern int switch_core_db_bind_double(HandleRef jarg1, int jarg2, double jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_bind_double___")] + public static extern int switch_core_db_bind_double(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_last_insert_rowid")] - public static extern long switch_core_db_last_insert_rowid(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_last_insert_rowid___")] + public static extern long switch_core_db_last_insert_rowid(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_get_table")] - public static extern int switch_core_db_get_table(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, ref string jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_get_table___")] + public static extern int switch_core_db_get_table(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, ref string jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_free_table")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_free_table___")] public static extern void switch_core_db_free_table(ref string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_free")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_free___")] public static extern void switch_core_db_free(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_changes")] - public static extern int switch_core_db_changes(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_changes___")] + public static extern int switch_core_db_changes(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_load_extension")] - public static extern int switch_core_db_load_extension(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_load_extension___")] + public static extern int switch_core_db_load_extension(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_OK_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_OK_get___")] public static extern int SWITCH_CORE_DB_OK_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_ERROR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_ERROR_get___")] public static extern int SWITCH_CORE_DB_ERROR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_INTERNAL_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_INTERNAL_get___")] public static extern int SWITCH_CORE_DB_INTERNAL_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_PERM_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_PERM_get___")] public static extern int SWITCH_CORE_DB_PERM_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_ABORT_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_ABORT_get___")] public static extern int SWITCH_CORE_DB_ABORT_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_BUSY_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_BUSY_get___")] public static extern int SWITCH_CORE_DB_BUSY_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_LOCKED_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_LOCKED_get___")] public static extern int SWITCH_CORE_DB_LOCKED_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_NOMEM_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_NOMEM_get___")] public static extern int SWITCH_CORE_DB_NOMEM_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_READONLY_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_READONLY_get___")] public static extern int SWITCH_CORE_DB_READONLY_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_INTERRUPT_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_INTERRUPT_get___")] public static extern int SWITCH_CORE_DB_INTERRUPT_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_IOERR_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_IOERR_get___")] public static extern int SWITCH_CORE_DB_IOERR_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_CORRUPT_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_CORRUPT_get___")] public static extern int SWITCH_CORE_DB_CORRUPT_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_NOTFOUND_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_NOTFOUND_get___")] public static extern int SWITCH_CORE_DB_NOTFOUND_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_FULL_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_FULL_get___")] public static extern int SWITCH_CORE_DB_FULL_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_CANTOPEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_CANTOPEN_get___")] public static extern int SWITCH_CORE_DB_CANTOPEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_PROTOCOL_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_PROTOCOL_get___")] public static extern int SWITCH_CORE_DB_PROTOCOL_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_EMPTY_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_EMPTY_get___")] public static extern int SWITCH_CORE_DB_EMPTY_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_SCHEMA_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_SCHEMA_get___")] public static extern int SWITCH_CORE_DB_SCHEMA_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_TOOBIG_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_TOOBIG_get___")] public static extern int SWITCH_CORE_DB_TOOBIG_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_CONSTRAINT_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_CONSTRAINT_get___")] public static extern int SWITCH_CORE_DB_CONSTRAINT_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_MISMATCH_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_MISMATCH_get___")] public static extern int SWITCH_CORE_DB_MISMATCH_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_MISUSE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_MISUSE_get___")] public static extern int SWITCH_CORE_DB_MISUSE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_NOLFS_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_NOLFS_get___")] public static extern int SWITCH_CORE_DB_NOLFS_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_AUTH_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_AUTH_get___")] public static extern int SWITCH_CORE_DB_AUTH_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_FORMAT_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_FORMAT_get___")] public static extern int SWITCH_CORE_DB_FORMAT_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_RANGE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_RANGE_get___")] public static extern int SWITCH_CORE_DB_RANGE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_NOTADB_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_NOTADB_get___")] public static extern int SWITCH_CORE_DB_NOTADB_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_ROW_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_ROW_get___")] public static extern int SWITCH_CORE_DB_ROW_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CORE_DB_DONE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CORE_DB_DONE_get___")] public static extern int SWITCH_CORE_DB_DONE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_concat")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_concat___")] public static extern string switch_sql_concat(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_compile")] - public static extern IntPtr switch_regex_compile(string jarg1, int jarg2, ref global::System.IntPtr jarg3, HandleRef jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_regex_compile___")] + public static extern global::System.IntPtr switch_regex_compile(string jarg1, int jarg2, ref global::System.IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_copy_substring")] - public static extern int switch_regex_copy_substring(string jarg1, HandleRef jarg2, int jarg3, int jarg4, string jarg5, int jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_regex_copy_substring___")] + public static extern int switch_regex_copy_substring(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, string jarg5, int jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_free")] - public static extern void switch_regex_free(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_regex_free___")] + public static extern void switch_regex_free(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_perform")] - public static extern int switch_regex_perform(string jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_regex_perform___")] + public static extern int switch_regex_perform(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, uint jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_perform_substitution")] - public static extern void switch_perform_substitution(HandleRef jarg1, int jarg2, string jarg3, string jarg4, string jarg5, HandleRef jarg6, HandleRef jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_perform_substitution___")] + public static extern void switch_perform_substitution(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, string jarg4, string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_match")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_regex_match___")] public static extern int switch_regex_match(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_match_partial")] - public static extern int switch_regex_match_partial(string jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_regex_match_partial___")] + public static extern int switch_regex_match_partial(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_capture_regex")] - public static extern void switch_capture_regex(HandleRef jarg1, int jarg2, string jarg3, HandleRef jarg4, string jarg5, HandleRef jarg6, HandleRef jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_capture_regex___")] + public static extern void switch_capture_regex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_set_var_callback")] - public static extern void switch_regex_set_var_callback(string jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_regex_set_var_callback___")] + public static extern void switch_regex_set_var_callback(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_regex_set_event_header_callback")] - public static extern void switch_regex_set_event_header_callback(string jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_regex_set_event_header_callback___")] + public static extern void switch_regex_set_event_header_callback(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get___")] public static extern int SWITCH_MAX_CORE_THREAD_SESSION_OBJS_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_MAX_STREAMS_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_MAX_STREAMS_get___")] public static extern int SWITCH_MAX_STREAMS_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_mms_set")] - public static extern void switch_core_time_duration_mms_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_mms_set___")] + public static extern void switch_core_time_duration_mms_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_mms_get")] - public static extern uint switch_core_time_duration_mms_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_mms_get___")] + public static extern uint switch_core_time_duration_mms_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_ms_set")] - public static extern void switch_core_time_duration_ms_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_ms_set___")] + public static extern void switch_core_time_duration_ms_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_ms_get")] - public static extern uint switch_core_time_duration_ms_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_ms_get___")] + public static extern uint switch_core_time_duration_ms_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_sec_set")] - public static extern void switch_core_time_duration_sec_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_sec_set___")] + public static extern void switch_core_time_duration_sec_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_sec_get")] - public static extern uint switch_core_time_duration_sec_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_sec_get___")] + public static extern uint switch_core_time_duration_sec_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_min_set")] - public static extern void switch_core_time_duration_min_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_min_set___")] + public static extern void switch_core_time_duration_min_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_min_get")] - public static extern uint switch_core_time_duration_min_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_min_get___")] + public static extern uint switch_core_time_duration_min_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_hr_set")] - public static extern void switch_core_time_duration_hr_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_hr_set___")] + public static extern void switch_core_time_duration_hr_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_hr_get")] - public static extern uint switch_core_time_duration_hr_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_hr_get___")] + public static extern uint switch_core_time_duration_hr_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_day_set")] - public static extern void switch_core_time_duration_day_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_day_set___")] + public static extern void switch_core_time_duration_day_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_day_get")] - public static extern uint switch_core_time_duration_day_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_day_get___")] + public static extern uint switch_core_time_duration_day_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_yr_set")] - public static extern void switch_core_time_duration_yr_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_yr_set___")] + public static extern void switch_core_time_duration_yr_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_time_duration_yr_get")] - public static extern uint switch_core_time_duration_yr_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_time_duration_yr_get___")] + public static extern uint switch_core_time_duration_yr_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_core_time_duration")] - public static extern IntPtr new_switch_core_time_duration(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_core_time_duration___")] + public static extern global::System.IntPtr new_switch_core_time_duration(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_core_time_duration")] - public static extern void delete_switch_core_time_duration(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_core_time_duration___")] + public static extern void delete_switch_core_time_duration(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_app_set")] - public static extern void switch_app_log_app_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_app_log_app_set___")] + public static extern void switch_app_log_app_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_app_get")] - public static extern string switch_app_log_app_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_app_log_app_get___")] + public static extern string switch_app_log_app_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_arg_set")] - public static extern void switch_app_log_arg_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_app_log_arg_set___")] + public static extern void switch_app_log_arg_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_arg_get")] - public static extern string switch_app_log_arg_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_app_log_arg_get___")] + public static extern string switch_app_log_arg_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_stamp_set")] - public static extern void switch_app_log_stamp_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_app_log_stamp_set___")] + public static extern void switch_app_log_stamp_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_stamp_get")] - public static extern IntPtr switch_app_log_stamp_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_app_log_stamp_get___")] + public static extern global::System.IntPtr switch_app_log_stamp_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_next_set")] - public static extern void switch_app_log_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_app_log_next_set___")] + public static extern void switch_app_log_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_app_log_next_get")] - public static extern IntPtr switch_app_log_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_app_log_next_get___")] + public static extern global::System.IntPtr switch_app_log_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_app_log")] - public static extern IntPtr new_switch_app_log(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_app_log___")] + public static extern global::System.IntPtr new_switch_app_log(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_app_log")] - public static extern void delete_switch_app_log(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_app_log___")] + public static extern void delete_switch_app_log(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_func_set")] - public static extern void switch_thread_data_t_func_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_thread_data_t_func_set___")] + public static extern void switch_thread_data_t_func_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_func_get")] - public static extern IntPtr switch_thread_data_t_func_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_thread_data_t_func_get___")] + public static extern global::System.IntPtr switch_thread_data_t_func_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_obj_set")] - public static extern void switch_thread_data_t_obj_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_thread_data_t_obj_set___")] + public static extern void switch_thread_data_t_obj_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_obj_get")] - public static extern IntPtr switch_thread_data_t_obj_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_thread_data_t_obj_get___")] + public static extern global::System.IntPtr switch_thread_data_t_obj_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_alloc_set")] - public static extern void switch_thread_data_t_alloc_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_thread_data_t_alloc_set___")] + public static extern void switch_thread_data_t_alloc_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_alloc_get")] - public static extern int switch_thread_data_t_alloc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_thread_data_t_alloc_get___")] + public static extern int switch_thread_data_t_alloc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_pool_set")] - public static extern void switch_thread_data_t_pool_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_thread_data_t_pool_set___")] + public static extern void switch_thread_data_t_pool_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_pool_get")] - public static extern IntPtr switch_thread_data_t_pool_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_thread_data_t_pool_get___")] + public static extern global::System.IntPtr switch_thread_data_t_pool_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_thread_data_t")] - public static extern IntPtr new_switch_thread_data_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_thread_data_t___")] + public static extern global::System.IntPtr new_switch_thread_data_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_thread_data_t")] - public static extern void delete_switch_thread_data_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_thread_data_t___")] + public static extern void delete_switch_thread_data_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_on_set")] - public static extern void switch_hold_record_t_on_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_hold_record_t_on_set___")] + public static extern void switch_hold_record_t_on_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_on_get")] - public static extern IntPtr switch_hold_record_t_on_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_hold_record_t_on_get___")] + public static extern global::System.IntPtr switch_hold_record_t_on_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_off_set")] - public static extern void switch_hold_record_t_off_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_hold_record_t_off_set___")] + public static extern void switch_hold_record_t_off_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_off_get")] - public static extern IntPtr switch_hold_record_t_off_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_hold_record_t_off_get___")] + public static extern global::System.IntPtr switch_hold_record_t_off_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_uuid_set")] - public static extern void switch_hold_record_t_uuid_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_hold_record_t_uuid_set___")] + public static extern void switch_hold_record_t_uuid_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_uuid_get")] - public static extern string switch_hold_record_t_uuid_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_hold_record_t_uuid_get___")] + public static extern string switch_hold_record_t_uuid_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_next_set")] - public static extern void switch_hold_record_t_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_hold_record_t_next_set___")] + public static extern void switch_hold_record_t_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_hold_record_t_next_get")] - public static extern IntPtr switch_hold_record_t_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_hold_record_t_next_get___")] + public static extern global::System.IntPtr switch_hold_record_t_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_hold_record_t")] - public static extern IntPtr new_switch_hold_record_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_hold_record_t___")] + public static extern global::System.IntPtr new_switch_hold_record_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_hold_record_t")] - public static extern void delete_switch_hold_record_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_hold_record_t___")] + public static extern void delete_switch_hold_record_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_uuid_set")] - public static extern void switch_device_node_t_uuid_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_uuid_set___")] + public static extern void switch_device_node_t_uuid_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_uuid_get")] - public static extern string switch_device_node_t_uuid_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_uuid_get___")] + public static extern string switch_device_node_t_uuid_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_xml_cdr_set")] - public static extern void switch_device_node_t_xml_cdr_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_xml_cdr_set___")] + public static extern void switch_device_node_t_xml_cdr_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_xml_cdr_get")] - public static extern IntPtr switch_device_node_t_xml_cdr_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_xml_cdr_get___")] + public static extern global::System.IntPtr switch_device_node_t_xml_cdr_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t__event_set")] - public static extern void switch_device_node_t__event_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t__event_set___")] + public static extern void switch_device_node_t__event_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t__event_get")] - public static extern IntPtr switch_device_node_t__event_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t__event_get___")] + public static extern global::System.IntPtr switch_device_node_t__event_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_callstate_set")] - public static extern void switch_device_node_t_callstate_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_callstate_set___")] + public static extern void switch_device_node_t_callstate_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_callstate_get")] - public static extern int switch_device_node_t_callstate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_callstate_get___")] + public static extern int switch_device_node_t_callstate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_hold_record_set")] - public static extern void switch_device_node_t_hold_record_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_hold_record_set___")] + public static extern void switch_device_node_t_hold_record_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_hold_record_get")] - public static extern IntPtr switch_device_node_t_hold_record_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_hold_record_get___")] + public static extern global::System.IntPtr switch_device_node_t_hold_record_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_hup_profile_set")] - public static extern void switch_device_node_t_hup_profile_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_hup_profile_set___")] + public static extern void switch_device_node_t_hup_profile_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_hup_profile_get")] - public static extern IntPtr switch_device_node_t_hup_profile_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_hup_profile_get___")] + public static extern global::System.IntPtr switch_device_node_t_hup_profile_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_direction_set")] - public static extern void switch_device_node_t_direction_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_direction_set___")] + public static extern void switch_device_node_t_direction_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_direction_get")] - public static extern int switch_device_node_t_direction_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_direction_get___")] + public static extern int switch_device_node_t_direction_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_parent_set")] - public static extern void switch_device_node_t_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_parent_set___")] + public static extern void switch_device_node_t_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_parent_get")] - public static extern IntPtr switch_device_node_t_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_parent_get___")] + public static extern global::System.IntPtr switch_device_node_t_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_next_set")] - public static extern void switch_device_node_t_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_next_set___")] + public static extern void switch_device_node_t_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_node_t_next_get")] - public static extern IntPtr switch_device_node_t_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_node_t_next_get___")] + public static extern global::System.IntPtr switch_device_node_t_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_device_node_t")] - public static extern IntPtr new_switch_device_node_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_device_node_t___")] + public static extern global::System.IntPtr new_switch_device_node_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_device_node_t")] - public static extern void delete_switch_device_node_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_device_node_t___")] + public static extern void delete_switch_device_node_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_set")] - public static extern void switch_device_stats_t_total_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_total_set___")] + public static extern void switch_device_stats_t_total_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_get")] - public static extern uint switch_device_stats_t_total_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_total_get___")] + public static extern uint switch_device_stats_t_total_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_in_set")] - public static extern void switch_device_stats_t_total_in_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_total_in_set___")] + public static extern void switch_device_stats_t_total_in_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_in_get")] - public static extern uint switch_device_stats_t_total_in_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_total_in_get___")] + public static extern uint switch_device_stats_t_total_in_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_out_set")] - public static extern void switch_device_stats_t_total_out_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_total_out_set___")] + public static extern void switch_device_stats_t_total_out_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_total_out_get")] - public static extern uint switch_device_stats_t_total_out_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_total_out_get___")] + public static extern uint switch_device_stats_t_total_out_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_set")] - public static extern void switch_device_stats_t_offhook_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_offhook_set___")] + public static extern void switch_device_stats_t_offhook_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_get")] - public static extern uint switch_device_stats_t_offhook_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_offhook_get___")] + public static extern uint switch_device_stats_t_offhook_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_in_set")] - public static extern void switch_device_stats_t_offhook_in_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_offhook_in_set___")] + public static extern void switch_device_stats_t_offhook_in_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_in_get")] - public static extern uint switch_device_stats_t_offhook_in_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_offhook_in_get___")] + public static extern uint switch_device_stats_t_offhook_in_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_out_set")] - public static extern void switch_device_stats_t_offhook_out_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_offhook_out_set___")] + public static extern void switch_device_stats_t_offhook_out_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_offhook_out_get")] - public static extern uint switch_device_stats_t_offhook_out_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_offhook_out_get___")] + public static extern uint switch_device_stats_t_offhook_out_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_set")] - public static extern void switch_device_stats_t_active_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_active_set___")] + public static extern void switch_device_stats_t_active_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_get")] - public static extern uint switch_device_stats_t_active_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_active_get___")] + public static extern uint switch_device_stats_t_active_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_in_set")] - public static extern void switch_device_stats_t_active_in_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_active_in_set___")] + public static extern void switch_device_stats_t_active_in_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_in_get")] - public static extern uint switch_device_stats_t_active_in_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_active_in_get___")] + public static extern uint switch_device_stats_t_active_in_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_out_set")] - public static extern void switch_device_stats_t_active_out_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_active_out_set___")] + public static extern void switch_device_stats_t_active_out_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_active_out_get")] - public static extern uint switch_device_stats_t_active_out_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_active_out_get___")] + public static extern uint switch_device_stats_t_active_out_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_set")] - public static extern void switch_device_stats_t_held_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_held_set___")] + public static extern void switch_device_stats_t_held_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_get")] - public static extern uint switch_device_stats_t_held_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_held_get___")] + public static extern uint switch_device_stats_t_held_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_in_set")] - public static extern void switch_device_stats_t_held_in_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_held_in_set___")] + public static extern void switch_device_stats_t_held_in_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_in_get")] - public static extern uint switch_device_stats_t_held_in_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_held_in_get___")] + public static extern uint switch_device_stats_t_held_in_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_out_set")] - public static extern void switch_device_stats_t_held_out_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_held_out_set___")] + public static extern void switch_device_stats_t_held_out_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_out_get")] - public static extern uint switch_device_stats_t_held_out_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_held_out_get___")] + public static extern uint switch_device_stats_t_held_out_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_set")] - public static extern void switch_device_stats_t_unheld_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_unheld_set___")] + public static extern void switch_device_stats_t_unheld_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_get")] - public static extern uint switch_device_stats_t_unheld_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_unheld_get___")] + public static extern uint switch_device_stats_t_unheld_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_in_set")] - public static extern void switch_device_stats_t_unheld_in_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_unheld_in_set___")] + public static extern void switch_device_stats_t_unheld_in_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_in_get")] - public static extern uint switch_device_stats_t_unheld_in_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_unheld_in_get___")] + public static extern uint switch_device_stats_t_unheld_in_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_out_set")] - public static extern void switch_device_stats_t_unheld_out_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_unheld_out_set___")] + public static extern void switch_device_stats_t_unheld_out_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_out_get")] - public static extern uint switch_device_stats_t_unheld_out_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_unheld_out_get___")] + public static extern uint switch_device_stats_t_unheld_out_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_set")] - public static extern void switch_device_stats_t_hup_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_hup_set___")] + public static extern void switch_device_stats_t_hup_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_get")] - public static extern uint switch_device_stats_t_hup_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_hup_get___")] + public static extern uint switch_device_stats_t_hup_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_in_set")] - public static extern void switch_device_stats_t_hup_in_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_hup_in_set___")] + public static extern void switch_device_stats_t_hup_in_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_in_get")] - public static extern uint switch_device_stats_t_hup_in_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_hup_in_get___")] + public static extern uint switch_device_stats_t_hup_in_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_out_set")] - public static extern void switch_device_stats_t_hup_out_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_hup_out_set___")] + public static extern void switch_device_stats_t_hup_out_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_out_get")] - public static extern uint switch_device_stats_t_hup_out_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_hup_out_get___")] + public static extern uint switch_device_stats_t_hup_out_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_set")] - public static extern void switch_device_stats_t_ringing_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_ringing_set___")] + public static extern void switch_device_stats_t_ringing_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_get")] - public static extern uint switch_device_stats_t_ringing_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_ringing_get___")] + public static extern uint switch_device_stats_t_ringing_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_in_set")] - public static extern void switch_device_stats_t_ringing_in_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_ringing_in_set___")] + public static extern void switch_device_stats_t_ringing_in_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_in_get")] - public static extern uint switch_device_stats_t_ringing_in_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_ringing_in_get___")] + public static extern uint switch_device_stats_t_ringing_in_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_out_set")] - public static extern void switch_device_stats_t_ringing_out_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_ringing_out_set___")] + public static extern void switch_device_stats_t_ringing_out_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ringing_out_get")] - public static extern uint switch_device_stats_t_ringing_out_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_ringing_out_get___")] + public static extern uint switch_device_stats_t_ringing_out_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_set")] - public static extern void switch_device_stats_t_early_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_early_set___")] + public static extern void switch_device_stats_t_early_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_get")] - public static extern uint switch_device_stats_t_early_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_early_get___")] + public static extern uint switch_device_stats_t_early_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_in_set")] - public static extern void switch_device_stats_t_early_in_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_early_in_set___")] + public static extern void switch_device_stats_t_early_in_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_in_get")] - public static extern uint switch_device_stats_t_early_in_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_early_in_get___")] + public static extern uint switch_device_stats_t_early_in_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_out_set")] - public static extern void switch_device_stats_t_early_out_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_early_out_set___")] + public static extern void switch_device_stats_t_early_out_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_early_out_get")] - public static extern uint switch_device_stats_t_early_out_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_early_out_get___")] + public static extern uint switch_device_stats_t_early_out_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ring_wait_set")] - public static extern void switch_device_stats_t_ring_wait_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_ring_wait_set___")] + public static extern void switch_device_stats_t_ring_wait_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_ring_wait_get")] - public static extern uint switch_device_stats_t_ring_wait_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_stats_t_ring_wait_get___")] + public static extern uint switch_device_stats_t_ring_wait_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_device_stats_t")] - public static extern IntPtr new_switch_device_stats_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_device_stats_t___")] + public static extern global::System.IntPtr new_switch_device_stats_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_device_stats_t")] - public static extern void delete_switch_device_stats_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_device_stats_t___")] + public static extern void delete_switch_device_stats_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_device_id_set")] - public static extern void switch_device_record_t_device_id_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_device_id_set___")] + public static extern void switch_device_record_t_device_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_device_id_get")] - public static extern string switch_device_record_t_device_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_device_id_get___")] + public static extern string switch_device_record_t_device_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_set")] - public static extern void switch_device_record_t_uuid_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_uuid_set___")] + public static extern void switch_device_record_t_uuid_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_get")] - public static extern string switch_device_record_t_uuid_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_uuid_get___")] + public static extern string switch_device_record_t_uuid_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_refs_set")] - public static extern void switch_device_record_t_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_refs_set___")] + public static extern void switch_device_record_t_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_refs_get")] - public static extern int switch_device_record_t_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_refs_get___")] + public static extern int switch_device_record_t_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_stats_set")] - public static extern void switch_device_record_t_stats_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_stats_set___")] + public static extern void switch_device_record_t_stats_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_stats_get")] - public static extern IntPtr switch_device_record_t_stats_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_stats_get___")] + public static extern global::System.IntPtr switch_device_record_t_stats_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_stats_set")] - public static extern void switch_device_record_t_last_stats_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_last_stats_set___")] + public static extern void switch_device_record_t_last_stats_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_stats_get")] - public static extern IntPtr switch_device_record_t_last_stats_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_last_stats_get___")] + public static extern global::System.IntPtr switch_device_record_t_last_stats_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_state_set")] - public static extern void switch_device_record_t_state_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_state_set___")] + public static extern void switch_device_record_t_state_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_state_get")] - public static extern int switch_device_record_t_state_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_state_get___")] + public static extern int switch_device_record_t_state_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_state_set")] - public static extern void switch_device_record_t_last_state_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_last_state_set___")] + public static extern void switch_device_record_t_last_state_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_state_get")] - public static extern int switch_device_record_t_last_state_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_last_state_get___")] + public static extern int switch_device_record_t_last_state_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_active_start_set")] - public static extern void switch_device_record_t_active_start_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_active_start_set___")] + public static extern void switch_device_record_t_active_start_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_active_start_get")] - public static extern IntPtr switch_device_record_t_active_start_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_active_start_get___")] + public static extern global::System.IntPtr switch_device_record_t_active_start_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_active_stop_set")] - public static extern void switch_device_record_t_active_stop_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_active_stop_set___")] + public static extern void switch_device_record_t_active_stop_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_active_stop_get")] - public static extern IntPtr switch_device_record_t_active_stop_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_active_stop_get___")] + public static extern global::System.IntPtr switch_device_record_t_active_stop_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_call_time_set")] - public static extern void switch_device_record_t_last_call_time_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_last_call_time_set___")] + public static extern void switch_device_record_t_last_call_time_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_last_call_time_get")] - public static extern IntPtr switch_device_record_t_last_call_time_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_last_call_time_get___")] + public static extern global::System.IntPtr switch_device_record_t_last_call_time_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_ring_start_set")] - public static extern void switch_device_record_t_ring_start_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_ring_start_set___")] + public static extern void switch_device_record_t_ring_start_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_ring_start_get")] - public static extern IntPtr switch_device_record_t_ring_start_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_ring_start_get___")] + public static extern global::System.IntPtr switch_device_record_t_ring_start_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_ring_stop_set")] - public static extern void switch_device_record_t_ring_stop_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_ring_stop_set___")] + public static extern void switch_device_record_t_ring_stop_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_ring_stop_get")] - public static extern IntPtr switch_device_record_t_ring_stop_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_ring_stop_get___")] + public static extern global::System.IntPtr switch_device_record_t_ring_stop_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_hold_start_set")] - public static extern void switch_device_record_t_hold_start_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_hold_start_set___")] + public static extern void switch_device_record_t_hold_start_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_hold_start_get")] - public static extern IntPtr switch_device_record_t_hold_start_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_hold_start_get___")] + public static extern global::System.IntPtr switch_device_record_t_hold_start_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_hold_stop_set")] - public static extern void switch_device_record_t_hold_stop_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_hold_stop_set___")] + public static extern void switch_device_record_t_hold_stop_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_hold_stop_get")] - public static extern IntPtr switch_device_record_t_hold_stop_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_hold_stop_get___")] + public static extern global::System.IntPtr switch_device_record_t_hold_stop_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_call_start_set")] - public static extern void switch_device_record_t_call_start_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_call_start_set___")] + public static extern void switch_device_record_t_call_start_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_call_start_get")] - public static extern IntPtr switch_device_record_t_call_start_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_call_start_get___")] + public static extern global::System.IntPtr switch_device_record_t_call_start_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_list_set")] - public static extern void switch_device_record_t_uuid_list_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_uuid_list_set___")] + public static extern void switch_device_record_t_uuid_list_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_list_get")] - public static extern IntPtr switch_device_record_t_uuid_list_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_uuid_list_get___")] + public static extern global::System.IntPtr switch_device_record_t_uuid_list_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_tail_set")] - public static extern void switch_device_record_t_uuid_tail_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_uuid_tail_set___")] + public static extern void switch_device_record_t_uuid_tail_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_uuid_tail_get")] - public static extern IntPtr switch_device_record_t_uuid_tail_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_uuid_tail_get___")] + public static extern global::System.IntPtr switch_device_record_t_uuid_tail_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_mutex_set")] - public static extern void switch_device_record_t_mutex_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_mutex_set___")] + public static extern void switch_device_record_t_mutex_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_mutex_get")] - public static extern IntPtr switch_device_record_t_mutex_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_mutex_get___")] + public static extern global::System.IntPtr switch_device_record_t_mutex_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_pool_set")] - public static extern void switch_device_record_t_pool_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_pool_set___")] + public static extern void switch_device_record_t_pool_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_pool_get")] - public static extern IntPtr switch_device_record_t_pool_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_pool_get___")] + public static extern global::System.IntPtr switch_device_record_t_pool_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_user_data_set")] - public static extern void switch_device_record_t_user_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_user_data_set___")] + public static extern void switch_device_record_t_user_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_device_record_t_user_data_get")] - public static extern IntPtr switch_device_record_t_user_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_device_record_t_user_data_get___")] + public static extern global::System.IntPtr switch_device_record_t_user_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_device_record_t")] - public static extern IntPtr new_switch_device_record_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_device_record_t___")] + public static extern global::System.IntPtr new_switch_device_record_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_device_record_t")] - public static extern void delete_switch_device_record_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_device_record_t___")] + public static extern void delete_switch_device_record_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_DTLS_SRTP_FNAME_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_DTLS_SRTP_FNAME_get___")] public static extern string DTLS_SRTP_FNAME_get(); - [DllImport("mod_managed", EntryPoint="CSharp_MAX_FPLEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_MAX_FPLEN_get___")] public static extern int MAX_FPLEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_MAX_FPSTRLEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_MAX_FPSTRLEN_get___")] public static extern int MAX_FPSTRLEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_len_set")] - public static extern void dtls_fingerprint_t_len_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_dtls_fingerprint_t_len_set___")] + public static extern void dtls_fingerprint_t_len_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_len_get")] - public static extern uint dtls_fingerprint_t_len_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_dtls_fingerprint_t_len_get___")] + public static extern uint dtls_fingerprint_t_len_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_data_set")] - public static extern void dtls_fingerprint_t_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_dtls_fingerprint_t_data_set___")] + public static extern void dtls_fingerprint_t_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_data_get")] - public static extern IntPtr dtls_fingerprint_t_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_dtls_fingerprint_t_data_get___")] + public static extern global::System.IntPtr dtls_fingerprint_t_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_type_set")] - public static extern void dtls_fingerprint_t_type_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_dtls_fingerprint_t_type_set___")] + public static extern void dtls_fingerprint_t_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_type_get")] - public static extern string dtls_fingerprint_t_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_dtls_fingerprint_t_type_get___")] + public static extern string dtls_fingerprint_t_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_str_set")] - public static extern void dtls_fingerprint_t_str_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_dtls_fingerprint_t_str_set___")] + public static extern void dtls_fingerprint_t_str_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_dtls_fingerprint_t_str_get")] - public static extern string dtls_fingerprint_t_str_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_dtls_fingerprint_t_str_get___")] + public static extern string dtls_fingerprint_t_str_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_dtls_fingerprint_t")] - public static extern IntPtr new_dtls_fingerprint_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_dtls_fingerprint_t___")] + public static extern global::System.IntPtr new_dtls_fingerprint_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_dtls_fingerprint_t")] - public static extern void delete_dtls_fingerprint_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_dtls_fingerprint_t___")] + public static extern void delete_dtls_fingerprint_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_MESSAGE_STRING_ARG_MAX_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_MESSAGE_STRING_ARG_MAX_get___")] public static extern int MESSAGE_STRING_ARG_MAX_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_from_set")] - public static extern void switch_core_session_message_from_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_from_set___")] + public static extern void switch_core_session_message_from_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_from_get")] - public static extern string switch_core_session_message_from_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_from_get___")] + public static extern string switch_core_session_message_from_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_message_id_set")] - public static extern void switch_core_session_message_message_id_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_message_id_set___")] + public static extern void switch_core_session_message_message_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_message_id_get")] - public static extern int switch_core_session_message_message_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_message_id_get___")] + public static extern int switch_core_session_message_message_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_numeric_arg_set")] - public static extern void switch_core_session_message_numeric_arg_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_numeric_arg_set___")] + public static extern void switch_core_session_message_numeric_arg_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_numeric_arg_get")] - public static extern int switch_core_session_message_numeric_arg_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_numeric_arg_get___")] + public static extern int switch_core_session_message_numeric_arg_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_arg_set")] - public static extern void switch_core_session_message_string_arg_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_string_arg_set___")] + public static extern void switch_core_session_message_string_arg_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_arg_get")] - public static extern string switch_core_session_message_string_arg_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_string_arg_get___")] + public static extern string switch_core_session_message_string_arg_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_arg_size_set")] - public static extern void switch_core_session_message_string_arg_size_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_string_arg_size_set___")] + public static extern void switch_core_session_message_string_arg_size_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_arg_size_get")] - public static extern IntPtr switch_core_session_message_string_arg_size_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_string_arg_size_get___")] + public static extern global::System.IntPtr switch_core_session_message_string_arg_size_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_arg_set")] - public static extern void switch_core_session_message_pointer_arg_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_arg_set___")] + public static extern void switch_core_session_message_pointer_arg_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_arg_get")] - public static extern IntPtr switch_core_session_message_pointer_arg_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_arg_get___")] + public static extern global::System.IntPtr switch_core_session_message_pointer_arg_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_arg_size_set")] - public static extern void switch_core_session_message_pointer_arg_size_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_arg_size_set___")] + public static extern void switch_core_session_message_pointer_arg_size_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_arg_size_get")] - public static extern IntPtr switch_core_session_message_pointer_arg_size_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_arg_size_get___")] + public static extern global::System.IntPtr switch_core_session_message_pointer_arg_size_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_numeric_reply_set")] - public static extern void switch_core_session_message_numeric_reply_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_numeric_reply_set___")] + public static extern void switch_core_session_message_numeric_reply_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_numeric_reply_get")] - public static extern int switch_core_session_message_numeric_reply_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_numeric_reply_get___")] + public static extern int switch_core_session_message_numeric_reply_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_reply_set")] - public static extern void switch_core_session_message_string_reply_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_string_reply_set___")] + public static extern void switch_core_session_message_string_reply_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_reply_get")] - public static extern string switch_core_session_message_string_reply_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_string_reply_get___")] + public static extern string switch_core_session_message_string_reply_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_reply_size_set")] - public static extern void switch_core_session_message_string_reply_size_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_string_reply_size_set___")] + public static extern void switch_core_session_message_string_reply_size_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_reply_size_get")] - public static extern IntPtr switch_core_session_message_string_reply_size_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_string_reply_size_get___")] + public static extern global::System.IntPtr switch_core_session_message_string_reply_size_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_reply_set")] - public static extern void switch_core_session_message_pointer_reply_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_reply_set___")] + public static extern void switch_core_session_message_pointer_reply_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_reply_get")] - public static extern IntPtr switch_core_session_message_pointer_reply_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_reply_get___")] + public static extern global::System.IntPtr switch_core_session_message_pointer_reply_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_reply_size_set")] - public static extern void switch_core_session_message_pointer_reply_size_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_reply_size_set___")] + public static extern void switch_core_session_message_pointer_reply_size_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_pointer_reply_size_get")] - public static extern IntPtr switch_core_session_message_pointer_reply_size_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_pointer_reply_size_get___")] + public static extern global::System.IntPtr switch_core_session_message_pointer_reply_size_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_flags_set")] - public static extern void switch_core_session_message_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_flags_set___")] + public static extern void switch_core_session_message_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_flags_get")] - public static extern uint switch_core_session_message_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_flags_get___")] + public static extern uint switch_core_session_message_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message__file_set")] - public static extern void switch_core_session_message__file_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message__file_set___")] + public static extern void switch_core_session_message__file_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message__file_get")] - public static extern string switch_core_session_message__file_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message__file_get___")] + public static extern string switch_core_session_message__file_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message__func_set")] - public static extern void switch_core_session_message__func_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message__func_set___")] + public static extern void switch_core_session_message__func_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message__func_get")] - public static extern string switch_core_session_message__func_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message__func_get___")] + public static extern string switch_core_session_message__func_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message__line_set")] - public static extern void switch_core_session_message__line_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message__line_set___")] + public static extern void switch_core_session_message__line_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message__line_get")] - public static extern int switch_core_session_message__line_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message__line_get___")] + public static extern int switch_core_session_message__line_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_array_arg_set")] - public static extern void switch_core_session_message_string_array_arg_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_string_array_arg_set___")] + public static extern void switch_core_session_message_string_array_arg_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_string_array_arg_get")] - public static extern IntPtr switch_core_session_message_string_array_arg_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_string_array_arg_get___")] + public static extern global::System.IntPtr switch_core_session_message_string_array_arg_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_delivery_time_set")] - public static extern void switch_core_session_message_delivery_time_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_delivery_time_set___")] + public static extern void switch_core_session_message_delivery_time_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_delivery_time_get")] - public static extern IntPtr switch_core_session_message_delivery_time_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_delivery_time_get___")] + public static extern global::System.IntPtr switch_core_session_message_delivery_time_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_core_session_message")] - public static extern IntPtr new_switch_core_session_message(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_core_session_message___")] + public static extern global::System.IntPtr new_switch_core_session_message(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_core_session_message")] - public static extern void delete_switch_core_session_message(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_core_session_message___")] + public static extern void delete_switch_core_session_message(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_running_set")] - public static extern void switch_core_thread_session_running_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_thread_session_running_set___")] + public static extern void switch_core_thread_session_running_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_running_get")] - public static extern int switch_core_thread_session_running_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_thread_session_running_get___")] + public static extern int switch_core_thread_session_running_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_mutex_set")] - public static extern void switch_core_thread_session_mutex_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_thread_session_mutex_set___")] + public static extern void switch_core_thread_session_mutex_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_mutex_get")] - public static extern IntPtr switch_core_thread_session_mutex_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_thread_session_mutex_get___")] + public static extern global::System.IntPtr switch_core_thread_session_mutex_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_objs_set")] - public static extern void switch_core_thread_session_objs_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_thread_session_objs_set___")] + public static extern void switch_core_thread_session_objs_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_objs_get")] - public static extern IntPtr switch_core_thread_session_objs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_thread_session_objs_get___")] + public static extern global::System.IntPtr switch_core_thread_session_objs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_input_callback_set")] - public static extern void switch_core_thread_session_input_callback_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_thread_session_input_callback_set___")] + public static extern void switch_core_thread_session_input_callback_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_input_callback_get")] - public static extern IntPtr switch_core_thread_session_input_callback_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_thread_session_input_callback_get___")] + public static extern global::System.IntPtr switch_core_thread_session_input_callback_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_pool_set")] - public static extern void switch_core_thread_session_pool_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_thread_session_pool_set___")] + public static extern void switch_core_thread_session_pool_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_pool_get")] - public static extern IntPtr switch_core_thread_session_pool_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_thread_session_pool_get___")] + public static extern global::System.IntPtr switch_core_thread_session_pool_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_core_thread_session")] - public static extern IntPtr new_switch_core_thread_session(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_core_thread_session___")] + public static extern global::System.IntPtr new_switch_core_thread_session(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_core_thread_session")] - public static extern void delete_switch_core_thread_session(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_core_thread_session___")] + public static extern void delete_switch_core_thread_session(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_must_malloc")] - public static extern IntPtr switch_must_malloc(uint jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_must_malloc___")] + public static extern global::System.IntPtr switch_must_malloc(uint jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_must_realloc")] - public static extern IntPtr switch_must_realloc(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_must_realloc___")] + public static extern global::System.IntPtr switch_must_realloc(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_must_strdup")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_must_strdup___")] public static extern string switch_must_strdup(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_screen_size")] - public static extern void switch_core_screen_size(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_screen_size___")] + public static extern void switch_core_screen_size(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_sched_heartbeat")] - public static extern void switch_core_session_sched_heartbeat(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_sched_heartbeat___")] + public static extern void switch_core_session_sched_heartbeat(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unsched_heartbeat")] - public static extern void switch_core_session_unsched_heartbeat(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_unsched_heartbeat___")] + public static extern void switch_core_session_unsched_heartbeat(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_enable_heartbeat")] - public static extern void switch_core_session_enable_heartbeat(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_enable_heartbeat___")] + public static extern void switch_core_session_enable_heartbeat(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_disable_heartbeat")] - public static extern void switch_core_session_disable_heartbeat(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_disable_heartbeat___")] + public static extern void switch_core_session_disable_heartbeat(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_pop")] - public static extern int switch_core_media_bug_pop(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_pop___")] + public static extern int switch_core_media_bug_pop(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_exec_all")] - public static extern int switch_core_media_bug_exec_all(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_exec_all___")] + public static extern int switch_core_media_bug_exec_all(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_patch_video")] - public static extern uint switch_core_media_bug_patch_video(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_patch_video___")] + public static extern uint switch_core_media_bug_patch_video(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_count")] - public static extern uint switch_core_media_bug_count(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_count___")] + public static extern uint switch_core_media_bug_count(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_media_bug_set_spy_fmt")] - public static extern void switch_media_bug_set_spy_fmt(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_media_bug_set_spy_fmt___")] + public static extern void switch_media_bug_set_spy_fmt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_push_spy_frame")] - public static extern int switch_core_media_bug_push_spy_frame(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_push_spy_frame___")] + public static extern int switch_core_media_bug_push_spy_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_patch_spy_frame")] - public static extern int switch_core_media_bug_patch_spy_frame(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_patch_spy_frame___")] + public static extern int switch_core_media_bug_patch_spy_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_media_bug_parse_spy_fmt")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_media_bug_parse_spy_fmt___")] public static extern int switch_media_bug_parse_spy_fmt(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_add")] - public static extern int switch_core_media_bug_add(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7, HandleRef jarg8); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_add___")] + public static extern int switch_core_media_bug_add(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, uint jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_pause")] - public static extern void switch_core_media_bug_pause(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_pause___")] + public static extern void switch_core_media_bug_pause(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_resume")] - public static extern void switch_core_media_bug_resume(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_resume___")] + public static extern void switch_core_media_bug_resume(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_inuse")] - public static extern void switch_core_media_bug_inuse(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_inuse___")] + public static extern void switch_core_media_bug_inuse(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_user_data")] - public static extern IntPtr switch_core_media_bug_get_user_data(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_get_user_data___")] + public static extern global::System.IntPtr switch_core_media_bug_get_user_data(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_write_replace_frame")] - public static extern IntPtr switch_core_media_bug_get_write_replace_frame(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_get_write_replace_frame___")] + public static extern global::System.IntPtr switch_core_media_bug_get_write_replace_frame(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_native_read_frame")] - public static extern IntPtr switch_core_media_bug_get_native_read_frame(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_get_native_read_frame___")] + public static extern global::System.IntPtr switch_core_media_bug_get_native_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_native_write_frame")] - public static extern IntPtr switch_core_media_bug_get_native_write_frame(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_get_native_write_frame___")] + public static extern global::System.IntPtr switch_core_media_bug_get_native_write_frame(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_video_ping_frame")] - public static extern IntPtr switch_core_media_bug_get_video_ping_frame(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_get_video_ping_frame___")] + public static extern global::System.IntPtr switch_core_media_bug_get_video_ping_frame(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_write_replace_frame")] - public static extern void switch_core_media_bug_set_write_replace_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_set_write_replace_frame___")] + public static extern void switch_core_media_bug_set_write_replace_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_read_replace_frame")] - public static extern IntPtr switch_core_media_bug_get_read_replace_frame(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_get_read_replace_frame___")] + public static extern global::System.IntPtr switch_core_media_bug_get_read_replace_frame(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_read_demux_frame")] - public static extern void switch_core_media_bug_set_read_demux_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_set_read_demux_frame___")] + public static extern void switch_core_media_bug_set_read_demux_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_session")] - public static extern IntPtr switch_core_media_bug_get_session(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_get_session___")] + public static extern global::System.IntPtr switch_core_media_bug_get_session(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_media_params")] - public static extern void switch_core_media_bug_set_media_params(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_set_media_params___")] + public static extern void switch_core_media_bug_set_media_params(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_media_params")] - public static extern void switch_core_media_bug_get_media_params(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_get_media_params___")] + public static extern void switch_core_media_bug_get_media_params(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_text")] - public static extern string switch_core_media_bug_get_text(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_get_text___")] + public static extern string switch_core_media_bug_get_text(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_test_flag")] - public static extern uint switch_core_media_bug_test_flag(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_test_flag___")] + public static extern uint switch_core_media_bug_test_flag(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_flag")] - public static extern uint switch_core_media_bug_set_flag(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_set_flag___")] + public static extern uint switch_core_media_bug_set_flag(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_clear_flag")] - public static extern uint switch_core_media_bug_clear_flag(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_clear_flag___")] + public static extern uint switch_core_media_bug_clear_flag(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_read_replace_frame")] - public static extern void switch_core_media_bug_set_read_replace_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_set_read_replace_frame___")] + public static extern void switch_core_media_bug_set_read_replace_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_cpu_count")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_cpu_count___")] public static extern uint switch_core_cpu_count(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_remove")] - public static extern int switch_core_media_bug_remove(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_remove___")] + public static extern int switch_core_media_bug_remove(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_prune")] - public static extern uint switch_core_media_bug_prune(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_prune___")] + public static extern uint switch_core_media_bug_prune(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_remove_callback")] - public static extern int switch_core_media_bug_remove_callback(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_remove_callback___")] + public static extern int switch_core_media_bug_remove_callback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_close")] - public static extern int switch_core_media_bug_close(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_close___")] + public static extern int switch_core_media_bug_close(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_remove_all_function")] - public static extern int switch_core_media_bug_remove_all_function(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_remove_all_function___")] + public static extern int switch_core_media_bug_remove_all_function(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_enumerate")] - public static extern int switch_core_media_bug_enumerate(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_enumerate___")] + public static extern int switch_core_media_bug_enumerate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_transfer_recordings")] - public static extern int switch_core_media_bug_transfer_recordings(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_transfer_callback___")] + public static extern int switch_core_media_bug_transfer_callback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_transfer_callback")] - public static extern int switch_core_media_bug_transfer_callback(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_read___")] + public static extern int switch_core_media_bug_read(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_read")] - public static extern int switch_core_media_bug_read(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_flush___")] + public static extern void switch_core_media_bug_flush(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_flush")] - public static extern void switch_core_media_bug_flush(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_flush_all___")] + public static extern int switch_core_media_bug_flush_all(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_flush_all")] - public static extern int switch_core_media_bug_flush_all(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_media_bug_set_pre_buffer_framecount___")] + public static extern int switch_core_media_bug_set_pre_buffer_framecount(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_pre_buffer_framecount")] - public static extern int switch_core_media_bug_set_pre_buffer_framecount(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_port_allocator_new___")] + public static extern int switch_core_port_allocator_new(string jarg1, ushort jarg2, ushort jarg3, uint jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_new")] - public static extern int switch_core_port_allocator_new(string jarg1, ushort jarg2, ushort jarg3, uint jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_port_allocator_request_port___")] + public static extern int switch_core_port_allocator_request_port(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_request_port")] - public static extern int switch_core_port_allocator_request_port(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_port_allocator_free_port___")] + public static extern int switch_core_port_allocator_free_port(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_free_port")] - public static extern int switch_core_port_allocator_free_port(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_port_allocator_destroy___")] + public static extern void switch_core_port_allocator_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_port_allocator_destroy")] - public static extern void switch_core_port_allocator_destroy(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_test_flag")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_test_flag___")] public static extern int switch_core_test_flag(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_init")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_init___")] public static extern int switch_core_init(uint jarg1, int jarg2, ref global::System.IntPtr jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_init_and_modload")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_init_and_modload___")] public static extern int switch_core_init_and_modload(uint jarg1, int jarg2, ref global::System.IntPtr jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_limit")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_limit___")] public static extern uint switch_core_session_limit(uint jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sessions_per_second")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_sessions_per_second___")] public static extern uint switch_core_sessions_per_second(uint jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_destroy")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_destroy___")] public static extern int switch_core_destroy(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_io_read_lock")] - public static extern int switch_core_session_io_read_lock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_io_read_lock___")] + public static extern int switch_core_session_io_read_lock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_io_write_lock")] - public static extern int switch_core_session_io_write_lock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_io_write_lock___")] + public static extern int switch_core_session_io_write_lock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_io_rwunlock")] - public static extern int switch_core_session_io_rwunlock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_io_rwunlock___")] + public static extern int switch_core_session_io_rwunlock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_read_lock")] - public static extern int switch_core_session_read_lock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_read_lock___")] + public static extern int switch_core_session_read_lock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_read_lock_hangup")] - public static extern int switch_core_session_read_lock_hangup(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_read_lock_hangup___")] + public static extern int switch_core_session_read_lock_hangup(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_write_lock")] - public static extern void switch_core_session_write_lock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_write_lock___")] + public static extern void switch_core_session_write_lock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_rwunlock")] - public static extern void switch_core_session_rwunlock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_rwunlock___")] + public static extern void switch_core_session_rwunlock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_add_state_handler")] - public static extern int switch_core_add_state_handler(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_add_state_handler___")] + public static extern int switch_core_add_state_handler(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_remove_state_handler")] - public static extern void switch_core_remove_state_handler(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_remove_state_handler___")] + public static extern void switch_core_remove_state_handler(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_state_handler")] - public static extern IntPtr switch_core_get_state_handler(int jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_state_handler___")] + public static extern global::System.IntPtr switch_core_get_state_handler(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_pool_tag")] - public static extern void switch_core_memory_pool_tag(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_memory_pool_tag___")] + public static extern void switch_core_memory_pool_tag(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_new_memory_pool")] - public static extern int switch_core_perform_new_memory_pool(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_perform_new_memory_pool___")] + public static extern int switch_core_perform_new_memory_pool(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_sync_clock")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_sync_clock___")] public static extern int switch_core_session_sync_clock(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_destroy_memory_pool")] - public static extern int switch_core_perform_destroy_memory_pool(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_perform_destroy_memory_pool___")] + public static extern int switch_core_perform_destroy_memory_pool(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_pool_set_data")] - public static extern void switch_core_memory_pool_set_data(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_memory_pool_set_data___")] + public static extern void switch_core_memory_pool_set_data(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_pool_get_data")] - public static extern IntPtr switch_core_memory_pool_get_data(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_memory_pool_get_data___")] + public static extern global::System.IntPtr switch_core_memory_pool_get_data(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_run")] - public static extern void switch_core_session_run(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_run___")] + public static extern void switch_core_session_run(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_running")] - public static extern uint switch_core_session_running(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_running___")] + public static extern uint switch_core_session_running(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_started")] - public static extern uint switch_core_session_started(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_started___")] + public static extern uint switch_core_session_started(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_permanent_alloc")] - public static extern IntPtr switch_core_perform_permanent_alloc(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_perform_permanent_alloc___")] + public static extern global::System.IntPtr switch_core_perform_permanent_alloc(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_alloc")] - public static extern IntPtr switch_core_perform_alloc(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_perform_alloc___")] + public static extern global::System.IntPtr switch_core_perform_alloc(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_session_alloc")] - public static extern IntPtr switch_core_perform_session_alloc(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_perform_session_alloc___")] + public static extern global::System.IntPtr switch_core_perform_session_alloc(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_permanent_strdup")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_perform_permanent_strdup___")] public static extern string switch_core_perform_permanent_strdup(string jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_session_strdup")] - public static extern string switch_core_perform_session_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_perform_session_strdup___")] + public static extern string switch_core_perform_session_strdup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_strdup")] - public static extern string switch_core_perform_strdup(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_perform_strdup___")] + public static extern string switch_core_perform_strdup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_sprintf")] - public static extern string switch_core_session_sprintf(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_sprintf___")] + public static extern string switch_core_session_sprintf(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sprintf")] - public static extern string switch_core_sprintf(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_sprintf___")] + public static extern string switch_core_sprintf(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_pool")] - public static extern IntPtr switch_core_session_get_pool(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_pool___")] + public static extern global::System.IntPtr switch_core_session_get_pool(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_request_xml")] - public static extern IntPtr switch_core_session_request_xml(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_request_xml___")] + public static extern global::System.IntPtr switch_core_session_request_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_request_uuid")] - public static extern IntPtr switch_core_session_request_uuid(HandleRef jarg1, int jarg2, uint jarg3, HandleRef jarg4, string jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_request_uuid___")] + public static extern global::System.IntPtr switch_core_session_request_uuid(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, string jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_uuid")] - public static extern int switch_core_session_set_uuid(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_uuid___")] + public static extern int switch_core_session_set_uuid(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_destroy")] - public static extern void switch_core_session_perform_destroy(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_perform_destroy___")] + public static extern void switch_core_session_perform_destroy(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_destroy_state")] - public static extern void switch_core_session_destroy_state(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_destroy_state___")] + public static extern void switch_core_session_destroy_state(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_reporting_state")] - public static extern void switch_core_session_reporting_state(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_reporting_state___")] + public static extern void switch_core_session_reporting_state(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hangup_state")] - public static extern void switch_core_session_hangup_state(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_hangup_state___")] + public static extern void switch_core_session_hangup_state(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_count")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_count___")] public static extern uint switch_core_session_count(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_id")] - public static extern IntPtr switch_core_session_get_id(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_id___")] + public static extern global::System.IntPtr switch_core_session_get_id(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_id")] - public static extern IntPtr switch_core_session_id(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_id___")] + public static extern global::System.IntPtr switch_core_session_id(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_id_dec")] - public static extern IntPtr switch_core_session_id_dec(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_id_dec___")] + public static extern global::System.IntPtr switch_core_session_id_dec(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_request_by_name")] - public static extern IntPtr switch_core_session_request_by_name(string jarg1, int jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_request_by_name___")] + public static extern global::System.IntPtr switch_core_session_request_by_name(string jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_thread_launch")] - public static extern int switch_core_session_thread_launch(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_thread_launch___")] + public static extern int switch_core_session_thread_launch(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_pool_launch_thread")] - public static extern int switch_thread_pool_launch_thread(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_thread_pool_launch_thread___")] + public static extern int switch_thread_pool_launch_thread(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_thread_pool_launch")] - public static extern int switch_core_session_thread_pool_launch(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_thread_pool_launch___")] + public static extern int switch_core_session_thread_pool_launch(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_channel")] - public static extern IntPtr switch_core_session_get_channel(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_channel___")] + public static extern global::System.IntPtr switch_core_session_get_channel(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_mutex")] - public static extern IntPtr switch_core_session_get_mutex(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_mutex___")] + public static extern global::System.IntPtr switch_core_session_get_mutex(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_wake_session_thread")] - public static extern int switch_core_session_wake_session_thread(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_wake_session_thread___")] + public static extern int switch_core_session_wake_session_thread(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_signal_state_change")] - public static extern void switch_core_session_signal_state_change(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_signal_state_change___")] + public static extern void switch_core_session_signal_state_change(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_uuid")] - public static extern string switch_core_session_get_uuid(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_uuid___")] + public static extern string switch_core_session_get_uuid(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_loglevel")] - public static extern int switch_core_session_set_loglevel(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_loglevel___")] + public static extern int switch_core_session_set_loglevel(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_loglevel")] - public static extern int switch_core_session_get_loglevel(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_loglevel___")] + public static extern int switch_core_session_get_loglevel(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_jb")] - public static extern IntPtr switch_core_session_get_jb(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_jb___")] + public static extern global::System.IntPtr switch_core_session_get_jb(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_soft_lock")] - public static extern void switch_core_session_soft_lock(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_soft_lock___")] + public static extern void switch_core_session_soft_lock(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_soft_unlock")] - public static extern void switch_core_session_soft_unlock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_soft_unlock___")] + public static extern void switch_core_session_soft_unlock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_dmachine")] - public static extern void switch_core_session_set_dmachine(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_dmachine___")] + public static extern void switch_core_session_set_dmachine(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_dmachine")] - public static extern IntPtr switch_core_session_get_dmachine(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_dmachine___")] + public static extern global::System.IntPtr switch_core_session_get_dmachine(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_get_target")] - public static extern int switch_ivr_dmachine_get_target(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_get_target___")] + public static extern int switch_ivr_dmachine_get_target(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_target")] - public static extern void switch_ivr_dmachine_set_target(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_target___")] + public static extern void switch_ivr_dmachine_set_target(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_terminators")] - public static extern int switch_ivr_dmachine_set_terminators(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_terminators___")] + public static extern int switch_ivr_dmachine_set_terminators(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_codec_slin")] - public static extern int switch_core_session_set_codec_slin(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_codec_slin___")] + public static extern int switch_core_session_set_codec_slin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_raw_read")] - public static extern void switch_core_session_raw_read(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_raw_read___")] + public static extern void switch_core_session_raw_read(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_uuid")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_uuid___")] public static extern string switch_core_get_uuid(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_locate")] - public static extern IntPtr switch_core_session_perform_locate(string jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_perform_locate___")] + public static extern global::System.IntPtr switch_core_session_perform_locate(string jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_force_locate")] - public static extern IntPtr switch_core_session_perform_force_locate(string jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_perform_force_locate___")] + public static extern global::System.IntPtr switch_core_session_perform_force_locate(string jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_variable")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_variable___")] public static extern string switch_core_get_variable(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_variable_dup")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_variable_dup___")] public static extern string switch_core_get_variable_dup(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_variable_pdup")] - public static extern string switch_core_get_variable_pdup(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_variable_pdup___")] + public static extern string switch_core_get_variable_pdup(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_hostname")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_hostname___")] public static extern string switch_core_get_hostname(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_switchname")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_switchname___")] public static extern string switch_core_get_switchname(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_domain")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_domain___")] public static extern string switch_core_get_domain(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_variable")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_set_variable___")] public static extern void switch_core_set_variable(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_variables")] - public static extern int switch_core_get_variables(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_variables___")] + public static extern int switch_core_get_variables(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_var_conditional")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_set_var_conditional___")] public static extern int switch_core_set_var_conditional(string jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_dump_variables")] - public static extern void switch_core_dump_variables(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_dump_variables___")] + public static extern void switch_core_dump_variables(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_hupall___")] public static extern void switch_core_session_hupall(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall_matching_var_ans")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_hupall_matching_var_ans___")] public static extern uint switch_core_session_hupall_matching_var_ans(string jarg1, string jarg2, int jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_findall_matching_var")] - public static extern IntPtr switch_core_session_findall_matching_var(string jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_findall_matching_var___")] + public static extern global::System.IntPtr switch_core_session_findall_matching_var(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_findall")] - public static extern IntPtr switch_core_session_findall(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_findall___")] + public static extern global::System.IntPtr switch_core_session_findall(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall_matching_vars_ans")] - public static extern uint switch_core_session_hupall_matching_vars_ans(HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_hupall_matching_vars_ans___")] + public static extern uint switch_core_session_hupall_matching_vars_ans(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_hupall_endpoint")] - public static extern void switch_core_session_hupall_endpoint(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_hupall_endpoint___")] + public static extern void switch_core_session_hupall_endpoint(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_get_partner")] - public static extern int switch_core_session_perform_get_partner(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_perform_get_partner___")] + public static extern int switch_core_session_perform_get_partner(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_message_send")] - public static extern int switch_core_session_message_send(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_message_send___")] + public static extern int switch_core_session_message_send(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_message")] - public static extern int switch_core_session_queue_message(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_queue_message___")] + public static extern int switch_core_session_queue_message(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_free_message")] - public static extern void switch_core_session_free_message(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_free_message___")] + public static extern void switch_core_session_free_message(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_signal_data")] - public static extern int switch_core_session_queue_signal_data(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_queue_signal_data___")] + public static extern int switch_core_session_queue_signal_data(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_dequeue_signal_data")] - public static extern int switch_core_session_dequeue_signal_data(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_dequeue_signal_data___")] + public static extern int switch_core_session_dequeue_signal_data(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_pass_indication")] - public static extern int switch_core_session_pass_indication(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_pass_indication___")] + public static extern int switch_core_session_pass_indication(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_indication")] - public static extern int switch_core_session_queue_indication(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_queue_indication___")] + public static extern int switch_core_session_queue_indication(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_dequeue_message")] - public static extern int switch_core_session_dequeue_message(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_dequeue_message___")] + public static extern int switch_core_session_dequeue_message(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_flush_message")] - public static extern int switch_core_session_flush_message(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_flush_message___")] + public static extern int switch_core_session_flush_message(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_event_send")] - public static extern int switch_core_session_event_send(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_event_send___")] + public static extern int switch_core_session_event_send(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_app_log")] - public static extern IntPtr switch_core_session_get_app_log(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_app_log___")] + public static extern global::System.IntPtr switch_core_session_get_app_log(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_exec")] - public static extern int switch_core_session_exec(HandleRef jarg1, HandleRef jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_exec___")] + public static extern int switch_core_session_exec(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_video_reset")] - public static extern void switch_core_session_video_reset(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_video_reset___")] + public static extern void switch_core_session_video_reset(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_execute_application_get_flags")] - public static extern int switch_core_session_execute_application_get_flags(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_execute_application_get_flags___")] + public static extern int switch_core_session_execute_application_get_flags(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_execute_application_async")] - public static extern int switch_core_session_execute_application_async(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_execute_application_async___")] + public static extern int switch_core_session_execute_application_async(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_app_flags")] - public static extern int switch_core_session_get_app_flags(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_app_flags___")] + public static extern int switch_core_session_get_app_flags(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_stack_count")] - public static extern uint switch_core_session_stack_count(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_stack_count___")] + public static extern uint switch_core_session_stack_count(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_execute_exten")] - public static extern int switch_core_session_execute_exten(HandleRef jarg1, string jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_execute_exten___")] + public static extern int switch_core_session_execute_exten(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_receive_event")] - public static extern int switch_core_session_receive_event(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_receive_event___")] + public static extern int switch_core_session_receive_event(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_private_class")] - public static extern IntPtr switch_core_session_get_private_class(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_private_class___")] + public static extern global::System.IntPtr switch_core_session_get_private_class(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_private_class")] - public static extern int switch_core_session_set_private_class(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_private_class___")] + public static extern int switch_core_session_set_private_class(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_add_stream")] - public static extern int switch_core_session_add_stream(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_add_stream___")] + public static extern int switch_core_session_add_stream(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_stream")] - public static extern IntPtr switch_core_session_get_stream(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_stream___")] + public static extern global::System.IntPtr switch_core_session_get_stream(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_stream_count")] - public static extern int switch_core_session_get_stream_count(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_stream_count___")] + public static extern int switch_core_session_get_stream_count(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_text_buffer")] - public static extern string switch_core_session_get_text_buffer(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_text_buffer___")] + public static extern string switch_core_session_get_text_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_launch_thread")] - public static extern void switch_core_session_launch_thread(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_launch_thread___")] + public static extern void switch_core_session_launch_thread(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_session_end")] - public static extern void switch_core_thread_session_end(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_thread_session_end___")] + public static extern void switch_core_thread_session_end(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_service_session_av")] - public static extern void switch_core_service_session_av(HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_service_session_av___")] + public static extern void switch_core_service_session_av(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_outgoing_channel")] - public static extern int switch_core_session_outgoing_channel(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, uint jarg7, HandleRef jarg8); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_outgoing_channel___")] + public static extern int switch_core_session_outgoing_channel(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, uint jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_receive_message")] - public static extern int switch_core_session_perform_receive_message(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_perform_receive_message___")] + public static extern int switch_core_session_perform_receive_message(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_event")] - public static extern int switch_core_session_queue_event(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_queue_event___")] + public static extern int switch_core_session_queue_event(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_event_count")] - public static extern uint switch_core_session_event_count(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_event_count___")] + public static extern uint switch_core_session_event_count(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_messages_waiting")] - public static extern uint switch_core_session_messages_waiting(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_messages_waiting___")] + public static extern uint switch_core_session_messages_waiting(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_dequeue_event")] - public static extern int switch_core_session_dequeue_event(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_dequeue_event___")] + public static extern int switch_core_session_dequeue_event(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_queue_private_event")] - public static extern int switch_core_session_queue_private_event(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_queue_private_event___")] + public static extern int switch_core_session_queue_private_event(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_private_event_count")] - public static extern uint switch_core_session_private_event_count(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_private_event_count___")] + public static extern uint switch_core_session_private_event_count(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_dequeue_private_event")] - public static extern int switch_core_session_dequeue_private_event(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_dequeue_private_event___")] + public static extern int switch_core_session_dequeue_private_event(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_flush_private_events")] - public static extern uint switch_core_session_flush_private_events(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_flush_private_events___")] + public static extern uint switch_core_session_flush_private_events(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_read_frame")] - public static extern int switch_core_session_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_read_frame___")] + public static extern int switch_core_session_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_transcoding")] - public static extern int switch_core_session_transcoding(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_transcoding___")] + public static extern int switch_core_session_transcoding(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_passthru")] - public static extern void switch_core_session_passthru(HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_passthru___")] + public static extern void switch_core_session_passthru(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_read_video_frame")] - public static extern int switch_core_session_read_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_read_video_frame___")] + public static extern int switch_core_session_read_video_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_write_video_frame")] - public static extern int switch_core_session_write_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_write_video_frame___")] + public static extern int switch_core_session_write_video_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_write_encoded_video_frame")] - public static extern int switch_core_session_write_encoded_video_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_write_encoded_video_frame___")] + public static extern int switch_core_session_write_encoded_video_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_read_impl")] - public static extern int switch_core_session_set_read_impl(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_read_impl___")] + public static extern int switch_core_session_set_read_impl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_write_impl")] - public static extern int switch_core_session_set_write_impl(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_write_impl___")] + public static extern int switch_core_session_set_write_impl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_video_read_impl")] - public static extern int switch_core_session_set_video_read_impl(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_video_read_impl___")] + public static extern int switch_core_session_set_video_read_impl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_video_write_impl")] - public static extern int switch_core_session_set_video_write_impl(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_video_write_impl___")] + public static extern int switch_core_session_set_video_write_impl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_reset")] - public static extern void switch_core_session_reset(HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_reset___")] + public static extern void switch_core_session_reset(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_write_frame")] - public static extern int switch_core_session_write_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_write_frame___")] + public static extern int switch_core_session_write_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_perform_kill_channel")] - public static extern int switch_core_session_perform_kill_channel(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_perform_kill_channel___")] + public static extern int switch_core_session_perform_kill_channel(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_send_dtmf")] - public static extern int switch_core_session_send_dtmf(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_send_dtmf___")] + public static extern int switch_core_session_send_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_send_dtmf_string")] - public static extern int switch_core_session_send_dtmf_string(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_send_dtmf_string___")] + public static extern int switch_core_session_send_dtmf_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_recv_dtmf")] - public static extern int switch_core_session_recv_dtmf(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_recv_dtmf___")] + public static extern int switch_core_session_recv_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_init_case")] - public static extern int switch_core_hash_init_case(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_init_case___")] + public static extern int switch_core_hash_init_case(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_destroy")] - public static extern int switch_core_hash_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_destroy___")] + public static extern int switch_core_hash_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_insert_destructor")] - public static extern int switch_core_hash_insert_destructor(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_insert_destructor___")] + public static extern int switch_core_hash_insert_destructor(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_insert_locked")] - public static extern int switch_core_hash_insert_locked(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_insert_locked___")] + public static extern int switch_core_hash_insert_locked(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_insert_wrlock")] - public static extern int switch_core_hash_insert_wrlock(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_insert_wrlock___")] + public static extern int switch_core_hash_insert_wrlock(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete")] - public static extern IntPtr switch_core_hash_delete(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_delete___")] + public static extern global::System.IntPtr switch_core_hash_delete(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete_locked")] - public static extern IntPtr switch_core_hash_delete_locked(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_delete_locked___")] + public static extern global::System.IntPtr switch_core_hash_delete_locked(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete_wrlock")] - public static extern IntPtr switch_core_hash_delete_wrlock(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_delete_wrlock___")] + public static extern global::System.IntPtr switch_core_hash_delete_wrlock(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_delete_multi")] - public static extern int switch_core_hash_delete_multi(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_delete_multi___")] + public static extern int switch_core_hash_delete_multi(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_find")] - public static extern IntPtr switch_core_hash_find(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_find___")] + public static extern global::System.IntPtr switch_core_hash_find(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_find_locked")] - public static extern IntPtr switch_core_hash_find_locked(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_find_locked___")] + public static extern global::System.IntPtr switch_core_hash_find_locked(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_find_rdlock")] - public static extern IntPtr switch_core_hash_find_rdlock(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_find_rdlock___")] + public static extern global::System.IntPtr switch_core_hash_find_rdlock(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_first_iter")] - public static extern IntPtr switch_core_hash_first_iter(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_first_iter___")] + public static extern global::System.IntPtr switch_core_hash_first_iter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_empty")] - public static extern int switch_core_hash_empty(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_empty___")] + public static extern int switch_core_hash_empty(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_next")] - public static extern IntPtr switch_core_hash_next(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_next___")] + public static extern global::System.IntPtr switch_core_hash_next(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_this")] - public static extern void switch_core_hash_this(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_this___")] + public static extern void switch_core_hash_this(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_this_val")] - public static extern void switch_core_hash_this_val(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_hash_this_val___")] + public static extern void switch_core_hash_this_val(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_inthash_init")] - public static extern int switch_core_inthash_init(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_inthash_init___")] + public static extern int switch_core_inthash_init(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_inthash_destroy")] - public static extern int switch_core_inthash_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_inthash_destroy___")] + public static extern int switch_core_inthash_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_inthash_insert")] - public static extern int switch_core_inthash_insert(HandleRef jarg1, uint jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_inthash_insert___")] + public static extern int switch_core_inthash_insert(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_inthash_delete")] - public static extern IntPtr switch_core_inthash_delete(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_inthash_delete___")] + public static extern global::System.IntPtr switch_core_inthash_delete(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_inthash_find")] - public static extern IntPtr switch_core_inthash_find(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_inthash_find___")] + public static extern global::System.IntPtr switch_core_inthash_find(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_init")] - public static extern int switch_core_timer_init(HandleRef jarg1, string jarg2, int jarg3, int jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_timer_init___")] + public static extern int switch_core_timer_init(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_calibrate_clock")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_time_calibrate_clock___")] public static extern void switch_time_calibrate_clock(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_next")] - public static extern int switch_core_timer_next(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_timer_next___")] + public static extern int switch_core_timer_next(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_step")] - public static extern int switch_core_timer_step(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_timer_step___")] + public static extern int switch_core_timer_step(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_sync")] - public static extern int switch_core_timer_sync(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_timer_sync___")] + public static extern int switch_core_timer_sync(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_check")] - public static extern int switch_core_timer_check(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_timer_check___")] + public static extern int switch_core_timer_check(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_destroy")] - public static extern int switch_core_timer_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_timer_destroy___")] + public static extern int switch_core_timer_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_init_with_bitrate")] - public static extern int switch_core_codec_init_with_bitrate(HandleRef jarg1, string jarg2, string jarg3, string jarg4, uint jarg5, int jarg6, int jarg7, uint jarg8, uint jarg9, HandleRef jarg10, HandleRef jarg11); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_init_with_bitrate___")] + public static extern int switch_core_codec_init_with_bitrate(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, uint jarg5, int jarg6, int jarg7, uint jarg8, uint jarg9, global::System.Runtime.InteropServices.HandleRef jarg10, global::System.Runtime.InteropServices.HandleRef jarg11); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_copy")] - public static extern int switch_core_codec_copy(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_copy___")] + public static extern int switch_core_codec_copy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_parse_fmtp")] - public static extern int switch_core_codec_parse_fmtp(string jarg1, string jarg2, uint jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_parse_fmtp___")] + public static extern int switch_core_codec_parse_fmtp(string jarg1, string jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_reset")] - public static extern int switch_core_codec_reset(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_reset___")] + public static extern int switch_core_codec_reset(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_encode")] - public static extern int switch_core_codec_encode(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4, uint jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8, HandleRef jarg9); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_encode___")] + public static extern int switch_core_codec_encode(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4, uint jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_decode")] - public static extern int switch_core_codec_decode(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4, uint jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8, HandleRef jarg9); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_decode___")] + public static extern int switch_core_codec_decode(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4, uint jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_encode_video")] - public static extern int switch_core_codec_encode_video(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_encode_video___")] + public static extern int switch_core_codec_encode_video(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_control")] - public static extern int switch_core_codec_control(HandleRef jarg1, int jarg2, int jarg3, HandleRef jarg4, int jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_control___")] + public static extern int switch_core_codec_control(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_decode_video")] - public static extern int switch_core_codec_decode_video(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_decode_video___")] + public static extern int switch_core_codec_decode_video(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_destroy")] - public static extern int switch_core_codec_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_destroy___")] + public static extern int switch_core_codec_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_read_codec")] - public static extern int switch_core_session_set_read_codec(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_read_codec___")] + public static extern int switch_core_session_set_read_codec(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_real_read_codec")] - public static extern int switch_core_session_set_real_read_codec(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_real_read_codec___")] + public static extern int switch_core_session_set_real_read_codec(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unset_read_codec")] - public static extern void switch_core_session_unset_read_codec(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_unset_read_codec___")] + public static extern void switch_core_session_unset_read_codec(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unset_write_codec")] - public static extern void switch_core_session_unset_write_codec(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_unset_write_codec___")] + public static extern void switch_core_session_unset_write_codec(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_lock_codec_write")] - public static extern void switch_core_session_lock_codec_write(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_lock_codec_write___")] + public static extern void switch_core_session_lock_codec_write(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unlock_codec_write")] - public static extern void switch_core_session_unlock_codec_write(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_unlock_codec_write___")] + public static extern void switch_core_session_unlock_codec_write(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_lock_codec_read")] - public static extern void switch_core_session_lock_codec_read(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_lock_codec_read___")] + public static extern void switch_core_session_lock_codec_read(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_unlock_codec_read")] - public static extern void switch_core_session_unlock_codec_read(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_unlock_codec_read___")] + public static extern void switch_core_session_unlock_codec_read(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_read_impl")] - public static extern int switch_core_session_get_read_impl(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_read_impl___")] + public static extern int switch_core_session_get_read_impl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_real_read_impl")] - public static extern int switch_core_session_get_real_read_impl(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_real_read_impl___")] + public static extern int switch_core_session_get_real_read_impl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_write_impl")] - public static extern int switch_core_session_get_write_impl(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_write_impl___")] + public static extern int switch_core_session_get_write_impl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_video_read_impl")] - public static extern int switch_core_session_get_video_read_impl(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_video_read_impl___")] + public static extern int switch_core_session_get_video_read_impl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_video_write_impl")] - public static extern int switch_core_session_get_video_write_impl(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_video_write_impl___")] + public static extern int switch_core_session_get_video_write_impl(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_read_codec")] - public static extern IntPtr switch_core_session_get_read_codec(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_read_codec___")] + public static extern global::System.IntPtr switch_core_session_get_read_codec(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_effective_read_codec")] - public static extern IntPtr switch_core_session_get_effective_read_codec(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_effective_read_codec___")] + public static extern global::System.IntPtr switch_core_session_get_effective_read_codec(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_write_codec")] - public static extern int switch_core_session_set_write_codec(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_write_codec___")] + public static extern int switch_core_session_set_write_codec(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_write_codec")] - public static extern IntPtr switch_core_session_get_write_codec(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_write_codec___")] + public static extern global::System.IntPtr switch_core_session_get_write_codec(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_effective_write_codec")] - public static extern IntPtr switch_core_session_get_effective_write_codec(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_effective_write_codec___")] + public static extern global::System.IntPtr switch_core_session_get_effective_write_codec(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_video_read_codec")] - public static extern int switch_core_session_set_video_read_codec(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_video_read_codec___")] + public static extern int switch_core_session_set_video_read_codec(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_video_read_codec")] - public static extern IntPtr switch_core_session_get_video_read_codec(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_video_read_codec___")] + public static extern global::System.IntPtr switch_core_session_get_video_read_codec(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_video_write_codec")] - public static extern int switch_core_session_set_video_write_codec(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_video_write_codec___")] + public static extern int switch_core_session_set_video_write_codec(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_get_video_write_codec")] - public static extern IntPtr switch_core_session_get_video_write_codec(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_get_video_write_codec___")] + public static extern global::System.IntPtr switch_core_session_get_video_write_codec(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_open_file")] - public static extern IntPtr switch_core_db_open_file(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_open_file___")] + public static extern global::System.IntPtr switch_core_db_open_file(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_persistant_execute")] - public static extern int switch_core_db_persistant_execute(HandleRef jarg1, string jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_persistant_execute___")] + public static extern int switch_core_db_persistant_execute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_persistant_execute_trans")] - public static extern int switch_core_db_persistant_execute_trans(HandleRef jarg1, string jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_persistant_execute_trans___")] + public static extern int switch_core_db_persistant_execute_trans(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_test_reactive")] - public static extern void switch_core_db_test_reactive(HandleRef jarg1, string jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_db_test_reactive___")] + public static extern void switch_core_db_test_reactive(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_perform_file_open")] - public static extern int switch_core_perform_file_open(string jarg1, string jarg2, int jarg3, HandleRef jarg4, string jarg5, uint jarg6, uint jarg7, uint jarg8, HandleRef jarg9); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_perform_file_open___")] + public static extern int switch_core_perform_file_open(string jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, string jarg5, uint jarg6, uint jarg7, uint jarg8, global::System.Runtime.InteropServices.HandleRef jarg9); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_read")] - public static extern int switch_core_file_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_file_read___")] + public static extern int switch_core_file_read(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_write")] - public static extern int switch_core_file_write(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_file_write___")] + public static extern int switch_core_file_write(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_write_video")] - public static extern int switch_core_file_write_video(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_file_write_video___")] + public static extern int switch_core_file_write_video(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_read_video")] - public static extern int switch_core_file_read_video(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_file_read_video___")] + public static extern int switch_core_file_read_video(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_seek")] - public static extern int switch_core_file_seek(HandleRef jarg1, HandleRef jarg2, long jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_file_seek___")] + public static extern int switch_core_file_seek(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_set_string")] - public static extern int switch_core_file_set_string(HandleRef jarg1, int jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_file_set_string___")] + public static extern int switch_core_file_set_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_get_string")] - public static extern int switch_core_file_get_string(HandleRef jarg1, int jarg2, ref global::System.IntPtr jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_file_get_string___")] + public static extern int switch_core_file_get_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, ref global::System.IntPtr jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_close")] - public static extern int switch_core_file_close(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_file_pre_close___")] + public static extern int switch_core_file_pre_close(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_command")] - public static extern int switch_core_file_command(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_file_close___")] + public static extern int switch_core_file_close(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_truncate")] - public static extern int switch_core_file_truncate(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_file_command___")] + public static extern int switch_core_file_command(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_file_has_video")] - public static extern int switch_core_file_has_video(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_file_truncate___")] + public static extern int switch_core_file_truncate(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_open")] - public static extern int switch_core_speech_open(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, uint jarg5, uint jarg6, HandleRef jarg7, HandleRef jarg8); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_file_has_video___")] + public static extern int switch_core_file_has_video(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_feed_tts")] - public static extern int switch_core_speech_feed_tts(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_speech_open___")] + public static extern int switch_core_speech_open(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, uint jarg4, uint jarg5, uint jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_flush_tts")] - public static extern void switch_core_speech_flush_tts(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_speech_feed_tts___")] + public static extern int switch_core_speech_feed_tts(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_text_param_tts")] - public static extern void switch_core_speech_text_param_tts(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_speech_flush_tts___")] + public static extern void switch_core_speech_flush_tts(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_numeric_param_tts")] - public static extern void switch_core_speech_numeric_param_tts(HandleRef jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_speech_text_param_tts___")] + public static extern void switch_core_speech_text_param_tts(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_float_param_tts")] - public static extern void switch_core_speech_float_param_tts(HandleRef jarg1, string jarg2, double jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_speech_numeric_param_tts___")] + public static extern void switch_core_speech_numeric_param_tts(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_read_tts")] - public static extern int switch_core_speech_read_tts(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_speech_float_param_tts___")] + public static extern void switch_core_speech_float_param_tts(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, double jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_close")] - public static extern int switch_core_speech_close(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_speech_read_tts___")] + public static extern int switch_core_speech_read_tts(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_open")] - public static extern int switch_core_asr_open(HandleRef jarg1, string jarg2, string jarg3, int jarg4, string jarg5, HandleRef jarg6, HandleRef jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_speech_close___")] + public static extern int switch_core_speech_close(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_close")] - public static extern int switch_core_asr_close(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_open___")] + public static extern int switch_core_asr_open(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4, string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_feed")] - public static extern int switch_core_asr_feed(HandleRef jarg1, HandleRef jarg2, uint jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_close___")] + public static extern int switch_core_asr_close(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_feed_dtmf")] - public static extern int switch_core_asr_feed_dtmf(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_feed___")] + public static extern int switch_core_asr_feed(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_check_results")] - public static extern int switch_core_asr_check_results(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_feed_dtmf___")] + public static extern int switch_core_asr_feed_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_get_results")] - public static extern int switch_core_asr_get_results(HandleRef jarg1, ref string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_check_results___")] + public static extern int switch_core_asr_check_results(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_get_result_headers")] - public static extern int switch_core_asr_get_result_headers(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_get_results___")] + public static extern int switch_core_asr_get_results(global::System.Runtime.InteropServices.HandleRef jarg1, ref string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_load_grammar")] - public static extern int switch_core_asr_load_grammar(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_get_result_headers___")] + public static extern int switch_core_asr_get_result_headers(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_unload_grammar")] - public static extern int switch_core_asr_unload_grammar(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_load_grammar___")] + public static extern int switch_core_asr_load_grammar(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_enable_grammar")] - public static extern int switch_core_asr_enable_grammar(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_unload_grammar___")] + public static extern int switch_core_asr_unload_grammar(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_disable_grammar")] - public static extern int switch_core_asr_disable_grammar(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_enable_grammar___")] + public static extern int switch_core_asr_enable_grammar(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_disable_all_grammars")] - public static extern int switch_core_asr_disable_all_grammars(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_disable_grammar___")] + public static extern int switch_core_asr_disable_grammar(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_pause")] - public static extern int switch_core_asr_pause(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_disable_all_grammars___")] + public static extern int switch_core_asr_disable_all_grammars(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_resume")] - public static extern int switch_core_asr_resume(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_pause___")] + public static extern int switch_core_asr_pause(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_start_input_timers")] - public static extern int switch_core_asr_start_input_timers(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_resume___")] + public static extern int switch_core_asr_resume(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_text_param")] - public static extern void switch_core_asr_text_param(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_start_input_timers___")] + public static extern int switch_core_asr_start_input_timers(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_numeric_param")] - public static extern void switch_core_asr_numeric_param(HandleRef jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_text_param___")] + public static extern void switch_core_asr_text_param(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_asr_float_param")] - public static extern void switch_core_asr_float_param(HandleRef jarg1, string jarg2, double jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_numeric_param___")] + public static extern void switch_core_asr_numeric_param(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_directory_open")] - public static extern int switch_core_directory_open(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, HandleRef jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_asr_float_param___")] + public static extern void switch_core_asr_float_param(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, double jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_directory_query")] - public static extern int switch_core_directory_query(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_directory_open___")] + public static extern int switch_core_directory_open(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_directory_next")] - public static extern int switch_core_directory_next(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_directory_query___")] + public static extern int switch_core_directory_query(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_directory_next_pair")] - public static extern int switch_core_directory_next_pair(HandleRef jarg1, ref string jarg2, ref string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_directory_next___")] + public static extern int switch_core_directory_next(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_directory_close")] - public static extern int switch_core_directory_close(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_directory_next_pair___")] + public static extern int switch_core_directory_next_pair(global::System.Runtime.InteropServices.HandleRef jarg1, ref string jarg2, ref string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_data_channel")] - public static extern IntPtr switch_core_data_channel(int jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_directory_close___")] + public static extern int switch_core_directory_close(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_ready")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_data_channel___")] + public static extern global::System.IntPtr switch_core_data_channel(int jarg1); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_ready___")] public static extern int switch_core_ready(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_running")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_running___")] public static extern int switch_core_running(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_ready_inbound")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_ready_inbound___")] public static extern int switch_core_ready_inbound(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_ready_outbound")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_ready_outbound___")] public static extern int switch_core_ready_outbound(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_flags")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_flags___")] public static extern uint switch_core_flags(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_management_exec")] - public static extern int switch_core_management_exec(string jarg1, int jarg2, string jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_management_exec___")] + public static extern int switch_core_management_exec(string jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_process_privileges")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_set_process_privileges___")] public static extern int switch_core_set_process_privileges(); - [DllImport("mod_managed", EntryPoint="CSharp_set_normal_priority")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_set_normal_priority___")] public static extern int set_normal_priority(); - [DllImport("mod_managed", EntryPoint="CSharp_set_auto_priority")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_set_auto_priority___")] public static extern int set_auto_priority(); - [DllImport("mod_managed", EntryPoint="CSharp_set_realtime_priority")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_set_realtime_priority___")] public static extern int set_realtime_priority(); - [DllImport("mod_managed", EntryPoint="CSharp_set_low_priority")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_set_low_priority___")] public static extern int set_low_priority(); - [DllImport("mod_managed", EntryPoint="CSharp_change_user_group")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_change_user_group___")] public static extern int change_user_group(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_runtime_loop")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_runtime_loop___")] public static extern void switch_core_runtime_loop(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_console")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_set_console___")] public static extern int switch_core_set_console(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_measure_time")] - public static extern void switch_core_measure_time(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_measure_time___")] + public static extern void switch_core_measure_time(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_uptime")] - public static extern IntPtr switch_core_uptime(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_uptime___")] + public static extern global::System.IntPtr switch_core_uptime(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_ctl")] - public static extern int switch_core_session_ctl(int jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_ctl___")] + public static extern int switch_core_session_ctl(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_console")] - public static extern IntPtr switch_core_get_console(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_console___")] + public static extern global::System.IntPtr switch_core_get_console(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_globals")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_set_globals___")] public static extern void switch_core_set_globals(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_compare")] - public static extern byte switch_core_session_compare(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_compare___")] + public static extern byte switch_core_session_compare(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_check_interface")] - public static extern byte switch_core_session_check_interface(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_check_interface___")] + public static extern byte switch_core_session_check_interface(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_set_video_read_callback")] - public static extern int switch_core_session_set_video_read_callback(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_set_video_read_callback___")] + public static extern int switch_core_session_set_video_read_callback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_video_read_callback")] - public static extern int switch_core_session_video_read_callback(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_video_read_callback___")] + public static extern int switch_core_session_video_read_callback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_index")] - public static extern IntPtr switch_core_mime_index(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_mime_index___")] + public static extern global::System.IntPtr switch_core_mime_index(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_ext2type")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_mime_ext2type___")] public static extern string switch_core_mime_ext2type(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_type2ext")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_mime_type2ext___")] public static extern string switch_core_mime_type2ext(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_mime_add_type")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_mime_add_type___")] public static extern int switch_core_mime_add_type(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_create_module_interface")] - public static extern IntPtr switch_loadable_module_create_module_interface(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_create_module_interface___")] + public static extern global::System.IntPtr switch_loadable_module_create_module_interface(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_create_interface")] - public static extern IntPtr switch_loadable_module_create_interface(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_create_interface___")] + public static extern global::System.IntPtr switch_loadable_module_create_interface(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_micro_time_now")] - public static extern IntPtr switch_micro_time_now(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_micro_time_now___")] + public static extern global::System.IntPtr switch_micro_time_now(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mono_micro_time_now")] - public static extern IntPtr switch_mono_micro_time_now(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mono_micro_time_now___")] + public static extern global::System.IntPtr switch_mono_micro_time_now(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_reclaim")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_memory_reclaim___")] public static extern void switch_core_memory_reclaim(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_reclaim_events")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_memory_reclaim_events___")] public static extern void switch_core_memory_reclaim_events(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_reclaim_logger")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_memory_reclaim_logger___")] public static extern void switch_core_memory_reclaim_logger(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_memory_reclaim_all")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_memory_reclaim_all___")] public static extern void switch_core_memory_reclaim_all(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_setrlimits")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_setrlimits___")] public static extern void switch_core_setrlimits(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_ref")] - public static extern IntPtr switch_time_ref(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_time_ref___")] + public static extern global::System.IntPtr switch_time_ref(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_sync")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_time_sync___")] public static extern void switch_time_sync(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_epoch_time_now")] - public static extern IntPtr switch_epoch_time_now(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_epoch_time_now___")] + public static extern global::System.IntPtr switch_epoch_time_now(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_lookup_timezone")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_lookup_timezone___")] public static extern string switch_lookup_timezone(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_strftime_tz")] - public static extern int switch_strftime_tz(string jarg1, string jarg2, string jarg3, uint jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_strftime_tz___")] + public static extern int switch_strftime_tz(string jarg1, string jarg2, string jarg3, uint jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_exp_tz_name")] - public static extern int switch_time_exp_tz_name(string jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_time_exp_tz_name___")] + public static extern int switch_time_exp_tz_name(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_load_network_lists")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_load_network_lists___")] public static extern void switch_load_network_lists(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_check_network_list_ip_token")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_check_network_list_ip_token___")] public static extern int switch_check_network_list_ip_token(string jarg1, string jarg2, ref global::System.IntPtr jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_monotonic")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_time_set_monotonic___")] public static extern void switch_time_set_monotonic(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_timerfd")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_time_set_timerfd___")] public static extern void switch_time_set_timerfd(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_nanosleep")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_time_set_nanosleep___")] public static extern void switch_time_set_nanosleep(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_matrix")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_time_set_matrix___")] public static extern void switch_time_set_matrix(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_cond_yield")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_time_set_cond_yield___")] public static extern void switch_time_set_cond_yield(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_time_set_use_system_time")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_time_set_use_system_time___")] public static extern void switch_time_set_use_system_time(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_min_dtmf_duration")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_min_dtmf_duration___")] public static extern uint switch_core_min_dtmf_duration(uint jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_max_dtmf_duration")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_max_dtmf_duration___")] public static extern uint switch_core_max_dtmf_duration(uint jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_min_idle_cpu")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_min_idle_cpu___")] public static extern double switch_core_min_idle_cpu(double jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_idle_cpu")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_idle_cpu___")] public static extern double switch_core_idle_cpu(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_default_dtmf_duration")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_default_dtmf_duration___")] public static extern uint switch_core_default_dtmf_duration(uint jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_set_complete")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_set_complete___")] public static extern int switch_console_set_complete(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_set_alias")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_set_alias___")] public static extern int switch_console_set_alias(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_system")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_system___")] public static extern int switch_system(string jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_system")] - public static extern int switch_stream_system(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_system___")] + public static extern int switch_stream_system(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cond_yield")] - public static extern void switch_cond_yield(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cond_yield___")] + public static extern void switch_cond_yield(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cond_next")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cond_next___")] public static extern void switch_cond_next(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_chat_send_args")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_chat_send_args___")] public static extern int switch_core_chat_send_args(string jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, int jarg9); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_chat_send")] - public static extern int switch_core_chat_send(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_chat_send___")] + public static extern int switch_core_chat_send(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_chat_deliver")] - public static extern int switch_core_chat_deliver(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_chat_deliver___")] + public static extern int switch_core_chat_deliver(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_preprocess_session")] - public static extern int switch_ivr_preprocess_session(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_preprocess_session___")] + public static extern int switch_ivr_preprocess_session(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sqldb_pause")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_sqldb_pause___")] public static extern void switch_core_sqldb_pause(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sqldb_resume")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_sqldb_resume___")] public static extern void switch_core_sqldb_resume(); - [DllImport("mod_managed", EntryPoint="CSharp_CACHE_DB_LEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CACHE_DB_LEN_get___")] public static extern int CACHE_DB_LEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_native_handle_t_core_db_dbh_set")] - public static extern void switch_cache_db_native_handle_t_core_db_dbh_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_native_handle_t_core_db_dbh_set___")] + public static extern void switch_cache_db_native_handle_t_core_db_dbh_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_native_handle_t_core_db_dbh_get")] - public static extern IntPtr switch_cache_db_native_handle_t_core_db_dbh_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_native_handle_t_core_db_dbh_get___")] + public static extern global::System.IntPtr switch_cache_db_native_handle_t_core_db_dbh_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_native_handle_t_odbc_dbh_set")] - public static extern void switch_cache_db_native_handle_t_odbc_dbh_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_native_handle_t_odbc_dbh_set___")] + public static extern void switch_cache_db_native_handle_t_odbc_dbh_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_native_handle_t_odbc_dbh_get")] - public static extern IntPtr switch_cache_db_native_handle_t_odbc_dbh_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_native_handle_t_odbc_dbh_get___")] + public static extern global::System.IntPtr switch_cache_db_native_handle_t_odbc_dbh_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_native_handle_t_pgsql_dbh_set")] - public static extern void switch_cache_db_native_handle_t_pgsql_dbh_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_native_handle_t_pgsql_dbh_set___")] + public static extern void switch_cache_db_native_handle_t_pgsql_dbh_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_native_handle_t_pgsql_dbh_get")] - public static extern IntPtr switch_cache_db_native_handle_t_pgsql_dbh_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_native_handle_t_pgsql_dbh_get___")] + public static extern global::System.IntPtr switch_cache_db_native_handle_t_pgsql_dbh_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_cache_db_native_handle_t")] - public static extern IntPtr new_switch_cache_db_native_handle_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_cache_db_native_handle_t___")] + public static extern global::System.IntPtr new_switch_cache_db_native_handle_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cache_db_native_handle_t")] - public static extern void delete_switch_cache_db_native_handle_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_cache_db_native_handle_t___")] + public static extern void delete_switch_cache_db_native_handle_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_core_db_options_t_db_path_set")] - public static extern void switch_cache_db_core_db_options_t_db_path_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_core_db_options_t_db_path_set___")] + public static extern void switch_cache_db_core_db_options_t_db_path_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_core_db_options_t_db_path_get")] - public static extern string switch_cache_db_core_db_options_t_db_path_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_core_db_options_t_db_path_get___")] + public static extern string switch_cache_db_core_db_options_t_db_path_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_cache_db_core_db_options_t")] - public static extern IntPtr new_switch_cache_db_core_db_options_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_cache_db_core_db_options_t___")] + public static extern global::System.IntPtr new_switch_cache_db_core_db_options_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cache_db_core_db_options_t")] - public static extern void delete_switch_cache_db_core_db_options_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_cache_db_core_db_options_t___")] + public static extern void delete_switch_cache_db_core_db_options_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_odbc_options_t_dsn_set")] - public static extern void switch_cache_db_odbc_options_t_dsn_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_odbc_options_t_dsn_set___")] + public static extern void switch_cache_db_odbc_options_t_dsn_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_odbc_options_t_dsn_get")] - public static extern string switch_cache_db_odbc_options_t_dsn_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_odbc_options_t_dsn_get___")] + public static extern string switch_cache_db_odbc_options_t_dsn_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_odbc_options_t_user_set")] - public static extern void switch_cache_db_odbc_options_t_user_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_odbc_options_t_user_set___")] + public static extern void switch_cache_db_odbc_options_t_user_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_odbc_options_t_user_get")] - public static extern string switch_cache_db_odbc_options_t_user_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_odbc_options_t_user_get___")] + public static extern string switch_cache_db_odbc_options_t_user_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_odbc_options_t_pass_set")] - public static extern void switch_cache_db_odbc_options_t_pass_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_odbc_options_t_pass_set___")] + public static extern void switch_cache_db_odbc_options_t_pass_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_odbc_options_t_pass_get")] - public static extern string switch_cache_db_odbc_options_t_pass_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_odbc_options_t_pass_get___")] + public static extern string switch_cache_db_odbc_options_t_pass_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_cache_db_odbc_options_t")] - public static extern IntPtr new_switch_cache_db_odbc_options_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_cache_db_odbc_options_t___")] + public static extern global::System.IntPtr new_switch_cache_db_odbc_options_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cache_db_odbc_options_t")] - public static extern void delete_switch_cache_db_odbc_options_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_cache_db_odbc_options_t___")] + public static extern void delete_switch_cache_db_odbc_options_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_pgsql_options_t_dsn_set")] - public static extern void switch_cache_db_pgsql_options_t_dsn_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_pgsql_options_t_dsn_set___")] + public static extern void switch_cache_db_pgsql_options_t_dsn_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_pgsql_options_t_dsn_get")] - public static extern string switch_cache_db_pgsql_options_t_dsn_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_pgsql_options_t_dsn_get___")] + public static extern string switch_cache_db_pgsql_options_t_dsn_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_cache_db_pgsql_options_t")] - public static extern IntPtr new_switch_cache_db_pgsql_options_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_cache_db_pgsql_options_t___")] + public static extern global::System.IntPtr new_switch_cache_db_pgsql_options_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cache_db_pgsql_options_t")] - public static extern void delete_switch_cache_db_pgsql_options_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_cache_db_pgsql_options_t___")] + public static extern void delete_switch_cache_db_pgsql_options_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_connection_options_t_core_db_options_set")] - public static extern void switch_cache_db_connection_options_t_core_db_options_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_connection_options_t_core_db_options_set___")] + public static extern void switch_cache_db_connection_options_t_core_db_options_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_connection_options_t_core_db_options_get")] - public static extern IntPtr switch_cache_db_connection_options_t_core_db_options_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_connection_options_t_core_db_options_get___")] + public static extern global::System.IntPtr switch_cache_db_connection_options_t_core_db_options_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_connection_options_t_odbc_options_set")] - public static extern void switch_cache_db_connection_options_t_odbc_options_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_connection_options_t_odbc_options_set___")] + public static extern void switch_cache_db_connection_options_t_odbc_options_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_connection_options_t_odbc_options_get")] - public static extern IntPtr switch_cache_db_connection_options_t_odbc_options_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_connection_options_t_odbc_options_get___")] + public static extern global::System.IntPtr switch_cache_db_connection_options_t_odbc_options_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_connection_options_t_pgsql_options_set")] - public static extern void switch_cache_db_connection_options_t_pgsql_options_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_connection_options_t_pgsql_options_set___")] + public static extern void switch_cache_db_connection_options_t_pgsql_options_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_connection_options_t_pgsql_options_get")] - public static extern IntPtr switch_cache_db_connection_options_t_pgsql_options_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_connection_options_t_pgsql_options_get___")] + public static extern global::System.IntPtr switch_cache_db_connection_options_t_pgsql_options_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_cache_db_connection_options_t")] - public static extern IntPtr new_switch_cache_db_connection_options_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_cache_db_connection_options_t___")] + public static extern global::System.IntPtr new_switch_cache_db_connection_options_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cache_db_connection_options_t")] - public static extern void delete_switch_cache_db_connection_options_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_cache_db_connection_options_t___")] + public static extern void delete_switch_cache_db_connection_options_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_type_name")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_type_name___")] public static extern string switch_cache_db_type_name(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_get_type")] - public static extern int switch_cache_db_get_type(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_get_type___")] + public static extern int switch_cache_db_get_type(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_dismiss_db_handle")] - public static extern void switch_cache_db_dismiss_db_handle(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_dismiss_db_handle___")] + public static extern void switch_cache_db_dismiss_db_handle(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_release_db_handle")] - public static extern void switch_cache_db_release_db_handle(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_release_db_handle___")] + public static extern void switch_cache_db_release_db_handle(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp__switch_cache_db_get_db_handle")] - public static extern int _switch_cache_db_get_db_handle(HandleRef jarg1, int jarg2, HandleRef jarg3, string jarg4, string jarg5, int jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative__switch_cache_db_get_db_handle___")] + public static extern int _switch_cache_db_get_db_handle(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, string jarg5, int jarg6); - [DllImport("mod_managed", EntryPoint="CSharp__switch_cache_db_get_db_handle_dsn")] - public static extern int _switch_cache_db_get_db_handle_dsn(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative__switch_cache_db_get_db_handle_dsn___")] + public static extern int _switch_cache_db_get_db_handle_dsn(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_create_schema")] - public static extern int switch_cache_db_create_schema(HandleRef jarg1, string jarg2, ref string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_create_schema___")] + public static extern int switch_cache_db_create_schema(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, ref string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql2str")] - public static extern string switch_cache_db_execute_sql2str(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, ref string jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_execute_sql2str___")] + public static extern string switch_cache_db_execute_sql2str(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, uint jarg4, ref string jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql")] - public static extern int switch_cache_db_execute_sql(HandleRef jarg1, string jarg2, ref string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_execute_sql___")] + public static extern int switch_cache_db_execute_sql(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, ref string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql_callback")] - public static extern int switch_cache_db_execute_sql_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, ref string jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_execute_sql_callback___")] + public static extern int switch_cache_db_execute_sql_callback(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref string jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql_callback_err")] - public static extern int switch_cache_db_execute_sql_callback_err(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, ref string jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_execute_sql_callback_err___")] + public static extern int switch_cache_db_execute_sql_callback_err(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, ref string jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_affected_rows")] - public static extern int switch_cache_db_affected_rows(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_affected_rows___")] + public static extern int switch_cache_db_affected_rows(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_load_extension")] - public static extern int switch_cache_db_load_extension(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_load_extension___")] + public static extern int switch_cache_db_load_extension(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_status")] - public static extern void switch_cache_db_status(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_status___")] + public static extern void switch_cache_db_status(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp__switch_core_db_handle")] - public static extern int _switch_core_db_handle(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative__switch_core_db_handle___")] + public static extern int _switch_core_db_handle(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_test_reactive")] - public static extern int switch_cache_db_test_reactive(HandleRef jarg1, string jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_test_reactive___")] + public static extern int switch_cache_db_test_reactive(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_persistant_execute")] - public static extern int switch_cache_db_persistant_execute(HandleRef jarg1, string jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_persistant_execute___")] + public static extern int switch_cache_db_persistant_execute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_persistant_execute_trans_full")] - public static extern int switch_cache_db_persistant_execute_trans_full(HandleRef jarg1, string jarg2, uint jarg3, string jarg4, string jarg5, string jarg6, string jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_persistant_execute_trans_full___")] + public static extern int switch_cache_db_persistant_execute_trans_full(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, string jarg4, string jarg5, string jarg6, string jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_set_signal_handlers")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_set_signal_handlers___")] public static extern void switch_core_set_signal_handlers(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_debug_level")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_debug_level___")] public static extern uint switch_core_debug_level(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sps")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_sps___")] public static extern int switch_core_sps(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sps_last")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_sps_last___")] public static extern int switch_core_sps_last(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sps_peak")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_sps_peak___")] public static extern int switch_core_sps_peak(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sps_peak_fivemin")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_sps_peak_fivemin___")] public static extern int switch_core_sps_peak_fivemin(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sessions_peak")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_sessions_peak___")] public static extern int switch_core_sessions_peak(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sessions_peak_fivemin")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_sessions_peak_fivemin___")] public static extern int switch_core_sessions_peak_fivemin(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_flush_handles")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_flush_handles___")] public static extern void switch_cache_db_flush_handles(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_banner")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_banner___")] public static extern string switch_core_banner(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_in_thread")] - public static extern int switch_core_session_in_thread(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_in_thread___")] + public static extern int switch_core_session_in_thread(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_default_ptime")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_default_ptime___")] public static extern uint switch_default_ptime(string jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_default_rate")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_default_rate___")] public static extern uint switch_default_rate(string jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_add_registration")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_add_registration___")] public static extern int switch_core_add_registration(string jarg1, string jarg2, string jarg3, string jarg4, uint jarg5, string jarg6, string jarg7, string jarg8, string jarg9); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_del_registration")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_del_registration___")] public static extern int switch_core_del_registration(string jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_expire_registration")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_expire_registration___")] public static extern int switch_core_expire_registration(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_rtp_port_range_start_port")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_rtp_port_range_start_port___")] public static extern ushort switch_core_get_rtp_port_range_start_port(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_rtp_port_range_end_port")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_rtp_port_range_end_port___")] public static extern ushort switch_core_get_rtp_port_range_end_port(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_get_variable")] - public static extern string switch_say_file_handle_get_variable(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_file_handle_get_variable___")] + public static extern string switch_say_file_handle_get_variable(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_get_path")] - public static extern string switch_say_file_handle_get_path(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_file_handle_get_path___")] + public static extern string switch_say_file_handle_get_path(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_detach_path")] - public static extern string switch_say_file_handle_detach_path(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_file_handle_detach_path___")] + public static extern string switch_say_file_handle_detach_path(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_destroy")] - public static extern void switch_say_file_handle_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_file_handle_destroy___")] + public static extern void switch_say_file_handle_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_file_handle_create")] - public static extern int switch_say_file_handle_create(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_file_handle_create___")] + public static extern int switch_say_file_handle_create(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_file")] - public static extern void switch_say_file(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_file___")] + public static extern void switch_say_file(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_max_file_desc")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_max_file_desc___")] public static extern int switch_max_file_desc(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_close_extra_files")] - public static extern void switch_close_extra_files(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_close_extra_files___")] + public static extern void switch_close_extra_files(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_thread_set_cpu_affinity")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_thread_set_cpu_affinity___")] public static extern int switch_core_thread_set_cpu_affinity(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_os_yield")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_os_yield___")] public static extern void switch_os_yield(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_stacksizes")] - public static extern int switch_core_get_stacksizes(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_stacksizes___")] + public static extern int switch_core_get_stacksizes(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_gen_encoded_silence")] - public static extern void switch_core_gen_encoded_silence(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_gen_encoded_silence___")] + public static extern void switch_core_gen_encoded_silence(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_dbtype")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_dbtype___")] public static extern int switch_core_dbtype(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_sql_exec")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_sql_exec___")] public static extern void switch_core_sql_exec(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_recover")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_recovery_recover___")] public static extern int switch_core_recovery_recover(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_untrack")] - public static extern void switch_core_recovery_untrack(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_recovery_untrack___")] + public static extern void switch_core_recovery_untrack(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_track")] - public static extern void switch_core_recovery_track(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_recovery_track___")] + public static extern void switch_core_recovery_track(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_recovery_flush")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_recovery_flush___")] public static extern void switch_core_recovery_flush(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_pause")] - public static extern void switch_sql_queue_manager_pause(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_pause___")] + public static extern void switch_sql_queue_manager_pause(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_resume")] - public static extern void switch_sql_queue_manager_resume(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_resume___")] + public static extern void switch_sql_queue_manager_resume(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_size")] - public static extern int switch_sql_queue_manager_size(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_size___")] + public static extern int switch_sql_queue_manager_size(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_push_confirm")] - public static extern int switch_sql_queue_manager_push_confirm(HandleRef jarg1, string jarg2, uint jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_push_confirm___")] + public static extern int switch_sql_queue_manager_push_confirm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_push")] - public static extern int switch_sql_queue_manager_push(HandleRef jarg1, string jarg2, uint jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_push___")] + public static extern int switch_sql_queue_manager_push(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_destroy")] - public static extern int switch_sql_queue_manager_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_destroy___")] + public static extern int switch_sql_queue_manager_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_init_name")] - public static extern int switch_sql_queue_manager_init_name(string jarg1, HandleRef jarg2, uint jarg3, string jarg4, uint jarg5, string jarg6, string jarg7, string jarg8, string jarg9); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_init_name___")] + public static extern int switch_sql_queue_manager_init_name(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, string jarg4, uint jarg5, string jarg6, string jarg7, string jarg8, string jarg9); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_start")] - public static extern int switch_sql_queue_manager_start(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_start___")] + public static extern int switch_sql_queue_manager_start(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_stop")] - public static extern int switch_sql_queue_manager_stop(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_stop___")] + public static extern int switch_sql_queue_manager_stop(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cache_db_execute_sql_event_callback")] - public static extern int switch_cache_db_execute_sql_event_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, ref string jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cache_db_execute_sql_event_callback___")] + public static extern int switch_cache_db_execute_sql_event_callback(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref string jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_execute_sql_callback")] - public static extern void switch_sql_queue_manager_execute_sql_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_execute_sql_callback___")] + public static extern void switch_sql_queue_manager_execute_sql_callback(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_execute_sql_callback_err")] - public static extern void switch_sql_queue_manager_execute_sql_callback_err(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_execute_sql_callback_err___")] + public static extern void switch_sql_queue_manager_execute_sql_callback_err(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_execute_sql_event_callback")] - public static extern void switch_sql_queue_manager_execute_sql_event_callback(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_execute_sql_event_callback___")] + public static extern void switch_sql_queue_manager_execute_sql_event_callback(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sql_queue_manager_execute_sql_event_callback_err")] - public static extern void switch_sql_queue_manager_execute_sql_event_callback_err(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sql_queue_manager_execute_sql_event_callback_err___")] + public static extern void switch_sql_queue_manager_execute_sql_event_callback_err(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_fork")] - public static extern IntPtr switch_fork(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_fork___")] + public static extern global::System.IntPtr switch_fork(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_gen_certs")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_gen_certs___")] public static extern int switch_core_gen_certs(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_cert_gen_fingerprint")] - public static extern int switch_core_cert_gen_fingerprint(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_cert_gen_fingerprint___")] + public static extern int switch_core_cert_gen_fingerprint(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_cert_expand_fingerprint")] - public static extern int switch_core_cert_expand_fingerprint(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_cert_expand_fingerprint___")] + public static extern int switch_core_cert_expand_fingerprint(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_cert_verify")] - public static extern int switch_core_cert_verify(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_cert_verify___")] + public static extern int switch_core_cert_verify(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp__switch_core_session_request_video_refresh")] - public static extern int _switch_core_session_request_video_refresh(HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative__switch_core_session_request_video_refresh___")] + public static extern int _switch_core_session_request_video_refresh(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_send_and_request_video_refresh")] - public static extern int switch_core_session_send_and_request_video_refresh(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_send_and_request_video_refresh___")] + public static extern int switch_core_session_send_and_request_video_refresh(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_system_fork")] - public static extern int switch_stream_system_fork(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_system_fork___")] + public static extern int switch_stream_system_fork(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_debug_pool")] - public static extern void switch_core_session_debug_pool(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_debug_pool___")] + public static extern void switch_core_session_debug_pool(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_override_io_routines")] - public static extern int switch_core_session_override_io_routines(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_override_io_routines___")] + public static extern int switch_core_session_override_io_routines(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_major")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_version_major___")] public static extern string switch_version_major(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_minor")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_version_minor___")] public static extern string switch_version_minor(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_micro")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_version_micro___")] public static extern string switch_version_micro(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_revision")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_version_revision___")] public static extern string switch_version_revision(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_revision_human")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_version_revision_human___")] public static extern string switch_version_revision_human(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_full")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_version_full___")] public static extern string switch_version_full(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_version_full_human")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_version_full_human___")] public static extern string switch_version_full_human(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_autobind_cpu")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_autobind_cpu___")] public static extern void switch_core_autobind_cpu(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_start_text_thread")] - public static extern int switch_core_session_start_text_thread(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_start_text_thread___")] + public static extern int switch_core_session_start_text_thread(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_module_name_set")] - public static extern void switch_loadable_module_interface_module_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_module_name_set___")] + public static extern void switch_loadable_module_interface_module_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_module_name_get")] - public static extern string switch_loadable_module_interface_module_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_module_name_get___")] + public static extern string switch_loadable_module_interface_module_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_endpoint_interface_set")] - public static extern void switch_loadable_module_interface_endpoint_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_endpoint_interface_set___")] + public static extern void switch_loadable_module_interface_endpoint_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_endpoint_interface_get")] - public static extern IntPtr switch_loadable_module_interface_endpoint_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_endpoint_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_endpoint_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_timer_interface_set")] - public static extern void switch_loadable_module_interface_timer_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_timer_interface_set___")] + public static extern void switch_loadable_module_interface_timer_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_timer_interface_get")] - public static extern IntPtr switch_loadable_module_interface_timer_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_timer_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_timer_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_dialplan_interface_set")] - public static extern void switch_loadable_module_interface_dialplan_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_dialplan_interface_set___")] + public static extern void switch_loadable_module_interface_dialplan_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_dialplan_interface_get")] - public static extern IntPtr switch_loadable_module_interface_dialplan_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_dialplan_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_dialplan_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_codec_interface_set")] - public static extern void switch_loadable_module_interface_codec_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_codec_interface_set___")] + public static extern void switch_loadable_module_interface_codec_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_codec_interface_get")] - public static extern IntPtr switch_loadable_module_interface_codec_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_codec_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_codec_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_application_interface_set")] - public static extern void switch_loadable_module_interface_application_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_application_interface_set___")] + public static extern void switch_loadable_module_interface_application_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_application_interface_get")] - public static extern IntPtr switch_loadable_module_interface_application_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_application_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_application_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_chat_application_interface_set")] - public static extern void switch_loadable_module_interface_chat_application_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_chat_application_interface_set___")] + public static extern void switch_loadable_module_interface_chat_application_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_chat_application_interface_get")] - public static extern IntPtr switch_loadable_module_interface_chat_application_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_chat_application_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_chat_application_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_api_interface_set")] - public static extern void switch_loadable_module_interface_api_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_api_interface_set___")] + public static extern void switch_loadable_module_interface_api_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_api_interface_get")] - public static extern IntPtr switch_loadable_module_interface_api_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_api_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_api_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_json_api_interface_set")] - public static extern void switch_loadable_module_interface_json_api_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_json_api_interface_set___")] + public static extern void switch_loadable_module_interface_json_api_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_json_api_interface_get")] - public static extern IntPtr switch_loadable_module_interface_json_api_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_json_api_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_json_api_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_file_interface_set")] - public static extern void switch_loadable_module_interface_file_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_file_interface_set___")] + public static extern void switch_loadable_module_interface_file_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_file_interface_get")] - public static extern IntPtr switch_loadable_module_interface_file_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_file_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_file_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_speech_interface_set")] - public static extern void switch_loadable_module_interface_speech_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_speech_interface_set___")] + public static extern void switch_loadable_module_interface_speech_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_speech_interface_get")] - public static extern IntPtr switch_loadable_module_interface_speech_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_speech_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_speech_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_directory_interface_set")] - public static extern void switch_loadable_module_interface_directory_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_directory_interface_set___")] + public static extern void switch_loadable_module_interface_directory_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_directory_interface_get")] - public static extern IntPtr switch_loadable_module_interface_directory_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_directory_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_directory_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_chat_interface_set")] - public static extern void switch_loadable_module_interface_chat_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_chat_interface_set___")] + public static extern void switch_loadable_module_interface_chat_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_chat_interface_get")] - public static extern IntPtr switch_loadable_module_interface_chat_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_chat_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_chat_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_say_interface_set")] - public static extern void switch_loadable_module_interface_say_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_say_interface_set___")] + public static extern void switch_loadable_module_interface_say_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_say_interface_get")] - public static extern IntPtr switch_loadable_module_interface_say_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_say_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_say_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_asr_interface_set")] - public static extern void switch_loadable_module_interface_asr_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_asr_interface_set___")] + public static extern void switch_loadable_module_interface_asr_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_asr_interface_get")] - public static extern IntPtr switch_loadable_module_interface_asr_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_asr_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_asr_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_management_interface_set")] - public static extern void switch_loadable_module_interface_management_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_management_interface_set___")] + public static extern void switch_loadable_module_interface_management_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_management_interface_get")] - public static extern IntPtr switch_loadable_module_interface_management_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_management_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_management_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_limit_interface_set")] - public static extern void switch_loadable_module_interface_limit_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_limit_interface_set___")] + public static extern void switch_loadable_module_interface_limit_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_limit_interface_get")] - public static extern IntPtr switch_loadable_module_interface_limit_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_limit_interface_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_limit_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_rwlock_set")] - public static extern void switch_loadable_module_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_rwlock_set___")] + public static extern void switch_loadable_module_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_rwlock_get")] - public static extern IntPtr switch_loadable_module_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_refs_set")] - public static extern void switch_loadable_module_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_refs_set___")] + public static extern void switch_loadable_module_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_refs_get")] - public static extern int switch_loadable_module_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_refs_get___")] + public static extern int switch_loadable_module_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_pool_set")] - public static extern void switch_loadable_module_interface_pool_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_pool_set___")] + public static extern void switch_loadable_module_interface_pool_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_interface_pool_get")] - public static extern IntPtr switch_loadable_module_interface_pool_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_interface_pool_get___")] + public static extern global::System.IntPtr switch_loadable_module_interface_pool_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_loadable_module_interface")] - public static extern IntPtr new_switch_loadable_module_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_loadable_module_interface___")] + public static extern global::System.IntPtr new_switch_loadable_module_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_loadable_module_interface")] - public static extern void delete_switch_loadable_module_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_loadable_module_interface___")] + public static extern void delete_switch_loadable_module_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_init")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_init___")] public static extern int switch_loadable_module_init(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_shutdown")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_shutdown___")] public static extern void switch_loadable_module_shutdown(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_endpoint_interface")] - public static extern IntPtr switch_loadable_module_get_endpoint_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_endpoint_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_endpoint_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_codec_interface")] - public static extern IntPtr switch_loadable_module_get_codec_interface(string jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_codec_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_codec_interface(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_parse_codec_buf")] - public static extern string switch_parse_codec_buf(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, ref string jarg6, ref string jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_parse_codec_buf___")] + public static extern string switch_parse_codec_buf(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, ref string jarg6, ref string jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_dialplan_interface")] - public static extern IntPtr switch_loadable_module_get_dialplan_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_dialplan_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_dialplan_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_enumerate_available")] - public static extern int switch_loadable_module_enumerate_available(string jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_enumerate_available___")] + public static extern int switch_loadable_module_enumerate_available(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_enumerate_loaded")] - public static extern int switch_loadable_module_enumerate_loaded(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_enumerate_loaded___")] + public static extern int switch_loadable_module_enumerate_loaded(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_build_dynamic")] - public static extern int switch_loadable_module_build_dynamic(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_build_dynamic___")] + public static extern int switch_loadable_module_build_dynamic(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_timer_interface")] - public static extern IntPtr switch_loadable_module_get_timer_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_timer_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_timer_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_application_interface")] - public static extern IntPtr switch_loadable_module_get_application_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_application_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_application_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_chat_application_interface")] - public static extern IntPtr switch_loadable_module_get_chat_application_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_chat_application_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_chat_application_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_execute_chat_app")] - public static extern int switch_core_execute_chat_app(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_execute_chat_app___")] + public static extern int switch_core_execute_chat_app(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_api_interface")] - public static extern IntPtr switch_loadable_module_get_api_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_api_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_api_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_json_api_interface")] - public static extern IntPtr switch_loadable_module_get_json_api_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_json_api_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_json_api_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_file_interface")] - public static extern IntPtr switch_loadable_module_get_file_interface(string jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_file_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_file_interface(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_speech_interface")] - public static extern IntPtr switch_loadable_module_get_speech_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_speech_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_speech_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_asr_interface")] - public static extern IntPtr switch_loadable_module_get_asr_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_asr_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_asr_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_directory_interface")] - public static extern IntPtr switch_loadable_module_get_directory_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_directory_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_directory_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_chat_interface")] - public static extern IntPtr switch_loadable_module_get_chat_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_chat_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_chat_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_say_interface")] - public static extern IntPtr switch_loadable_module_get_say_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_say_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_say_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_management_interface")] - public static extern IntPtr switch_loadable_module_get_management_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_management_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_management_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_limit_interface")] - public static extern IntPtr switch_loadable_module_get_limit_interface(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_limit_interface___")] + public static extern global::System.IntPtr switch_loadable_module_get_limit_interface(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_codecs")] - public static extern int switch_loadable_module_get_codecs(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_codecs___")] + public static extern int switch_loadable_module_get_codecs(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_codecs_sorted")] - public static extern int switch_loadable_module_get_codecs_sorted(HandleRef jarg1, HandleRef jarg2, int jarg3, ref string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_get_codecs_sorted___")] + public static extern int switch_loadable_module_get_codecs_sorted(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, ref string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_execute")] - public static extern int switch_api_execute(string jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_execute___")] + public static extern int switch_api_execute(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_execute")] - public static extern int switch_json_api_execute(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_execute___")] + public static extern int switch_json_api_execute(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_load_module")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_load_module___")] public static extern int switch_loadable_module_load_module(string jarg1, string jarg2, int jarg3, ref global::System.IntPtr jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_exists")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_exists___")] public static extern int switch_loadable_module_exists(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_unload_module")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_loadable_module_unload_module___")] public static extern int switch_loadable_module_unload_module(string jarg1, string jarg2, int jarg3, ref global::System.IntPtr jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_next_id")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_next_id___")] public static extern uint switch_core_codec_next_id(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_check_interval")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_check_interval___")] public static extern int switch_check_interval(uint jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_add_implementation")] - public static extern void switch_core_codec_add_implementation(HandleRef jarg1, HandleRef jarg2, int jarg3, byte jarg4, string jarg5, string jarg6, uint jarg7, uint jarg8, int jarg9, int jarg10, uint jarg11, uint jarg12, uint jarg13, byte jarg14, int jarg15, HandleRef jarg16, HandleRef jarg17, HandleRef jarg18, HandleRef jarg19); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_add_implementation___")] + public static extern void switch_core_codec_add_implementation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, byte jarg4, string jarg5, string jarg6, uint jarg7, uint jarg8, int jarg9, int jarg10, uint jarg11, uint jarg12, uint jarg13, byte jarg14, int jarg15, global::System.Runtime.InteropServices.HandleRef jarg16, global::System.Runtime.InteropServices.HandleRef jarg17, global::System.Runtime.InteropServices.HandleRef jarg18, global::System.Runtime.InteropServices.HandleRef jarg19); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_add_video_implementation")] - public static extern void switch_core_codec_add_video_implementation(HandleRef jarg1, HandleRef jarg2, byte jarg3, string jarg4, string jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8, HandleRef jarg9, HandleRef jarg10); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_add_video_implementation___")] + public static extern void switch_core_codec_add_video_implementation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, byte jarg3, string jarg4, string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_ready")] - public static extern int switch_core_codec_ready(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_codec_ready___")] + public static extern int switch_core_codec_ready(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_get_secondary_recover_callback")] - public static extern IntPtr switch_core_get_secondary_recover_callback(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_get_secondary_recover_callback___")] + public static extern global::System.IntPtr switch_core_get_secondary_recover_callback(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_register_secondary_recover_callback")] - public static extern int switch_core_register_secondary_recover_callback(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_register_secondary_recover_callback___")] + public static extern int switch_core_register_secondary_recover_callback(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_unregister_secondary_recover_callback")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_unregister_secondary_recover_callback___")] public static extern void switch_core_unregister_secondary_recover_callback(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_CMD_CHUNK_LEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_CMD_CHUNK_LEN_get___")] public static extern int SWITCH_CMD_CHUNK_LEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_loop")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_loop___")] public static extern void switch_console_loop(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_stream_raw_write")] - public static extern int switch_console_stream_raw_write(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_stream_raw_write___")] + public static extern int switch_console_stream_raw_write(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_write_file_contents")] - public static extern int switch_stream_write_file_contents(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_write_file_contents___")] + public static extern int switch_stream_write_file_contents(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_init")] - public static extern int switch_console_init(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_init___")] + public static extern int switch_console_init(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_shutdown")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_shutdown___")] public static extern int switch_console_shutdown(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_add_complete_func")] - public static extern int switch_console_add_complete_func(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_add_complete_func___")] + public static extern int switch_console_add_complete_func(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_del_complete_func")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_del_complete_func___")] public static extern int switch_console_del_complete_func(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_run_complete_func")] - public static extern int switch_console_run_complete_func(string jarg1, string jarg2, string jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_run_complete_func___")] + public static extern int switch_console_run_complete_func(string jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_push_match_unique")] - public static extern void switch_console_push_match_unique(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_push_match_unique___")] + public static extern void switch_console_push_match_unique(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_push_match")] - public static extern void switch_console_push_match(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_push_match___")] + public static extern void switch_console_push_match(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_free_matches")] - public static extern void switch_console_free_matches(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_free_matches___")] + public static extern void switch_console_free_matches(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_complete")] - public static extern byte switch_console_complete(string jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_complete___")] + public static extern byte switch_console_complete(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_sort_matches")] - public static extern void switch_console_sort_matches(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_sort_matches___")] + public static extern void switch_console_sort_matches(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_save_history")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_save_history___")] public static extern void switch_console_save_history(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_expand_alias")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_expand_alias___")] public static extern string switch_console_expand_alias(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_console_execute")] - public static extern int switch_console_execute(string jarg1, int jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_console_execute___")] + public static extern int switch_console_execute(string jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_URL_UNSAFE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_URL_UNSAFE_get___")] public static extern string SWITCH_URL_UNSAFE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_get_hex_bytes")] - public static extern string switch_get_hex_bytes(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_get_hex_bytes___")] + public static extern string switch_get_hex_bytes(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_round_to_step")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_round_to_step___")] public static extern uint switch_round_to_step(uint jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_toupper")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_toupper___")] public static extern uint switch_toupper(uint jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_tolower")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_tolower___")] public static extern uint switch_tolower(uint jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_toupper_max")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_toupper_max___")] public static extern void switch_toupper_max(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_tolower_max")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_tolower_max___")] public static extern void switch_tolower_max(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_old_switch_toupper")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_old_switch_toupper___")] public static extern int old_switch_toupper(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_old_switch_tolower")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_old_switch_tolower___")] public static extern int old_switch_tolower(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_isalnum")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_isalnum___")] public static extern int switch_isalnum(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_isalpha")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_isalpha___")] public static extern int switch_isalpha(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_iscntrl")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_iscntrl___")] public static extern int switch_iscntrl(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_isdigit")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_isdigit___")] public static extern int switch_isdigit(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_isgraph")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_isgraph___")] public static extern int switch_isgraph(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_islower")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_islower___")] public static extern int switch_islower(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_isprint")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_isprint___")] public static extern int switch_isprint(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ispunct")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ispunct___")] public static extern int switch_ispunct(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_isspace")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_isspace___")] public static extern int switch_isspace(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_isupper")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_isupper___")] public static extern int switch_isupper(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_isxdigit")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_isxdigit___")] public static extern int switch_isxdigit(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_ip_t_v4_set")] - public static extern void ip_t_v4_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ip_t_v4_set___")] + public static extern void ip_t_v4_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_ip_t_v4_get")] - public static extern uint ip_t_v4_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ip_t_v4_get___")] + public static extern uint ip_t_v4_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_ip_t_v6_set")] - public static extern void ip_t_v6_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ip_t_v6_set___")] + public static extern void ip_t_v6_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_ip_t_v6_get")] - public static extern IntPtr ip_t_v6_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ip_t_v6_get___")] + public static extern global::System.IntPtr ip_t_v6_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_ip_t")] - public static extern IntPtr new_ip_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_ip_t___")] + public static extern global::System.IntPtr new_ip_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_ip_t")] - public static extern void delete_ip_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_ip_t___")] + public static extern void delete_ip_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_testv6_subnet")] - public static extern int switch_testv6_subnet(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_testv6_subnet___")] + public static extern int switch_testv6_subnet(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_print_host")] - public static extern string switch_print_host(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_print_host___")] + public static extern string switch_print_host(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SMAX_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SMAX_get___")] public static extern int SWITCH_SMAX_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_SMIN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_SMIN_get___")] public static extern int SWITCH_SMIN_get(); - [DllImport("mod_managed", EntryPoint="CSharp__zstr")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative__zstr___")] public static extern int _zstr(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_is_moh")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_is_moh___")] public static extern int switch_is_moh(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_strchr_strict")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_strchr_strict___")] public static extern string switch_strchr_strict(string jarg1, char jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_string_has_escaped_data")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_string_has_escaped_data___")] public static extern int switch_string_has_escaped_data(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_b64_encode")] - public static extern int switch_b64_encode(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_b64_encode___")] + public static extern int switch_b64_encode(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_b64_decode")] - public static extern IntPtr switch_b64_decode(string jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_b64_decode___")] + public static extern global::System.IntPtr switch_b64_decode(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_amp_encode")] - public static extern string switch_amp_encode(string jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_amp_encode___")] + public static extern string switch_amp_encode(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_print_bits")] - public static extern string switch_print_bits(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_print_bits___")] + public static extern string switch_print_bits(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_is_digit_string")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_is_digit_string___")] public static extern int switch_is_digit_string(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_itodtmf")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_itodtmf___")] public static extern char switch_itodtmf(char jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dtmftoi")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dtmftoi___")] public static extern int switch_dtmftoi(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_known_bitrate")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_known_bitrate___")] public static extern uint switch_known_bitrate(byte jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_fd_read_line")] - public static extern IntPtr switch_fd_read_line(int jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_fd_read_line___")] + public static extern global::System.IntPtr switch_fd_read_line(int jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_fd_read_dline")] - public static extern IntPtr switch_fd_read_dline(int jarg1, ref string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_fd_read_dline___")] + public static extern global::System.IntPtr switch_fd_read_dline(int jarg1, ref string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_fp_read_dline")] - public static extern IntPtr switch_fp_read_dline(HandleRef jarg1, ref string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_fp_read_dline___")] + public static extern global::System.IntPtr switch_fp_read_dline(global::System.Runtime.InteropServices.HandleRef jarg1, ref string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_alloc")] - public static extern int switch_frame_alloc(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_alloc___")] + public static extern int switch_frame_alloc(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_dup")] - public static extern int switch_frame_dup(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_dup___")] + public static extern int switch_frame_dup(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_free")] - public static extern int switch_frame_free(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_free___")] + public static extern int switch_frame_free(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_is_number")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_is_number___")] public static extern int switch_is_number(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_is_leading_number")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_is_leading_number___")] public static extern int switch_is_leading_number(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_find_parameter")] - public static extern string switch_find_parameter(string jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_find_parameter___")] + public static extern string switch_find_parameter(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_true")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_true___")] public static extern int switch_true(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_true_byte")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_true_byte___")] public static extern byte switch_true_byte(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_false")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_false___")] public static extern int switch_false(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_resolve_host")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_resolve_host___")] public static extern int switch_resolve_host(string jarg1, string jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_find_local_ip")] - public static extern int switch_find_local_ip(string jarg1, int jarg2, HandleRef jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_find_local_ip___")] + public static extern int switch_find_local_ip(string jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_find_interface_ip")] - public static extern int switch_find_interface_ip(string jarg1, int jarg2, HandleRef jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_find_interface_ip___")] + public static extern int switch_find_interface_ip(string jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_get_addr")] - public static extern string get_addr(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_get_addr___")] + public static extern string get_addr(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_get_addr6")] - public static extern string get_addr6(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_get_addr6___")] + public static extern string get_addr6(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_get_addr_int")] - public static extern int get_addr_int(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_get_addr_int___")] + public static extern int get_addr_int(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cmp_addr")] - public static extern int switch_cmp_addr(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cmp_addr___")] + public static extern int switch_cmp_addr(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cp_addr")] - public static extern int switch_cp_addr(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cp_addr___")] + public static extern int switch_cp_addr(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_get_port")] - public static extern ushort get_port(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_get_port___")] + public static extern ushort get_port(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_build_uri")] - public static extern int switch_build_uri(string jarg1, HandleRef jarg2, string jarg3, string jarg4, HandleRef jarg5, int jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_build_uri___")] + public static extern int switch_build_uri(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_errno_is_break")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_errno_is_break___")] public static extern int switch_errno_is_break(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_priority_name")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_priority_name___")] public static extern string switch_priority_name(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rfc2833_to_char")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rfc2833_to_char___")] public static extern char switch_rfc2833_to_char(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_char_to_rfc2833")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_char_to_rfc2833___")] public static extern byte switch_char_to_rfc2833(char jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_sanitize_number")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_sanitize_number___")] public static extern string switch_sanitize_number(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_string_var_check")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_string_var_check___")] public static extern int switch_string_var_check(string jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_string_var_check_const")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_string_var_check_const___")] public static extern int switch_string_var_check_const(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_var_clean_string")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_var_clean_string___")] public static extern string switch_var_clean_string(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_clean_string")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_clean_string___")] public static extern string switch_clean_string(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_clean_name_string")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_clean_name_string___")] public static extern string switch_clean_name_string(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_safe_atoi")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_safe_atoi___")] public static extern int switch_safe_atoi(string jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_safe_strdup")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_safe_strdup___")] public static extern string switch_safe_strdup(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_lc_strdup")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_lc_strdup___")] public static extern string switch_lc_strdup(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_uc_strdup")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_uc_strdup___")] public static extern string switch_uc_strdup(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_strstr")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_strstr___")] public static extern int switch_strstr(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_str_time")] - public static extern IntPtr switch_str_time(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_str_time___")] + public static extern global::System.IntPtr switch_str_time(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_separate_string")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_separate_string___")] public static extern uint switch_separate_string(string jarg1, char jarg2, ref string jarg3, uint jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_separate_string_string")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_separate_string_string___")] public static extern uint switch_separate_string_string(string jarg1, string jarg2, ref string jarg3, uint jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_strip_spaces")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_strip_spaces___")] public static extern string switch_strip_spaces(string jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_strip_whitespace")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_strip_whitespace___")] public static extern string switch_strip_whitespace(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_strip_commas")] - public static extern string switch_strip_commas(string jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_strip_commas___")] + public static extern string switch_strip_commas(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_strip_nonnumerics")] - public static extern string switch_strip_nonnumerics(string jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_strip_nonnumerics___")] + public static extern string switch_strip_nonnumerics(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_separate_paren_args")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_separate_paren_args___")] public static extern string switch_separate_paren_args(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stristr")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stristr___")] public static extern string switch_stristr(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_is_lan_addr")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_is_lan_addr___")] public static extern int switch_is_lan_addr(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_replace_char")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_replace_char___")] public static extern string switch_replace_char(string jarg1, char jarg2, char jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ast2regex")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ast2regex___")] public static extern int switch_ast2regex(string jarg1, string jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_escape_char")] - public static extern string switch_escape_char(HandleRef jarg1, string jarg2, string jarg3, char jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_pool_strip_whitespace___")] + public static extern string switch_pool_strip_whitespace(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_escape_string")] - public static extern string switch_escape_string(string jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_escape_char___")] + public static extern string switch_escape_char(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, char jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_escape_string_pool")] - public static extern string switch_escape_string_pool(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_escape_string___")] + public static extern string switch_escape_string(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_socket_waitfor")] - public static extern int switch_socket_waitfor(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_escape_string_pool___")] + public static extern string switch_escape_string_pool(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cut_path")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_socket_waitfor___")] + public static extern int switch_socket_waitfor(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cut_path___")] public static extern string switch_cut_path(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_string_replace")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_string_replace___")] public static extern string switch_string_replace(string jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_string_match")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_string_match___")] public static extern int switch_string_match(string jarg1, uint jarg2, string jarg3, uint jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_strcasecmp_any")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_strcasecmp_any___")] public static extern int switch_strcasecmp_any(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_util_quote_shell_arg")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_util_quote_shell_arg___")] public static extern string switch_util_quote_shell_arg(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_util_quote_shell_arg_pool")] - public static extern string switch_util_quote_shell_arg_pool(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_util_quote_shell_arg_pool___")] + public static extern string switch_util_quote_shell_arg_pool(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_calc_bitrate")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_calc_bitrate___")] public static extern int switch_calc_bitrate(int jarg1, int jarg2, int jarg3, double jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_parse_bandwidth_string")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_parse_bandwidth_string___")] public static extern int switch_parse_bandwidth_string(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_needs_url_encode")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_parse_cpu_string___")] + public static extern uint switch_parse_cpu_string(string jarg1); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_needs_url_encode___")] public static extern int switch_needs_url_encode(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_url_encode_opt")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_url_encode_opt___")] public static extern string switch_url_encode_opt(string jarg1, string jarg2, uint jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_url_encode")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_url_encode___")] public static extern string switch_url_encode(string jarg1, string jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_url_decode")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_url_decode___")] public static extern string switch_url_decode(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_url_encode_opt")] - public static extern string switch_core_url_encode_opt(HandleRef jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_url_encode_opt___")] + public static extern string switch_core_url_encode_opt(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_url_encode")] - public static extern string switch_core_url_encode(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_url_encode___")] + public static extern string switch_core_url_encode(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_url_encode_opt")] - public static extern string switch_core_session_url_encode_opt(HandleRef jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_url_encode_opt___")] + public static extern string switch_core_session_url_encode_opt(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_url_encode")] - public static extern string switch_core_session_url_encode(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_session_url_encode___")] + public static extern string switch_core_session_url_encode(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_simple_email")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_simple_email___")] public static extern int switch_simple_email(string jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_find_end_paren")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_find_end_paren___")] public static extern string switch_find_end_paren(string jarg1, char jarg2, char jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_separate_file_params")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_separate_file_params___")] public static extern void switch_separate_file_params(string jarg1, ref string jarg2, ref string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_is_file_path")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_is_file_path___")] public static extern int switch_is_file_path(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_parse_audio_col")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_parse_audio_col___")] public static extern string switch_parse_audio_col(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_parse_cidr")] - public static extern int switch_parse_cidr(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_parse_cidr___")] + public static extern int switch_parse_cidr(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_create")] - public static extern int switch_network_list_create(HandleRef jarg1, string jarg2, int jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_network_list_create___")] + public static extern int switch_network_list_create(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_add_cidr_token")] - public static extern int switch_network_list_add_cidr_token(HandleRef jarg1, string jarg2, int jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_network_list_add_cidr_token___")] + public static extern int switch_network_list_add_cidr_token(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_network_ipv4_mapped_ipv6_addr")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_network_ipv4_mapped_ipv6_addr___")] public static extern string switch_network_ipv4_mapped_ipv6_addr(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_add_host_mask")] - public static extern int switch_network_list_add_host_mask(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_network_list_add_host_mask___")] + public static extern int switch_network_list_add_host_mask(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_validate_ip_token")] - public static extern int switch_network_list_validate_ip_token(HandleRef jarg1, uint jarg2, ref global::System.IntPtr jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_network_list_validate_ip_token___")] + public static extern int switch_network_list_validate_ip_token(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, ref global::System.IntPtr jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_network_list_validate_ip6_token")] - public static extern int switch_network_list_validate_ip6_token(HandleRef jarg1, HandleRef jarg2, ref global::System.IntPtr jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_network_list_validate_ip6_token___")] + public static extern int switch_network_list_validate_ip6_token(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, ref global::System.IntPtr jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dow_int2str")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dow_int2str___")] public static extern string switch_dow_int2str(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dow_str2int")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dow_str2int___")] public static extern int switch_dow_str2int(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dow_cmp")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dow_cmp___")] public static extern int switch_dow_cmp(string jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_number_cmp")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_number_cmp___")] public static extern int switch_number_cmp(string jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_tod_cmp")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_tod_cmp___")] public static extern int switch_tod_cmp(string jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_fulldate_cmp")] - public static extern int switch_fulldate_cmp(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_fulldate_cmp___")] + public static extern int switch_fulldate_cmp(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_split_date")] - public static extern void switch_split_date(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_split_date___")] + public static extern void switch_split_date(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_split_time")] - public static extern void switch_split_time(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_split_time___")] + public static extern void switch_split_time(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_split_user_domain")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_split_user_domain___")] public static extern int switch_split_user_domain(string jarg1, ref string jarg2, ref string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_uuid_str")] - public static extern string switch_uuid_str(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_uuid_str___")] + public static extern string switch_uuid_str(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_format_number")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_format_number___")] public static extern string switch_format_number(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_atoui")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_atoui___")] public static extern uint switch_atoui(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_atoul")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_atoul___")] public static extern uint switch_atoul(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_strerror_r")] - public static extern string switch_strerror_r(int jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_strerror_r___")] + public static extern string switch_strerror_r(int jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_wait_sock")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_wait_sock___")] public static extern int switch_wait_sock(int jarg1, uint jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_wait_socklist")] - public static extern int switch_wait_socklist(HandleRef jarg1, uint jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_wait_socklist___")] + public static extern int switch_wait_socklist(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_method_set")] - public static extern void switch_http_request_t_method_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_method_set___")] + public static extern void switch_http_request_t_method_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_method_get")] - public static extern string switch_http_request_t_method_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_method_get___")] + public static extern string switch_http_request_t_method_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_uri_set")] - public static extern void switch_http_request_t_uri_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_uri_set___")] + public static extern void switch_http_request_t_uri_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_uri_get")] - public static extern string switch_http_request_t_uri_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_uri_get___")] + public static extern string switch_http_request_t_uri_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_qs_set")] - public static extern void switch_http_request_t_qs_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_qs_set___")] + public static extern void switch_http_request_t_qs_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_qs_get")] - public static extern string switch_http_request_t_qs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_qs_get___")] + public static extern string switch_http_request_t_qs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_host_set")] - public static extern void switch_http_request_t_host_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_host_set___")] + public static extern void switch_http_request_t_host_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_host_get")] - public static extern string switch_http_request_t_host_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_host_get___")] + public static extern string switch_http_request_t_host_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_port_set")] - public static extern void switch_http_request_t_port_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_port_set___")] + public static extern void switch_http_request_t_port_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_port_get")] - public static extern ushort switch_http_request_t_port_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_port_get___")] + public static extern ushort switch_http_request_t_port_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_from_set")] - public static extern void switch_http_request_t_from_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_from_set___")] + public static extern void switch_http_request_t_from_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_from_get")] - public static extern string switch_http_request_t_from_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_from_get___")] + public static extern string switch_http_request_t_from_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_agent_set")] - public static extern void switch_http_request_t_user_agent_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_user_agent_set___")] + public static extern void switch_http_request_t_user_agent_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_agent_get")] - public static extern string switch_http_request_t_user_agent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_user_agent_get___")] + public static extern string switch_http_request_t_user_agent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_referer_set")] - public static extern void switch_http_request_t_referer_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_referer_set___")] + public static extern void switch_http_request_t_referer_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_referer_get")] - public static extern string switch_http_request_t_referer_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_referer_get___")] + public static extern string switch_http_request_t_referer_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_set")] - public static extern void switch_http_request_t_user_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_user_set___")] + public static extern void switch_http_request_t_user_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_get")] - public static extern string switch_http_request_t_user_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_user_get___")] + public static extern string switch_http_request_t_user_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_keepalive_set")] - public static extern void switch_http_request_t_keepalive_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_keepalive_set___")] + public static extern void switch_http_request_t_keepalive_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_keepalive_get")] - public static extern int switch_http_request_t_keepalive_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_keepalive_get___")] + public static extern int switch_http_request_t_keepalive_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_content_type_set")] - public static extern void switch_http_request_t_content_type_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_content_type_set___")] + public static extern void switch_http_request_t_content_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_content_type_get")] - public static extern string switch_http_request_t_content_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_content_type_get___")] + public static extern string switch_http_request_t_content_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_content_length_set")] - public static extern void switch_http_request_t_content_length_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_content_length_set___")] + public static extern void switch_http_request_t_content_length_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_content_length_get")] - public static extern IntPtr switch_http_request_t_content_length_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_content_length_get___")] + public static extern global::System.IntPtr switch_http_request_t_content_length_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_bytes_header_set")] - public static extern void switch_http_request_t_bytes_header_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_bytes_header_set___")] + public static extern void switch_http_request_t_bytes_header_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_bytes_header_get")] - public static extern IntPtr switch_http_request_t_bytes_header_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_bytes_header_get___")] + public static extern global::System.IntPtr switch_http_request_t_bytes_header_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_bytes_read_set")] - public static extern void switch_http_request_t_bytes_read_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_bytes_read_set___")] + public static extern void switch_http_request_t_bytes_read_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_bytes_read_get")] - public static extern IntPtr switch_http_request_t_bytes_read_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_bytes_read_get___")] + public static extern global::System.IntPtr switch_http_request_t_bytes_read_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_bytes_buffered_set")] - public static extern void switch_http_request_t_bytes_buffered_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_bytes_buffered_set___")] + public static extern void switch_http_request_t_bytes_buffered_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_bytes_buffered_get")] - public static extern IntPtr switch_http_request_t_bytes_buffered_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_bytes_buffered_get___")] + public static extern global::System.IntPtr switch_http_request_t_bytes_buffered_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_headers_set")] - public static extern void switch_http_request_t_headers_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_headers_set___")] + public static extern void switch_http_request_t_headers_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_headers_get")] - public static extern IntPtr switch_http_request_t_headers_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_headers_get___")] + public static extern global::System.IntPtr switch_http_request_t_headers_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_data_set")] - public static extern void switch_http_request_t_user_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_user_data_set___")] + public static extern void switch_http_request_t_user_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t_user_data_get")] - public static extern IntPtr switch_http_request_t_user_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t_user_data_get___")] + public static extern global::System.IntPtr switch_http_request_t_user_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__buffer_set")] - public static extern void switch_http_request_t__buffer_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t__buffer_set___")] + public static extern void switch_http_request_t__buffer_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__buffer_get")] - public static extern string switch_http_request_t__buffer_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t__buffer_get___")] + public static extern string switch_http_request_t__buffer_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__destroy_headers_set")] - public static extern void switch_http_request_t__destroy_headers_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t__destroy_headers_set___")] + public static extern void switch_http_request_t__destroy_headers_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_request_t__destroy_headers_get")] - public static extern int switch_http_request_t__destroy_headers_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_request_t__destroy_headers_get___")] + public static extern int switch_http_request_t__destroy_headers_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_http_request_t")] - public static extern IntPtr new_switch_http_request_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_http_request_t___")] + public static extern global::System.IntPtr new_switch_http_request_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_http_request_t")] - public static extern void delete_switch_http_request_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_http_request_t___")] + public static extern void delete_switch_http_request_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_parse_header")] - public static extern int switch_http_parse_header(string jarg1, uint jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_parse_header___")] + public static extern int switch_http_parse_header(string jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_free_request")] - public static extern void switch_http_free_request(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_free_request___")] + public static extern void switch_http_free_request(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_dump_request")] - public static extern void switch_http_dump_request(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_dump_request___")] + public static extern void switch_http_dump_request(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_http_parse_qs")] - public static extern void switch_http_parse_qs(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_http_parse_qs___")] + public static extern void switch_http_parse_qs(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buffer_free")] - public static extern int switch_frame_buffer_free(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_buffer_free___")] + public static extern int switch_frame_buffer_free(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buffer_dup")] - public static extern int switch_frame_buffer_dup(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_buffer_dup___")] + public static extern int switch_frame_buffer_dup(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buffer_destroy")] - public static extern int switch_frame_buffer_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_buffer_destroy___")] + public static extern int switch_frame_buffer_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buffer_create")] - public static extern int switch_frame_buffer_create(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_buffer_create___")] + public static extern int switch_frame_buffer_create(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buffer_push")] - public static extern int switch_frame_buffer_push(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_buffer_push___")] + public static extern int switch_frame_buffer_push(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buffer_trypush")] - public static extern int switch_frame_buffer_trypush(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_buffer_trypush___")] + public static extern int switch_frame_buffer_trypush(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buffer_pop")] - public static extern int switch_frame_buffer_pop(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_buffer_pop___")] + public static extern int switch_frame_buffer_pop(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buffer_trypop")] - public static extern int switch_frame_buffer_trypop(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_buffer_trypop___")] + public static extern int switch_frame_buffer_trypop(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cputime_userms_set")] - public static extern void switch_cputime_userms_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cputime_userms_set___")] + public static extern void switch_cputime_userms_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cputime_userms_get")] - public static extern long switch_cputime_userms_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cputime_userms_get___")] + public static extern long switch_cputime_userms_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cputime_kernelms_set")] - public static extern void switch_cputime_kernelms_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cputime_kernelms_set___")] + public static extern void switch_cputime_kernelms_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_cputime_kernelms_get")] - public static extern long switch_cputime_kernelms_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_cputime_kernelms_get___")] + public static extern long switch_cputime_kernelms_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_cputime")] - public static extern IntPtr new_switch_cputime(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_cputime___")] + public static extern global::System.IntPtr new_switch_cputime(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_cputime")] - public static extern void delete_switch_cputime(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_cputime___")] + public static extern void delete_switch_cputime(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_getcputime")] - public static extern void switch_getcputime(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_getcputime___")] + public static extern void switch_getcputime(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_html_strip")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_html_strip___")] public static extern string switch_html_strip(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_var_set")] - public static extern void profile_node_t_var_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_profile_node_t_var_set___")] + public static extern void profile_node_t_var_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_var_get")] - public static extern string profile_node_t_var_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_profile_node_t_var_get___")] + public static extern string profile_node_t_var_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_val_set")] - public static extern void profile_node_t_val_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_profile_node_t_val_set___")] + public static extern void profile_node_t_val_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_val_get")] - public static extern string profile_node_t_val_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_profile_node_t_val_get___")] + public static extern string profile_node_t_val_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_next_set")] - public static extern void profile_node_t_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_profile_node_t_next_set___")] + public static extern void profile_node_t_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_profile_node_t_next_get")] - public static extern IntPtr profile_node_t_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_profile_node_t_next_get___")] + public static extern global::System.IntPtr profile_node_t_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_profile_node_t")] - public static extern IntPtr new_profile_node_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_profile_node_t___")] + public static extern global::System.IntPtr new_profile_node_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_profile_node_t")] - public static extern void delete_profile_node_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_profile_node_t___")] + public static extern void delete_profile_node_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_username_set")] - public static extern void switch_caller_profile_username_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_username_set___")] + public static extern void switch_caller_profile_username_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_username_get")] - public static extern string switch_caller_profile_username_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_username_get___")] + public static extern string switch_caller_profile_username_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_dialplan_set")] - public static extern void switch_caller_profile_dialplan_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_dialplan_set___")] + public static extern void switch_caller_profile_dialplan_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_dialplan_get")] - public static extern string switch_caller_profile_dialplan_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_dialplan_get___")] + public static extern string switch_caller_profile_dialplan_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_id_name_set")] - public static extern void switch_caller_profile_caller_id_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_caller_id_name_set___")] + public static extern void switch_caller_profile_caller_id_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_id_name_get")] - public static extern string switch_caller_profile_caller_id_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_caller_id_name_get___")] + public static extern string switch_caller_profile_caller_id_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_id_number_set")] - public static extern void switch_caller_profile_caller_id_number_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_caller_id_number_set___")] + public static extern void switch_caller_profile_caller_id_number_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_id_number_get")] - public static extern string switch_caller_profile_caller_id_number_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_caller_id_number_get___")] + public static extern string switch_caller_profile_caller_id_number_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_orig_caller_id_name_set")] - public static extern void switch_caller_profile_orig_caller_id_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_orig_caller_id_name_set___")] + public static extern void switch_caller_profile_orig_caller_id_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_orig_caller_id_name_get")] - public static extern string switch_caller_profile_orig_caller_id_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_orig_caller_id_name_get___")] + public static extern string switch_caller_profile_orig_caller_id_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_orig_caller_id_number_set")] - public static extern void switch_caller_profile_orig_caller_id_number_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_orig_caller_id_number_set___")] + public static extern void switch_caller_profile_orig_caller_id_number_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_orig_caller_id_number_get")] - public static extern string switch_caller_profile_orig_caller_id_number_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_orig_caller_id_number_get___")] + public static extern string switch_caller_profile_orig_caller_id_number_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_callee_id_name_set")] - public static extern void switch_caller_profile_callee_id_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_callee_id_name_set___")] + public static extern void switch_caller_profile_callee_id_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_callee_id_name_get")] - public static extern string switch_caller_profile_callee_id_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_callee_id_name_get___")] + public static extern string switch_caller_profile_callee_id_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_callee_id_number_set")] - public static extern void switch_caller_profile_callee_id_number_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_callee_id_number_set___")] + public static extern void switch_caller_profile_callee_id_number_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_callee_id_number_get")] - public static extern string switch_caller_profile_callee_id_number_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_callee_id_number_get___")] + public static extern string switch_caller_profile_callee_id_number_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_ton_set")] - public static extern void switch_caller_profile_caller_ton_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_caller_ton_set___")] + public static extern void switch_caller_profile_caller_ton_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_ton_get")] - public static extern byte switch_caller_profile_caller_ton_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_caller_ton_get___")] + public static extern byte switch_caller_profile_caller_ton_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_numplan_set")] - public static extern void switch_caller_profile_caller_numplan_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_caller_numplan_set___")] + public static extern void switch_caller_profile_caller_numplan_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_numplan_get")] - public static extern byte switch_caller_profile_caller_numplan_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_caller_numplan_get___")] + public static extern byte switch_caller_profile_caller_numplan_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_network_addr_set")] - public static extern void switch_caller_profile_network_addr_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_network_addr_set___")] + public static extern void switch_caller_profile_network_addr_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_network_addr_get")] - public static extern string switch_caller_profile_network_addr_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_network_addr_get___")] + public static extern string switch_caller_profile_network_addr_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_ani_set")] - public static extern void switch_caller_profile_ani_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_ani_set___")] + public static extern void switch_caller_profile_ani_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_ani_get")] - public static extern string switch_caller_profile_ani_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_ani_get___")] + public static extern string switch_caller_profile_ani_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_ani_ton_set")] - public static extern void switch_caller_profile_ani_ton_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_ani_ton_set___")] + public static extern void switch_caller_profile_ani_ton_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_ani_ton_get")] - public static extern byte switch_caller_profile_ani_ton_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_ani_ton_get___")] + public static extern byte switch_caller_profile_ani_ton_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_ani_numplan_set")] - public static extern void switch_caller_profile_ani_numplan_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_ani_numplan_set___")] + public static extern void switch_caller_profile_ani_numplan_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_ani_numplan_get")] - public static extern byte switch_caller_profile_ani_numplan_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_ani_numplan_get___")] + public static extern byte switch_caller_profile_ani_numplan_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_aniii_set")] - public static extern void switch_caller_profile_aniii_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_aniii_set___")] + public static extern void switch_caller_profile_aniii_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_aniii_get")] - public static extern string switch_caller_profile_aniii_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_aniii_get___")] + public static extern string switch_caller_profile_aniii_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_rdnis_set")] - public static extern void switch_caller_profile_rdnis_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_rdnis_set___")] + public static extern void switch_caller_profile_rdnis_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_rdnis_get")] - public static extern string switch_caller_profile_rdnis_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_rdnis_get___")] + public static extern string switch_caller_profile_rdnis_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_rdnis_ton_set")] - public static extern void switch_caller_profile_rdnis_ton_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_rdnis_ton_set___")] + public static extern void switch_caller_profile_rdnis_ton_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_rdnis_ton_get")] - public static extern byte switch_caller_profile_rdnis_ton_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_rdnis_ton_get___")] + public static extern byte switch_caller_profile_rdnis_ton_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_rdnis_numplan_set")] - public static extern void switch_caller_profile_rdnis_numplan_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_rdnis_numplan_set___")] + public static extern void switch_caller_profile_rdnis_numplan_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_rdnis_numplan_get")] - public static extern byte switch_caller_profile_rdnis_numplan_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_rdnis_numplan_get___")] + public static extern byte switch_caller_profile_rdnis_numplan_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_destination_number_set")] - public static extern void switch_caller_profile_destination_number_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_destination_number_set___")] + public static extern void switch_caller_profile_destination_number_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_destination_number_get")] - public static extern string switch_caller_profile_destination_number_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_destination_number_get___")] + public static extern string switch_caller_profile_destination_number_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_destination_number_ton_set")] - public static extern void switch_caller_profile_destination_number_ton_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_destination_number_ton_set___")] + public static extern void switch_caller_profile_destination_number_ton_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_destination_number_ton_get")] - public static extern byte switch_caller_profile_destination_number_ton_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_destination_number_ton_get___")] + public static extern byte switch_caller_profile_destination_number_ton_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_destination_number_numplan_set")] - public static extern void switch_caller_profile_destination_number_numplan_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_destination_number_numplan_set___")] + public static extern void switch_caller_profile_destination_number_numplan_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_destination_number_numplan_get")] - public static extern byte switch_caller_profile_destination_number_numplan_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_destination_number_numplan_get___")] + public static extern byte switch_caller_profile_destination_number_numplan_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_source_set")] - public static extern void switch_caller_profile_source_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_source_set___")] + public static extern void switch_caller_profile_source_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_source_get")] - public static extern string switch_caller_profile_source_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_source_get___")] + public static extern string switch_caller_profile_source_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_chan_name_set")] - public static extern void switch_caller_profile_chan_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_chan_name_set___")] + public static extern void switch_caller_profile_chan_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_chan_name_get")] - public static extern string switch_caller_profile_chan_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_chan_name_get___")] + public static extern string switch_caller_profile_chan_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_uuid_set")] - public static extern void switch_caller_profile_uuid_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_uuid_set___")] + public static extern void switch_caller_profile_uuid_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_uuid_get")] - public static extern string switch_caller_profile_uuid_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_uuid_get___")] + public static extern string switch_caller_profile_uuid_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_context_set")] - public static extern void switch_caller_profile_context_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_context_set___")] + public static extern void switch_caller_profile_context_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_context_get")] - public static extern string switch_caller_profile_context_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_context_get___")] + public static extern string switch_caller_profile_context_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_profile_index_set")] - public static extern void switch_caller_profile_profile_index_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_profile_index_set___")] + public static extern void switch_caller_profile_profile_index_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_profile_index_get")] - public static extern string switch_caller_profile_profile_index_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_profile_index_get___")] + public static extern string switch_caller_profile_profile_index_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_flags_set")] - public static extern void switch_caller_profile_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_flags_set___")] + public static extern void switch_caller_profile_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_flags_get")] - public static extern uint switch_caller_profile_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_flags_get___")] + public static extern uint switch_caller_profile_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_originator_caller_profile_set")] - public static extern void switch_caller_profile_originator_caller_profile_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_originator_caller_profile_set___")] + public static extern void switch_caller_profile_originator_caller_profile_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_originator_caller_profile_get")] - public static extern IntPtr switch_caller_profile_originator_caller_profile_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_originator_caller_profile_get___")] + public static extern global::System.IntPtr switch_caller_profile_originator_caller_profile_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_originatee_caller_profile_set")] - public static extern void switch_caller_profile_originatee_caller_profile_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_originatee_caller_profile_set___")] + public static extern void switch_caller_profile_originatee_caller_profile_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_originatee_caller_profile_get")] - public static extern IntPtr switch_caller_profile_originatee_caller_profile_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_originatee_caller_profile_get___")] + public static extern global::System.IntPtr switch_caller_profile_originatee_caller_profile_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_origination_caller_profile_set")] - public static extern void switch_caller_profile_origination_caller_profile_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_origination_caller_profile_set___")] + public static extern void switch_caller_profile_origination_caller_profile_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_origination_caller_profile_get")] - public static extern IntPtr switch_caller_profile_origination_caller_profile_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_origination_caller_profile_get___")] + public static extern global::System.IntPtr switch_caller_profile_origination_caller_profile_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_hunt_caller_profile_set")] - public static extern void switch_caller_profile_hunt_caller_profile_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_hunt_caller_profile_set___")] + public static extern void switch_caller_profile_hunt_caller_profile_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_hunt_caller_profile_get")] - public static extern IntPtr switch_caller_profile_hunt_caller_profile_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_hunt_caller_profile_get___")] + public static extern global::System.IntPtr switch_caller_profile_hunt_caller_profile_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_times_set")] - public static extern void switch_caller_profile_times_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_times_set___")] + public static extern void switch_caller_profile_times_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_times_get")] - public static extern IntPtr switch_caller_profile_times_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_times_get___")] + public static extern global::System.IntPtr switch_caller_profile_times_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_old_times_set")] - public static extern void switch_caller_profile_old_times_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_old_times_set___")] + public static extern void switch_caller_profile_old_times_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_old_times_get")] - public static extern IntPtr switch_caller_profile_old_times_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_old_times_get___")] + public static extern global::System.IntPtr switch_caller_profile_old_times_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_extension_set")] - public static extern void switch_caller_profile_caller_extension_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_caller_extension_set___")] + public static extern void switch_caller_profile_caller_extension_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_caller_extension_get")] - public static extern IntPtr switch_caller_profile_caller_extension_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_caller_extension_get___")] + public static extern global::System.IntPtr switch_caller_profile_caller_extension_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_pool_set")] - public static extern void switch_caller_profile_pool_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_pool_set___")] + public static extern void switch_caller_profile_pool_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_pool_get")] - public static extern IntPtr switch_caller_profile_pool_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_pool_get___")] + public static extern global::System.IntPtr switch_caller_profile_pool_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_next_set")] - public static extern void switch_caller_profile_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_next_set___")] + public static extern void switch_caller_profile_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_next_get")] - public static extern IntPtr switch_caller_profile_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_next_get___")] + public static extern global::System.IntPtr switch_caller_profile_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_direction_set")] - public static extern void switch_caller_profile_direction_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_direction_set___")] + public static extern void switch_caller_profile_direction_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_direction_get")] - public static extern int switch_caller_profile_direction_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_direction_get___")] + public static extern int switch_caller_profile_direction_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_logical_direction_set")] - public static extern void switch_caller_profile_logical_direction_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_logical_direction_set___")] + public static extern void switch_caller_profile_logical_direction_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_logical_direction_get")] - public static extern int switch_caller_profile_logical_direction_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_logical_direction_get___")] + public static extern int switch_caller_profile_logical_direction_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_soft_set")] - public static extern void switch_caller_profile_soft_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_soft_set___")] + public static extern void switch_caller_profile_soft_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_soft_get")] - public static extern IntPtr switch_caller_profile_soft_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_soft_get___")] + public static extern global::System.IntPtr switch_caller_profile_soft_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_uuid_str_set")] - public static extern void switch_caller_profile_uuid_str_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_uuid_str_set___")] + public static extern void switch_caller_profile_uuid_str_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_uuid_str_get")] - public static extern string switch_caller_profile_uuid_str_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_uuid_str_get___")] + public static extern string switch_caller_profile_uuid_str_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_clone_of_set")] - public static extern void switch_caller_profile_clone_of_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_clone_of_set___")] + public static extern void switch_caller_profile_clone_of_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_clone_of_get")] - public static extern string switch_caller_profile_clone_of_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_clone_of_get___")] + public static extern string switch_caller_profile_clone_of_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_transfer_source_set")] - public static extern void switch_caller_profile_transfer_source_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_transfer_source_set___")] + public static extern void switch_caller_profile_transfer_source_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_transfer_source_get")] - public static extern string switch_caller_profile_transfer_source_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_transfer_source_get___")] + public static extern string switch_caller_profile_transfer_source_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_caller_profile")] - public static extern IntPtr new_switch_caller_profile(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_caller_profile___")] + public static extern global::System.IntPtr new_switch_caller_profile(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_caller_profile")] - public static extern void delete_switch_caller_profile(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_caller_profile___")] + public static extern void delete_switch_caller_profile(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_application_name_set")] - public static extern void switch_caller_application_application_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_application_application_name_set___")] + public static extern void switch_caller_application_application_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_application_name_get")] - public static extern string switch_caller_application_application_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_application_application_name_get___")] + public static extern string switch_caller_application_application_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_application_data_set")] - public static extern void switch_caller_application_application_data_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_application_application_data_set___")] + public static extern void switch_caller_application_application_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_application_data_get")] - public static extern string switch_caller_application_application_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_application_application_data_get___")] + public static extern string switch_caller_application_application_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_application_function_set")] - public static extern void switch_caller_application_application_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_application_application_function_set___")] + public static extern void switch_caller_application_application_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_application_function_get")] - public static extern IntPtr switch_caller_application_application_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_application_application_function_get___")] + public static extern global::System.IntPtr switch_caller_application_application_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_next_set")] - public static extern void switch_caller_application_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_application_next_set___")] + public static extern void switch_caller_application_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_application_next_get")] - public static extern IntPtr switch_caller_application_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_application_next_get___")] + public static extern global::System.IntPtr switch_caller_application_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_caller_application")] - public static extern IntPtr new_switch_caller_application(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_caller_application___")] + public static extern global::System.IntPtr new_switch_caller_application(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_caller_application")] - public static extern void delete_switch_caller_application(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_caller_application___")] + public static extern void delete_switch_caller_application(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_extension_name_set")] - public static extern void switch_caller_extension_extension_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_extension_name_set___")] + public static extern void switch_caller_extension_extension_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_extension_name_get")] - public static extern string switch_caller_extension_extension_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_extension_name_get___")] + public static extern string switch_caller_extension_extension_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_extension_number_set")] - public static extern void switch_caller_extension_extension_number_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_extension_number_set___")] + public static extern void switch_caller_extension_extension_number_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_extension_number_get")] - public static extern string switch_caller_extension_extension_number_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_extension_number_get___")] + public static extern string switch_caller_extension_extension_number_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_current_application_set")] - public static extern void switch_caller_extension_current_application_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_current_application_set___")] + public static extern void switch_caller_extension_current_application_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_current_application_get")] - public static extern IntPtr switch_caller_extension_current_application_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_current_application_get___")] + public static extern global::System.IntPtr switch_caller_extension_current_application_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_last_application_set")] - public static extern void switch_caller_extension_last_application_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_last_application_set___")] + public static extern void switch_caller_extension_last_application_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_last_application_get")] - public static extern IntPtr switch_caller_extension_last_application_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_last_application_get___")] + public static extern global::System.IntPtr switch_caller_extension_last_application_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_applications_set")] - public static extern void switch_caller_extension_applications_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_applications_set___")] + public static extern void switch_caller_extension_applications_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_applications_get")] - public static extern IntPtr switch_caller_extension_applications_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_applications_get___")] + public static extern global::System.IntPtr switch_caller_extension_applications_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_children_set")] - public static extern void switch_caller_extension_children_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_children_set___")] + public static extern void switch_caller_extension_children_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_children_get")] - public static extern IntPtr switch_caller_extension_children_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_children_get___")] + public static extern global::System.IntPtr switch_caller_extension_children_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_next_set")] - public static extern void switch_caller_extension_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_next_set___")] + public static extern void switch_caller_extension_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_next_get")] - public static extern IntPtr switch_caller_extension_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_next_get___")] + public static extern global::System.IntPtr switch_caller_extension_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_caller_extension")] - public static extern IntPtr new_switch_caller_extension(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_caller_extension___")] + public static extern global::System.IntPtr new_switch_caller_extension(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_caller_extension")] - public static extern void delete_switch_caller_extension(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_caller_extension___")] + public static extern void delete_switch_caller_extension(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_new")] - public static extern IntPtr switch_caller_extension_new(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_new___")] + public static extern global::System.IntPtr switch_caller_extension_new(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_clone")] - public static extern int switch_caller_extension_clone(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_clone___")] + public static extern int switch_caller_extension_clone(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_add_application")] - public static extern void switch_caller_extension_add_application(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_add_application___")] + public static extern void switch_caller_extension_add_application(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_extension_add_application_printf")] - public static extern void switch_caller_extension_add_application_printf(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_extension_add_application_printf___")] + public static extern void switch_caller_extension_add_application_printf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_get_field_by_name")] - public static extern string switch_caller_get_field_by_name(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_get_field_by_name___")] + public static extern string switch_caller_get_field_by_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_new")] - public static extern IntPtr switch_caller_profile_new(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, string jarg11, string jarg12); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_new___")] + public static extern global::System.IntPtr switch_caller_profile_new(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, string jarg11, string jarg12); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_clone")] - public static extern IntPtr switch_caller_profile_clone(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_clone___")] + public static extern global::System.IntPtr switch_caller_profile_clone(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_dup")] - public static extern IntPtr switch_caller_profile_dup(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_dup___")] + public static extern global::System.IntPtr switch_caller_profile_dup(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_caller_profile_event_set_data")] - public static extern void switch_caller_profile_event_set_data(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_caller_profile_event_set_data___")] + public static extern void switch_caller_profile_event_set_data(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_w_set")] - public static extern void switch_frame_geometry_t_w_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_w_set___")] + public static extern void switch_frame_geometry_t_w_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_w_get")] - public static extern int switch_frame_geometry_t_w_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_w_get___")] + public static extern int switch_frame_geometry_t_w_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_h_set")] - public static extern void switch_frame_geometry_t_h_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_h_set___")] + public static extern void switch_frame_geometry_t_h_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_h_get")] - public static extern int switch_frame_geometry_t_h_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_h_get___")] + public static extern int switch_frame_geometry_t_h_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_x_set")] - public static extern void switch_frame_geometry_t_x_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_x_set___")] + public static extern void switch_frame_geometry_t_x_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_x_get")] - public static extern int switch_frame_geometry_t_x_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_x_get___")] + public static extern int switch_frame_geometry_t_x_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_y_set")] - public static extern void switch_frame_geometry_t_y_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_y_set___")] + public static extern void switch_frame_geometry_t_y_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_y_get")] - public static extern int switch_frame_geometry_t_y_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_y_get___")] + public static extern int switch_frame_geometry_t_y_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_z_set")] - public static extern void switch_frame_geometry_t_z_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_z_set___")] + public static extern void switch_frame_geometry_t_z_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_z_get")] - public static extern int switch_frame_geometry_t_z_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_z_get___")] + public static extern int switch_frame_geometry_t_z_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_M_set")] - public static extern void switch_frame_geometry_t_M_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_M_set___")] + public static extern void switch_frame_geometry_t_M_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_M_get")] - public static extern int switch_frame_geometry_t_M_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_M_get___")] + public static extern int switch_frame_geometry_t_M_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_X_set")] - public static extern void switch_frame_geometry_t_X_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_X_set___")] + public static extern void switch_frame_geometry_t_X_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_t_X_get")] - public static extern int switch_frame_geometry_t_X_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_t_X_get___")] + public static extern int switch_frame_geometry_t_X_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_frame_geometry_t")] - public static extern IntPtr new_switch_frame_geometry_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_frame_geometry_t___")] + public static extern global::System.IntPtr new_switch_frame_geometry_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_frame_geometry_t")] - public static extern void delete_switch_frame_geometry_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_frame_geometry_t___")] + public static extern void delete_switch_frame_geometry_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_codec_set")] - public static extern void switch_frame_codec_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_codec_set___")] + public static extern void switch_frame_codec_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_codec_get")] - public static extern IntPtr switch_frame_codec_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_codec_get___")] + public static extern global::System.IntPtr switch_frame_codec_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_source_set")] - public static extern void switch_frame_source_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_source_set___")] + public static extern void switch_frame_source_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_source_get")] - public static extern string switch_frame_source_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_source_get___")] + public static extern string switch_frame_source_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_packet_set")] - public static extern void switch_frame_packet_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_packet_set___")] + public static extern void switch_frame_packet_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_packet_get")] - public static extern IntPtr switch_frame_packet_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_packet_get___")] + public static extern global::System.IntPtr switch_frame_packet_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_packetlen_set")] - public static extern void switch_frame_packetlen_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_packetlen_set___")] + public static extern void switch_frame_packetlen_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_packetlen_get")] - public static extern uint switch_frame_packetlen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_packetlen_get___")] + public static extern uint switch_frame_packetlen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_extra_data_set")] - public static extern void switch_frame_extra_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_extra_data_set___")] + public static extern void switch_frame_extra_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_extra_data_get")] - public static extern IntPtr switch_frame_extra_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_extra_data_get___")] + public static extern global::System.IntPtr switch_frame_extra_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_data_set")] - public static extern void switch_frame_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_data_set___")] + public static extern void switch_frame_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_data_get")] - public static extern IntPtr switch_frame_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_data_get___")] + public static extern global::System.IntPtr switch_frame_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_datalen_set")] - public static extern void switch_frame_datalen_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_datalen_set___")] + public static extern void switch_frame_datalen_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_datalen_get")] - public static extern uint switch_frame_datalen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_datalen_get___")] + public static extern uint switch_frame_datalen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buflen_set")] - public static extern void switch_frame_buflen_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_buflen_set___")] + public static extern void switch_frame_buflen_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_buflen_get")] - public static extern uint switch_frame_buflen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_buflen_get___")] + public static extern uint switch_frame_buflen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_samples_set")] - public static extern void switch_frame_samples_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_samples_set___")] + public static extern void switch_frame_samples_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_samples_get")] - public static extern uint switch_frame_samples_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_samples_get___")] + public static extern uint switch_frame_samples_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_rate_set")] - public static extern void switch_frame_rate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_rate_set___")] + public static extern void switch_frame_rate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_rate_get")] - public static extern uint switch_frame_rate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_rate_get___")] + public static extern uint switch_frame_rate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_channels_set")] - public static extern void switch_frame_channels_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_channels_set___")] + public static extern void switch_frame_channels_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_channels_get")] - public static extern uint switch_frame_channels_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_channels_get___")] + public static extern uint switch_frame_channels_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_payload_set")] - public static extern void switch_frame_payload_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_payload_set___")] + public static extern void switch_frame_payload_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_payload_get")] - public static extern byte switch_frame_payload_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_payload_get___")] + public static extern byte switch_frame_payload_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_timestamp_set")] - public static extern void switch_frame_timestamp_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_timestamp_set___")] + public static extern void switch_frame_timestamp_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_timestamp_get")] - public static extern uint switch_frame_timestamp_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_timestamp_get___")] + public static extern uint switch_frame_timestamp_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_seq_set")] - public static extern void switch_frame_seq_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_seq_set___")] + public static extern void switch_frame_seq_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_seq_get")] - public static extern ushort switch_frame_seq_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_seq_get___")] + public static extern ushort switch_frame_seq_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_ssrc_set")] - public static extern void switch_frame_ssrc_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_ssrc_set___")] + public static extern void switch_frame_ssrc_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_ssrc_get")] - public static extern uint switch_frame_ssrc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_ssrc_get___")] + public static extern uint switch_frame_ssrc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_m_set")] - public static extern void switch_frame_m_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_m_set___")] + public static extern void switch_frame_m_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_m_get")] - public static extern int switch_frame_m_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_m_get___")] + public static extern int switch_frame_m_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_flags_set")] - public static extern void switch_frame_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_flags_set___")] + public static extern void switch_frame_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_flags_get")] - public static extern uint switch_frame_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_flags_get___")] + public static extern uint switch_frame_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_user_data_set")] - public static extern void switch_frame_user_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_user_data_set___")] + public static extern void switch_frame_user_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_user_data_get")] - public static extern IntPtr switch_frame_user_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_user_data_get___")] + public static extern global::System.IntPtr switch_frame_user_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_pmap_set")] - public static extern void switch_frame_pmap_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_pmap_set___")] + public static extern void switch_frame_pmap_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_pmap_get")] - public static extern IntPtr switch_frame_pmap_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_pmap_get___")] + public static extern global::System.IntPtr switch_frame_pmap_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_img_set")] - public static extern void switch_frame_img_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_img_set___")] + public static extern void switch_frame_img_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_img_get")] - public static extern IntPtr switch_frame_img_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_img_get___")] + public static extern global::System.IntPtr switch_frame_img_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_set")] - public static extern void switch_frame_geometry_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_set___")] + public static extern void switch_frame_geometry_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_geometry_get")] - public static extern IntPtr switch_frame_geometry_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_frame_geometry_get___")] + public static extern global::System.IntPtr switch_frame_geometry_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_frame")] - public static extern IntPtr new_switch_frame(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_frame___")] + public static extern global::System.IntPtr new_switch_frame(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_frame")] - public static extern void delete_switch_frame(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_frame___")] + public static extern void delete_switch_frame(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_init_set")] - public static extern void switch_state_handler_table_on_init_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_init_set___")] + public static extern void switch_state_handler_table_on_init_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_init_get")] - public static extern IntPtr switch_state_handler_table_on_init_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_init_get___")] + public static extern global::System.IntPtr switch_state_handler_table_on_init_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_routing_set")] - public static extern void switch_state_handler_table_on_routing_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_routing_set___")] + public static extern void switch_state_handler_table_on_routing_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_routing_get")] - public static extern IntPtr switch_state_handler_table_on_routing_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_routing_get___")] + public static extern global::System.IntPtr switch_state_handler_table_on_routing_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_execute_set")] - public static extern void switch_state_handler_table_on_execute_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_execute_set___")] + public static extern void switch_state_handler_table_on_execute_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_execute_get")] - public static extern IntPtr switch_state_handler_table_on_execute_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_execute_get___")] + public static extern global::System.IntPtr switch_state_handler_table_on_execute_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_hangup_set")] - public static extern void switch_state_handler_table_on_hangup_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_hangup_set___")] + public static extern void switch_state_handler_table_on_hangup_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_hangup_get")] - public static extern IntPtr switch_state_handler_table_on_hangup_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_hangup_get___")] + public static extern global::System.IntPtr switch_state_handler_table_on_hangup_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_exchange_media_set")] - public static extern void switch_state_handler_table_on_exchange_media_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_exchange_media_set___")] + public static extern void switch_state_handler_table_on_exchange_media_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_exchange_media_get")] - public static extern IntPtr switch_state_handler_table_on_exchange_media_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_exchange_media_get___")] + public static extern global::System.IntPtr switch_state_handler_table_on_exchange_media_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_soft_execute_set")] - public static extern void switch_state_handler_table_on_soft_execute_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_soft_execute_set___")] + public static extern void switch_state_handler_table_on_soft_execute_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_soft_execute_get")] - public static extern IntPtr switch_state_handler_table_on_soft_execute_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_soft_execute_get___")] + public static extern global::System.IntPtr switch_state_handler_table_on_soft_execute_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_consume_media_set")] - public static extern void switch_state_handler_table_on_consume_media_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_consume_media_set___")] + public static extern void switch_state_handler_table_on_consume_media_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_consume_media_get")] - public static extern IntPtr switch_state_handler_table_on_consume_media_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_consume_media_get___")] + public static extern global::System.IntPtr switch_state_handler_table_on_consume_media_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_hibernate_set")] - public static extern void switch_state_handler_table_on_hibernate_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_hibernate_set___")] + public static extern void switch_state_handler_table_on_hibernate_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_hibernate_get")] - public static extern IntPtr switch_state_handler_table_on_hibernate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_hibernate_get___")] + public static extern global::System.IntPtr switch_state_handler_table_on_hibernate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_reset_set")] - public static extern void switch_state_handler_table_on_reset_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_reset_set___")] + public static extern void switch_state_handler_table_on_reset_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_reset_get")] - public static extern IntPtr switch_state_handler_table_on_reset_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_reset_get___")] + public static extern global::System.IntPtr switch_state_handler_table_on_reset_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_park_set")] - public static extern void switch_state_handler_table_on_park_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_park_set___")] + public static extern void switch_state_handler_table_on_park_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_park_get")] - public static extern IntPtr switch_state_handler_table_on_park_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_park_get___")] + public static extern global::System.IntPtr switch_state_handler_table_on_park_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_reporting_set")] - public static extern void switch_state_handler_table_on_reporting_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_reporting_set___")] + public static extern void switch_state_handler_table_on_reporting_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_reporting_get")] - public static extern IntPtr switch_state_handler_table_on_reporting_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_reporting_get___")] + public static extern global::System.IntPtr switch_state_handler_table_on_reporting_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_destroy_set")] - public static extern void switch_state_handler_table_on_destroy_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_destroy_set___")] + public static extern void switch_state_handler_table_on_destroy_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_on_destroy_get")] - public static extern IntPtr switch_state_handler_table_on_destroy_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_on_destroy_get___")] + public static extern global::System.IntPtr switch_state_handler_table_on_destroy_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_flags_set")] - public static extern void switch_state_handler_table_flags_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_flags_set___")] + public static extern void switch_state_handler_table_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_flags_get")] - public static extern int switch_state_handler_table_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_flags_get___")] + public static extern int switch_state_handler_table_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_padding_set")] - public static extern void switch_state_handler_table_padding_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_padding_set___")] + public static extern void switch_state_handler_table_padding_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_state_handler_table_padding_get")] - public static extern IntPtr switch_state_handler_table_padding_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_state_handler_table_padding_get___")] + public static extern global::System.IntPtr switch_state_handler_table_padding_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_state_handler_table")] - public static extern IntPtr new_switch_state_handler_table(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_state_handler_table___")] + public static extern global::System.IntPtr new_switch_state_handler_table(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_state_handler_table")] - public static extern void delete_switch_state_handler_table(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_state_handler_table___")] + public static extern void delete_switch_state_handler_table(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_read_function_set")] - public static extern void switch_stream_handle_read_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_read_function_set___")] + public static extern void switch_stream_handle_read_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_read_function_get")] - public static extern IntPtr switch_stream_handle_read_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_read_function_get___")] + public static extern global::System.IntPtr switch_stream_handle_read_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_write_function_set")] - public static extern void switch_stream_handle_write_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_write_function_set___")] + public static extern void switch_stream_handle_write_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_write_function_get")] - public static extern IntPtr switch_stream_handle_write_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_write_function_get___")] + public static extern global::System.IntPtr switch_stream_handle_write_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_raw_write_function_set")] - public static extern void switch_stream_handle_raw_write_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_raw_write_function_set___")] + public static extern void switch_stream_handle_raw_write_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_raw_write_function_get")] - public static extern IntPtr switch_stream_handle_raw_write_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_raw_write_function_get___")] + public static extern global::System.IntPtr switch_stream_handle_raw_write_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_data_set")] - public static extern void switch_stream_handle_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_data_set___")] + public static extern void switch_stream_handle_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_data_get")] - public static extern IntPtr switch_stream_handle_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_data_get___")] + public static extern global::System.IntPtr switch_stream_handle_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_end_set")] - public static extern void switch_stream_handle_end_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_end_set___")] + public static extern void switch_stream_handle_end_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_end_get")] - public static extern IntPtr switch_stream_handle_end_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_end_get___")] + public static extern global::System.IntPtr switch_stream_handle_end_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_data_size_set")] - public static extern void switch_stream_handle_data_size_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_data_size_set___")] + public static extern void switch_stream_handle_data_size_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_data_size_get")] - public static extern IntPtr switch_stream_handle_data_size_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_data_size_get___")] + public static extern global::System.IntPtr switch_stream_handle_data_size_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_data_len_set")] - public static extern void switch_stream_handle_data_len_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_data_len_set___")] + public static extern void switch_stream_handle_data_len_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_data_len_get")] - public static extern IntPtr switch_stream_handle_data_len_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_data_len_get___")] + public static extern global::System.IntPtr switch_stream_handle_data_len_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_alloc_len_set")] - public static extern void switch_stream_handle_alloc_len_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_alloc_len_set___")] + public static extern void switch_stream_handle_alloc_len_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_alloc_len_get")] - public static extern IntPtr switch_stream_handle_alloc_len_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_alloc_len_get___")] + public static extern global::System.IntPtr switch_stream_handle_alloc_len_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_alloc_chunk_set")] - public static extern void switch_stream_handle_alloc_chunk_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_alloc_chunk_set___")] + public static extern void switch_stream_handle_alloc_chunk_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_alloc_chunk_get")] - public static extern IntPtr switch_stream_handle_alloc_chunk_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_alloc_chunk_get___")] + public static extern global::System.IntPtr switch_stream_handle_alloc_chunk_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_param_event_set")] - public static extern void switch_stream_handle_param_event_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_param_event_set___")] + public static extern void switch_stream_handle_param_event_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_stream_handle_param_event_get")] - public static extern IntPtr switch_stream_handle_param_event_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_stream_handle_param_event_get___")] + public static extern global::System.IntPtr switch_stream_handle_param_event_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_stream_handle")] - public static extern IntPtr new_switch_stream_handle(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_stream_handle___")] + public static extern global::System.IntPtr new_switch_stream_handle(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_stream_handle")] - public static extern void delete_switch_stream_handle(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_stream_handle___")] + public static extern void delete_switch_stream_handle(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_outgoing_channel_set")] - public static extern void switch_io_routines_outgoing_channel_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_outgoing_channel_set___")] + public static extern void switch_io_routines_outgoing_channel_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_outgoing_channel_get")] - public static extern IntPtr switch_io_routines_outgoing_channel_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_outgoing_channel_get___")] + public static extern global::System.IntPtr switch_io_routines_outgoing_channel_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_read_frame_set")] - public static extern void switch_io_routines_read_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_read_frame_set___")] + public static extern void switch_io_routines_read_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_read_frame_get")] - public static extern IntPtr switch_io_routines_read_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_read_frame_get___")] + public static extern global::System.IntPtr switch_io_routines_read_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_write_frame_set")] - public static extern void switch_io_routines_write_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_write_frame_set___")] + public static extern void switch_io_routines_write_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_write_frame_get")] - public static extern IntPtr switch_io_routines_write_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_write_frame_get___")] + public static extern global::System.IntPtr switch_io_routines_write_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_kill_channel_set")] - public static extern void switch_io_routines_kill_channel_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_kill_channel_set___")] + public static extern void switch_io_routines_kill_channel_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_kill_channel_get")] - public static extern IntPtr switch_io_routines_kill_channel_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_kill_channel_get___")] + public static extern global::System.IntPtr switch_io_routines_kill_channel_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_send_dtmf_set")] - public static extern void switch_io_routines_send_dtmf_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_send_dtmf_set___")] + public static extern void switch_io_routines_send_dtmf_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_send_dtmf_get")] - public static extern IntPtr switch_io_routines_send_dtmf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_send_dtmf_get___")] + public static extern global::System.IntPtr switch_io_routines_send_dtmf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_receive_message_set")] - public static extern void switch_io_routines_receive_message_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_receive_message_set___")] + public static extern void switch_io_routines_receive_message_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_receive_message_get")] - public static extern IntPtr switch_io_routines_receive_message_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_receive_message_get___")] + public static extern global::System.IntPtr switch_io_routines_receive_message_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_receive_event_set")] - public static extern void switch_io_routines_receive_event_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_receive_event_set___")] + public static extern void switch_io_routines_receive_event_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_receive_event_get")] - public static extern IntPtr switch_io_routines_receive_event_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_receive_event_get___")] + public static extern global::System.IntPtr switch_io_routines_receive_event_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_change_set")] - public static extern void switch_io_routines_state_change_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_state_change_set___")] + public static extern void switch_io_routines_state_change_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_change_get")] - public static extern IntPtr switch_io_routines_state_change_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_state_change_get___")] + public static extern global::System.IntPtr switch_io_routines_state_change_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_read_video_frame_set")] - public static extern void switch_io_routines_read_video_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_read_video_frame_set___")] + public static extern void switch_io_routines_read_video_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_read_video_frame_get")] - public static extern IntPtr switch_io_routines_read_video_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_read_video_frame_get___")] + public static extern global::System.IntPtr switch_io_routines_read_video_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_write_video_frame_set")] - public static extern void switch_io_routines_write_video_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_write_video_frame_set___")] + public static extern void switch_io_routines_write_video_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_write_video_frame_get")] - public static extern IntPtr switch_io_routines_write_video_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_write_video_frame_get___")] + public static extern global::System.IntPtr switch_io_routines_write_video_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_read_text_frame_set")] - public static extern void switch_io_routines_read_text_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_read_text_frame_set___")] + public static extern void switch_io_routines_read_text_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_read_text_frame_get")] - public static extern IntPtr switch_io_routines_read_text_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_read_text_frame_get___")] + public static extern global::System.IntPtr switch_io_routines_read_text_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_write_text_frame_set")] - public static extern void switch_io_routines_write_text_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_write_text_frame_set___")] + public static extern void switch_io_routines_write_text_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_write_text_frame_get")] - public static extern IntPtr switch_io_routines_write_text_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_write_text_frame_get___")] + public static extern global::System.IntPtr switch_io_routines_write_text_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_run_set")] - public static extern void switch_io_routines_state_run_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_state_run_set___")] + public static extern void switch_io_routines_state_run_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_state_run_get")] - public static extern IntPtr switch_io_routines_state_run_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_state_run_get___")] + public static extern global::System.IntPtr switch_io_routines_state_run_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_get_jb_set")] - public static extern void switch_io_routines_get_jb_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_get_jb_set___")] + public static extern void switch_io_routines_get_jb_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_get_jb_get")] - public static extern IntPtr switch_io_routines_get_jb_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_get_jb_get___")] + public static extern global::System.IntPtr switch_io_routines_get_jb_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_padding_set")] - public static extern void switch_io_routines_padding_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_padding_set___")] + public static extern void switch_io_routines_padding_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_routines_padding_get")] - public static extern IntPtr switch_io_routines_padding_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_routines_padding_get___")] + public static extern global::System.IntPtr switch_io_routines_padding_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_routines")] - public static extern IntPtr new_switch_io_routines(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_routines___")] + public static extern global::System.IntPtr new_switch_io_routines(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_routines")] - public static extern void delete_switch_io_routines(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_routines___")] + public static extern void delete_switch_io_routines(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_interface_name_set")] - public static extern void switch_endpoint_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_interface_name_set___")] + public static extern void switch_endpoint_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_interface_name_get")] - public static extern string switch_endpoint_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_interface_name_get___")] + public static extern string switch_endpoint_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_io_routines_set")] - public static extern void switch_endpoint_interface_io_routines_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_io_routines_set___")] + public static extern void switch_endpoint_interface_io_routines_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_io_routines_get")] - public static extern IntPtr switch_endpoint_interface_io_routines_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_io_routines_get___")] + public static extern global::System.IntPtr switch_endpoint_interface_io_routines_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_state_handler_set")] - public static extern void switch_endpoint_interface_state_handler_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_state_handler_set___")] + public static extern void switch_endpoint_interface_state_handler_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_state_handler_get")] - public static extern IntPtr switch_endpoint_interface_state_handler_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_state_handler_get___")] + public static extern global::System.IntPtr switch_endpoint_interface_state_handler_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_private_info_set")] - public static extern void switch_endpoint_interface_private_info_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_private_info_set___")] + public static extern void switch_endpoint_interface_private_info_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_private_info_get")] - public static extern IntPtr switch_endpoint_interface_private_info_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_private_info_get___")] + public static extern global::System.IntPtr switch_endpoint_interface_private_info_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_rwlock_set")] - public static extern void switch_endpoint_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_rwlock_set___")] + public static extern void switch_endpoint_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_rwlock_get")] - public static extern IntPtr switch_endpoint_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_endpoint_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_refs_set")] - public static extern void switch_endpoint_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_refs_set___")] + public static extern void switch_endpoint_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_refs_get")] - public static extern int switch_endpoint_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_refs_get___")] + public static extern int switch_endpoint_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_reflock_set")] - public static extern void switch_endpoint_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_reflock_set___")] + public static extern void switch_endpoint_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_reflock_get")] - public static extern IntPtr switch_endpoint_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_reflock_get___")] + public static extern global::System.IntPtr switch_endpoint_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_parent_set")] - public static extern void switch_endpoint_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_parent_set___")] + public static extern void switch_endpoint_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_parent_get")] - public static extern IntPtr switch_endpoint_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_parent_get___")] + public static extern global::System.IntPtr switch_endpoint_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_next_set")] - public static extern void switch_endpoint_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_next_set___")] + public static extern void switch_endpoint_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_next_get")] - public static extern IntPtr switch_endpoint_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_next_get___")] + public static extern global::System.IntPtr switch_endpoint_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_recover_callback_set")] - public static extern void switch_endpoint_interface_recover_callback_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_recover_callback_set___")] + public static extern void switch_endpoint_interface_recover_callback_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_endpoint_interface_recover_callback_get")] - public static extern IntPtr switch_endpoint_interface_recover_callback_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_endpoint_interface_recover_callback_get___")] + public static extern global::System.IntPtr switch_endpoint_interface_recover_callback_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_endpoint_interface")] - public static extern IntPtr new_switch_endpoint_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_endpoint_interface___")] + public static extern global::System.IntPtr new_switch_endpoint_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_endpoint_interface")] - public static extern void delete_switch_endpoint_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_endpoint_interface___")] + public static extern void delete_switch_endpoint_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interval_set")] - public static extern void switch_timer_interval_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interval_set___")] + public static extern void switch_timer_interval_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interval_get")] - public static extern int switch_timer_interval_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interval_get___")] + public static extern int switch_timer_interval_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_flags_set")] - public static extern void switch_timer_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_flags_set___")] + public static extern void switch_timer_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_flags_get")] - public static extern uint switch_timer_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_flags_get___")] + public static extern uint switch_timer_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_samples_set")] - public static extern void switch_timer_samples_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_samples_set___")] + public static extern void switch_timer_samples_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_samples_get")] - public static extern uint switch_timer_samples_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_samples_get___")] + public static extern uint switch_timer_samples_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_samplecount_set")] - public static extern void switch_timer_samplecount_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_samplecount_set___")] + public static extern void switch_timer_samplecount_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_samplecount_get")] - public static extern uint switch_timer_samplecount_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_samplecount_get___")] + public static extern uint switch_timer_samplecount_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_last_samplecount_set")] - public static extern void switch_timer_last_samplecount_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_last_samplecount_set___")] + public static extern void switch_timer_last_samplecount_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_last_samplecount_get")] - public static extern uint switch_timer_last_samplecount_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_last_samplecount_get___")] + public static extern uint switch_timer_last_samplecount_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_timer_interface_set")] - public static extern void switch_timer_timer_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_timer_interface_set___")] + public static extern void switch_timer_timer_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_timer_interface_get")] - public static extern IntPtr switch_timer_timer_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_timer_interface_get___")] + public static extern global::System.IntPtr switch_timer_timer_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_memory_pool_set")] - public static extern void switch_timer_memory_pool_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_memory_pool_set___")] + public static extern void switch_timer_memory_pool_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_memory_pool_get")] - public static extern IntPtr switch_timer_memory_pool_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_memory_pool_get___")] + public static extern global::System.IntPtr switch_timer_memory_pool_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_private_info_set")] - public static extern void switch_timer_private_info_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_private_info_set___")] + public static extern void switch_timer_private_info_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_private_info_get")] - public static extern IntPtr switch_timer_private_info_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_private_info_get___")] + public static extern global::System.IntPtr switch_timer_private_info_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_diff_set")] - public static extern void switch_timer_diff_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_diff_set___")] + public static extern void switch_timer_diff_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_diff_get")] - public static extern IntPtr switch_timer_diff_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_diff_get___")] + public static extern global::System.IntPtr switch_timer_diff_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_start_set")] - public static extern void switch_timer_start_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_start_set___")] + public static extern void switch_timer_start_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_start_get")] - public static extern IntPtr switch_timer_start_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_start_get___")] + public static extern global::System.IntPtr switch_timer_start_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_tick_set")] - public static extern void switch_timer_tick_set(HandleRef jarg1, ulong jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_tick_set___")] + public static extern void switch_timer_tick_set(global::System.Runtime.InteropServices.HandleRef jarg1, ulong jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_tick_get")] - public static extern ulong switch_timer_tick_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_tick_get___")] + public static extern ulong switch_timer_tick_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_timer")] - public static extern IntPtr new_switch_timer(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_timer___")] + public static extern global::System.IntPtr new_switch_timer(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_timer")] - public static extern void delete_switch_timer(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_timer___")] + public static extern void delete_switch_timer(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_interface_name_set")] - public static extern void switch_timer_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_interface_name_set___")] + public static extern void switch_timer_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_interface_name_get")] - public static extern string switch_timer_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_interface_name_get___")] + public static extern string switch_timer_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_init_set")] - public static extern void switch_timer_interface_timer_init_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_timer_init_set___")] + public static extern void switch_timer_interface_timer_init_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_init_get")] - public static extern IntPtr switch_timer_interface_timer_init_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_timer_init_get___")] + public static extern global::System.IntPtr switch_timer_interface_timer_init_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_next_set")] - public static extern void switch_timer_interface_timer_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_timer_next_set___")] + public static extern void switch_timer_interface_timer_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_next_get")] - public static extern IntPtr switch_timer_interface_timer_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_timer_next_get___")] + public static extern global::System.IntPtr switch_timer_interface_timer_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_step_set")] - public static extern void switch_timer_interface_timer_step_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_timer_step_set___")] + public static extern void switch_timer_interface_timer_step_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_step_get")] - public static extern IntPtr switch_timer_interface_timer_step_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_timer_step_get___")] + public static extern global::System.IntPtr switch_timer_interface_timer_step_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_sync_set")] - public static extern void switch_timer_interface_timer_sync_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_timer_sync_set___")] + public static extern void switch_timer_interface_timer_sync_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_sync_get")] - public static extern IntPtr switch_timer_interface_timer_sync_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_timer_sync_get___")] + public static extern global::System.IntPtr switch_timer_interface_timer_sync_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_check_set")] - public static extern void switch_timer_interface_timer_check_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_timer_check_set___")] + public static extern void switch_timer_interface_timer_check_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_check_get")] - public static extern IntPtr switch_timer_interface_timer_check_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_timer_check_get___")] + public static extern global::System.IntPtr switch_timer_interface_timer_check_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_destroy_set")] - public static extern void switch_timer_interface_timer_destroy_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_timer_destroy_set___")] + public static extern void switch_timer_interface_timer_destroy_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_timer_destroy_get")] - public static extern IntPtr switch_timer_interface_timer_destroy_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_timer_destroy_get___")] + public static extern global::System.IntPtr switch_timer_interface_timer_destroy_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_rwlock_set")] - public static extern void switch_timer_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_rwlock_set___")] + public static extern void switch_timer_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_rwlock_get")] - public static extern IntPtr switch_timer_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_timer_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_refs_set")] - public static extern void switch_timer_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_refs_set___")] + public static extern void switch_timer_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_refs_get")] - public static extern int switch_timer_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_refs_get___")] + public static extern int switch_timer_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_reflock_set")] - public static extern void switch_timer_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_reflock_set___")] + public static extern void switch_timer_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_reflock_get")] - public static extern IntPtr switch_timer_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_reflock_get___")] + public static extern global::System.IntPtr switch_timer_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_parent_set")] - public static extern void switch_timer_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_parent_set___")] + public static extern void switch_timer_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_parent_get")] - public static extern IntPtr switch_timer_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_parent_get___")] + public static extern global::System.IntPtr switch_timer_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_next_set")] - public static extern void switch_timer_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_next_set___")] + public static extern void switch_timer_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_timer_interface_next_get")] - public static extern IntPtr switch_timer_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_timer_interface_next_get___")] + public static extern global::System.IntPtr switch_timer_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_timer_interface")] - public static extern IntPtr new_switch_timer_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_timer_interface___")] + public static extern global::System.IntPtr new_switch_timer_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_timer_interface")] - public static extern void delete_switch_timer_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_timer_interface___")] + public static extern void delete_switch_timer_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_interface_name_set")] - public static extern void switch_dialplan_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_interface_name_set___")] + public static extern void switch_dialplan_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_interface_name_get")] - public static extern string switch_dialplan_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_interface_name_get___")] + public static extern string switch_dialplan_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_hunt_function_set")] - public static extern void switch_dialplan_interface_hunt_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_hunt_function_set___")] + public static extern void switch_dialplan_interface_hunt_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_hunt_function_get")] - public static extern IntPtr switch_dialplan_interface_hunt_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_hunt_function_get___")] + public static extern global::System.IntPtr switch_dialplan_interface_hunt_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_rwlock_set")] - public static extern void switch_dialplan_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_rwlock_set___")] + public static extern void switch_dialplan_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_rwlock_get")] - public static extern IntPtr switch_dialplan_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_dialplan_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_refs_set")] - public static extern void switch_dialplan_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_refs_set___")] + public static extern void switch_dialplan_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_refs_get")] - public static extern int switch_dialplan_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_refs_get___")] + public static extern int switch_dialplan_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_reflock_set")] - public static extern void switch_dialplan_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_reflock_set___")] + public static extern void switch_dialplan_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_reflock_get")] - public static extern IntPtr switch_dialplan_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_reflock_get___")] + public static extern global::System.IntPtr switch_dialplan_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_parent_set")] - public static extern void switch_dialplan_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_parent_set___")] + public static extern void switch_dialplan_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_parent_get")] - public static extern IntPtr switch_dialplan_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_parent_get___")] + public static extern global::System.IntPtr switch_dialplan_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_next_set")] - public static extern void switch_dialplan_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_next_set___")] + public static extern void switch_dialplan_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_dialplan_interface_next_get")] - public static extern IntPtr switch_dialplan_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dialplan_interface_next_get___")] + public static extern global::System.IntPtr switch_dialplan_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_dialplan_interface")] - public static extern IntPtr new_switch_dialplan_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_dialplan_interface___")] + public static extern global::System.IntPtr new_switch_dialplan_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_dialplan_interface")] - public static extern void delete_switch_dialplan_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_dialplan_interface___")] + public static extern void delete_switch_dialplan_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_interface_name_set")] - public static extern void switch_file_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_interface_name_set___")] + public static extern void switch_file_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_interface_name_get")] - public static extern string switch_file_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_interface_name_get___")] + public static extern string switch_file_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_open_set")] - public static extern void switch_file_interface_file_open_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_open_set___")] + public static extern void switch_file_interface_file_open_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_open_get")] - public static extern IntPtr switch_file_interface_file_open_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_open_get___")] + public static extern global::System.IntPtr switch_file_interface_file_open_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_close_set")] - public static extern void switch_file_interface_file_close_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_close_set___")] + public static extern void switch_file_interface_file_close_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_close_get")] - public static extern IntPtr switch_file_interface_file_close_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_close_get___")] + public static extern global::System.IntPtr switch_file_interface_file_close_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_truncate_set")] - public static extern void switch_file_interface_file_truncate_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_truncate_set___")] + public static extern void switch_file_interface_file_truncate_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_truncate_get")] - public static extern IntPtr switch_file_interface_file_truncate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_truncate_get___")] + public static extern global::System.IntPtr switch_file_interface_file_truncate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_read_set")] - public static extern void switch_file_interface_file_read_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_read_set___")] + public static extern void switch_file_interface_file_read_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_read_get")] - public static extern IntPtr switch_file_interface_file_read_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_read_get___")] + public static extern global::System.IntPtr switch_file_interface_file_read_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_write_set")] - public static extern void switch_file_interface_file_write_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_write_set___")] + public static extern void switch_file_interface_file_write_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_write_get")] - public static extern IntPtr switch_file_interface_file_write_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_write_get___")] + public static extern global::System.IntPtr switch_file_interface_file_write_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_read_video_set")] - public static extern void switch_file_interface_file_read_video_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_read_video_set___")] + public static extern void switch_file_interface_file_read_video_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_read_video_get")] - public static extern IntPtr switch_file_interface_file_read_video_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_read_video_get___")] + public static extern global::System.IntPtr switch_file_interface_file_read_video_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_write_video_set")] - public static extern void switch_file_interface_file_write_video_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_write_video_set___")] + public static extern void switch_file_interface_file_write_video_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_write_video_get")] - public static extern IntPtr switch_file_interface_file_write_video_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_write_video_get___")] + public static extern global::System.IntPtr switch_file_interface_file_write_video_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_seek_set")] - public static extern void switch_file_interface_file_seek_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_seek_set___")] + public static extern void switch_file_interface_file_seek_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_seek_get")] - public static extern IntPtr switch_file_interface_file_seek_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_seek_get___")] + public static extern global::System.IntPtr switch_file_interface_file_seek_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_set_string_set")] - public static extern void switch_file_interface_file_set_string_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_set_string_set___")] + public static extern void switch_file_interface_file_set_string_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_set_string_get")] - public static extern IntPtr switch_file_interface_file_set_string_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_set_string_get___")] + public static extern global::System.IntPtr switch_file_interface_file_set_string_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_get_string_set")] - public static extern void switch_file_interface_file_get_string_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_get_string_set___")] + public static extern void switch_file_interface_file_get_string_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_get_string_get")] - public static extern IntPtr switch_file_interface_file_get_string_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_get_string_get___")] + public static extern global::System.IntPtr switch_file_interface_file_get_string_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_command_set")] - public static extern void switch_file_interface_file_command_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_pre_close_set___")] + public static extern void switch_file_interface_file_pre_close_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_file_command_get")] - public static extern IntPtr switch_file_interface_file_command_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_pre_close_get___")] + public static extern global::System.IntPtr switch_file_interface_file_pre_close_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_extens_set")] - public static extern void switch_file_interface_extens_set(HandleRef jarg1, ref string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_command_set___")] + public static extern void switch_file_interface_file_command_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_extens_get")] - public static extern string switch_file_interface_extens_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_file_command_get___")] + public static extern global::System.IntPtr switch_file_interface_file_command_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_rwlock_set")] - public static extern void switch_file_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_extens_set___")] + public static extern void switch_file_interface_extens_set(global::System.Runtime.InteropServices.HandleRef jarg1, ref string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_rwlock_get")] - public static extern IntPtr switch_file_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_extens_get___")] + public static extern string switch_file_interface_extens_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_refs_set")] - public static extern void switch_file_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_rwlock_set___")] + public static extern void switch_file_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_refs_get")] - public static extern int switch_file_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_file_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_reflock_set")] - public static extern void switch_file_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_refs_set___")] + public static extern void switch_file_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_reflock_get")] - public static extern IntPtr switch_file_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_refs_get___")] + public static extern int switch_file_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_parent_set")] - public static extern void switch_file_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_reflock_set___")] + public static extern void switch_file_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_parent_get")] - public static extern IntPtr switch_file_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_reflock_get___")] + public static extern global::System.IntPtr switch_file_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_next_set")] - public static extern void switch_file_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_parent_set___")] + public static extern void switch_file_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_interface_next_get")] - public static extern IntPtr switch_file_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_parent_get___")] + public static extern global::System.IntPtr switch_file_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_file_interface")] - public static extern IntPtr new_switch_file_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_next_set___")] + public static extern void switch_file_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_file_interface")] - public static extern void delete_switch_file_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_interface_next_get___")] + public static extern global::System.IntPtr switch_file_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_interface_set")] - public static extern void switch_file_handle_file_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_file_interface___")] + public static extern global::System.IntPtr new_switch_file_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_interface_get")] - public static extern IntPtr switch_file_handle_file_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_file_interface___")] + public static extern void delete_switch_file_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_flags_set")] - public static extern void switch_file_handle_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_file_interface_set___")] + public static extern void switch_file_handle_file_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_flags_get")] - public static extern uint switch_file_handle_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_file_interface_get___")] + public static extern global::System.IntPtr switch_file_handle_file_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_fd_set")] - public static extern void switch_file_handle_fd_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_flags_set___")] + public static extern void switch_file_handle_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_fd_get")] - public static extern IntPtr switch_file_handle_fd_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_flags_get___")] + public static extern uint switch_file_handle_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samples_set")] - public static extern void switch_file_handle_samples_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_fd_set___")] + public static extern void switch_file_handle_fd_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samples_get")] - public static extern uint switch_file_handle_samples_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_fd_get___")] + public static extern global::System.IntPtr switch_file_handle_fd_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samplerate_set")] - public static extern void switch_file_handle_samplerate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_samples_set___")] + public static extern void switch_file_handle_samples_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samplerate_get")] - public static extern uint switch_file_handle_samplerate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_samples_get___")] + public static extern uint switch_file_handle_samples_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_native_rate_set")] - public static extern void switch_file_handle_native_rate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_samplerate_set___")] + public static extern void switch_file_handle_samplerate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_native_rate_get")] - public static extern uint switch_file_handle_native_rate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_samplerate_get___")] + public static extern uint switch_file_handle_samplerate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_channels_set")] - public static extern void switch_file_handle_channels_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_native_rate_set___")] + public static extern void switch_file_handle_native_rate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_channels_get")] - public static extern uint switch_file_handle_channels_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_native_rate_get___")] + public static extern uint switch_file_handle_native_rate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_real_channels_set")] - public static extern void switch_file_handle_real_channels_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_channels_set___")] + public static extern void switch_file_handle_channels_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_real_channels_get")] - public static extern uint switch_file_handle_real_channels_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_channels_get___")] + public static extern uint switch_file_handle_channels_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_format_set")] - public static extern void switch_file_handle_format_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_real_channels_set___")] + public static extern void switch_file_handle_real_channels_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_format_get")] - public static extern uint switch_file_handle_format_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_real_channels_get___")] + public static extern uint switch_file_handle_real_channels_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_sections_set")] - public static extern void switch_file_handle_sections_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_format_set___")] + public static extern void switch_file_handle_format_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_sections_get")] - public static extern uint switch_file_handle_sections_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_format_get___")] + public static extern uint switch_file_handle_format_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_seekable_set")] - public static extern void switch_file_handle_seekable_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_sections_set___")] + public static extern void switch_file_handle_sections_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_seekable_get")] - public static extern int switch_file_handle_seekable_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_sections_get___")] + public static extern uint switch_file_handle_sections_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_sample_count_set")] - public static extern void switch_file_handle_sample_count_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_seekable_set___")] + public static extern void switch_file_handle_seekable_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_sample_count_get")] - public static extern IntPtr switch_file_handle_sample_count_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_seekable_get___")] + public static extern int switch_file_handle_seekable_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_speed_set")] - public static extern void switch_file_handle_speed_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_sample_count_set___")] + public static extern void switch_file_handle_sample_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_speed_get")] - public static extern int switch_file_handle_speed_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_sample_count_get___")] + public static extern global::System.IntPtr switch_file_handle_sample_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_memory_pool_set")] - public static extern void switch_file_handle_memory_pool_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_speed_set___")] + public static extern void switch_file_handle_speed_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_memory_pool_get")] - public static extern IntPtr switch_file_handle_memory_pool_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_speed_get___")] + public static extern int switch_file_handle_speed_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_prebuf_set")] - public static extern void switch_file_handle_prebuf_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_memory_pool_set___")] + public static extern void switch_file_handle_memory_pool_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_prebuf_get")] - public static extern uint switch_file_handle_prebuf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_memory_pool_get___")] + public static extern global::System.IntPtr switch_file_handle_memory_pool_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_interval_set")] - public static extern void switch_file_handle_interval_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_prebuf_set___")] + public static extern void switch_file_handle_prebuf_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_interval_get")] - public static extern uint switch_file_handle_interval_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_prebuf_get___")] + public static extern uint switch_file_handle_prebuf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_private_info_set")] - public static extern void switch_file_handle_private_info_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_interval_set___")] + public static extern void switch_file_handle_interval_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_private_info_get")] - public static extern IntPtr switch_file_handle_private_info_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_interval_get___")] + public static extern uint switch_file_handle_interval_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_handler_set")] - public static extern void switch_file_handle_handler_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_private_info_set___")] + public static extern void switch_file_handle_private_info_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_handler_get")] - public static extern string switch_file_handle_handler_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_private_info_get___")] + public static extern global::System.IntPtr switch_file_handle_private_info_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pos_set")] - public static extern void switch_file_handle_pos_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_handler_set___")] + public static extern void switch_file_handle_handler_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pos_get")] - public static extern long switch_file_handle_pos_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_handler_get___")] + public static extern string switch_file_handle_handler_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_audio_buffer_set")] - public static extern void switch_file_handle_audio_buffer_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_pos_set___")] + public static extern void switch_file_handle_pos_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_audio_buffer_get")] - public static extern IntPtr switch_file_handle_audio_buffer_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_pos_get___")] + public static extern long switch_file_handle_pos_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_sp_audio_buffer_set")] - public static extern void switch_file_handle_sp_audio_buffer_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_audio_buffer_set___")] + public static extern void switch_file_handle_audio_buffer_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_sp_audio_buffer_get")] - public static extern IntPtr switch_file_handle_sp_audio_buffer_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_audio_buffer_get___")] + public static extern global::System.IntPtr switch_file_handle_audio_buffer_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_thresh_set")] - public static extern void switch_file_handle_thresh_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_sp_audio_buffer_set___")] + public static extern void switch_file_handle_sp_audio_buffer_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_thresh_get")] - public static extern uint switch_file_handle_thresh_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_sp_audio_buffer_get___")] + public static extern global::System.IntPtr switch_file_handle_sp_audio_buffer_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_silence_hits_set")] - public static extern void switch_file_handle_silence_hits_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_thresh_set___")] + public static extern void switch_file_handle_thresh_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_silence_hits_get")] - public static extern uint switch_file_handle_silence_hits_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_thresh_get___")] + public static extern uint switch_file_handle_thresh_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_offset_pos_set")] - public static extern void switch_file_handle_offset_pos_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_silence_hits_set___")] + public static extern void switch_file_handle_silence_hits_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_offset_pos_get")] - public static extern uint switch_file_handle_offset_pos_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_silence_hits_get___")] + public static extern uint switch_file_handle_silence_hits_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samples_in_set")] - public static extern void switch_file_handle_samples_in_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_offset_pos_set___")] + public static extern void switch_file_handle_offset_pos_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samples_in_get")] - public static extern IntPtr switch_file_handle_samples_in_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_offset_pos_get___")] + public static extern uint switch_file_handle_offset_pos_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samples_out_set")] - public static extern void switch_file_handle_samples_out_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_samples_in_set___")] + public static extern void switch_file_handle_samples_in_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_samples_out_get")] - public static extern IntPtr switch_file_handle_samples_out_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_samples_in_get___")] + public static extern global::System.IntPtr switch_file_handle_samples_in_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_vol_set")] - public static extern void switch_file_handle_vol_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_samples_out_set___")] + public static extern void switch_file_handle_samples_out_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_vol_get")] - public static extern int switch_file_handle_vol_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_samples_out_get___")] + public static extern global::System.IntPtr switch_file_handle_samples_out_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_resampler_set")] - public static extern void switch_file_handle_resampler_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_vol_set___")] + public static extern void switch_file_handle_vol_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_resampler_get")] - public static extern IntPtr switch_file_handle_resampler_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_vol_get___")] + public static extern int switch_file_handle_vol_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_buffer_set")] - public static extern void switch_file_handle_buffer_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_resampler_set___")] + public static extern void switch_file_handle_resampler_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_buffer_get")] - public static extern IntPtr switch_file_handle_buffer_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_resampler_get___")] + public static extern global::System.IntPtr switch_file_handle_resampler_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_dbuf_set")] - public static extern void switch_file_handle_dbuf_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_buffer_set___")] + public static extern void switch_file_handle_buffer_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_dbuf_get")] - public static extern IntPtr switch_file_handle_dbuf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_buffer_get___")] + public static extern global::System.IntPtr switch_file_handle_buffer_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_dbuflen_set")] - public static extern void switch_file_handle_dbuflen_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_dbuf_set___")] + public static extern void switch_file_handle_dbuf_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_dbuflen_get")] - public static extern IntPtr switch_file_handle_dbuflen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_dbuf_get___")] + public static extern global::System.IntPtr switch_file_handle_dbuf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pre_buffer_set")] - public static extern void switch_file_handle_pre_buffer_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_dbuflen_set___")] + public static extern void switch_file_handle_dbuflen_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pre_buffer_get")] - public static extern IntPtr switch_file_handle_pre_buffer_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_dbuflen_get___")] + public static extern global::System.IntPtr switch_file_handle_dbuflen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pre_buffer_data_set")] - public static extern void switch_file_handle_pre_buffer_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_pre_buffer_set___")] + public static extern void switch_file_handle_pre_buffer_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pre_buffer_data_get")] - public static extern IntPtr switch_file_handle_pre_buffer_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_pre_buffer_get___")] + public static extern global::System.IntPtr switch_file_handle_pre_buffer_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pre_buffer_datalen_set")] - public static extern void switch_file_handle_pre_buffer_datalen_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_pre_buffer_data_set___")] + public static extern void switch_file_handle_pre_buffer_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_pre_buffer_datalen_get")] - public static extern IntPtr switch_file_handle_pre_buffer_datalen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_pre_buffer_data_get___")] + public static extern global::System.IntPtr switch_file_handle_pre_buffer_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_set")] - public static extern void switch_file_handle_file_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_pre_buffer_datalen_set___")] + public static extern void switch_file_handle_pre_buffer_datalen_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_get")] - public static extern string switch_file_handle_file_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_pre_buffer_datalen_get___")] + public static extern global::System.IntPtr switch_file_handle_pre_buffer_datalen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_func_set")] - public static extern void switch_file_handle_func_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_file_set___")] + public static extern void switch_file_handle_file_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_func_get")] - public static extern string switch_file_handle_func_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_file_get___")] + public static extern string switch_file_handle_file_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_line_set")] - public static extern void switch_file_handle_line_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_func_set___")] + public static extern void switch_file_handle_func_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_line_get")] - public static extern int switch_file_handle_line_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_func_get___")] + public static extern string switch_file_handle_func_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_path_set")] - public static extern void switch_file_handle_file_path_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_line_set___")] + public static extern void switch_file_handle_line_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_path_get")] - public static extern string switch_file_handle_file_path_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_line_get___")] + public static extern int switch_file_handle_line_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_spool_path_set")] - public static extern void switch_file_handle_spool_path_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_file_path_set___")] + public static extern void switch_file_handle_file_path_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_spool_path_get")] - public static extern string switch_file_handle_spool_path_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_file_path_get___")] + public static extern string switch_file_handle_file_path_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_prefix_set")] - public static extern void switch_file_handle_prefix_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_spool_path_set___")] + public static extern void switch_file_handle_spool_path_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_prefix_get")] - public static extern string switch_file_handle_prefix_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_spool_path_get___")] + public static extern string switch_file_handle_spool_path_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_max_samples_set")] - public static extern void switch_file_handle_max_samples_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_prefix_set___")] + public static extern void switch_file_handle_prefix_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_max_samples_get")] - public static extern int switch_file_handle_max_samples_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_prefix_get___")] + public static extern string switch_file_handle_prefix_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle__params_set")] - public static extern void switch_file_handle__params_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_max_samples_set___")] + public static extern void switch_file_handle_max_samples_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle__params_get")] - public static extern IntPtr switch_file_handle__params_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_max_samples_get___")] + public static extern int switch_file_handle_max_samples_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_cur_channels_set")] - public static extern void switch_file_handle_cur_channels_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle__params_set___")] + public static extern void switch_file_handle__params_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_cur_channels_get")] - public static extern uint switch_file_handle_cur_channels_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle__params_get___")] + public static extern global::System.IntPtr switch_file_handle__params_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_cur_samplerate_set")] - public static extern void switch_file_handle_cur_samplerate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_cur_channels_set___")] + public static extern void switch_file_handle_cur_channels_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_cur_samplerate_get")] - public static extern uint switch_file_handle_cur_samplerate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_cur_channels_get___")] + public static extern uint switch_file_handle_cur_channels_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_stream_name_set")] - public static extern void switch_file_handle_stream_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_cur_samplerate_set___")] + public static extern void switch_file_handle_cur_samplerate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_stream_name_get")] - public static extern string switch_file_handle_stream_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_cur_samplerate_get___")] + public static extern uint switch_file_handle_cur_samplerate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_modname_set")] - public static extern void switch_file_handle_modname_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_stream_name_set___")] + public static extern void switch_file_handle_stream_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_modname_get")] - public static extern string switch_file_handle_modname_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_stream_name_get___")] + public static extern string switch_file_handle_stream_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_mm_set")] - public static extern void switch_file_handle_mm_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_modname_set___")] + public static extern void switch_file_handle_modname_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_mm_get")] - public static extern IntPtr switch_file_handle_mm_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_modname_get___")] + public static extern string switch_file_handle_modname_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_flag_mutex_set")] - public static extern void switch_file_handle_flag_mutex_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_mm_set___")] + public static extern void switch_file_handle_mm_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_flag_mutex_get")] - public static extern IntPtr switch_file_handle_flag_mutex_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_mm_get___")] + public static extern global::System.IntPtr switch_file_handle_mm_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_duration_set")] - public static extern void switch_file_handle_duration_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_flag_mutex_set___")] + public static extern void switch_file_handle_flag_mutex_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_duration_get")] - public static extern long switch_file_handle_duration_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_flag_mutex_get___")] + public static extern global::System.IntPtr switch_file_handle_flag_mutex_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_vpos_set")] - public static extern void switch_file_handle_vpos_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_duration_set___")] + public static extern void switch_file_handle_duration_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_vpos_get")] - public static extern long switch_file_handle_vpos_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_duration_get___")] + public static extern long switch_file_handle_duration_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_muxbuf_set")] - public static extern void switch_file_handle_muxbuf_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_vpos_set___")] + public static extern void switch_file_handle_vpos_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_muxbuf_get")] - public static extern IntPtr switch_file_handle_muxbuf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_vpos_get___")] + public static extern long switch_file_handle_vpos_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_muxlen_set")] - public static extern void switch_file_handle_muxlen_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_muxbuf_set___")] + public static extern void switch_file_handle_muxbuf_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_muxlen_get")] - public static extern IntPtr switch_file_handle_muxlen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_muxbuf_get___")] + public static extern global::System.IntPtr switch_file_handle_muxbuf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_file_handle")] - public static extern IntPtr new_switch_file_handle(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_muxlen_set___")] + public static extern void switch_file_handle_muxlen_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_file_handle")] - public static extern void delete_switch_file_handle(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_muxlen_get___")] + public static extern global::System.IntPtr switch_file_handle_muxlen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_interface_name_set")] - public static extern void switch_asr_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_file_handle___")] + public static extern global::System.IntPtr new_switch_file_handle(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_interface_name_get")] - public static extern string switch_asr_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_file_handle___")] + public static extern void delete_switch_file_handle(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_open_set")] - public static extern void switch_asr_interface_asr_open_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_interface_name_set___")] + public static extern void switch_asr_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_open_get")] - public static extern IntPtr switch_asr_interface_asr_open_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_interface_name_get___")] + public static extern string switch_asr_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_load_grammar_set")] - public static extern void switch_asr_interface_asr_load_grammar_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_open_set___")] + public static extern void switch_asr_interface_asr_open_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_load_grammar_get")] - public static extern IntPtr switch_asr_interface_asr_load_grammar_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_open_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_open_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_unload_grammar_set")] - public static extern void switch_asr_interface_asr_unload_grammar_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_load_grammar_set___")] + public static extern void switch_asr_interface_asr_load_grammar_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_unload_grammar_get")] - public static extern IntPtr switch_asr_interface_asr_unload_grammar_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_load_grammar_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_load_grammar_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_close_set")] - public static extern void switch_asr_interface_asr_close_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_unload_grammar_set___")] + public static extern void switch_asr_interface_asr_unload_grammar_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_close_get")] - public static extern IntPtr switch_asr_interface_asr_close_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_unload_grammar_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_unload_grammar_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_feed_set")] - public static extern void switch_asr_interface_asr_feed_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_close_set___")] + public static extern void switch_asr_interface_asr_close_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_feed_get")] - public static extern IntPtr switch_asr_interface_asr_feed_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_close_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_close_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_resume_set")] - public static extern void switch_asr_interface_asr_resume_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_feed_set___")] + public static extern void switch_asr_interface_asr_feed_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_resume_get")] - public static extern IntPtr switch_asr_interface_asr_resume_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_feed_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_feed_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_pause_set")] - public static extern void switch_asr_interface_asr_pause_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_resume_set___")] + public static extern void switch_asr_interface_asr_resume_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_pause_get")] - public static extern IntPtr switch_asr_interface_asr_pause_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_resume_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_resume_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_check_results_set")] - public static extern void switch_asr_interface_asr_check_results_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_pause_set___")] + public static extern void switch_asr_interface_asr_pause_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_check_results_get")] - public static extern IntPtr switch_asr_interface_asr_check_results_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_pause_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_pause_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_get_results_set")] - public static extern void switch_asr_interface_asr_get_results_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_check_results_set___")] + public static extern void switch_asr_interface_asr_check_results_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_get_results_get")] - public static extern IntPtr switch_asr_interface_asr_get_results_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_check_results_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_check_results_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_get_result_headers_set")] - public static extern void switch_asr_interface_asr_get_result_headers_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_get_results_set___")] + public static extern void switch_asr_interface_asr_get_results_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_get_result_headers_get")] - public static extern IntPtr switch_asr_interface_asr_get_result_headers_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_get_results_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_get_results_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_start_input_timers_set")] - public static extern void switch_asr_interface_asr_start_input_timers_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_get_result_headers_set___")] + public static extern void switch_asr_interface_asr_get_result_headers_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_start_input_timers_get")] - public static extern IntPtr switch_asr_interface_asr_start_input_timers_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_get_result_headers_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_get_result_headers_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_text_param_set")] - public static extern void switch_asr_interface_asr_text_param_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_start_input_timers_set___")] + public static extern void switch_asr_interface_asr_start_input_timers_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_text_param_get")] - public static extern IntPtr switch_asr_interface_asr_text_param_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_start_input_timers_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_start_input_timers_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_numeric_param_set")] - public static extern void switch_asr_interface_asr_numeric_param_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_text_param_set___")] + public static extern void switch_asr_interface_asr_text_param_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_numeric_param_get")] - public static extern IntPtr switch_asr_interface_asr_numeric_param_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_text_param_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_text_param_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_float_param_set")] - public static extern void switch_asr_interface_asr_float_param_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_numeric_param_set___")] + public static extern void switch_asr_interface_asr_numeric_param_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_float_param_get")] - public static extern IntPtr switch_asr_interface_asr_float_param_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_numeric_param_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_numeric_param_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_rwlock_set")] - public static extern void switch_asr_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_float_param_set___")] + public static extern void switch_asr_interface_asr_float_param_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_rwlock_get")] - public static extern IntPtr switch_asr_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_float_param_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_float_param_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_refs_set")] - public static extern void switch_asr_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_rwlock_set___")] + public static extern void switch_asr_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_refs_get")] - public static extern int switch_asr_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_asr_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_reflock_set")] - public static extern void switch_asr_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_refs_set___")] + public static extern void switch_asr_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_reflock_get")] - public static extern IntPtr switch_asr_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_refs_get___")] + public static extern int switch_asr_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_parent_set")] - public static extern void switch_asr_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_reflock_set___")] + public static extern void switch_asr_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_parent_get")] - public static extern IntPtr switch_asr_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_reflock_get___")] + public static extern global::System.IntPtr switch_asr_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_next_set")] - public static extern void switch_asr_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_parent_set___")] + public static extern void switch_asr_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_next_get")] - public static extern IntPtr switch_asr_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_parent_get___")] + public static extern global::System.IntPtr switch_asr_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_enable_grammar_set")] - public static extern void switch_asr_interface_asr_enable_grammar_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_next_set___")] + public static extern void switch_asr_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_enable_grammar_get")] - public static extern IntPtr switch_asr_interface_asr_enable_grammar_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_next_get___")] + public static extern global::System.IntPtr switch_asr_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_disable_grammar_set")] - public static extern void switch_asr_interface_asr_disable_grammar_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_enable_grammar_set___")] + public static extern void switch_asr_interface_asr_enable_grammar_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_disable_grammar_get")] - public static extern IntPtr switch_asr_interface_asr_disable_grammar_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_enable_grammar_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_enable_grammar_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_disable_all_grammars_set")] - public static extern void switch_asr_interface_asr_disable_all_grammars_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_disable_grammar_set___")] + public static extern void switch_asr_interface_asr_disable_grammar_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_disable_all_grammars_get")] - public static extern IntPtr switch_asr_interface_asr_disable_all_grammars_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_disable_grammar_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_disable_grammar_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_feed_dtmf_set")] - public static extern void switch_asr_interface_asr_feed_dtmf_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_disable_all_grammars_set___")] + public static extern void switch_asr_interface_asr_disable_all_grammars_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_interface_asr_feed_dtmf_get")] - public static extern IntPtr switch_asr_interface_asr_feed_dtmf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_disable_all_grammars_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_disable_all_grammars_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_asr_interface")] - public static extern IntPtr new_switch_asr_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_feed_dtmf_set___")] + public static extern void switch_asr_interface_asr_feed_dtmf_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_asr_interface")] - public static extern void delete_switch_asr_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_interface_asr_feed_dtmf_get___")] + public static extern global::System.IntPtr switch_asr_interface_asr_feed_dtmf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_asr_interface_set")] - public static extern void switch_asr_handle_asr_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_asr_interface___")] + public static extern global::System.IntPtr new_switch_asr_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_asr_interface_get")] - public static extern IntPtr switch_asr_handle_asr_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_asr_interface___")] + public static extern void delete_switch_asr_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_flags_set")] - public static extern void switch_asr_handle_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_asr_interface_set___")] + public static extern void switch_asr_handle_asr_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_flags_get")] - public static extern uint switch_asr_handle_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_asr_interface_get___")] + public static extern global::System.IntPtr switch_asr_handle_asr_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_name_set")] - public static extern void switch_asr_handle_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_flags_set___")] + public static extern void switch_asr_handle_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_name_get")] - public static extern string switch_asr_handle_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_flags_get___")] + public static extern uint switch_asr_handle_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_codec_set")] - public static extern void switch_asr_handle_codec_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_name_set___")] + public static extern void switch_asr_handle_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_codec_get")] - public static extern string switch_asr_handle_codec_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_name_get___")] + public static extern string switch_asr_handle_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_rate_set")] - public static extern void switch_asr_handle_rate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_codec_set___")] + public static extern void switch_asr_handle_codec_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_rate_get")] - public static extern uint switch_asr_handle_rate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_codec_get___")] + public static extern string switch_asr_handle_codec_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_grammar_set")] - public static extern void switch_asr_handle_grammar_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_rate_set___")] + public static extern void switch_asr_handle_rate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_grammar_get")] - public static extern string switch_asr_handle_grammar_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_rate_get___")] + public static extern uint switch_asr_handle_rate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_param_set")] - public static extern void switch_asr_handle_param_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_grammar_set___")] + public static extern void switch_asr_handle_grammar_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_param_get")] - public static extern string switch_asr_handle_param_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_grammar_get___")] + public static extern string switch_asr_handle_grammar_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_memory_pool_set")] - public static extern void switch_asr_handle_memory_pool_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_param_set___")] + public static extern void switch_asr_handle_param_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_memory_pool_get")] - public static extern IntPtr switch_asr_handle_memory_pool_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_param_get___")] + public static extern string switch_asr_handle_param_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_buffer_set")] - public static extern void switch_asr_handle_buffer_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_memory_pool_set___")] + public static extern void switch_asr_handle_memory_pool_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_buffer_get")] - public static extern IntPtr switch_asr_handle_buffer_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_memory_pool_get___")] + public static extern global::System.IntPtr switch_asr_handle_memory_pool_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_dbuf_set")] - public static extern void switch_asr_handle_dbuf_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_buffer_set___")] + public static extern void switch_asr_handle_buffer_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_dbuf_get")] - public static extern IntPtr switch_asr_handle_dbuf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_buffer_get___")] + public static extern global::System.IntPtr switch_asr_handle_buffer_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_dbuflen_set")] - public static extern void switch_asr_handle_dbuflen_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_dbuf_set___")] + public static extern void switch_asr_handle_dbuf_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_dbuflen_get")] - public static extern IntPtr switch_asr_handle_dbuflen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_dbuf_get___")] + public static extern global::System.IntPtr switch_asr_handle_dbuf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_resampler_set")] - public static extern void switch_asr_handle_resampler_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_dbuflen_set___")] + public static extern void switch_asr_handle_dbuflen_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_resampler_get")] - public static extern IntPtr switch_asr_handle_resampler_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_dbuflen_get___")] + public static extern global::System.IntPtr switch_asr_handle_dbuflen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_samplerate_set")] - public static extern void switch_asr_handle_samplerate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_resampler_set___")] + public static extern void switch_asr_handle_resampler_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_samplerate_get")] - public static extern uint switch_asr_handle_samplerate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_resampler_get___")] + public static extern global::System.IntPtr switch_asr_handle_resampler_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_native_rate_set")] - public static extern void switch_asr_handle_native_rate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_samplerate_set___")] + public static extern void switch_asr_handle_samplerate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_native_rate_get")] - public static extern uint switch_asr_handle_native_rate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_samplerate_get___")] + public static extern uint switch_asr_handle_samplerate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_private_info_set")] - public static extern void switch_asr_handle_private_info_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_native_rate_set___")] + public static extern void switch_asr_handle_native_rate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_asr_handle_private_info_get")] - public static extern IntPtr switch_asr_handle_private_info_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_native_rate_get___")] + public static extern uint switch_asr_handle_native_rate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_asr_handle")] - public static extern IntPtr new_switch_asr_handle(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_private_info_set___")] + public static extern void switch_asr_handle_private_info_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_asr_handle")] - public static extern void delete_switch_asr_handle(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_asr_handle_private_info_get___")] + public static extern global::System.IntPtr switch_asr_handle_private_info_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_interface_name_set")] - public static extern void switch_speech_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_asr_handle___")] + public static extern global::System.IntPtr new_switch_asr_handle(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_interface_name_get")] - public static extern string switch_speech_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_asr_handle___")] + public static extern void delete_switch_asr_handle(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_open_set")] - public static extern void switch_speech_interface_speech_open_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_interface_name_set___")] + public static extern void switch_speech_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_open_get")] - public static extern IntPtr switch_speech_interface_speech_open_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_interface_name_get___")] + public static extern string switch_speech_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_close_set")] - public static extern void switch_speech_interface_speech_close_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_open_set___")] + public static extern void switch_speech_interface_speech_open_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_close_get")] - public static extern IntPtr switch_speech_interface_speech_close_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_open_get___")] + public static extern global::System.IntPtr switch_speech_interface_speech_open_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_feed_tts_set")] - public static extern void switch_speech_interface_speech_feed_tts_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_close_set___")] + public static extern void switch_speech_interface_speech_close_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_feed_tts_get")] - public static extern IntPtr switch_speech_interface_speech_feed_tts_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_close_get___")] + public static extern global::System.IntPtr switch_speech_interface_speech_close_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_read_tts_set")] - public static extern void switch_speech_interface_speech_read_tts_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_feed_tts_set___")] + public static extern void switch_speech_interface_speech_feed_tts_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_read_tts_get")] - public static extern IntPtr switch_speech_interface_speech_read_tts_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_feed_tts_get___")] + public static extern global::System.IntPtr switch_speech_interface_speech_feed_tts_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_flush_tts_set")] - public static extern void switch_speech_interface_speech_flush_tts_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_read_tts_set___")] + public static extern void switch_speech_interface_speech_read_tts_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_flush_tts_get")] - public static extern IntPtr switch_speech_interface_speech_flush_tts_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_read_tts_get___")] + public static extern global::System.IntPtr switch_speech_interface_speech_read_tts_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_text_param_tts_set")] - public static extern void switch_speech_interface_speech_text_param_tts_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_flush_tts_set___")] + public static extern void switch_speech_interface_speech_flush_tts_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_text_param_tts_get")] - public static extern IntPtr switch_speech_interface_speech_text_param_tts_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_flush_tts_get___")] + public static extern global::System.IntPtr switch_speech_interface_speech_flush_tts_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_numeric_param_tts_set")] - public static extern void switch_speech_interface_speech_numeric_param_tts_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_text_param_tts_set___")] + public static extern void switch_speech_interface_speech_text_param_tts_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_numeric_param_tts_get")] - public static extern IntPtr switch_speech_interface_speech_numeric_param_tts_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_text_param_tts_get___")] + public static extern global::System.IntPtr switch_speech_interface_speech_text_param_tts_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_float_param_tts_set")] - public static extern void switch_speech_interface_speech_float_param_tts_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_numeric_param_tts_set___")] + public static extern void switch_speech_interface_speech_numeric_param_tts_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_speech_float_param_tts_get")] - public static extern IntPtr switch_speech_interface_speech_float_param_tts_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_numeric_param_tts_get___")] + public static extern global::System.IntPtr switch_speech_interface_speech_numeric_param_tts_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_rwlock_set")] - public static extern void switch_speech_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_float_param_tts_set___")] + public static extern void switch_speech_interface_speech_float_param_tts_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_rwlock_get")] - public static extern IntPtr switch_speech_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_speech_float_param_tts_get___")] + public static extern global::System.IntPtr switch_speech_interface_speech_float_param_tts_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_refs_set")] - public static extern void switch_speech_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_rwlock_set___")] + public static extern void switch_speech_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_refs_get")] - public static extern int switch_speech_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_speech_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_reflock_set")] - public static extern void switch_speech_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_refs_set___")] + public static extern void switch_speech_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_reflock_get")] - public static extern IntPtr switch_speech_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_refs_get___")] + public static extern int switch_speech_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_parent_set")] - public static extern void switch_speech_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_reflock_set___")] + public static extern void switch_speech_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_parent_get")] - public static extern IntPtr switch_speech_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_reflock_get___")] + public static extern global::System.IntPtr switch_speech_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_next_set")] - public static extern void switch_speech_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_parent_set___")] + public static extern void switch_speech_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_interface_next_get")] - public static extern IntPtr switch_speech_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_parent_get___")] + public static extern global::System.IntPtr switch_speech_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_speech_interface")] - public static extern IntPtr new_switch_speech_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_next_set___")] + public static extern void switch_speech_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_speech_interface")] - public static extern void delete_switch_speech_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_interface_next_get___")] + public static extern global::System.IntPtr switch_speech_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_speech_interface_set")] - public static extern void switch_speech_handle_speech_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_speech_interface___")] + public static extern global::System.IntPtr new_switch_speech_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_speech_interface_get")] - public static extern IntPtr switch_speech_handle_speech_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_speech_interface___")] + public static extern void delete_switch_speech_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_flags_set")] - public static extern void switch_speech_handle_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_speech_interface_set___")] + public static extern void switch_speech_handle_speech_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_flags_get")] - public static extern uint switch_speech_handle_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_speech_interface_get___")] + public static extern global::System.IntPtr switch_speech_handle_speech_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_name_set")] - public static extern void switch_speech_handle_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_flags_set___")] + public static extern void switch_speech_handle_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_name_get")] - public static extern string switch_speech_handle_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_flags_get___")] + public static extern uint switch_speech_handle_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_rate_set")] - public static extern void switch_speech_handle_rate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_name_set___")] + public static extern void switch_speech_handle_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_rate_get")] - public static extern uint switch_speech_handle_rate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_name_get___")] + public static extern string switch_speech_handle_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_speed_set")] - public static extern void switch_speech_handle_speed_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_rate_set___")] + public static extern void switch_speech_handle_rate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_speed_get")] - public static extern uint switch_speech_handle_speed_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_rate_get___")] + public static extern uint switch_speech_handle_rate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_samples_set")] - public static extern void switch_speech_handle_samples_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_speed_set___")] + public static extern void switch_speech_handle_speed_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_samples_get")] - public static extern uint switch_speech_handle_samples_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_speed_get___")] + public static extern uint switch_speech_handle_speed_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_channels_set")] - public static extern void switch_speech_handle_channels_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_samples_set___")] + public static extern void switch_speech_handle_samples_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_channels_get")] - public static extern uint switch_speech_handle_channels_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_samples_get___")] + public static extern uint switch_speech_handle_samples_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_real_channels_set")] - public static extern void switch_speech_handle_real_channels_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_channels_set___")] + public static extern void switch_speech_handle_channels_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_real_channels_get")] - public static extern uint switch_speech_handle_real_channels_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_channels_get___")] + public static extern uint switch_speech_handle_channels_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_voice_set")] - public static extern void switch_speech_handle_voice_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_real_channels_set___")] + public static extern void switch_speech_handle_real_channels_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_voice_get")] - public static extern string switch_speech_handle_voice_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_real_channels_get___")] + public static extern uint switch_speech_handle_real_channels_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_engine_set")] - public static extern void switch_speech_handle_engine_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_voice_set___")] + public static extern void switch_speech_handle_voice_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_engine_get")] - public static extern string switch_speech_handle_engine_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_voice_get___")] + public static extern string switch_speech_handle_voice_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_param_set")] - public static extern void switch_speech_handle_param_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_engine_set___")] + public static extern void switch_speech_handle_engine_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_param_get")] - public static extern string switch_speech_handle_param_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_engine_get___")] + public static extern string switch_speech_handle_engine_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_memory_pool_set")] - public static extern void switch_speech_handle_memory_pool_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_param_set___")] + public static extern void switch_speech_handle_param_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_memory_pool_get")] - public static extern IntPtr switch_speech_handle_memory_pool_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_param_get___")] + public static extern string switch_speech_handle_param_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_resampler_set")] - public static extern void switch_speech_handle_resampler_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_memory_pool_set___")] + public static extern void switch_speech_handle_memory_pool_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_resampler_get")] - public static extern IntPtr switch_speech_handle_resampler_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_memory_pool_get___")] + public static extern global::System.IntPtr switch_speech_handle_memory_pool_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_buffer_set")] - public static extern void switch_speech_handle_buffer_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_resampler_set___")] + public static extern void switch_speech_handle_resampler_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_buffer_get")] - public static extern IntPtr switch_speech_handle_buffer_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_resampler_get___")] + public static extern global::System.IntPtr switch_speech_handle_resampler_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_dbuf_set")] - public static extern void switch_speech_handle_dbuf_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_buffer_set___")] + public static extern void switch_speech_handle_buffer_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_dbuf_get")] - public static extern IntPtr switch_speech_handle_dbuf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_buffer_get___")] + public static extern global::System.IntPtr switch_speech_handle_buffer_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_dbuflen_set")] - public static extern void switch_speech_handle_dbuflen_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_dbuf_set___")] + public static extern void switch_speech_handle_dbuf_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_dbuflen_get")] - public static extern IntPtr switch_speech_handle_dbuflen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_dbuf_get___")] + public static extern global::System.IntPtr switch_speech_handle_dbuf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_samplerate_set")] - public static extern void switch_speech_handle_samplerate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_dbuflen_set___")] + public static extern void switch_speech_handle_dbuflen_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_samplerate_get")] - public static extern uint switch_speech_handle_samplerate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_dbuflen_get___")] + public static extern global::System.IntPtr switch_speech_handle_dbuflen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_native_rate_set")] - public static extern void switch_speech_handle_native_rate_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_samplerate_set___")] + public static extern void switch_speech_handle_samplerate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_native_rate_get")] - public static extern uint switch_speech_handle_native_rate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_samplerate_get___")] + public static extern uint switch_speech_handle_samplerate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_private_info_set")] - public static extern void switch_speech_handle_private_info_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_native_rate_set___")] + public static extern void switch_speech_handle_native_rate_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_private_info_get")] - public static extern IntPtr switch_speech_handle_private_info_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_native_rate_get___")] + public static extern uint switch_speech_handle_native_rate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_speech_handle")] - public static extern IntPtr new_switch_speech_handle(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_private_info_set___")] + public static extern void switch_speech_handle_private_info_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_speech_handle")] - public static extern void delete_switch_speech_handle(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_speech_handle_private_info_get___")] + public static extern global::System.IntPtr switch_speech_handle_private_info_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_interface_name_set")] - public static extern void switch_say_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_speech_handle___")] + public static extern global::System.IntPtr new_switch_speech_handle(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_interface_name_get")] - public static extern string switch_say_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_speech_handle___")] + public static extern void delete_switch_speech_handle(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_say_function_set")] - public static extern void switch_say_interface_say_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_interface_name_set___")] + public static extern void switch_say_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_say_function_get")] - public static extern IntPtr switch_say_interface_say_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_interface_name_get___")] + public static extern string switch_say_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_say_string_function_set")] - public static extern void switch_say_interface_say_string_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_say_function_set___")] + public static extern void switch_say_interface_say_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_say_string_function_get")] - public static extern IntPtr switch_say_interface_say_string_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_say_function_get___")] + public static extern global::System.IntPtr switch_say_interface_say_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_rwlock_set")] - public static extern void switch_say_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_say_string_function_set___")] + public static extern void switch_say_interface_say_string_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_rwlock_get")] - public static extern IntPtr switch_say_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_say_string_function_get___")] + public static extern global::System.IntPtr switch_say_interface_say_string_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_refs_set")] - public static extern void switch_say_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_rwlock_set___")] + public static extern void switch_say_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_refs_get")] - public static extern int switch_say_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_say_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_reflock_set")] - public static extern void switch_say_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_refs_set___")] + public static extern void switch_say_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_reflock_get")] - public static extern IntPtr switch_say_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_refs_get___")] + public static extern int switch_say_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_parent_set")] - public static extern void switch_say_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_reflock_set___")] + public static extern void switch_say_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_parent_get")] - public static extern IntPtr switch_say_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_reflock_get___")] + public static extern global::System.IntPtr switch_say_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_next_set")] - public static extern void switch_say_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_parent_set___")] + public static extern void switch_say_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_say_interface_next_get")] - public static extern IntPtr switch_say_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_parent_get___")] + public static extern global::System.IntPtr switch_say_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_say_interface")] - public static extern IntPtr new_switch_say_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_next_set___")] + public static extern void switch_say_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_say_interface")] - public static extern void delete_switch_say_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_say_interface_next_get___")] + public static extern global::System.IntPtr switch_say_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_interface_name_set")] - public static extern void switch_chat_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_say_interface___")] + public static extern global::System.IntPtr new_switch_say_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_interface_name_get")] - public static extern string switch_chat_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_say_interface___")] + public static extern void delete_switch_say_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_chat_send_set")] - public static extern void switch_chat_interface_chat_send_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_interface_name_set___")] + public static extern void switch_chat_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_chat_send_get")] - public static extern IntPtr switch_chat_interface_chat_send_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_interface_name_get___")] + public static extern string switch_chat_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_rwlock_set")] - public static extern void switch_chat_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_chat_send_set___")] + public static extern void switch_chat_interface_chat_send_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_rwlock_get")] - public static extern IntPtr switch_chat_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_chat_send_get___")] + public static extern global::System.IntPtr switch_chat_interface_chat_send_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_refs_set")] - public static extern void switch_chat_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_rwlock_set___")] + public static extern void switch_chat_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_refs_get")] - public static extern int switch_chat_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_chat_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_reflock_set")] - public static extern void switch_chat_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_refs_set___")] + public static extern void switch_chat_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_reflock_get")] - public static extern IntPtr switch_chat_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_refs_get___")] + public static extern int switch_chat_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_parent_set")] - public static extern void switch_chat_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_reflock_set___")] + public static extern void switch_chat_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_parent_get")] - public static extern IntPtr switch_chat_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_reflock_get___")] + public static extern global::System.IntPtr switch_chat_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_next_set")] - public static extern void switch_chat_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_parent_set___")] + public static extern void switch_chat_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_interface_next_get")] - public static extern IntPtr switch_chat_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_parent_get___")] + public static extern global::System.IntPtr switch_chat_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_chat_interface")] - public static extern IntPtr new_switch_chat_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_next_set___")] + public static extern void switch_chat_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_chat_interface")] - public static extern void delete_switch_chat_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_interface_next_get___")] + public static extern global::System.IntPtr switch_chat_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_relative_oid_set")] - public static extern void switch_management_interface_relative_oid_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_chat_interface___")] + public static extern global::System.IntPtr new_switch_chat_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_relative_oid_get")] - public static extern string switch_management_interface_relative_oid_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_chat_interface___")] + public static extern void delete_switch_chat_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_management_function_set")] - public static extern void switch_management_interface_management_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_relative_oid_set___")] + public static extern void switch_management_interface_relative_oid_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_management_function_get")] - public static extern IntPtr switch_management_interface_management_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_relative_oid_get___")] + public static extern string switch_management_interface_relative_oid_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_rwlock_set")] - public static extern void switch_management_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_management_function_set___")] + public static extern void switch_management_interface_management_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_rwlock_get")] - public static extern IntPtr switch_management_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_management_function_get___")] + public static extern global::System.IntPtr switch_management_interface_management_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_refs_set")] - public static extern void switch_management_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_rwlock_set___")] + public static extern void switch_management_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_refs_get")] - public static extern int switch_management_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_management_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_reflock_set")] - public static extern void switch_management_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_refs_set___")] + public static extern void switch_management_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_reflock_get")] - public static extern IntPtr switch_management_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_refs_get___")] + public static extern int switch_management_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_parent_set")] - public static extern void switch_management_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_reflock_set___")] + public static extern void switch_management_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_parent_get")] - public static extern IntPtr switch_management_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_reflock_get___")] + public static extern global::System.IntPtr switch_management_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_next_set")] - public static extern void switch_management_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_parent_set___")] + public static extern void switch_management_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_management_interface_next_get")] - public static extern IntPtr switch_management_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_parent_get___")] + public static extern global::System.IntPtr switch_management_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_management_interface")] - public static extern IntPtr new_switch_management_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_next_set___")] + public static extern void switch_management_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_management_interface")] - public static extern void delete_switch_management_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_management_interface_next_get___")] + public static extern global::System.IntPtr switch_management_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_interface_name_set")] - public static extern void switch_limit_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_management_interface___")] + public static extern global::System.IntPtr new_switch_management_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_interface_name_get")] - public static extern string switch_limit_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_management_interface___")] + public static extern void delete_switch_management_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_incr_set")] - public static extern void switch_limit_interface_incr_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_interface_name_set___")] + public static extern void switch_limit_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_incr_get")] - public static extern IntPtr switch_limit_interface_incr_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_interface_name_get___")] + public static extern string switch_limit_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_release_set")] - public static extern void switch_limit_interface_release_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_incr_set___")] + public static extern void switch_limit_interface_incr_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_release_get")] - public static extern IntPtr switch_limit_interface_release_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_incr_get___")] + public static extern global::System.IntPtr switch_limit_interface_incr_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_usage_set")] - public static extern void switch_limit_interface_usage_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_release_set___")] + public static extern void switch_limit_interface_release_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_usage_get")] - public static extern IntPtr switch_limit_interface_usage_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_release_get___")] + public static extern global::System.IntPtr switch_limit_interface_release_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_reset_set")] - public static extern void switch_limit_interface_reset_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_usage_set___")] + public static extern void switch_limit_interface_usage_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_reset_get")] - public static extern IntPtr switch_limit_interface_reset_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_usage_get___")] + public static extern global::System.IntPtr switch_limit_interface_usage_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_status_set")] - public static extern void switch_limit_interface_status_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_reset_set___")] + public static extern void switch_limit_interface_reset_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_status_get")] - public static extern IntPtr switch_limit_interface_status_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_reset_get___")] + public static extern global::System.IntPtr switch_limit_interface_reset_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_interval_reset_set")] - public static extern void switch_limit_interface_interval_reset_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_status_set___")] + public static extern void switch_limit_interface_status_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_interval_reset_get")] - public static extern IntPtr switch_limit_interface_interval_reset_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_status_get___")] + public static extern global::System.IntPtr switch_limit_interface_status_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_rwlock_set")] - public static extern void switch_limit_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_interval_reset_set___")] + public static extern void switch_limit_interface_interval_reset_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_rwlock_get")] - public static extern IntPtr switch_limit_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_interval_reset_get___")] + public static extern global::System.IntPtr switch_limit_interface_interval_reset_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_refs_set")] - public static extern void switch_limit_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_rwlock_set___")] + public static extern void switch_limit_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_refs_get")] - public static extern int switch_limit_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_limit_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_reflock_set")] - public static extern void switch_limit_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_refs_set___")] + public static extern void switch_limit_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_reflock_get")] - public static extern IntPtr switch_limit_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_refs_get___")] + public static extern int switch_limit_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_parent_set")] - public static extern void switch_limit_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_reflock_set___")] + public static extern void switch_limit_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_parent_get")] - public static extern IntPtr switch_limit_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_reflock_get___")] + public static extern global::System.IntPtr switch_limit_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_next_set")] - public static extern void switch_limit_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_parent_set___")] + public static extern void switch_limit_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_limit_interface_next_get")] - public static extern IntPtr switch_limit_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_parent_get___")] + public static extern global::System.IntPtr switch_limit_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_limit_interface")] - public static extern IntPtr new_switch_limit_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_next_set___")] + public static extern void switch_limit_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_limit_interface")] - public static extern void delete_switch_limit_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_limit_interface_next_get___")] + public static extern global::System.IntPtr switch_limit_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_interface_name_set")] - public static extern void switch_directory_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_limit_interface___")] + public static extern global::System.IntPtr new_switch_limit_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_interface_name_get")] - public static extern string switch_directory_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_limit_interface___")] + public static extern void delete_switch_limit_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_open_set")] - public static extern void switch_directory_interface_directory_open_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_interface_name_set___")] + public static extern void switch_directory_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_open_get")] - public static extern IntPtr switch_directory_interface_directory_open_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_interface_name_get___")] + public static extern string switch_directory_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_close_set")] - public static extern void switch_directory_interface_directory_close_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_directory_open_set___")] + public static extern void switch_directory_interface_directory_open_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_close_get")] - public static extern IntPtr switch_directory_interface_directory_close_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_directory_open_get___")] + public static extern global::System.IntPtr switch_directory_interface_directory_open_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_query_set")] - public static extern void switch_directory_interface_directory_query_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_directory_close_set___")] + public static extern void switch_directory_interface_directory_close_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_query_get")] - public static extern IntPtr switch_directory_interface_directory_query_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_directory_close_get___")] + public static extern global::System.IntPtr switch_directory_interface_directory_close_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_next_set")] - public static extern void switch_directory_interface_directory_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_directory_query_set___")] + public static extern void switch_directory_interface_directory_query_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_next_get")] - public static extern IntPtr switch_directory_interface_directory_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_directory_query_get___")] + public static extern global::System.IntPtr switch_directory_interface_directory_query_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_next_pair_set")] - public static extern void switch_directory_interface_directory_next_pair_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_directory_next_set___")] + public static extern void switch_directory_interface_directory_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_directory_next_pair_get")] - public static extern IntPtr switch_directory_interface_directory_next_pair_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_directory_next_get___")] + public static extern global::System.IntPtr switch_directory_interface_directory_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_rwlock_set")] - public static extern void switch_directory_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_directory_next_pair_set___")] + public static extern void switch_directory_interface_directory_next_pair_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_rwlock_get")] - public static extern IntPtr switch_directory_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_directory_next_pair_get___")] + public static extern global::System.IntPtr switch_directory_interface_directory_next_pair_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_refs_set")] - public static extern void switch_directory_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_rwlock_set___")] + public static extern void switch_directory_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_refs_get")] - public static extern int switch_directory_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_directory_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_reflock_set")] - public static extern void switch_directory_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_refs_set___")] + public static extern void switch_directory_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_reflock_get")] - public static extern IntPtr switch_directory_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_refs_get___")] + public static extern int switch_directory_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_parent_set")] - public static extern void switch_directory_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_reflock_set___")] + public static extern void switch_directory_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_parent_get")] - public static extern IntPtr switch_directory_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_reflock_get___")] + public static extern global::System.IntPtr switch_directory_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_next_set")] - public static extern void switch_directory_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_parent_set___")] + public static extern void switch_directory_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_interface_next_get")] - public static extern IntPtr switch_directory_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_parent_get___")] + public static extern global::System.IntPtr switch_directory_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_directory_interface")] - public static extern IntPtr new_switch_directory_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_next_set___")] + public static extern void switch_directory_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_directory_interface")] - public static extern void delete_switch_directory_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_interface_next_get___")] + public static extern global::System.IntPtr switch_directory_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_directory_interface_set")] - public static extern void switch_directory_handle_directory_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_directory_interface___")] + public static extern global::System.IntPtr new_switch_directory_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_directory_interface_get")] - public static extern IntPtr switch_directory_handle_directory_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_directory_interface___")] + public static extern void delete_switch_directory_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_flags_set")] - public static extern void switch_directory_handle_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_handle_directory_interface_set___")] + public static extern void switch_directory_handle_directory_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_flags_get")] - public static extern uint switch_directory_handle_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_handle_directory_interface_get___")] + public static extern global::System.IntPtr switch_directory_handle_directory_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_memory_pool_set")] - public static extern void switch_directory_handle_memory_pool_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_handle_flags_set___")] + public static extern void switch_directory_handle_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_memory_pool_get")] - public static extern IntPtr switch_directory_handle_memory_pool_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_handle_flags_get___")] + public static extern uint switch_directory_handle_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_private_info_set")] - public static extern void switch_directory_handle_private_info_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_handle_memory_pool_set___")] + public static extern void switch_directory_handle_memory_pool_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_directory_handle_private_info_get")] - public static extern IntPtr switch_directory_handle_private_info_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_handle_memory_pool_get___")] + public static extern global::System.IntPtr switch_directory_handle_memory_pool_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_directory_handle")] - public static extern IntPtr new_switch_directory_handle(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_handle_private_info_set___")] + public static extern void switch_directory_handle_private_info_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_directory_handle")] - public static extern void delete_switch_directory_handle(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_directory_handle_private_info_get___")] + public static extern global::System.IntPtr switch_directory_handle_private_info_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_codec_settings_unused_set")] - public static extern void switch_audio_codec_settings_unused_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_directory_handle___")] + public static extern global::System.IntPtr new_switch_directory_handle(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_codec_settings_unused_get")] - public static extern int switch_audio_codec_settings_unused_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_directory_handle___")] + public static extern void delete_switch_directory_handle(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_audio_codec_settings")] - public static extern IntPtr new_switch_audio_codec_settings(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_codec_settings_unused_set___")] + public static extern void switch_audio_codec_settings_unused_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_audio_codec_settings")] - public static extern void delete_switch_audio_codec_settings(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_codec_settings_unused_get___")] + public static extern int switch_audio_codec_settings_unused_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_bandwidth_set")] - public static extern void switch_video_codec_settings_bandwidth_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_audio_codec_settings___")] + public static extern global::System.IntPtr new_switch_audio_codec_settings(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_bandwidth_get")] - public static extern uint switch_video_codec_settings_bandwidth_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_audio_codec_settings___")] + public static extern void delete_switch_audio_codec_settings(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_width_set")] - public static extern void switch_video_codec_settings_width_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_video_codec_settings_bandwidth_set___")] + public static extern void switch_video_codec_settings_bandwidth_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_width_get")] - public static extern int switch_video_codec_settings_width_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_video_codec_settings_bandwidth_get___")] + public static extern uint switch_video_codec_settings_bandwidth_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_height_set")] - public static extern void switch_video_codec_settings_height_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_video_codec_settings_width_set___")] + public static extern void switch_video_codec_settings_width_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_height_get")] - public static extern int switch_video_codec_settings_height_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_video_codec_settings_width_get___")] + public static extern int switch_video_codec_settings_width_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_try_hardware_encoder_set")] - public static extern void switch_video_codec_settings_try_hardware_encoder_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_video_codec_settings_height_set___")] + public static extern void switch_video_codec_settings_height_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_try_hardware_encoder_get")] - public static extern byte switch_video_codec_settings_try_hardware_encoder_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_video_codec_settings_height_get___")] + public static extern int switch_video_codec_settings_height_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_fps_set")] - public static extern void switch_video_codec_settings_fps_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_video_codec_settings_try_hardware_encoder_set___")] + public static extern void switch_video_codec_settings_try_hardware_encoder_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_video_codec_settings_fps_get")] - public static extern byte switch_video_codec_settings_fps_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_video_codec_settings_try_hardware_encoder_get___")] + public static extern byte switch_video_codec_settings_try_hardware_encoder_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_video_codec_settings")] - public static extern IntPtr new_switch_video_codec_settings(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_video_codec_settings_fps_set___")] + public static extern void switch_video_codec_settings_fps_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_video_codec_settings")] - public static extern void delete_switch_video_codec_settings(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_video_codec_settings_fps_get___")] + public static extern byte switch_video_codec_settings_fps_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_audio_set")] - public static extern void switch_codec_settings_audio_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_video_codec_settings___")] + public static extern global::System.IntPtr new_switch_video_codec_settings(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_audio_get")] - public static extern IntPtr switch_codec_settings_audio_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_video_codec_settings___")] + public static extern void delete_switch_video_codec_settings(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_video_set")] - public static extern void switch_codec_settings_video_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_settings_audio_set___")] + public static extern void switch_codec_settings_audio_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_video_get")] - public static extern IntPtr switch_codec_settings_video_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_settings_audio_get___")] + public static extern global::System.IntPtr switch_codec_settings_audio_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec_settings")] - public static extern IntPtr new_switch_codec_settings(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_settings_video_set___")] + public static extern void switch_codec_settings_video_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec_settings")] - public static extern void delete_switch_codec_settings(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_settings_video_get___")] + public static extern global::System.IntPtr switch_codec_settings_video_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_actual_samples_per_second_set")] - public static extern void switch_codec_fmtp_actual_samples_per_second_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_codec_settings___")] + public static extern global::System.IntPtr new_switch_codec_settings(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_actual_samples_per_second_get")] - public static extern uint switch_codec_fmtp_actual_samples_per_second_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_codec_settings___")] + public static extern void delete_switch_codec_settings(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_bits_per_second_set")] - public static extern void switch_codec_fmtp_bits_per_second_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_actual_samples_per_second_set___")] + public static extern void switch_codec_fmtp_actual_samples_per_second_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_bits_per_second_get")] - public static extern int switch_codec_fmtp_bits_per_second_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_actual_samples_per_second_get___")] + public static extern uint switch_codec_fmtp_actual_samples_per_second_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_microseconds_per_packet_set")] - public static extern void switch_codec_fmtp_microseconds_per_packet_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_bits_per_second_set___")] + public static extern void switch_codec_fmtp_bits_per_second_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_microseconds_per_packet_get")] - public static extern int switch_codec_fmtp_microseconds_per_packet_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_bits_per_second_get___")] + public static extern int switch_codec_fmtp_bits_per_second_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_stereo_set")] - public static extern void switch_codec_fmtp_stereo_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_microseconds_per_packet_set___")] + public static extern void switch_codec_fmtp_microseconds_per_packet_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_stereo_get")] - public static extern int switch_codec_fmtp_stereo_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_microseconds_per_packet_get___")] + public static extern int switch_codec_fmtp_microseconds_per_packet_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_private_info_set")] - public static extern void switch_codec_fmtp_private_info_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_stereo_set___")] + public static extern void switch_codec_fmtp_stereo_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_private_info_get")] - public static extern IntPtr switch_codec_fmtp_private_info_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_stereo_get___")] + public static extern int switch_codec_fmtp_stereo_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec_fmtp")] - public static extern IntPtr new_switch_codec_fmtp(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_private_info_set___")] + public static extern void switch_codec_fmtp_private_info_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec_fmtp")] - public static extern void delete_switch_codec_fmtp(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_private_info_get___")] + public static extern global::System.IntPtr switch_codec_fmtp_private_info_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_picture_width_set")] - public static extern void switch_picture_width_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_codec_fmtp___")] + public static extern global::System.IntPtr new_switch_codec_fmtp(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_picture_width_get")] - public static extern uint switch_picture_width_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_codec_fmtp___")] + public static extern void delete_switch_codec_fmtp(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_picture_height_set")] - public static extern void switch_picture_height_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_picture_width_set___")] + public static extern void switch_picture_width_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_picture_height_get")] - public static extern uint switch_picture_height_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_picture_width_get___")] + public static extern uint switch_picture_width_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_picture_planes_set")] - public static extern void switch_picture_planes_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_picture_height_set___")] + public static extern void switch_picture_height_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_picture_planes_get")] - public static extern IntPtr switch_picture_planes_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_picture_height_get___")] + public static extern uint switch_picture_height_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_picture_stride_set")] - public static extern void switch_picture_stride_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_picture_planes_set___")] + public static extern void switch_picture_planes_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_picture_stride_get")] - public static extern IntPtr switch_picture_stride_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_picture_planes_get___")] + public static extern global::System.IntPtr switch_picture_planes_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_picture")] - public static extern IntPtr new_switch_picture(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_picture_stride_set___")] + public static extern void switch_picture_stride_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_picture")] - public static extern void delete_switch_picture(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_picture_stride_get___")] + public static extern global::System.IntPtr switch_picture_stride_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_codec_interface_set")] - public static extern void switch_codec_codec_interface_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_picture___")] + public static extern global::System.IntPtr new_switch_picture(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_codec_interface_get")] - public static extern IntPtr switch_codec_codec_interface_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_picture___")] + public static extern void delete_switch_picture(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_set")] - public static extern void switch_codec_implementation_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_codec_interface_set___")] + public static extern void switch_codec_codec_interface_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_get")] - public static extern IntPtr switch_codec_implementation_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_codec_interface_get___")] + public static extern global::System.IntPtr switch_codec_codec_interface_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_in_set")] - public static extern void switch_codec_fmtp_in_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_set___")] + public static extern void switch_codec_implementation_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_in_get")] - public static extern string switch_codec_fmtp_in_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_get___")] + public static extern global::System.IntPtr switch_codec_implementation_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_out_set")] - public static extern void switch_codec_fmtp_out_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_in_set___")] + public static extern void switch_codec_fmtp_in_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_out_get")] - public static extern string switch_codec_fmtp_out_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_in_get___")] + public static extern string switch_codec_fmtp_in_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_flags_set")] - public static extern void switch_codec_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_out_set___")] + public static extern void switch_codec_fmtp_out_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_flags_get")] - public static extern uint switch_codec_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_fmtp_out_get___")] + public static extern string switch_codec_fmtp_out_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_memory_pool_set")] - public static extern void switch_codec_memory_pool_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_flags_set___")] + public static extern void switch_codec_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_memory_pool_get")] - public static extern IntPtr switch_codec_memory_pool_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_flags_get___")] + public static extern uint switch_codec_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_private_info_set")] - public static extern void switch_codec_private_info_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_memory_pool_set___")] + public static extern void switch_codec_memory_pool_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_private_info_get")] - public static extern IntPtr switch_codec_private_info_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_memory_pool_get___")] + public static extern global::System.IntPtr switch_codec_memory_pool_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_agreed_pt_set")] - public static extern void switch_codec_agreed_pt_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_private_info_set___")] + public static extern void switch_codec_private_info_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_agreed_pt_get")] - public static extern byte switch_codec_agreed_pt_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_private_info_get___")] + public static extern global::System.IntPtr switch_codec_private_info_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_mutex_set")] - public static extern void switch_codec_mutex_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_agreed_pt_set___")] + public static extern void switch_codec_agreed_pt_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_mutex_get")] - public static extern IntPtr switch_codec_mutex_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_agreed_pt_get___")] + public static extern byte switch_codec_agreed_pt_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_next_set")] - public static extern void switch_codec_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_mutex_set___")] + public static extern void switch_codec_mutex_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_next_get")] - public static extern IntPtr switch_codec_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_mutex_get___")] + public static extern global::System.IntPtr switch_codec_mutex_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_session_set")] - public static extern void switch_codec_session_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_next_set___")] + public static extern void switch_codec_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_session_get")] - public static extern IntPtr switch_codec_session_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_next_get___")] + public static extern global::System.IntPtr switch_codec_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_cur_frame_set")] - public static extern void switch_codec_cur_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_session_set___")] + public static extern void switch_codec_session_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_cur_frame_get")] - public static extern IntPtr switch_codec_cur_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_session_get___")] + public static extern global::System.IntPtr switch_codec_session_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec")] - public static extern IntPtr new_switch_codec(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_cur_frame_set___")] + public static extern void switch_codec_cur_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec")] - public static extern void delete_switch_codec(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_cur_frame_get___")] + public static extern global::System.IntPtr switch_codec_cur_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_type_set")] - public static extern void switch_codec_implementation_codec_type_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_codec___")] + public static extern global::System.IntPtr new_switch_codec(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_type_get")] - public static extern int switch_codec_implementation_codec_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_codec___")] + public static extern void delete_switch_codec(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_ianacode_set")] - public static extern void switch_codec_implementation_ianacode_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_type_set___")] + public static extern void switch_codec_implementation_codec_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_ianacode_get")] - public static extern byte switch_codec_implementation_ianacode_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_type_get___")] + public static extern int switch_codec_implementation_codec_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_iananame_set")] - public static extern void switch_codec_implementation_iananame_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_ianacode_set___")] + public static extern void switch_codec_implementation_ianacode_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_iananame_get")] - public static extern string switch_codec_implementation_iananame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_ianacode_get___")] + public static extern byte switch_codec_implementation_ianacode_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_fmtp_set")] - public static extern void switch_codec_implementation_fmtp_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_iananame_set___")] + public static extern void switch_codec_implementation_iananame_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_fmtp_get")] - public static extern string switch_codec_implementation_fmtp_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_iananame_get___")] + public static extern string switch_codec_implementation_iananame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_samples_per_second_set")] - public static extern void switch_codec_implementation_samples_per_second_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_fmtp_set___")] + public static extern void switch_codec_implementation_fmtp_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_samples_per_second_get")] - public static extern uint switch_codec_implementation_samples_per_second_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_fmtp_get___")] + public static extern string switch_codec_implementation_fmtp_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_actual_samples_per_second_set")] - public static extern void switch_codec_implementation_actual_samples_per_second_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_samples_per_second_set___")] + public static extern void switch_codec_implementation_samples_per_second_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_actual_samples_per_second_get")] - public static extern uint switch_codec_implementation_actual_samples_per_second_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_samples_per_second_get___")] + public static extern uint switch_codec_implementation_samples_per_second_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_bits_per_second_set")] - public static extern void switch_codec_implementation_bits_per_second_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_actual_samples_per_second_set___")] + public static extern void switch_codec_implementation_actual_samples_per_second_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_bits_per_second_get")] - public static extern int switch_codec_implementation_bits_per_second_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_actual_samples_per_second_get___")] + public static extern uint switch_codec_implementation_actual_samples_per_second_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_microseconds_per_packet_set")] - public static extern void switch_codec_implementation_microseconds_per_packet_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_bits_per_second_set___")] + public static extern void switch_codec_implementation_bits_per_second_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_microseconds_per_packet_get")] - public static extern int switch_codec_implementation_microseconds_per_packet_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_bits_per_second_get___")] + public static extern int switch_codec_implementation_bits_per_second_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_samples_per_packet_set")] - public static extern void switch_codec_implementation_samples_per_packet_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_microseconds_per_packet_set___")] + public static extern void switch_codec_implementation_microseconds_per_packet_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_samples_per_packet_get")] - public static extern uint switch_codec_implementation_samples_per_packet_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_microseconds_per_packet_get___")] + public static extern int switch_codec_implementation_microseconds_per_packet_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_decoded_bytes_per_packet_set")] - public static extern void switch_codec_implementation_decoded_bytes_per_packet_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_samples_per_packet_set___")] + public static extern void switch_codec_implementation_samples_per_packet_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_decoded_bytes_per_packet_get")] - public static extern uint switch_codec_implementation_decoded_bytes_per_packet_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_samples_per_packet_get___")] + public static extern uint switch_codec_implementation_samples_per_packet_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encoded_bytes_per_packet_set")] - public static extern void switch_codec_implementation_encoded_bytes_per_packet_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_decoded_bytes_per_packet_set___")] + public static extern void switch_codec_implementation_decoded_bytes_per_packet_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encoded_bytes_per_packet_get")] - public static extern uint switch_codec_implementation_encoded_bytes_per_packet_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_decoded_bytes_per_packet_get___")] + public static extern uint switch_codec_implementation_decoded_bytes_per_packet_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_number_of_channels_set")] - public static extern void switch_codec_implementation_number_of_channels_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_encoded_bytes_per_packet_set___")] + public static extern void switch_codec_implementation_encoded_bytes_per_packet_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_number_of_channels_get")] - public static extern byte switch_codec_implementation_number_of_channels_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_encoded_bytes_per_packet_get___")] + public static extern uint switch_codec_implementation_encoded_bytes_per_packet_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_frames_per_packet_set")] - public static extern void switch_codec_implementation_codec_frames_per_packet_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_number_of_channels_set___")] + public static extern void switch_codec_implementation_number_of_channels_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_frames_per_packet_get")] - public static extern int switch_codec_implementation_codec_frames_per_packet_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_number_of_channels_get___")] + public static extern byte switch_codec_implementation_number_of_channels_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_init_set")] - public static extern void switch_codec_implementation_init_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_frames_per_packet_set___")] + public static extern void switch_codec_implementation_codec_frames_per_packet_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_init_get")] - public static extern IntPtr switch_codec_implementation_init_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_frames_per_packet_get___")] + public static extern int switch_codec_implementation_codec_frames_per_packet_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encode_set")] - public static extern void switch_codec_implementation_encode_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_init_set___")] + public static extern void switch_codec_implementation_init_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encode_get")] - public static extern IntPtr switch_codec_implementation_encode_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_init_get___")] + public static extern global::System.IntPtr switch_codec_implementation_init_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_decode_set")] - public static extern void switch_codec_implementation_decode_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_encode_set___")] + public static extern void switch_codec_implementation_encode_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_decode_get")] - public static extern IntPtr switch_codec_implementation_decode_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_encode_get___")] + public static extern global::System.IntPtr switch_codec_implementation_encode_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encode_video_set")] - public static extern void switch_codec_implementation_encode_video_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_decode_set___")] + public static extern void switch_codec_implementation_decode_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_encode_video_get")] - public static extern IntPtr switch_codec_implementation_encode_video_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_decode_get___")] + public static extern global::System.IntPtr switch_codec_implementation_decode_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_decode_video_set")] - public static extern void switch_codec_implementation_decode_video_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_encode_video_set___")] + public static extern void switch_codec_implementation_encode_video_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_decode_video_get")] - public static extern IntPtr switch_codec_implementation_decode_video_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_encode_video_get___")] + public static extern global::System.IntPtr switch_codec_implementation_encode_video_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_control_set")] - public static extern void switch_codec_implementation_codec_control_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_decode_video_set___")] + public static extern void switch_codec_implementation_decode_video_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_control_get")] - public static extern IntPtr switch_codec_implementation_codec_control_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_decode_video_get___")] + public static extern global::System.IntPtr switch_codec_implementation_decode_video_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_destroy_set")] - public static extern void switch_codec_implementation_destroy_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_control_set___")] + public static extern void switch_codec_implementation_codec_control_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_destroy_get")] - public static extern IntPtr switch_codec_implementation_destroy_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_control_get___")] + public static extern global::System.IntPtr switch_codec_implementation_codec_control_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_id_set")] - public static extern void switch_codec_implementation_codec_id_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_destroy_set___")] + public static extern void switch_codec_implementation_destroy_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_codec_id_get")] - public static extern uint switch_codec_implementation_codec_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_destroy_get___")] + public static extern global::System.IntPtr switch_codec_implementation_destroy_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_impl_id_set")] - public static extern void switch_codec_implementation_impl_id_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_id_set___")] + public static extern void switch_codec_implementation_codec_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_impl_id_get")] - public static extern uint switch_codec_implementation_impl_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_codec_id_get___")] + public static extern uint switch_codec_implementation_codec_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_modname_set")] - public static extern void switch_codec_implementation_modname_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_impl_id_set___")] + public static extern void switch_codec_implementation_impl_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_modname_get")] - public static extern string switch_codec_implementation_modname_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_impl_id_get___")] + public static extern uint switch_codec_implementation_impl_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_next_set")] - public static extern void switch_codec_implementation_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_modname_set___")] + public static extern void switch_codec_implementation_modname_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_implementation_next_get")] - public static extern IntPtr switch_codec_implementation_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_modname_get___")] + public static extern string switch_codec_implementation_modname_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec_implementation")] - public static extern IntPtr new_switch_codec_implementation(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_next_set___")] + public static extern void switch_codec_implementation_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec_implementation")] - public static extern void delete_switch_codec_implementation(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_implementation_next_get___")] + public static extern global::System.IntPtr switch_codec_implementation_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_interface_name_set")] - public static extern void switch_codec_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_codec_implementation___")] + public static extern global::System.IntPtr new_switch_codec_implementation(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_interface_name_get")] - public static extern string switch_codec_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_codec_implementation___")] + public static extern void delete_switch_codec_implementation(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_implementations_set")] - public static extern void switch_codec_interface_implementations_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_interface_name_set___")] + public static extern void switch_codec_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_implementations_get")] - public static extern IntPtr switch_codec_interface_implementations_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_interface_name_get___")] + public static extern string switch_codec_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_parse_fmtp_set")] - public static extern void switch_codec_interface_parse_fmtp_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_implementations_set___")] + public static extern void switch_codec_interface_implementations_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_parse_fmtp_get")] - public static extern IntPtr switch_codec_interface_parse_fmtp_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_implementations_get___")] + public static extern global::System.IntPtr switch_codec_interface_implementations_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_codec_id_set")] - public static extern void switch_codec_interface_codec_id_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_parse_fmtp_set___")] + public static extern void switch_codec_interface_parse_fmtp_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_codec_id_get")] - public static extern uint switch_codec_interface_codec_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_parse_fmtp_get___")] + public static extern global::System.IntPtr switch_codec_interface_parse_fmtp_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_rwlock_set")] - public static extern void switch_codec_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_codec_id_set___")] + public static extern void switch_codec_interface_codec_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_rwlock_get")] - public static extern IntPtr switch_codec_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_codec_id_get___")] + public static extern uint switch_codec_interface_codec_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_refs_set")] - public static extern void switch_codec_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_rwlock_set___")] + public static extern void switch_codec_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_refs_get")] - public static extern int switch_codec_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_codec_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_reflock_set")] - public static extern void switch_codec_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_refs_set___")] + public static extern void switch_codec_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_reflock_get")] - public static extern IntPtr switch_codec_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_refs_get___")] + public static extern int switch_codec_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_modname_set")] - public static extern void switch_codec_interface_modname_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_reflock_set___")] + public static extern void switch_codec_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_modname_get")] - public static extern string switch_codec_interface_modname_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_reflock_get___")] + public static extern global::System.IntPtr switch_codec_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_parent_set")] - public static extern void switch_codec_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_modname_set___")] + public static extern void switch_codec_interface_modname_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_parent_get")] - public static extern IntPtr switch_codec_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_modname_get___")] + public static extern string switch_codec_interface_modname_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_next_set")] - public static extern void switch_codec_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_parent_set___")] + public static extern void switch_codec_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_next_get")] - public static extern IntPtr switch_codec_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_parent_get___")] + public static extern global::System.IntPtr switch_codec_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec_interface")] - public static extern IntPtr new_switch_codec_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_next_set___")] + public static extern void switch_codec_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec_interface")] - public static extern void delete_switch_codec_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_codec_interface_next_get___")] + public static extern global::System.IntPtr switch_codec_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_interface_name_set")] - public static extern void switch_application_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_codec_interface___")] + public static extern global::System.IntPtr new_switch_codec_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_interface_name_get")] - public static extern string switch_application_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_codec_interface___")] + public static extern void delete_switch_codec_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_application_function_set")] - public static extern void switch_application_interface_application_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_interface_name_set___")] + public static extern void switch_application_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_application_function_get")] - public static extern IntPtr switch_application_interface_application_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_interface_name_get___")] + public static extern string switch_application_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_long_desc_set")] - public static extern void switch_application_interface_long_desc_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_application_function_set___")] + public static extern void switch_application_interface_application_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_long_desc_get")] - public static extern string switch_application_interface_long_desc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_application_function_get___")] + public static extern global::System.IntPtr switch_application_interface_application_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_short_desc_set")] - public static extern void switch_application_interface_short_desc_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_long_desc_set___")] + public static extern void switch_application_interface_long_desc_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_short_desc_get")] - public static extern string switch_application_interface_short_desc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_long_desc_get___")] + public static extern string switch_application_interface_long_desc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_syntax_set")] - public static extern void switch_application_interface_syntax_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_short_desc_set___")] + public static extern void switch_application_interface_short_desc_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_syntax_get")] - public static extern string switch_application_interface_syntax_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_short_desc_get___")] + public static extern string switch_application_interface_short_desc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_flags_set")] - public static extern void switch_application_interface_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_syntax_set___")] + public static extern void switch_application_interface_syntax_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_flags_get")] - public static extern uint switch_application_interface_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_syntax_get___")] + public static extern string switch_application_interface_syntax_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_rwlock_set")] - public static extern void switch_application_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_flags_set___")] + public static extern void switch_application_interface_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_rwlock_get")] - public static extern IntPtr switch_application_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_flags_get___")] + public static extern uint switch_application_interface_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_refs_set")] - public static extern void switch_application_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_rwlock_set___")] + public static extern void switch_application_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_refs_get")] - public static extern int switch_application_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_application_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_reflock_set")] - public static extern void switch_application_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_refs_set___")] + public static extern void switch_application_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_reflock_get")] - public static extern IntPtr switch_application_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_refs_get___")] + public static extern int switch_application_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_parent_set")] - public static extern void switch_application_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_reflock_set___")] + public static extern void switch_application_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_parent_get")] - public static extern IntPtr switch_application_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_reflock_get___")] + public static extern global::System.IntPtr switch_application_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_next_set")] - public static extern void switch_application_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_parent_set___")] + public static extern void switch_application_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_application_interface_next_get")] - public static extern IntPtr switch_application_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_parent_get___")] + public static extern global::System.IntPtr switch_application_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_application_interface")] - public static extern IntPtr new_switch_application_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_next_set___")] + public static extern void switch_application_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_application_interface")] - public static extern void delete_switch_application_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_application_interface_next_get___")] + public static extern global::System.IntPtr switch_application_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_interface_name_set")] - public static extern void switch_chat_application_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_application_interface___")] + public static extern global::System.IntPtr new_switch_application_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_interface_name_get")] - public static extern string switch_chat_application_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_application_interface___")] + public static extern void delete_switch_application_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_chat_application_function_set")] - public static extern void switch_chat_application_interface_chat_application_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_interface_name_set___")] + public static extern void switch_chat_application_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_chat_application_function_get")] - public static extern IntPtr switch_chat_application_interface_chat_application_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_interface_name_get___")] + public static extern string switch_chat_application_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_long_desc_set")] - public static extern void switch_chat_application_interface_long_desc_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_chat_application_function_set___")] + public static extern void switch_chat_application_interface_chat_application_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_long_desc_get")] - public static extern string switch_chat_application_interface_long_desc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_chat_application_function_get___")] + public static extern global::System.IntPtr switch_chat_application_interface_chat_application_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_short_desc_set")] - public static extern void switch_chat_application_interface_short_desc_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_long_desc_set___")] + public static extern void switch_chat_application_interface_long_desc_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_short_desc_get")] - public static extern string switch_chat_application_interface_short_desc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_long_desc_get___")] + public static extern string switch_chat_application_interface_long_desc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_syntax_set")] - public static extern void switch_chat_application_interface_syntax_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_short_desc_set___")] + public static extern void switch_chat_application_interface_short_desc_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_syntax_get")] - public static extern string switch_chat_application_interface_syntax_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_short_desc_get___")] + public static extern string switch_chat_application_interface_short_desc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_flags_set")] - public static extern void switch_chat_application_interface_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_syntax_set___")] + public static extern void switch_chat_application_interface_syntax_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_flags_get")] - public static extern uint switch_chat_application_interface_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_syntax_get___")] + public static extern string switch_chat_application_interface_syntax_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_rwlock_set")] - public static extern void switch_chat_application_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_flags_set___")] + public static extern void switch_chat_application_interface_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_rwlock_get")] - public static extern IntPtr switch_chat_application_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_flags_get___")] + public static extern uint switch_chat_application_interface_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_refs_set")] - public static extern void switch_chat_application_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_rwlock_set___")] + public static extern void switch_chat_application_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_refs_get")] - public static extern int switch_chat_application_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_chat_application_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_reflock_set")] - public static extern void switch_chat_application_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_refs_set___")] + public static extern void switch_chat_application_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_reflock_get")] - public static extern IntPtr switch_chat_application_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_refs_get___")] + public static extern int switch_chat_application_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_parent_set")] - public static extern void switch_chat_application_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_reflock_set___")] + public static extern void switch_chat_application_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_parent_get")] - public static extern IntPtr switch_chat_application_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_reflock_get___")] + public static extern global::System.IntPtr switch_chat_application_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_next_set")] - public static extern void switch_chat_application_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_parent_set___")] + public static extern void switch_chat_application_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_chat_application_interface_next_get")] - public static extern IntPtr switch_chat_application_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_parent_get___")] + public static extern global::System.IntPtr switch_chat_application_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_chat_application_interface")] - public static extern IntPtr new_switch_chat_application_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_next_set___")] + public static extern void switch_chat_application_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_chat_application_interface")] - public static extern void delete_switch_chat_application_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_chat_application_interface_next_get___")] + public static extern global::System.IntPtr switch_chat_application_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_interface_name_set")] - public static extern void switch_api_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_chat_application_interface___")] + public static extern global::System.IntPtr new_switch_chat_application_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_interface_name_get")] - public static extern string switch_api_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_chat_application_interface___")] + public static extern void delete_switch_chat_application_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_desc_set")] - public static extern void switch_api_interface_desc_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_interface_name_set___")] + public static extern void switch_api_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_desc_get")] - public static extern string switch_api_interface_desc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_interface_name_get___")] + public static extern string switch_api_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_function_set")] - public static extern void switch_api_interface_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_desc_set___")] + public static extern void switch_api_interface_desc_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_function_get")] - public static extern IntPtr switch_api_interface_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_desc_get___")] + public static extern string switch_api_interface_desc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_syntax_set")] - public static extern void switch_api_interface_syntax_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_function_set___")] + public static extern void switch_api_interface_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_syntax_get")] - public static extern string switch_api_interface_syntax_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_function_get___")] + public static extern global::System.IntPtr switch_api_interface_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_rwlock_set")] - public static extern void switch_api_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_syntax_set___")] + public static extern void switch_api_interface_syntax_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_rwlock_get")] - public static extern IntPtr switch_api_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_syntax_get___")] + public static extern string switch_api_interface_syntax_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_refs_set")] - public static extern void switch_api_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_rwlock_set___")] + public static extern void switch_api_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_refs_get")] - public static extern int switch_api_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_api_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_reflock_set")] - public static extern void switch_api_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_refs_set___")] + public static extern void switch_api_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_reflock_get")] - public static extern IntPtr switch_api_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_refs_get___")] + public static extern int switch_api_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_parent_set")] - public static extern void switch_api_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_reflock_set___")] + public static extern void switch_api_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_parent_get")] - public static extern IntPtr switch_api_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_reflock_get___")] + public static extern global::System.IntPtr switch_api_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_next_set")] - public static extern void switch_api_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_parent_set___")] + public static extern void switch_api_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_api_interface_next_get")] - public static extern IntPtr switch_api_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_parent_get___")] + public static extern global::System.IntPtr switch_api_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_api_interface")] - public static extern IntPtr new_switch_api_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_next_set___")] + public static extern void switch_api_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_api_interface")] - public static extern void delete_switch_api_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_api_interface_next_get___")] + public static extern global::System.IntPtr switch_api_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_interface_name_set")] - public static extern void switch_json_api_interface_interface_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_api_interface___")] + public static extern global::System.IntPtr new_switch_api_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_interface_name_get")] - public static extern string switch_json_api_interface_interface_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_api_interface___")] + public static extern void delete_switch_api_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_desc_set")] - public static extern void switch_json_api_interface_desc_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_interface_name_set___")] + public static extern void switch_json_api_interface_interface_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_desc_get")] - public static extern string switch_json_api_interface_desc_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_interface_name_get___")] + public static extern string switch_json_api_interface_interface_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_function_set")] - public static extern void switch_json_api_interface_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_desc_set___")] + public static extern void switch_json_api_interface_desc_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_function_get")] - public static extern IntPtr switch_json_api_interface_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_desc_get___")] + public static extern string switch_json_api_interface_desc_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_syntax_set")] - public static extern void switch_json_api_interface_syntax_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_function_set___")] + public static extern void switch_json_api_interface_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_syntax_get")] - public static extern string switch_json_api_interface_syntax_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_function_get___")] + public static extern global::System.IntPtr switch_json_api_interface_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_rwlock_set")] - public static extern void switch_json_api_interface_rwlock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_syntax_set___")] + public static extern void switch_json_api_interface_syntax_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_rwlock_get")] - public static extern IntPtr switch_json_api_interface_rwlock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_syntax_get___")] + public static extern string switch_json_api_interface_syntax_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_refs_set")] - public static extern void switch_json_api_interface_refs_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_rwlock_set___")] + public static extern void switch_json_api_interface_rwlock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_refs_get")] - public static extern int switch_json_api_interface_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_rwlock_get___")] + public static extern global::System.IntPtr switch_json_api_interface_rwlock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_reflock_set")] - public static extern void switch_json_api_interface_reflock_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_refs_set___")] + public static extern void switch_json_api_interface_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_reflock_get")] - public static extern IntPtr switch_json_api_interface_reflock_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_refs_get___")] + public static extern int switch_json_api_interface_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_parent_set")] - public static extern void switch_json_api_interface_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_reflock_set___")] + public static extern void switch_json_api_interface_reflock_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_parent_get")] - public static extern IntPtr switch_json_api_interface_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_reflock_get___")] + public static extern global::System.IntPtr switch_json_api_interface_reflock_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_next_set")] - public static extern void switch_json_api_interface_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_parent_set___")] + public static extern void switch_json_api_interface_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_api_interface_next_get")] - public static extern IntPtr switch_json_api_interface_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_parent_get___")] + public static extern global::System.IntPtr switch_json_api_interface_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_json_api_interface")] - public static extern IntPtr new_switch_json_api_interface(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_next_set___")] + public static extern void switch_json_api_interface_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_json_api_interface")] - public static extern void delete_switch_json_api_interface(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_api_interface_next_get___")] + public static extern global::System.IntPtr switch_json_api_interface_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_session_set")] - public static extern void switch_slin_data_session_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_json_api_interface___")] + public static extern global::System.IntPtr new_switch_json_api_interface(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_session_get")] - public static extern IntPtr switch_slin_data_session_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_json_api_interface___")] + public static extern void delete_switch_json_api_interface(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_write_frame_set")] - public static extern void switch_slin_data_write_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_slin_data_session_set___")] + public static extern void switch_slin_data_session_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_write_frame_get")] - public static extern IntPtr switch_slin_data_write_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_slin_data_session_get___")] + public static extern global::System.IntPtr switch_slin_data_session_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_codec_set")] - public static extern void switch_slin_data_codec_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_slin_data_write_frame_set___")] + public static extern void switch_slin_data_write_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_codec_get")] - public static extern IntPtr switch_slin_data_codec_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_slin_data_write_frame_get___")] + public static extern global::System.IntPtr switch_slin_data_write_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_frame_data_set")] - public static extern void switch_slin_data_frame_data_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_slin_data_codec_set___")] + public static extern void switch_slin_data_codec_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_slin_data_frame_data_get")] - public static extern string switch_slin_data_frame_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_slin_data_codec_get___")] + public static extern global::System.IntPtr switch_slin_data_codec_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_slin_data")] - public static extern IntPtr new_switch_slin_data(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_slin_data_frame_data_set___")] + public static extern void switch_slin_data_frame_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_slin_data")] - public static extern void delete_switch_slin_data(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_slin_data_frame_data_get___")] + public static extern string switch_slin_data_frame_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_profile_created_set")] - public static extern void switch_channel_timetable_profile_created_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_slin_data___")] + public static extern global::System.IntPtr new_switch_slin_data(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_profile_created_get")] - public static extern IntPtr switch_channel_timetable_profile_created_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_slin_data___")] + public static extern void delete_switch_slin_data(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_created_set")] - public static extern void switch_channel_timetable_created_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_profile_created_set___")] + public static extern void switch_channel_timetable_profile_created_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_created_get")] - public static extern IntPtr switch_channel_timetable_created_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_profile_created_get___")] + public static extern global::System.IntPtr switch_channel_timetable_profile_created_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_answered_set")] - public static extern void switch_channel_timetable_answered_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_created_set___")] + public static extern void switch_channel_timetable_created_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_answered_get")] - public static extern IntPtr switch_channel_timetable_answered_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_created_get___")] + public static extern global::System.IntPtr switch_channel_timetable_created_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_progress_set")] - public static extern void switch_channel_timetable_progress_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_answered_set___")] + public static extern void switch_channel_timetable_answered_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_progress_get")] - public static extern IntPtr switch_channel_timetable_progress_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_answered_get___")] + public static extern global::System.IntPtr switch_channel_timetable_answered_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_progress_media_set")] - public static extern void switch_channel_timetable_progress_media_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_progress_set___")] + public static extern void switch_channel_timetable_progress_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_progress_media_get")] - public static extern IntPtr switch_channel_timetable_progress_media_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_progress_get___")] + public static extern global::System.IntPtr switch_channel_timetable_progress_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_hungup_set")] - public static extern void switch_channel_timetable_hungup_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_progress_media_set___")] + public static extern void switch_channel_timetable_progress_media_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_hungup_get")] - public static extern IntPtr switch_channel_timetable_hungup_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_progress_media_get___")] + public static extern global::System.IntPtr switch_channel_timetable_progress_media_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_transferred_set")] - public static extern void switch_channel_timetable_transferred_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_hungup_set___")] + public static extern void switch_channel_timetable_hungup_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_transferred_get")] - public static extern IntPtr switch_channel_timetable_transferred_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_hungup_get___")] + public static extern global::System.IntPtr switch_channel_timetable_hungup_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_resurrected_set")] - public static extern void switch_channel_timetable_resurrected_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_transferred_set___")] + public static extern void switch_channel_timetable_transferred_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_resurrected_get")] - public static extern IntPtr switch_channel_timetable_resurrected_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_transferred_get___")] + public static extern global::System.IntPtr switch_channel_timetable_transferred_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_bridged_set")] - public static extern void switch_channel_timetable_bridged_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_resurrected_set___")] + public static extern void switch_channel_timetable_resurrected_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_bridged_get")] - public static extern IntPtr switch_channel_timetable_bridged_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_resurrected_get___")] + public static extern global::System.IntPtr switch_channel_timetable_resurrected_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_last_hold_set")] - public static extern void switch_channel_timetable_last_hold_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_bridged_set___")] + public static extern void switch_channel_timetable_bridged_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_last_hold_get")] - public static extern IntPtr switch_channel_timetable_last_hold_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_bridged_get___")] + public static extern global::System.IntPtr switch_channel_timetable_bridged_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_hold_accum_set")] - public static extern void switch_channel_timetable_hold_accum_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_last_hold_set___")] + public static extern void switch_channel_timetable_last_hold_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_hold_accum_get")] - public static extern IntPtr switch_channel_timetable_hold_accum_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_last_hold_get___")] + public static extern global::System.IntPtr switch_channel_timetable_last_hold_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_next_set")] - public static extern void switch_channel_timetable_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_hold_accum_set___")] + public static extern void switch_channel_timetable_hold_accum_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_timetable_next_get")] - public static extern IntPtr switch_channel_timetable_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_hold_accum_get___")] + public static extern global::System.IntPtr switch_channel_timetable_hold_accum_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_channel_timetable")] - public static extern IntPtr new_switch_channel_timetable(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_next_set___")] + public static extern void switch_channel_timetable_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_channel_timetable")] - public static extern void delete_switch_channel_timetable(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_timetable_next_get___")] + public static extern global::System.IntPtr switch_channel_timetable_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_state")] - public static extern int switch_channel_get_state(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_channel_timetable___")] + public static extern global::System.IntPtr new_switch_channel_timetable(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_running_state")] - public static extern int switch_channel_get_running_state(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_channel_timetable___")] + public static extern void delete_switch_channel_timetable(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_check_signal")] - public static extern int switch_channel_check_signal(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_state___")] + public static extern int switch_channel_get_state(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_ready")] - public static extern int switch_channel_test_ready(HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_running_state___")] + public static extern int switch_channel_get_running_state(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_wait_for_state")] - public static extern void switch_channel_wait_for_state(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_check_signal___")] + public static extern int switch_channel_check_signal(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_wait_for_state_timeout")] - public static extern void switch_channel_wait_for_state_timeout(HandleRef jarg1, int jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_test_ready___")] + public static extern int switch_channel_test_ready(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_wait_for_flag")] - public static extern int switch_channel_wait_for_flag(HandleRef jarg1, int jarg2, int jarg3, uint jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_wait_for_state___")] + public static extern void switch_channel_wait_for_state(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_set_state")] - public static extern int switch_channel_perform_set_state(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_wait_for_state_timeout___")] + public static extern void switch_channel_wait_for_state_timeout(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_set_running_state")] - public static extern int switch_channel_perform_set_running_state(HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_wait_for_flag___")] + public static extern int switch_channel_wait_for_flag(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, uint jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_str2cause")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_set_state___")] + public static extern int switch_channel_perform_set_state(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_set_running_state___")] + public static extern int switch_channel_perform_set_running_state(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_str2cause___")] public static extern int switch_channel_str2cause(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_cause")] - public static extern int switch_channel_get_cause(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_cause___")] + public static extern int switch_channel_get_cause(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_cause_q850")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_cause_q850___")] public static extern int switch_channel_cause_q850(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_cause_q850")] - public static extern int switch_channel_get_cause_q850(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_cause_q850___")] + public static extern int switch_channel_get_cause_q850(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_cause_ptr")] - public static extern IntPtr switch_channel_get_cause_ptr(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_cause_ptr___")] + public static extern global::System.IntPtr switch_channel_get_cause_ptr(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_cause2str")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_cause2str___")] public static extern string switch_channel_cause2str(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_timetable")] - public static extern IntPtr switch_channel_get_timetable(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_timetable___")] + public static extern global::System.IntPtr switch_channel_get_timetable(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_alloc")] - public static extern int switch_channel_alloc(HandleRef jarg1, int jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_alloc___")] + public static extern int switch_channel_alloc(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_init")] - public static extern int switch_channel_init(HandleRef jarg1, HandleRef jarg2, int jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_init___")] + public static extern int switch_channel_init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_presence_data_vals")] - public static extern void switch_channel_set_presence_data_vals(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_presence_data_vals___")] + public static extern void switch_channel_set_presence_data_vals(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_presence")] - public static extern void switch_channel_perform_presence(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, int jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_presence___")] + public static extern void switch_channel_perform_presence(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, int jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_uninit")] - public static extern void switch_channel_uninit(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_uninit___")] + public static extern void switch_channel_uninit(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_caller_profile")] - public static extern void switch_channel_set_caller_profile(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_caller_profile___")] + public static extern void switch_channel_set_caller_profile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_step_caller_profile")] - public static extern void switch_channel_step_caller_profile(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_step_caller_profile___")] + public static extern void switch_channel_step_caller_profile(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_caller_profile")] - public static extern IntPtr switch_channel_get_caller_profile(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_caller_profile___")] + public static extern global::System.IntPtr switch_channel_get_caller_profile(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_originator_caller_profile")] - public static extern void switch_channel_set_originator_caller_profile(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_originator_caller_profile___")] + public static extern void switch_channel_set_originator_caller_profile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_hunt_caller_profile")] - public static extern void switch_channel_set_hunt_caller_profile(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_hunt_caller_profile___")] + public static extern void switch_channel_set_hunt_caller_profile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_originator_caller_profile")] - public static extern IntPtr switch_channel_get_originator_caller_profile(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_originator_caller_profile___")] + public static extern global::System.IntPtr switch_channel_get_originator_caller_profile(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_originatee_caller_profile")] - public static extern void switch_channel_set_originatee_caller_profile(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_originatee_caller_profile___")] + public static extern void switch_channel_set_originatee_caller_profile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_originatee_caller_profile")] - public static extern IntPtr switch_channel_get_originatee_caller_profile(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_originatee_caller_profile___")] + public static extern global::System.IntPtr switch_channel_get_originatee_caller_profile(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_origination_caller_profile")] - public static extern void switch_channel_set_origination_caller_profile(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_origination_caller_profile___")] + public static extern void switch_channel_set_origination_caller_profile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_origination_caller_profile")] - public static extern IntPtr switch_channel_get_origination_caller_profile(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_origination_caller_profile___")] + public static extern global::System.IntPtr switch_channel_get_origination_caller_profile(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_uuid")] - public static extern string switch_channel_get_uuid(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_uuid___")] + public static extern string switch_channel_get_uuid(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_profile_var")] - public static extern int switch_channel_set_profile_var(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_profile_var___")] + public static extern int switch_channel_set_profile_var(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_variable_var_check")] - public static extern int switch_channel_set_variable_var_check(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_variable_var_check___")] + public static extern int switch_channel_set_variable_var_check(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_add_variable_var_check")] - public static extern int switch_channel_add_variable_var_check(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_add_variable_var_check___")] + public static extern int switch_channel_add_variable_var_check(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_variable_printf")] - public static extern int switch_channel_set_variable_printf(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_variable_printf___")] + public static extern int switch_channel_set_variable_printf(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_variable_name_printf")] - public static extern int switch_channel_set_variable_name_printf(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_variable_name_printf___")] + public static extern int switch_channel_set_variable_name_printf(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_variable_partner_var_check")] - public static extern int switch_channel_set_variable_partner_var_check(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_variable_partner_var_check___")] + public static extern int switch_channel_set_variable_partner_var_check(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_variable_partner")] - public static extern string switch_channel_get_variable_partner(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_variable_partner___")] + public static extern string switch_channel_get_variable_partner(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_hold_music")] - public static extern string switch_channel_get_hold_music(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_hold_music___")] + public static extern string switch_channel_get_hold_music(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_hold_music_partner")] - public static extern string switch_channel_get_hold_music_partner(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_hold_music_partner___")] + public static extern string switch_channel_get_hold_music_partner(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_del_variable_prefix")] - public static extern uint switch_channel_del_variable_prefix(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_del_variable_prefix___")] + public static extern uint switch_channel_del_variable_prefix(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_transfer_variable_prefix")] - public static extern int switch_channel_transfer_variable_prefix(HandleRef jarg1, HandleRef jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_transfer_variable_prefix___")] + public static extern int switch_channel_transfer_variable_prefix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_export_variable_var_check")] - public static extern int switch_channel_export_variable_var_check(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_export_variable_var_check___")] + public static extern int switch_channel_export_variable_var_check(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_process_export")] - public static extern void switch_channel_process_export(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_process_export___")] + public static extern void switch_channel_process_export(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_export_variable_printf")] - public static extern int switch_channel_export_variable_printf(HandleRef jarg1, string jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_export_variable_printf___")] + public static extern int switch_channel_export_variable_printf(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_scope_variables")] - public static extern void switch_channel_set_scope_variables(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_scope_variables___")] + public static extern void switch_channel_set_scope_variables(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_scope_variables")] - public static extern int switch_channel_get_scope_variables(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_scope_variables___")] + public static extern int switch_channel_get_scope_variables(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_variable_dup")] - public static extern string switch_channel_get_variable_dup(HandleRef jarg1, string jarg2, int jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_variable_dup___")] + public static extern string switch_channel_get_variable_dup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_variables")] - public static extern int switch_channel_get_variables(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_variables___")] + public static extern int switch_channel_get_variables(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_pass_callee_id")] - public static extern int switch_channel_pass_callee_id(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_pass_callee_id___")] + public static extern int switch_channel_pass_callee_id(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_var_true")] - public static extern int switch_channel_var_true(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_var_false___")] + public static extern int switch_channel_var_false(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_variable_first")] - public static extern IntPtr switch_channel_variable_first(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_var_true___")] + public static extern int switch_channel_var_true(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_variable_last")] - public static extern void switch_channel_variable_last(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_variable_first___")] + public static extern global::System.IntPtr switch_channel_variable_first(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_restart")] - public static extern void switch_channel_restart(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_variable_last___")] + public static extern void switch_channel_variable_last(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_caller_extension_masquerade")] - public static extern int switch_channel_caller_extension_masquerade(HandleRef jarg1, HandleRef jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_restart___")] + public static extern void switch_channel_restart(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_caller_extension")] - public static extern void switch_channel_set_caller_extension(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_caller_extension_masquerade___")] + public static extern int switch_channel_caller_extension_masquerade(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_invert_cid")] - public static extern void switch_channel_invert_cid(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_caller_extension___")] + public static extern void switch_channel_set_caller_extension(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_flip_cid")] - public static extern void switch_channel_flip_cid(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_invert_cid___")] + public static extern void switch_channel_invert_cid(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_sort_cid")] - public static extern void switch_channel_sort_cid(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_flip_cid___")] + public static extern void switch_channel_flip_cid(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_caller_extension")] - public static extern IntPtr switch_channel_get_caller_extension(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_sort_cid___")] + public static extern void switch_channel_sort_cid(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_flag")] - public static extern uint switch_channel_test_flag(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_caller_extension___")] + public static extern global::System.IntPtr switch_channel_get_caller_extension(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_flag_value")] - public static extern void switch_channel_set_flag_value(HandleRef jarg1, int jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_test_flag___")] + public static extern uint switch_channel_test_flag(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_flag_recursive")] - public static extern void switch_channel_set_flag_recursive(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_flag_value___")] + public static extern void switch_channel_set_flag_value(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_cap_value")] - public static extern void switch_channel_set_cap_value(HandleRef jarg1, int jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_flag_recursive___")] + public static extern void switch_channel_set_flag_recursive(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_cap")] - public static extern void switch_channel_clear_cap(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_cap_value___")] + public static extern void switch_channel_set_cap_value(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_cap")] - public static extern uint switch_channel_test_cap(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_clear_cap___")] + public static extern void switch_channel_clear_cap(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_cap_partner")] - public static extern uint switch_channel_test_cap_partner(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_test_cap___")] + public static extern uint switch_channel_test_cap(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_flag_partner")] - public static extern int switch_channel_set_flag_partner(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_test_cap_partner___")] + public static extern uint switch_channel_test_cap_partner(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_flag_partner")] - public static extern int switch_channel_clear_flag_partner(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_flag_partner___")] + public static extern int switch_channel_set_flag_partner(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_flag_partner")] - public static extern uint switch_channel_test_flag_partner(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_clear_flag_partner___")] + public static extern int switch_channel_clear_flag_partner(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_state_flag")] - public static extern void switch_channel_set_state_flag(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_test_flag_partner___")] + public static extern uint switch_channel_test_flag_partner(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_state_flag")] - public static extern void switch_channel_clear_state_flag(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_state_flag___")] + public static extern void switch_channel_set_state_flag(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_flag")] - public static extern void switch_channel_clear_flag(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_clear_state_flag___")] + public static extern void switch_channel_clear_state_flag(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_flag_recursive")] - public static extern void switch_channel_clear_flag_recursive(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_clear_flag___")] + public static extern void switch_channel_clear_flag(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_answer")] - public static extern int switch_channel_perform_answer(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_clear_flag_recursive___")] + public static extern void switch_channel_clear_flag_recursive(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_mark_answered")] - public static extern int switch_channel_perform_mark_answered(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_answer___")] + public static extern int switch_channel_perform_answer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_check_zrtp")] - public static extern void switch_channel_check_zrtp(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_mark_answered___")] + public static extern int switch_channel_perform_mark_answered(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_acknowledge_call")] - public static extern int switch_channel_perform_acknowledge_call(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_check_zrtp___")] + public static extern void switch_channel_check_zrtp(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_ring_ready_value")] - public static extern int switch_channel_perform_ring_ready_value(HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_acknowledge_call___")] + public static extern int switch_channel_perform_acknowledge_call(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_pre_answer")] - public static extern int switch_channel_perform_pre_answer(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_ring_ready_value___")] + public static extern int switch_channel_perform_ring_ready_value(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_mark_pre_answered")] - public static extern int switch_channel_perform_mark_pre_answered(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_pre_answer___")] + public static extern int switch_channel_perform_pre_answer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_mark_ring_ready_value")] - public static extern int switch_channel_perform_mark_ring_ready_value(HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_mark_pre_answered___")] + public static extern int switch_channel_perform_mark_pre_answered(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_add_state_handler")] - public static extern int switch_channel_add_state_handler(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_mark_ring_ready_value___")] + public static extern int switch_channel_perform_mark_ring_ready_value(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_state_handler")] - public static extern void switch_channel_clear_state_handler(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_add_state_handler___")] + public static extern int switch_channel_add_state_handler(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_state_handler")] - public static extern IntPtr switch_channel_get_state_handler(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_clear_state_handler___")] + public static extern void switch_channel_clear_state_handler(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_private")] - public static extern int switch_channel_set_private(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_state_handler___")] + public static extern global::System.IntPtr switch_channel_get_state_handler(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_private")] - public static extern IntPtr switch_channel_get_private(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_private___")] + public static extern int switch_channel_set_private(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_private_partner")] - public static extern IntPtr switch_channel_get_private_partner(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_private___")] + public static extern global::System.IntPtr switch_channel_get_private(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_name")] - public static extern int switch_channel_set_name(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_private_partner___")] + public static extern global::System.IntPtr switch_channel_get_private_partner(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_name")] - public static extern string switch_channel_get_name(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_name___")] + public static extern int switch_channel_set_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_hangup")] - public static extern int switch_channel_perform_hangup(HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_name___")] + public static extern string switch_channel_get_name(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_has_dtmf")] - public static extern IntPtr switch_channel_has_dtmf(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_hangup___")] + public static extern int switch_channel_perform_hangup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_dtmf_lock")] - public static extern int switch_channel_dtmf_lock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_has_dtmf___")] + public static extern global::System.IntPtr switch_channel_has_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_try_dtmf_lock")] - public static extern int switch_channel_try_dtmf_lock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_dtmf_lock___")] + public static extern int switch_channel_dtmf_lock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_dtmf_unlock")] - public static extern int switch_channel_dtmf_unlock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_try_dtmf_lock___")] + public static extern int switch_channel_try_dtmf_lock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_queue_dtmf")] - public static extern int switch_channel_queue_dtmf(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_dtmf_unlock___")] + public static extern int switch_channel_dtmf_unlock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_queue_dtmf_string")] - public static extern int switch_channel_queue_dtmf_string(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_queue_dtmf___")] + public static extern int switch_channel_queue_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_dequeue_dtmf")] - public static extern int switch_channel_dequeue_dtmf(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_queue_dtmf_string___")] + public static extern int switch_channel_queue_dtmf_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_flush_dtmf")] - public static extern void switch_channel_flush_dtmf(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_dequeue_dtmf___")] + public static extern int switch_channel_dequeue_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_dequeue_dtmf_string")] - public static extern IntPtr switch_channel_dequeue_dtmf_string(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_flush_dtmf___")] + public static extern void switch_channel_flush_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_state_name")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_dequeue_dtmf_string___")] + public static extern global::System.IntPtr switch_channel_dequeue_dtmf_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_state_name___")] public static extern string switch_channel_state_name(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_name_state")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_name_state___")] public static extern int switch_channel_name_state(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_event_set_data")] - public static extern void switch_channel_event_set_data(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_event_set_data___")] + public static extern void switch_channel_event_set_data(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_event_set_basic_data")] - public static extern void switch_channel_event_set_basic_data(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_event_set_basic_data___")] + public static extern void switch_channel_event_set_basic_data(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_event_set_extended_data")] - public static extern void switch_channel_event_set_extended_data(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_event_set_extended_data___")] + public static extern void switch_channel_event_set_extended_data(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_expand_variables_check")] - public static extern string switch_channel_expand_variables_check(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_expand_variables_check___")] + public static extern string switch_channel_expand_variables_check(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, uint jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_build_param_string")] - public static extern string switch_channel_build_param_string(HandleRef jarg1, HandleRef jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_build_param_string___")] + public static extern string switch_channel_build_param_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_timestamps")] - public static extern int switch_channel_set_timestamps(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_timestamps___")] + public static extern int switch_channel_set_timestamps(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_audio_sync")] - public static extern void switch_channel_perform_audio_sync(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_audio_sync___")] + public static extern void switch_channel_perform_audio_sync(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_video_sync")] - public static extern void switch_channel_perform_video_sync(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_video_sync___")] + public static extern void switch_channel_perform_video_sync(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_private_flag")] - public static extern void switch_channel_set_private_flag(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_private_flag___")] + public static extern void switch_channel_set_private_flag(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_private_flag")] - public static extern void switch_channel_clear_private_flag(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_clear_private_flag___")] + public static extern void switch_channel_clear_private_flag(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_private_flag")] - public static extern int switch_channel_test_private_flag(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_test_private_flag___")] + public static extern int switch_channel_test_private_flag(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_app_flag_key")] - public static extern void switch_channel_set_app_flag_key(string jarg1, HandleRef jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_app_flag_key___")] + public static extern void switch_channel_set_app_flag_key(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_app_flag_key")] - public static extern void switch_channel_clear_app_flag_key(string jarg1, HandleRef jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_clear_app_flag_key___")] + public static extern void switch_channel_clear_app_flag_key(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_test_app_flag_key")] - public static extern int switch_channel_test_app_flag_key(string jarg1, HandleRef jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_test_app_flag_key___")] + public static extern int switch_channel_test_app_flag_key(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_bridge_time")] - public static extern void switch_channel_set_bridge_time(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_bridge_time___")] + public static extern void switch_channel_set_bridge_time(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_hangup_time")] - public static extern void switch_channel_set_hangup_time(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_hangup_time___")] + public static extern void switch_channel_set_hangup_time(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_direction")] - public static extern int switch_channel_direction(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_direction___")] + public static extern int switch_channel_direction(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_logical_direction")] - public static extern int switch_channel_logical_direction(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_logical_direction___")] + public static extern int switch_channel_logical_direction(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_direction")] - public static extern void switch_channel_set_direction(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_direction___")] + public static extern void switch_channel_set_direction(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_session")] - public static extern IntPtr switch_channel_get_session(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_session___")] + public static extern global::System.IntPtr switch_channel_get_session(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_flag_string")] - public static extern string switch_channel_get_flag_string(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_flag_string___")] + public static extern string switch_channel_get_flag_string(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_cap_string")] - public static extern string switch_channel_get_cap_string(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_cap_string___")] + public static extern string switch_channel_get_cap_string(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_state_change_pending")] - public static extern int switch_channel_state_change_pending(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_state_change_pending___")] + public static extern int switch_channel_state_change_pending(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_perform_set_callstate")] - public static extern void switch_channel_perform_set_callstate(HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_perform_set_callstate___")] + public static extern void switch_channel_perform_set_callstate(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, string jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_callstate")] - public static extern int switch_channel_get_callstate(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_callstate___")] + public static extern int switch_channel_get_callstate(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_callstate2str")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_callstate2str___")] public static extern string switch_channel_callstate2str(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_str2callstate")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_str2callstate___")] public static extern int switch_channel_str2callstate(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_mark_hold")] - public static extern void switch_channel_mark_hold(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_mark_hold___")] + public static extern void switch_channel_mark_hold(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_execute_on")] - public static extern int switch_channel_execute_on(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_execute_on___")] + public static extern int switch_channel_execute_on(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_api_on")] - public static extern int switch_channel_api_on(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_api_on___")] + public static extern int switch_channel_api_on(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_process_device_hangup")] - public static extern void switch_channel_process_device_hangup(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_process_device_hangup___")] + public static extern void switch_channel_process_device_hangup(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_queued_extension")] - public static extern IntPtr switch_channel_get_queued_extension(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_queued_extension___")] + public static extern global::System.IntPtr switch_channel_get_queued_extension(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_transfer_to_extension")] - public static extern void switch_channel_transfer_to_extension(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_transfer_to_extension___")] + public static extern void switch_channel_transfer_to_extension(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_partner_uuid")] - public static extern string switch_channel_get_partner_uuid(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_partner_uuid___")] + public static extern string switch_channel_get_partner_uuid(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_partner_uuid_copy")] - public static extern string switch_channel_get_partner_uuid_copy(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_partner_uuid_copy___")] + public static extern string switch_channel_get_partner_uuid_copy(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_hold_record")] - public static extern IntPtr switch_channel_get_hold_record(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_hold_record___")] + public static extern global::System.IntPtr switch_channel_get_hold_record(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_state_thread_lock")] - public static extern void switch_channel_state_thread_lock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_state_thread_lock___")] + public static extern void switch_channel_state_thread_lock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_state_thread_unlock")] - public static extern void switch_channel_state_thread_unlock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_state_thread_unlock___")] + public static extern void switch_channel_state_thread_unlock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_state_thread_trylock")] - public static extern int switch_channel_state_thread_trylock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_state_thread_trylock___")] + public static extern int switch_channel_state_thread_trylock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_handle_cause")] - public static extern void switch_channel_handle_cause(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_handle_cause___")] + public static extern void switch_channel_handle_cause(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_global_init")] - public static extern void switch_channel_global_init(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_global_init___")] + public static extern void switch_channel_global_init(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_global_uninit")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_global_uninit___")] public static extern void switch_channel_global_uninit(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_set_device_id")] - public static extern string switch_channel_set_device_id(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_set_device_id___")] + public static extern string switch_channel_set_device_id(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_clear_device_record")] - public static extern void switch_channel_clear_device_record(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_clear_device_record___")] + public static extern void switch_channel_clear_device_record(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_get_device_record")] - public static extern IntPtr switch_channel_get_device_record(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_get_device_record___")] + public static extern global::System.IntPtr switch_channel_get_device_record(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_release_device_record")] - public static extern void switch_channel_release_device_record(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_release_device_record___")] + public static extern void switch_channel_release_device_record(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_bind_device_state_handler")] - public static extern int switch_channel_bind_device_state_handler(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_bind_device_state_handler___")] + public static extern int switch_channel_bind_device_state_handler(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_unbind_device_state_handler")] - public static extern int switch_channel_unbind_device_state_handler(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_unbind_device_state_handler___")] + public static extern int switch_channel_unbind_device_state_handler(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_device_state2str")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_device_state2str___")] public static extern string switch_channel_device_state2str(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_channel_pass_sdp")] - public static extern int switch_channel_pass_sdp(HandleRef jarg1, HandleRef jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_channel_pass_sdp___")] + public static extern int switch_channel_pass_sdp(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_create_partition")] - public static extern int switch_buffer_create_partition(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_create_partition___")] + public static extern int switch_buffer_create_partition(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_set_partition_data")] - public static extern int switch_buffer_set_partition_data(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_set_partition_data___")] + public static extern int switch_buffer_set_partition_data(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_reset_partition_data")] - public static extern int switch_buffer_reset_partition_data(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_reset_partition_data___")] + public static extern int switch_buffer_reset_partition_data(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_create")] - public static extern int switch_buffer_create(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_create___")] + public static extern int switch_buffer_create(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_create_dynamic")] - public static extern int switch_buffer_create_dynamic(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_create_dynamic___")] + public static extern int switch_buffer_create_dynamic(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_add_mutex")] - public static extern void switch_buffer_add_mutex(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_add_mutex___")] + public static extern void switch_buffer_add_mutex(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_lock")] - public static extern void switch_buffer_lock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_lock___")] + public static extern void switch_buffer_lock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_trylock")] - public static extern int switch_buffer_trylock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_trylock___")] + public static extern int switch_buffer_trylock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_unlock")] - public static extern void switch_buffer_unlock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_unlock___")] + public static extern void switch_buffer_unlock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_len")] - public static extern IntPtr switch_buffer_len(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_len___")] + public static extern global::System.IntPtr switch_buffer_len(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_freespace")] - public static extern IntPtr switch_buffer_freespace(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_freespace___")] + public static extern global::System.IntPtr switch_buffer_freespace(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_inuse")] - public static extern IntPtr switch_buffer_inuse(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_inuse___")] + public static extern global::System.IntPtr switch_buffer_inuse(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_read")] - public static extern IntPtr switch_buffer_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_read___")] + public static extern global::System.IntPtr switch_buffer_read(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_peek")] - public static extern IntPtr switch_buffer_peek(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_peek___")] + public static extern global::System.IntPtr switch_buffer_peek(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_peek_zerocopy")] - public static extern IntPtr switch_buffer_peek_zerocopy(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_peek_zerocopy___")] + public static extern global::System.IntPtr switch_buffer_peek_zerocopy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_read_loop")] - public static extern IntPtr switch_buffer_read_loop(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_read_loop___")] + public static extern global::System.IntPtr switch_buffer_read_loop(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_set_loops")] - public static extern void switch_buffer_set_loops(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_set_loops___")] + public static extern void switch_buffer_set_loops(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_write")] - public static extern IntPtr switch_buffer_write(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_write___")] + public static extern global::System.IntPtr switch_buffer_write(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_toss")] - public static extern IntPtr switch_buffer_toss(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_toss___")] + public static extern global::System.IntPtr switch_buffer_toss(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_zero")] - public static extern void switch_buffer_zero(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_zero___")] + public static extern void switch_buffer_zero(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_slide_write")] - public static extern IntPtr switch_buffer_slide_write(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_slide_write___")] + public static extern global::System.IntPtr switch_buffer_slide_write(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_destroy")] - public static extern void switch_buffer_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_destroy___")] + public static extern void switch_buffer_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_zwrite")] - public static extern IntPtr switch_buffer_zwrite(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_zwrite___")] + public static extern global::System.IntPtr switch_buffer_zwrite(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_buffer_get_head_pointer")] - public static extern IntPtr switch_buffer_get_head_pointer(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_buffer_get_head_pointer___")] + public static extern global::System.IntPtr switch_buffer_get_head_pointer(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_name_set")] - public static extern void switch_event_header_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_header_name_set___")] + public static extern void switch_event_header_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_name_get")] - public static extern string switch_event_header_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_header_name_get___")] + public static extern string switch_event_header_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_value_set")] - public static extern void switch_event_header_value_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_header_value_set___")] + public static extern void switch_event_header_value_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_value_get")] - public static extern string switch_event_header_value_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_header_value_get___")] + public static extern string switch_event_header_value_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_array_set")] - public static extern void switch_event_header_array_set(HandleRef jarg1, ref string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_header_array_set___")] + public static extern void switch_event_header_array_set(global::System.Runtime.InteropServices.HandleRef jarg1, ref string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_array_get")] - public static extern string switch_event_header_array_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_header_array_get___")] + public static extern string switch_event_header_array_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_idx_set")] - public static extern void switch_event_header_idx_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_header_idx_set___")] + public static extern void switch_event_header_idx_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_idx_get")] - public static extern int switch_event_header_idx_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_header_idx_get___")] + public static extern int switch_event_header_idx_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_hash_set")] - public static extern void switch_event_header_hash_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_header_hash_set___")] + public static extern void switch_event_header_hash_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_hash_get")] - public static extern uint switch_event_header_hash_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_header_hash_get___")] + public static extern uint switch_event_header_hash_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_next_set")] - public static extern void switch_event_header_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_header_next_set___")] + public static extern void switch_event_header_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_header_next_get")] - public static extern IntPtr switch_event_header_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_header_next_get___")] + public static extern global::System.IntPtr switch_event_header_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_event_header")] - public static extern IntPtr new_switch_event_header(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_event_header___")] + public static extern global::System.IntPtr new_switch_event_header(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_event_header")] - public static extern void delete_switch_event_header(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_event_header___")] + public static extern void delete_switch_event_header(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_event_id_set")] - public static extern void switch_event_event_id_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_event_id_set___")] + public static extern void switch_event_event_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_event_id_get")] - public static extern int switch_event_event_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_event_id_get___")] + public static extern int switch_event_event_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_priority_set")] - public static extern void switch_event_priority_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_priority_set___")] + public static extern void switch_event_priority_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_priority_get")] - public static extern int switch_event_priority_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_priority_get___")] + public static extern int switch_event_priority_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_owner_set")] - public static extern void switch_event_owner_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_owner_set___")] + public static extern void switch_event_owner_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_owner_get")] - public static extern string switch_event_owner_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_owner_get___")] + public static extern string switch_event_owner_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_subclass_name_set")] - public static extern void switch_event_subclass_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_subclass_name_set___")] + public static extern void switch_event_subclass_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_subclass_name_get")] - public static extern string switch_event_subclass_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_subclass_name_get___")] + public static extern string switch_event_subclass_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_headers_set")] - public static extern void switch_event_headers_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_headers_set___")] + public static extern void switch_event_headers_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_headers_get")] - public static extern IntPtr switch_event_headers_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_headers_get___")] + public static extern global::System.IntPtr switch_event_headers_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_last_header_set")] - public static extern void switch_event_last_header_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_last_header_set___")] + public static extern void switch_event_last_header_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_last_header_get")] - public static extern IntPtr switch_event_last_header_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_last_header_get___")] + public static extern global::System.IntPtr switch_event_last_header_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_body_set")] - public static extern void switch_event_body_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_body_set___")] + public static extern void switch_event_body_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_body_get")] - public static extern string switch_event_body_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_body_get___")] + public static extern string switch_event_body_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_bind_user_data_set")] - public static extern void switch_event_bind_user_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_bind_user_data_set___")] + public static extern void switch_event_bind_user_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_bind_user_data_get")] - public static extern IntPtr switch_event_bind_user_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_bind_user_data_get___")] + public static extern global::System.IntPtr switch_event_bind_user_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_event_user_data_set")] - public static extern void switch_event_event_user_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_event_user_data_set___")] + public static extern void switch_event_event_user_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_event_user_data_get")] - public static extern IntPtr switch_event_event_user_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_event_user_data_get___")] + public static extern global::System.IntPtr switch_event_event_user_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_key_set")] - public static extern void switch_event_key_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_key_set___")] + public static extern void switch_event_key_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_key_get")] - public static extern uint switch_event_key_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_key_get___")] + public static extern uint switch_event_key_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_next_set")] - public static extern void switch_event_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_next_set___")] + public static extern void switch_event_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_next_get")] - public static extern IntPtr switch_event_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_next_get___")] + public static extern global::System.IntPtr switch_event_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_flags_set")] - public static extern void switch_event_flags_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_flags_set___")] + public static extern void switch_event_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_flags_get")] - public static extern int switch_event_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_flags_get___")] + public static extern int switch_event_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_event")] - public static extern IntPtr new_switch_event(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_event___")] + public static extern global::System.IntPtr new_switch_event(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_event")] - public static extern void delete_switch_event(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_event___")] + public static extern void delete_switch_event(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_event_id_set")] - public static extern void switch_serial_event_t_event_id_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_t_event_id_set___")] + public static extern void switch_serial_event_t_event_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_event_id_get")] - public static extern int switch_serial_event_t_event_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_t_event_id_get___")] + public static extern int switch_serial_event_t_event_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_priority_set")] - public static extern void switch_serial_event_t_priority_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_t_priority_set___")] + public static extern void switch_serial_event_t_priority_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_priority_get")] - public static extern int switch_serial_event_t_priority_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_t_priority_get___")] + public static extern int switch_serial_event_t_priority_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_flags_set")] - public static extern void switch_serial_event_t_flags_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_t_flags_set___")] + public static extern void switch_serial_event_t_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_flags_get")] - public static extern int switch_serial_event_t_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_t_flags_get___")] + public static extern int switch_serial_event_t_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_owner_set")] - public static extern void switch_serial_event_t_owner_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_t_owner_set___")] + public static extern void switch_serial_event_t_owner_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_owner_get")] - public static extern string switch_serial_event_t_owner_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_t_owner_get___")] + public static extern string switch_serial_event_t_owner_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_subclass_name_set")] - public static extern void switch_serial_event_t_subclass_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_t_subclass_name_set___")] + public static extern void switch_serial_event_t_subclass_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_subclass_name_get")] - public static extern string switch_serial_event_t_subclass_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_t_subclass_name_get___")] + public static extern string switch_serial_event_t_subclass_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_body_set")] - public static extern void switch_serial_event_t_body_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_t_body_set___")] + public static extern void switch_serial_event_t_body_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_t_body_get")] - public static extern string switch_serial_event_t_body_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_t_body_get___")] + public static extern string switch_serial_event_t_body_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_serial_event_t")] - public static extern IntPtr new_switch_serial_event_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_serial_event_t___")] + public static extern global::System.IntPtr new_switch_serial_event_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_serial_event_t")] - public static extern void delete_switch_serial_event_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_serial_event_t___")] + public static extern void delete_switch_serial_event_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_header_t_name_set")] - public static extern void switch_serial_event_header_t_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_header_t_name_set___")] + public static extern void switch_serial_event_header_t_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_header_t_name_get")] - public static extern string switch_serial_event_header_t_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_header_t_name_get___")] + public static extern string switch_serial_event_header_t_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_header_t_value_set")] - public static extern void switch_serial_event_header_t_value_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_header_t_value_set___")] + public static extern void switch_serial_event_header_t_value_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_serial_event_header_t_value_get")] - public static extern string switch_serial_event_header_t_value_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_serial_event_header_t_value_get___")] + public static extern string switch_serial_event_header_t_value_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_serial_event_header_t")] - public static extern IntPtr new_switch_serial_event_header_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_serial_event_header_t___")] + public static extern global::System.IntPtr new_switch_serial_event_header_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_serial_event_header_t")] - public static extern void delete_switch_serial_event_header_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_serial_event_header_t___")] + public static extern void delete_switch_serial_event_header_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_init")] - public static extern int switch_event_init(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_init___")] + public static extern int switch_event_init(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_shutdown")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_shutdown___")] public static extern int switch_event_shutdown(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_subclass_detailed")] - public static extern int switch_event_create_subclass_detailed(string jarg1, string jarg2, int jarg3, HandleRef jarg4, int jarg5, string jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_create_subclass_detailed___")] + public static extern int switch_event_create_subclass_detailed(string jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, string jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_set_priority")] - public static extern int switch_event_set_priority(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_set_priority___")] + public static extern int switch_event_set_priority(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_get_header_ptr")] - public static extern IntPtr switch_event_get_header_ptr(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_get_header_ptr___")] + public static extern global::System.IntPtr switch_event_get_header_ptr(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_get_header_idx")] - public static extern string switch_event_get_header_idx(HandleRef jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_get_header_idx___")] + public static extern string switch_event_get_header_idx(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_rename_header")] - public static extern int switch_event_rename_header(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_rename_header___")] + public static extern int switch_event_rename_header(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_get_body")] - public static extern string switch_event_get_body(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_get_body___")] + public static extern string switch_event_get_body(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_set_subclass_name")] - public static extern int switch_event_set_subclass_name(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_set_subclass_name___")] + public static extern int switch_event_set_subclass_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_add_header_string")] - public static extern int switch_event_add_header_string(HandleRef jarg1, int jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_add_header_string___")] + public static extern int switch_event_add_header_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_del_header_val")] - public static extern int switch_event_del_header_val(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_del_header_val___")] + public static extern int switch_event_del_header_val(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_add_array")] - public static extern int switch_event_add_array(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_add_array___")] + public static extern int switch_event_add_array(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_destroy")] - public static extern void switch_event_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_destroy___")] + public static extern void switch_event_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_dup")] - public static extern int switch_event_dup(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_dup___")] + public static extern int switch_event_dup(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_merge")] - public static extern void switch_event_merge(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_merge___")] + public static extern void switch_event_merge(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_dup_reply")] - public static extern int switch_event_dup_reply(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_dup_reply___")] + public static extern int switch_event_dup_reply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_fire_detailed")] - public static extern int switch_event_fire_detailed(string jarg1, string jarg2, int jarg3, HandleRef jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_fire_detailed___")] + public static extern int switch_event_fire_detailed(string jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_prep_for_delivery_detailed")] - public static extern void switch_event_prep_for_delivery_detailed(string jarg1, string jarg2, int jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_prep_for_delivery_detailed___")] + public static extern void switch_event_prep_for_delivery_detailed(string jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_bind")] - public static extern int switch_event_bind(string jarg1, int jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_bind___")] + public static extern int switch_event_bind(string jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_get_custom_events")] - public static extern int switch_event_get_custom_events(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_get_custom_events___")] + public static extern int switch_event_get_custom_events(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_bind_removable")] - public static extern int switch_event_bind_removable(string jarg1, int jarg2, string jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_bind_removable___")] + public static extern int switch_event_bind_removable(string jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_unbind")] - public static extern int switch_event_unbind(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_unbind___")] + public static extern int switch_event_unbind(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_unbind_callback")] - public static extern int switch_event_unbind_callback(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_unbind_callback___")] + public static extern int switch_event_unbind_callback(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_name")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_name___")] public static extern string switch_event_name(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_name_event")] - public static extern int switch_name_event(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_name_event___")] + public static extern int switch_name_event(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_reserve_subclass_detailed")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_reserve_subclass_detailed___")] public static extern int switch_event_reserve_subclass_detailed(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_free_subclass_detailed")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_free_subclass_detailed___")] public static extern int switch_event_free_subclass_detailed(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_binary_deserialize")] - public static extern int switch_event_binary_deserialize(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_binary_deserialize___")] + public static extern int switch_event_binary_deserialize(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_binary_serialize")] - public static extern int switch_event_binary_serialize(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_binary_serialize___")] + public static extern int switch_event_binary_serialize(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_serialize")] - public static extern int switch_event_serialize(HandleRef jarg1, ref string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_serialize___")] + public static extern int switch_event_serialize(global::System.Runtime.InteropServices.HandleRef jarg1, ref string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_serialize_json")] - public static extern int switch_event_serialize_json(HandleRef jarg1, ref string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_serialize_json___")] + public static extern int switch_event_serialize_json(global::System.Runtime.InteropServices.HandleRef jarg1, ref string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_serialize_json_obj")] - public static extern int switch_event_serialize_json_obj(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_serialize_json_obj___")] + public static extern int switch_event_serialize_json_obj(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_json")] - public static extern int switch_event_create_json(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_create_json___")] + public static extern int switch_event_create_json(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_brackets")] - public static extern int switch_event_create_brackets(string jarg1, char jarg2, char jarg3, char jarg4, HandleRef jarg5, ref string jarg6, int jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_create_brackets___")] + public static extern int switch_event_create_brackets(string jarg1, char jarg2, char jarg3, char jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, ref string jarg6, int jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_array_pair")] - public static extern int switch_event_create_array_pair(HandleRef jarg1, ref string jarg2, ref string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_create_array_pair___")] + public static extern int switch_event_create_array_pair(global::System.Runtime.InteropServices.HandleRef jarg1, ref string jarg2, ref string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_running")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_running___")] public static extern int switch_event_running(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_set_body")] - public static extern int switch_event_set_body(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_set_body___")] + public static extern int switch_event_set_body(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_expand_headers_check")] - public static extern string switch_event_expand_headers_check(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, uint jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_expand_headers_check___")] + public static extern string switch_event_expand_headers_check(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, uint jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_pres_in_detailed")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_create_pres_in_detailed___")] public static extern int switch_event_create_pres_in_detailed(string jarg1, string jarg2, int jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, int jarg11, string jarg12, string jarg13, string jarg14, string jarg15); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_create_plain")] - public static extern int switch_event_create_plain(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_create_plain___")] + public static extern int switch_event_create_plain(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_deliver")] - public static extern void switch_event_deliver(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_deliver___")] + public static extern void switch_event_deliver(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_build_param_string")] - public static extern string switch_event_build_param_string(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_build_param_string___")] + public static extern string switch_event_build_param_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_check_permission_list")] - public static extern int switch_event_check_permission_list(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_check_permission_list___")] + public static extern int switch_event_check_permission_list(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_add_presence_data_cols")] - public static extern void switch_event_add_presence_data_cols(HandleRef jarg1, HandleRef jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_add_presence_data_cols___")] + public static extern void switch_event_add_presence_data_cols(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_json_add_presence_data_cols")] - public static extern void switch_json_add_presence_data_cols(HandleRef jarg1, HandleRef jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_json_add_presence_data_cols___")] + public static extern void switch_json_add_presence_data_cols(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_launch_dispatch_threads")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_launch_dispatch_threads___")] public static extern void switch_event_launch_dispatch_threads(uint jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_broadcast")] - public static extern int switch_event_channel_broadcast(string jarg1, HandleRef jarg2, string jarg3, uint jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_channel_broadcast___")] + public static extern int switch_event_channel_broadcast(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, uint jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_unbind")] - public static extern uint switch_event_channel_unbind(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_channel_unbind___")] + public static extern uint switch_event_channel_unbind(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_bind")] - public static extern int switch_event_channel_bind(string jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_channel_bind___")] + public static extern int switch_event_channel_bind(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_NO_EVENT_CHANNEL_ID_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_NO_EVENT_CHANNEL_ID_get___")] public static extern int NO_EVENT_CHANNEL_ID_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_EVENT_CHANNEL_GLOBAL_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_EVENT_CHANNEL_GLOBAL_get___")] public static extern string SWITCH_EVENT_CHANNEL_GLOBAL_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_clear")] - public static extern int switch_live_array_clear(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_clear___")] + public static extern int switch_live_array_clear(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_bootstrap")] - public static extern int switch_live_array_bootstrap(HandleRef jarg1, string jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_bootstrap___")] + public static extern int switch_live_array_bootstrap(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_destroy")] - public static extern int switch_live_array_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_destroy___")] + public static extern int switch_live_array_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_create")] - public static extern int switch_live_array_create(string jarg1, string jarg2, uint jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_create___")] + public static extern int switch_live_array_create(string jarg1, string jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_get")] - public static extern IntPtr switch_live_array_get(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_get___")] + public static extern global::System.IntPtr switch_live_array_get(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_get_idx")] - public static extern IntPtr switch_live_array_get_idx(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_get_idx___")] + public static extern global::System.IntPtr switch_live_array_get_idx(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_del")] - public static extern int switch_live_array_del(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_del___")] + public static extern int switch_live_array_del(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_add")] - public static extern int switch_live_array_add(HandleRef jarg1, string jarg2, int jarg3, HandleRef jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_add___")] + public static extern int switch_live_array_add(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_visible")] - public static extern int switch_live_array_visible(HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_visible___")] + public static extern int switch_live_array_visible(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_isnew")] - public static extern int switch_live_array_isnew(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_isnew___")] + public static extern int switch_live_array_isnew(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_lock")] - public static extern void switch_live_array_lock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_lock___")] + public static extern void switch_live_array_lock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_unlock")] - public static extern void switch_live_array_unlock(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_unlock___")] + public static extern void switch_live_array_unlock(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_set_user_data")] - public static extern void switch_live_array_set_user_data(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_set_user_data___")] + public static extern void switch_live_array_set_user_data(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_set_command_handler")] - public static extern void switch_live_array_set_command_handler(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_set_command_handler___")] + public static extern void switch_live_array_set_command_handler(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_parse_json")] - public static extern void switch_live_array_parse_json(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_parse_json___")] + public static extern void switch_live_array_parse_json(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_add_alias")] - public static extern int switch_live_array_add_alias(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_add_alias___")] + public static extern int switch_live_array_add_alias(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_live_array_clear_alias")] - public static extern int switch_live_array_clear_alias(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_live_array_clear_alias___")] + public static extern int switch_live_array_clear_alias(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_permission_verify")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_channel_permission_verify___")] public static extern int switch_event_channel_permission_verify(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_permission_modify")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_channel_permission_modify___")] public static extern void switch_event_channel_permission_modify(string jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_event_channel_permission_clear")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_event_channel_permission_clear___")] public static extern void switch_event_channel_permission_clear(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RESAMPLE_QUALITY_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RESAMPLE_QUALITY_get___")] public static extern int SWITCH_RESAMPLE_QUALITY_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_resampler_set")] - public static extern void switch_audio_resampler_t_resampler_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_resampler_set___")] + public static extern void switch_audio_resampler_t_resampler_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_resampler_get")] - public static extern IntPtr switch_audio_resampler_t_resampler_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_resampler_get___")] + public static extern global::System.IntPtr switch_audio_resampler_t_resampler_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_from_rate_set")] - public static extern void switch_audio_resampler_t_from_rate_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_from_rate_set___")] + public static extern void switch_audio_resampler_t_from_rate_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_from_rate_get")] - public static extern int switch_audio_resampler_t_from_rate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_from_rate_get___")] + public static extern int switch_audio_resampler_t_from_rate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_rate_set")] - public static extern void switch_audio_resampler_t_to_rate_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_rate_set___")] + public static extern void switch_audio_resampler_t_to_rate_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_rate_get")] - public static extern int switch_audio_resampler_t_to_rate_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_rate_get___")] + public static extern int switch_audio_resampler_t_to_rate_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_factor_set")] - public static extern void switch_audio_resampler_t_factor_set(HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_factor_set___")] + public static extern void switch_audio_resampler_t_factor_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_factor_get")] - public static extern double switch_audio_resampler_t_factor_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_factor_get___")] + public static extern double switch_audio_resampler_t_factor_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_rfactor_set")] - public static extern void switch_audio_resampler_t_rfactor_set(HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_rfactor_set___")] + public static extern void switch_audio_resampler_t_rfactor_set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_rfactor_get")] - public static extern double switch_audio_resampler_t_rfactor_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_rfactor_get___")] + public static extern double switch_audio_resampler_t_rfactor_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_set")] - public static extern void switch_audio_resampler_t_to_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_set___")] + public static extern void switch_audio_resampler_t_to_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_get")] - public static extern IntPtr switch_audio_resampler_t_to_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_get___")] + public static extern global::System.IntPtr switch_audio_resampler_t_to_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_len_set")] - public static extern void switch_audio_resampler_t_to_len_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_len_set___")] + public static extern void switch_audio_resampler_t_to_len_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_len_get")] - public static extern uint switch_audio_resampler_t_to_len_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_len_get___")] + public static extern uint switch_audio_resampler_t_to_len_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_size_set")] - public static extern void switch_audio_resampler_t_to_size_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_size_set___")] + public static extern void switch_audio_resampler_t_to_size_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_size_get")] - public static extern uint switch_audio_resampler_t_to_size_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_to_size_get___")] + public static extern uint switch_audio_resampler_t_to_size_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_channels_set")] - public static extern void switch_audio_resampler_t_channels_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_channels_set___")] + public static extern void switch_audio_resampler_t_channels_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_channels_get")] - public static extern int switch_audio_resampler_t_channels_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_audio_resampler_t_channels_get___")] + public static extern int switch_audio_resampler_t_channels_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_audio_resampler_t")] - public static extern IntPtr new_switch_audio_resampler_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_audio_resampler_t___")] + public static extern global::System.IntPtr new_switch_audio_resampler_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_audio_resampler_t")] - public static extern void delete_switch_audio_resampler_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_audio_resampler_t___")] + public static extern void delete_switch_audio_resampler_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_resample_perform_create")] - public static extern int switch_resample_perform_create(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, int jarg5, uint jarg6, string jarg7, string jarg8, int jarg9); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_resample_perform_create___")] + public static extern int switch_resample_perform_create(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, int jarg5, uint jarg6, string jarg7, string jarg8, int jarg9); - [DllImport("mod_managed", EntryPoint="CSharp_switch_resample_destroy")] - public static extern void switch_resample_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_resample_destroy___")] + public static extern void switch_resample_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_resample_process")] - public static extern uint switch_resample_process(HandleRef jarg1, HandleRef jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_resample_process___")] + public static extern uint switch_resample_process(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_float_to_short")] - public static extern IntPtr switch_float_to_short(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_float_to_short___")] + public static extern global::System.IntPtr switch_float_to_short(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_char_to_float")] - public static extern int switch_char_to_float(string jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_char_to_float___")] + public static extern int switch_char_to_float(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_float_to_char")] - public static extern int switch_float_to_char(HandleRef jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_float_to_char___")] + public static extern int switch_float_to_char(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_short_to_float")] - public static extern int switch_short_to_float(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_short_to_float___")] + public static extern int switch_short_to_float(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_swap_linear")] - public static extern void switch_swap_linear(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_swap_linear___")] + public static extern void switch_swap_linear(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_generate_sln_silence")] - public static extern void switch_generate_sln_silence(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_generate_sln_silence___")] + public static extern void switch_generate_sln_silence(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_change_sln_volume")] - public static extern void switch_change_sln_volume(HandleRef jarg1, uint jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_change_sln_volume___")] + public static extern void switch_change_sln_volume(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_change_sln_volume_granular")] - public static extern void switch_change_sln_volume_granular(HandleRef jarg1, uint jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_change_sln_volume_granular___")] + public static extern void switch_change_sln_volume_granular(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_merge_sln")] - public static extern uint switch_merge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_merge_sln___")] + public static extern uint switch_merge_sln(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unmerge_sln")] - public static extern uint switch_unmerge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unmerge_sln___")] + public static extern uint switch_unmerge_sln(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mux_channels")] - public static extern void switch_mux_channels(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_mux_channels___")] + public static extern void switch_mux_channels(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, uint jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_agc_set")] - public static extern void switch_agc_set(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, uint jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_agc_set___")] + public static extern void switch_agc_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, uint jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_agc_create")] - public static extern int switch_agc_create(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, uint jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_agc_create___")] + public static extern int switch_agc_create(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, uint jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_agc_destroy")] - public static extern void switch_agc_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_agc_destroy___")] + public static extern void switch_agc_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_agc_feed")] - public static extern int switch_agc_feed(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_agc_feed___")] + public static extern int switch_agc_feed(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, uint jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_agc_set_energy_avg")] - public static extern void switch_agc_set_energy_avg(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_agc_set_energy_avg___")] + public static extern void switch_agc_set_energy_avg(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_agc_set_energy_low")] - public static extern void switch_agc_set_energy_low(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_agc_set_energy_low___")] + public static extern void switch_agc_set_energy_low(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_agc_set_token")] - public static extern void switch_agc_set_token(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_agc_set_token___")] + public static extern void switch_agc_set_token(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_session_set")] - public static extern void switch_unicast_conninfo_session_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_session_set___")] + public static extern void switch_unicast_conninfo_session_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_session_get")] - public static extern IntPtr switch_unicast_conninfo_session_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_session_get___")] + public static extern global::System.IntPtr switch_unicast_conninfo_session_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_read_codec_set")] - public static extern void switch_unicast_conninfo_read_codec_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_read_codec_set___")] + public static extern void switch_unicast_conninfo_read_codec_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_read_codec_get")] - public static extern IntPtr switch_unicast_conninfo_read_codec_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_read_codec_get___")] + public static extern global::System.IntPtr switch_unicast_conninfo_read_codec_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_write_frame_set")] - public static extern void switch_unicast_conninfo_write_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_write_frame_set___")] + public static extern void switch_unicast_conninfo_write_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_write_frame_get")] - public static extern IntPtr switch_unicast_conninfo_write_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_write_frame_get___")] + public static extern global::System.IntPtr switch_unicast_conninfo_write_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_write_frame_data_set")] - public static extern void switch_unicast_conninfo_write_frame_data_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_write_frame_data_set___")] + public static extern void switch_unicast_conninfo_write_frame_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_write_frame_data_get")] - public static extern IntPtr switch_unicast_conninfo_write_frame_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_write_frame_data_get___")] + public static extern global::System.IntPtr switch_unicast_conninfo_write_frame_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_socket_set")] - public static extern void switch_unicast_conninfo_socket_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_socket_set___")] + public static extern void switch_unicast_conninfo_socket_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_socket_get")] - public static extern IntPtr switch_unicast_conninfo_socket_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_socket_get___")] + public static extern global::System.IntPtr switch_unicast_conninfo_socket_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_local_ip_set")] - public static extern void switch_unicast_conninfo_local_ip_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_local_ip_set___")] + public static extern void switch_unicast_conninfo_local_ip_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_local_ip_get")] - public static extern string switch_unicast_conninfo_local_ip_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_local_ip_get___")] + public static extern string switch_unicast_conninfo_local_ip_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_local_port_set")] - public static extern void switch_unicast_conninfo_local_port_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_local_port_set___")] + public static extern void switch_unicast_conninfo_local_port_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_local_port_get")] - public static extern ushort switch_unicast_conninfo_local_port_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_local_port_get___")] + public static extern ushort switch_unicast_conninfo_local_port_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_remote_ip_set")] - public static extern void switch_unicast_conninfo_remote_ip_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_remote_ip_set___")] + public static extern void switch_unicast_conninfo_remote_ip_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_remote_ip_get")] - public static extern string switch_unicast_conninfo_remote_ip_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_remote_ip_get___")] + public static extern string switch_unicast_conninfo_remote_ip_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_remote_port_set")] - public static extern void switch_unicast_conninfo_remote_port_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_remote_port_set___")] + public static extern void switch_unicast_conninfo_remote_port_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_remote_port_get")] - public static extern ushort switch_unicast_conninfo_remote_port_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_remote_port_get___")] + public static extern ushort switch_unicast_conninfo_remote_port_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_local_addr_set")] - public static extern void switch_unicast_conninfo_local_addr_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_local_addr_set___")] + public static extern void switch_unicast_conninfo_local_addr_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_local_addr_get")] - public static extern IntPtr switch_unicast_conninfo_local_addr_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_local_addr_get___")] + public static extern global::System.IntPtr switch_unicast_conninfo_local_addr_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_remote_addr_set")] - public static extern void switch_unicast_conninfo_remote_addr_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_remote_addr_set___")] + public static extern void switch_unicast_conninfo_remote_addr_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_remote_addr_get")] - public static extern IntPtr switch_unicast_conninfo_remote_addr_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_remote_addr_get___")] + public static extern global::System.IntPtr switch_unicast_conninfo_remote_addr_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_flag_mutex_set")] - public static extern void switch_unicast_conninfo_flag_mutex_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_flag_mutex_set___")] + public static extern void switch_unicast_conninfo_flag_mutex_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_flag_mutex_get")] - public static extern IntPtr switch_unicast_conninfo_flag_mutex_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_flag_mutex_get___")] + public static extern global::System.IntPtr switch_unicast_conninfo_flag_mutex_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_flags_set")] - public static extern void switch_unicast_conninfo_flags_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_flags_set___")] + public static extern void switch_unicast_conninfo_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_flags_get")] - public static extern int switch_unicast_conninfo_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_flags_get___")] + public static extern int switch_unicast_conninfo_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_type_set")] - public static extern void switch_unicast_conninfo_type_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_type_set___")] + public static extern void switch_unicast_conninfo_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_type_get")] - public static extern int switch_unicast_conninfo_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_type_get___")] + public static extern int switch_unicast_conninfo_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_transport_set")] - public static extern void switch_unicast_conninfo_transport_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_transport_set___")] + public static extern void switch_unicast_conninfo_transport_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_transport_get")] - public static extern int switch_unicast_conninfo_transport_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_transport_get___")] + public static extern int switch_unicast_conninfo_transport_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_stream_id_set")] - public static extern void switch_unicast_conninfo_stream_id_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_stream_id_set___")] + public static extern void switch_unicast_conninfo_stream_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_stream_id_get")] - public static extern int switch_unicast_conninfo_stream_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_stream_id_get___")] + public static extern int switch_unicast_conninfo_stream_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_thread_set")] - public static extern void switch_unicast_conninfo_thread_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_thread_set___")] + public static extern void switch_unicast_conninfo_thread_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_thread_get")] - public static extern IntPtr switch_unicast_conninfo_thread_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_unicast_conninfo_thread_get___")] + public static extern global::System.IntPtr switch_unicast_conninfo_thread_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_unicast_conninfo")] - public static extern IntPtr new_switch_unicast_conninfo(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_unicast_conninfo___")] + public static extern global::System.IntPtr new_switch_unicast_conninfo(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_unicast_conninfo")] - public static extern void delete_switch_unicast_conninfo(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_unicast_conninfo___")] + public static extern void delete_switch_unicast_conninfo(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_deactivate_unicast")] - public static extern int switch_ivr_deactivate_unicast(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_deactivate_unicast___")] + public static extern int switch_ivr_deactivate_unicast(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_activate_unicast")] - public static extern int switch_ivr_activate_unicast(HandleRef jarg1, string jarg2, ushort jarg3, string jarg4, ushort jarg5, string jarg6, string jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_activate_unicast___")] + public static extern int switch_ivr_activate_unicast(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, ushort jarg3, string jarg4, ushort jarg5, string jarg6, string jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_generate_json_cdr")] - public static extern int switch_ivr_generate_json_cdr(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_generate_json_cdr___")] + public static extern int switch_ivr_generate_json_cdr(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_generate_xml_cdr")] - public static extern int switch_ivr_generate_xml_cdr(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_generate_xml_cdr___")] + public static extern int switch_ivr_generate_xml_cdr(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_set_xml_profile_data")] - public static extern int switch_ivr_set_xml_profile_data(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_set_xml_profile_data___")] + public static extern int switch_ivr_set_xml_profile_data(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_set_xml_chan_vars")] - public static extern int switch_ivr_set_xml_chan_vars(HandleRef jarg1, HandleRef jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_set_xml_chan_vars___")] + public static extern int switch_ivr_set_xml_chan_vars(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_event")] - public static extern int switch_ivr_parse_event(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_parse_event___")] + public static extern int switch_ivr_parse_event(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_all_events")] - public static extern int switch_ivr_parse_all_events(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_parse_all_events___")] + public static extern int switch_ivr_parse_all_events(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_next_event")] - public static extern int switch_ivr_parse_next_event(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_parse_next_event___")] + public static extern int switch_ivr_parse_next_event(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_all_messages")] - public static extern int switch_ivr_parse_all_messages(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_parse_all_messages___")] + public static extern int switch_ivr_parse_all_messages(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_all_signal_data")] - public static extern int switch_ivr_parse_all_signal_data(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_parse_all_signal_data___")] + public static extern int switch_ivr_parse_all_signal_data(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_signal_data")] - public static extern int switch_ivr_parse_signal_data(HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_parse_signal_data___")] + public static extern int switch_ivr_parse_signal_data(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_parse_next_signal_data")] - public static extern int switch_ivr_parse_next_signal_data(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_parse_next_signal_data___")] + public static extern int switch_ivr_parse_next_signal_data(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_process_indications")] - public static extern int switch_ivr_process_indications(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_process_indications___")] + public static extern int switch_ivr_process_indications(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_sleep")] - public static extern int switch_ivr_sleep(HandleRef jarg1, uint jarg2, int jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_sleep___")] + public static extern int switch_ivr_sleep(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_park")] - public static extern int switch_ivr_park(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_park___")] + public static extern int switch_ivr_park(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_collect_digits_callback")] - public static extern int switch_ivr_collect_digits_callback(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_collect_digits_callback___")] + public static extern int switch_ivr_collect_digits_callback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, uint jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_collect_digits_count")] - public static extern int switch_ivr_collect_digits_count(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, string jarg5, string jarg6, uint jarg7, uint jarg8, uint jarg9); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_collect_digits_count___")] + public static extern int switch_ivr_collect_digits_count(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, string jarg5, string jarg6, uint jarg7, uint jarg8, uint jarg9); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_play_and_detect_speech")] - public static extern int switch_ivr_play_and_detect_speech(HandleRef jarg1, string jarg2, string jarg3, string jarg4, ref string jarg5, uint jarg6, HandleRef jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_play_and_detect_speech___")] + public static extern int switch_ivr_play_and_detect_speech(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, ref string jarg5, uint jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_init")] - public static extern int switch_ivr_detect_speech_init(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_init___")] + public static extern int switch_ivr_detect_speech_init(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech")] - public static extern int switch_ivr_detect_speech(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, HandleRef jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_detect_speech___")] + public static extern int switch_ivr_detect_speech(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_detect_speech")] - public static extern int switch_ivr_stop_detect_speech(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_stop_detect_speech___")] + public static extern int switch_ivr_stop_detect_speech(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_pause_detect_speech")] - public static extern int switch_ivr_pause_detect_speech(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_pause_detect_speech___")] + public static extern int switch_ivr_pause_detect_speech(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_resume_detect_speech")] - public static extern int switch_ivr_resume_detect_speech(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_resume_detect_speech___")] + public static extern int switch_ivr_resume_detect_speech(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_load_grammar")] - public static extern int switch_ivr_detect_speech_load_grammar(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_load_grammar___")] + public static extern int switch_ivr_detect_speech_load_grammar(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_unload_grammar")] - public static extern int switch_ivr_detect_speech_unload_grammar(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_unload_grammar___")] + public static extern int switch_ivr_detect_speech_unload_grammar(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_enable_grammar")] - public static extern int switch_ivr_detect_speech_enable_grammar(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_enable_grammar___")] + public static extern int switch_ivr_detect_speech_enable_grammar(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_disable_grammar")] - public static extern int switch_ivr_detect_speech_disable_grammar(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_disable_grammar___")] + public static extern int switch_ivr_detect_speech_disable_grammar(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_disable_all_grammars")] - public static extern int switch_ivr_detect_speech_disable_all_grammars(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_disable_all_grammars___")] + public static extern int switch_ivr_detect_speech_disable_all_grammars(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_set_param_detect_speech")] - public static extern int switch_ivr_set_param_detect_speech(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_set_param_detect_speech___")] + public static extern int switch_ivr_set_param_detect_speech(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_speech_start_input_timers")] - public static extern int switch_ivr_detect_speech_start_input_timers(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_detect_speech_start_input_timers___")] + public static extern int switch_ivr_detect_speech_start_input_timers(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_record_session")] - public static extern int switch_ivr_record_session(HandleRef jarg1, string jarg2, uint jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_record_session___")] + public static extern int switch_ivr_record_session(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_transfer_recordings")] - public static extern int switch_ivr_transfer_recordings(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_transfer_recordings___")] + public static extern int switch_ivr_transfer_recordings(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_eavesdrop_pop_eavesdropper")] - public static extern int switch_ivr_eavesdrop_pop_eavesdropper(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_eavesdrop_pop_eavesdropper___")] + public static extern int switch_ivr_eavesdrop_pop_eavesdropper(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_eavesdrop_exec_all")] - public static extern int switch_ivr_eavesdrop_exec_all(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_eavesdrop_exec_all___")] + public static extern int switch_ivr_eavesdrop_exec_all(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_eavesdrop_update_display")] - public static extern int switch_ivr_eavesdrop_update_display(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_eavesdrop_update_display___")] + public static extern int switch_ivr_eavesdrop_update_display(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_eavesdrop_session")] - public static extern int switch_ivr_eavesdrop_session(HandleRef jarg1, string jarg2, string jarg3, uint jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_eavesdrop_session___")] + public static extern int switch_ivr_eavesdrop_session(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, uint jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_displace_session")] - public static extern int switch_ivr_displace_session(HandleRef jarg1, string jarg2, uint jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_displace_session___")] + public static extern int switch_ivr_displace_session(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_displace_session")] - public static extern int switch_ivr_stop_displace_session(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_stop_displace_session___")] + public static extern int switch_ivr_stop_displace_session(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_record_session")] - public static extern int switch_ivr_stop_record_session(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_stop_record_session___")] + public static extern int switch_ivr_stop_record_session(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_session_audio")] - public static extern int switch_ivr_session_audio(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_session_audio___")] + public static extern int switch_ivr_session_audio(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_session_audio")] - public static extern int switch_ivr_stop_session_audio(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_stop_session_audio___")] + public static extern int switch_ivr_stop_session_audio(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_inband_dtmf_session")] - public static extern int switch_ivr_inband_dtmf_session(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_inband_dtmf_session___")] + public static extern int switch_ivr_inband_dtmf_session(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_inband_dtmf_session")] - public static extern int switch_ivr_stop_inband_dtmf_session(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_stop_inband_dtmf_session___")] + public static extern int switch_ivr_stop_inband_dtmf_session(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_inband_dtmf_generate_session")] - public static extern int switch_ivr_inband_dtmf_generate_session(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_inband_dtmf_generate_session___")] + public static extern int switch_ivr_inband_dtmf_generate_session(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_inband_dtmf_generate_session")] - public static extern int switch_ivr_stop_inband_dtmf_generate_session(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_stop_inband_dtmf_generate_session___")] + public static extern int switch_ivr_stop_inband_dtmf_generate_session(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_session_echo")] - public static extern int switch_ivr_session_echo(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_session_echo___")] + public static extern int switch_ivr_session_echo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_tone_detect_session")] - public static extern int switch_ivr_stop_tone_detect_session(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_stop_tone_detect_session___")] + public static extern int switch_ivr_stop_tone_detect_session(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_tone_detect_session")] - public static extern int switch_ivr_tone_detect_session(HandleRef jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5, int jarg6, string jarg7, string jarg8, HandleRef jarg9); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_tone_detect_session___")] + public static extern int switch_ivr_tone_detect_session(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6, string jarg7, string jarg8, global::System.Runtime.InteropServices.HandleRef jarg9); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_play_file")] - public static extern int switch_ivr_play_file(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_play_file___")] + public static extern int switch_ivr_play_file(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_audio")] - public static extern int switch_ivr_detect_audio(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, string jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_detect_audio___")] + public static extern int switch_ivr_detect_audio(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, string jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_detect_silence")] - public static extern int switch_ivr_detect_silence(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, string jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_detect_silence___")] + public static extern int switch_ivr_detect_silence(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, string jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_wait_for_silence")] - public static extern int switch_ivr_wait_for_silence(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_wait_for_silence___")] + public static extern int switch_ivr_wait_for_silence(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_gentones")] - public static extern int switch_ivr_gentones(HandleRef jarg1, string jarg2, int jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_gentones___")] + public static extern int switch_ivr_gentones(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_record_file")] - public static extern int switch_ivr_record_file(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4, uint jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_record_file___")] + public static extern int switch_ivr_record_file(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, uint jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_play_and_get_digits")] - public static extern int switch_play_and_get_digits(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, uint jarg11, string jarg12, uint jarg13, string jarg14); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_play_and_get_digits___")] + public static extern int switch_play_and_get_digits(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, uint jarg11, string jarg12, uint jarg13, string jarg14); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_speak_text_handle")] - public static extern int switch_ivr_speak_text_handle(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, string jarg5, HandleRef jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_speak_text_handle___")] + public static extern int switch_ivr_speak_text_handle(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_clear_speech_cache")] - public static extern void switch_ivr_clear_speech_cache(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_clear_speech_cache___")] + public static extern void switch_ivr_clear_speech_cache(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_speak_text")] - public static extern int switch_ivr_speak_text(HandleRef jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_speak_text___")] + public static extern int switch_ivr_speak_text(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_originate")] - public static extern int switch_ivr_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, HandleRef jarg10, uint jarg11, HandleRef jarg12); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_originate___")] + public static extern int switch_ivr_originate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, uint jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, string jarg7, string jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10, uint jarg11, global::System.Runtime.InteropServices.HandleRef jarg12, global::System.Runtime.InteropServices.HandleRef jarg13); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_enterprise_originate")] - public static extern int switch_ivr_enterprise_originate(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, string jarg4, uint jarg5, HandleRef jarg6, string jarg7, string jarg8, HandleRef jarg9, HandleRef jarg10, uint jarg11, HandleRef jarg12); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_enterprise_originate___")] + public static extern int switch_ivr_enterprise_originate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, uint jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, string jarg7, string jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10, uint jarg11, global::System.Runtime.InteropServices.HandleRef jarg12); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_bridge_display")] - public static extern void switch_ivr_bridge_display(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_bridge_display___")] + public static extern void switch_ivr_bridge_display(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_multi_threaded_bridge")] - public static extern int switch_ivr_multi_threaded_bridge(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_multi_threaded_bridge___")] + public static extern int switch_ivr_multi_threaded_bridge(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_signal_bridge")] - public static extern int switch_ivr_signal_bridge(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_bridge_bleg___")] + public static extern int switch_ivr_bridge_bleg(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_session_transfer")] - public static extern int switch_ivr_session_transfer(HandleRef jarg1, string jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_signal_bridge___")] + public static extern int switch_ivr_signal_bridge(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_schedule_transfer")] - public static extern uint switch_ivr_schedule_transfer(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_session_transfer___")] + public static extern int switch_ivr_session_transfer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_schedule_hangup")] - public static extern uint switch_ivr_schedule_hangup(HandleRef jarg1, string jarg2, int jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_schedule_transfer___")] + public static extern uint switch_ivr_schedule_transfer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_uuid_bridge")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_schedule_hangup___")] + public static extern uint switch_ivr_schedule_hangup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_uuid_bridge___")] public static extern int switch_ivr_uuid_bridge(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_media")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_media___")] public static extern int switch_ivr_media(string jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_3p_media")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_3p_media___")] public static extern int switch_ivr_3p_media(string jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_nomedia")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_nomedia___")] public static extern int switch_ivr_nomedia(string jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_3p_nomedia")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_3p_nomedia___")] public static extern int switch_ivr_3p_nomedia(string jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_bg_media")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_bg_media___")] public static extern void switch_ivr_bg_media(string jarg1, uint jarg2, int jarg3, int jarg4, uint jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_hold_uuid")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_hold_uuid___")] public static extern int switch_ivr_hold_uuid(string jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_hold_toggle_uuid")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_hold_toggle_uuid___")] public static extern int switch_ivr_hold_toggle_uuid(string jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_unhold_uuid")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_unhold_uuid___")] public static extern int switch_ivr_unhold_uuid(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_hold")] - public static extern int switch_ivr_hold(HandleRef jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_hold___")] + public static extern int switch_ivr_hold(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_unhold")] - public static extern int switch_ivr_unhold(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_unhold___")] + public static extern int switch_ivr_unhold(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_schedule_broadcast")] - public static extern uint switch_ivr_schedule_broadcast(HandleRef jarg1, string jarg2, string jarg3, uint jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_schedule_broadcast___")] + public static extern uint switch_ivr_schedule_broadcast(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, uint jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_broadcast")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_broadcast___")] public static extern int switch_ivr_broadcast(string jarg1, string jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_broadcast_in_thread")] - public static extern void switch_ivr_broadcast_in_thread(HandleRef jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_broadcast_in_thread___")] + public static extern void switch_ivr_broadcast_in_thread(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_transfer_variable")] - public static extern int switch_ivr_transfer_variable(HandleRef jarg1, HandleRef jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_transfer_variable___")] + public static extern int switch_ivr_transfer_variable(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_parser_new")] - public static extern int switch_ivr_digit_stream_parser_new(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_parser_new___")] + public static extern int switch_ivr_digit_stream_parser_new(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_parser_destroy")] - public static extern int switch_ivr_digit_stream_parser_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_parser_destroy___")] + public static extern int switch_ivr_digit_stream_parser_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_new")] - public static extern int switch_ivr_digit_stream_new(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_new___")] + public static extern int switch_ivr_digit_stream_new(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_destroy")] - public static extern int switch_ivr_digit_stream_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_destroy___")] + public static extern int switch_ivr_digit_stream_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_parser_set_event")] - public static extern int switch_ivr_digit_stream_parser_set_event(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_parser_set_event___")] + public static extern int switch_ivr_digit_stream_parser_set_event(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_parser_del_event")] - public static extern int switch_ivr_digit_stream_parser_del_event(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_parser_del_event___")] + public static extern int switch_ivr_digit_stream_parser_del_event(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_parser_feed")] - public static extern IntPtr switch_ivr_digit_stream_parser_feed(HandleRef jarg1, HandleRef jarg2, char jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_parser_feed___")] + public static extern global::System.IntPtr switch_ivr_digit_stream_parser_feed(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, char jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_reset")] - public static extern int switch_ivr_digit_stream_reset(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_reset___")] + public static extern int switch_ivr_digit_stream_reset(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_digit_stream_parser_set_terminator")] - public static extern int switch_ivr_digit_stream_parser_set_terminator(HandleRef jarg1, char jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_digit_stream_parser_set_terminator___")] + public static extern int switch_ivr_digit_stream_parser_set_terminator(global::System.Runtime.InteropServices.HandleRef jarg1, char jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_init")] - public static extern int switch_ivr_menu_init(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, string jarg11, string jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17, int jarg18, HandleRef jarg19); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_menu_init___")] + public static extern int switch_ivr_menu_init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, string jarg11, string jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17, int jarg18, global::System.Runtime.InteropServices.HandleRef jarg19); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_bind_action")] - public static extern int switch_ivr_menu_bind_action(HandleRef jarg1, int jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_menu_bind_action___")] + public static extern int switch_ivr_menu_bind_action(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_bind_function")] - public static extern int switch_ivr_menu_bind_function(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_menu_bind_function___")] + public static extern int switch_ivr_menu_bind_function(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_execute")] - public static extern int switch_ivr_menu_execute(HandleRef jarg1, HandleRef jarg2, string jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_menu_execute___")] + public static extern int switch_ivr_menu_execute(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_stack_free")] - public static extern int switch_ivr_menu_stack_free(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_menu_stack_free___")] + public static extern int switch_ivr_menu_stack_free(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_stack_xml_build")] - public static extern int switch_ivr_menu_stack_xml_build(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_menu_stack_xml_build___")] + public static extern int switch_ivr_menu_stack_xml_build(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_str2action")] - public static extern int switch_ivr_menu_str2action(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_menu_str2action___")] + public static extern int switch_ivr_menu_str2action(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_stack_xml_add_custom")] - public static extern int switch_ivr_menu_stack_xml_add_custom(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_menu_stack_xml_add_custom___")] + public static extern int switch_ivr_menu_stack_xml_add_custom(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_menu_stack_xml_init")] - public static extern int switch_ivr_menu_stack_xml_init(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_menu_stack_xml_init___")] + public static extern int switch_ivr_menu_stack_xml_init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_phrase_macro_event")] - public static extern int switch_ivr_phrase_macro_event(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4, string jarg5, HandleRef jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_phrase_macro_event___")] + public static extern int switch_ivr_phrase_macro_event(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_delay_echo")] - public static extern void switch_ivr_delay_echo(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_delay_echo___")] + public static extern void switch_ivr_delay_echo(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_find_bridged_uuid")] - public static extern int switch_ivr_find_bridged_uuid(string jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_find_bridged_uuid___")] + public static extern int switch_ivr_find_bridged_uuid(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_intercept_session")] - public static extern int switch_ivr_intercept_session(HandleRef jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_intercept_session___")] + public static extern int switch_ivr_intercept_session(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_park_session")] - public static extern void switch_ivr_park_session(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_park_session___")] + public static extern void switch_ivr_park_session(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_wait_for_answer")] - public static extern int switch_ivr_wait_for_answer(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_wait_for_answer___")] + public static extern int switch_ivr_wait_for_answer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_read")] - public static extern int switch_ivr_read(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4, string jarg5, string jarg6, HandleRef jarg7, uint jarg8, string jarg9, uint jarg10); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_read___")] + public static extern int switch_ivr_read(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, string jarg4, string jarg5, string jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, uint jarg8, string jarg9, uint jarg10); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_block_dtmf_session")] - public static extern int switch_ivr_block_dtmf_session(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_block_dtmf_session___")] + public static extern int switch_ivr_block_dtmf_session(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_unblock_dtmf_session")] - public static extern int switch_ivr_unblock_dtmf_session(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_unblock_dtmf_session___")] + public static extern int switch_ivr_unblock_dtmf_session(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_bind_dtmf_meta_session")] - public static extern int switch_ivr_bind_dtmf_meta_session(HandleRef jarg1, uint jarg2, uint jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_bind_dtmf_meta_session___")] + public static extern int switch_ivr_bind_dtmf_meta_session(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_unbind_dtmf_meta_session")] - public static extern int switch_ivr_unbind_dtmf_meta_session(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_unbind_dtmf_meta_session___")] + public static extern int switch_ivr_unbind_dtmf_meta_session(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_soft_hold")] - public static extern int switch_ivr_soft_hold(HandleRef jarg1, string jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_soft_hold___")] + public static extern int switch_ivr_soft_hold(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_say")] - public static extern int switch_ivr_say(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, HandleRef jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_say___")] + public static extern int switch_ivr_say(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_say_string")] - public static extern int switch_ivr_say_string(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, ref string jarg9); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_say_string___")] + public static extern int switch_ivr_say_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, ref string jarg9); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_get_say_method_by_name")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_get_say_method_by_name___")] public static extern int switch_ivr_get_say_method_by_name(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_get_say_gender_by_name")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_get_say_gender_by_name___")] public static extern int switch_ivr_get_say_gender_by_name(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_get_say_type_by_name")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_get_say_type_by_name___")] public static extern int switch_ivr_get_say_type_by_name(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_say_spell")] - public static extern int switch_ivr_say_spell(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_say_spell___")] + public static extern int switch_ivr_say_spell(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_say_ip")] - public static extern int switch_ivr_say_ip(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_say_ip___")] + public static extern int switch_ivr_say_ip(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_set_user")] - public static extern int switch_ivr_set_user(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_set_user___")] + public static extern int switch_ivr_set_user(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_set_user_extended")] - public static extern int switch_ivr_set_user_extended(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_set_user_extended___")] + public static extern int switch_ivr_set_user_extended(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_set_user_xml")] - public static extern int switch_ivr_set_user_xml(HandleRef jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_set_user_xml___")] + public static extern int switch_ivr_set_user_xml(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_sound_test")] - public static extern int switch_ivr_sound_test(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_sound_test___")] + public static extern int switch_ivr_sound_test(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_process_import")] - public static extern void switch_process_import(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_process_import___")] + public static extern void switch_process_import(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_uuid_exists")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_uuid_exists___")] public static extern int switch_ivr_uuid_exists(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_uuid_force_exists")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_uuid_force_exists___")] public static extern int switch_ivr_uuid_force_exists(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_is_parsing")] - public static extern int switch_ivr_dmachine_is_parsing(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_is_parsing___")] + public static extern int switch_ivr_dmachine_is_parsing(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_last_ping")] - public static extern int switch_ivr_dmachine_last_ping(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_last_ping___")] + public static extern int switch_ivr_dmachine_last_ping(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_get_name")] - public static extern string switch_ivr_dmachine_get_name(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_get_name___")] + public static extern string switch_ivr_dmachine_get_name(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_match_callback")] - public static extern void switch_ivr_dmachine_set_match_callback(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_match_callback___")] + public static extern void switch_ivr_dmachine_set_match_callback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_nonmatch_callback")] - public static extern void switch_ivr_dmachine_set_nonmatch_callback(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_nonmatch_callback___")] + public static extern void switch_ivr_dmachine_set_nonmatch_callback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_create")] - public static extern int switch_ivr_dmachine_create(HandleRef jarg1, string jarg2, HandleRef jarg3, uint jarg4, uint jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_create___")] + public static extern int switch_ivr_dmachine_create(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4, uint jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_destroy")] - public static extern void switch_ivr_dmachine_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_destroy___")] + public static extern void switch_ivr_dmachine_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_bind")] - public static extern int switch_ivr_dmachine_bind(HandleRef jarg1, string jarg2, string jarg3, byte jarg4, int jarg5, HandleRef jarg6, HandleRef jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_bind___")] + public static extern int switch_ivr_dmachine_bind(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, byte jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_feed")] - public static extern int switch_ivr_dmachine_feed(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_feed___")] + public static extern int switch_ivr_dmachine_feed(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_clear")] - public static extern int switch_ivr_dmachine_clear(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_clear___")] + public static extern int switch_ivr_dmachine_clear(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_ping")] - public static extern int switch_ivr_dmachine_ping(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_ping___")] + public static extern int switch_ivr_dmachine_ping(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_get_match")] - public static extern IntPtr switch_ivr_dmachine_get_match(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_get_match___")] + public static extern global::System.IntPtr switch_ivr_dmachine_get_match(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_get_failed_digits")] - public static extern string switch_ivr_dmachine_get_failed_digits(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_get_failed_digits___")] + public static extern string switch_ivr_dmachine_get_failed_digits(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_digit_timeout_ms")] - public static extern void switch_ivr_dmachine_set_digit_timeout_ms(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_digit_timeout_ms___")] + public static extern void switch_ivr_dmachine_set_digit_timeout_ms(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_input_timeout_ms")] - public static extern void switch_ivr_dmachine_set_input_timeout_ms(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_input_timeout_ms___")] + public static extern void switch_ivr_dmachine_set_input_timeout_ms(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_clear_realm")] - public static extern int switch_ivr_dmachine_clear_realm(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_clear_realm___")] + public static extern int switch_ivr_dmachine_clear_realm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_dmachine_set_realm")] - public static extern int switch_ivr_dmachine_set_realm(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_dmachine_set_realm___")] + public static extern int switch_ivr_dmachine_set_realm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_get_file_handle")] - public static extern int switch_ivr_get_file_handle(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_get_file_handle___")] + public static extern int switch_ivr_get_file_handle(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_release_file_handle")] - public static extern int switch_ivr_release_file_handle(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_release_file_handle___")] + public static extern int switch_ivr_release_file_handle(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_process_fh")] - public static extern int switch_ivr_process_fh(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_process_fh___")] + public static extern int switch_ivr_process_fh(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_insert_file")] - public static extern int switch_ivr_insert_file(HandleRef jarg1, string jarg2, string jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_insert_file___")] + public static extern int switch_ivr_insert_file(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_create_message_reply")] - public static extern int switch_ivr_create_message_reply(HandleRef jarg1, HandleRef jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_create_message_reply___")] + public static extern int switch_ivr_create_message_reply(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_check_presence_mapping")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_check_presence_mapping___")] public static extern string switch_ivr_check_presence_mapping(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_kill_uuid")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_kill_uuid___")] public static extern int switch_ivr_kill_uuid(string jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_blind_transfer_ack")] - public static extern int switch_ivr_blind_transfer_ack(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_blind_transfer_ack___")] + public static extern int switch_ivr_blind_transfer_ack(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_record_session_mask")] - public static extern int switch_ivr_record_session_mask(HandleRef jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_record_session_mask___")] + public static extern int switch_ivr_record_session_mask(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_stop_video_write_overlay_session")] - public static extern int switch_ivr_stop_video_write_overlay_session(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_stop_video_write_overlay_session___")] + public static extern int switch_ivr_stop_video_write_overlay_session(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_video_write_overlay_session")] - public static extern int switch_ivr_video_write_overlay_session(HandleRef jarg1, string jarg2, HandleRef jarg3, byte jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_video_write_overlay_session___")] + public static extern int switch_ivr_video_write_overlay_session(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, byte jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_ivr_capture_text")] - public static extern int switch_ivr_capture_text(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_capture_text___")] + public static extern int switch_ivr_capture_text(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_MAX_BUF_LEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_handle_create___")] + public static extern int switch_dial_handle_create(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_handle_destroy___")] + public static extern void switch_dial_handle_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_handle_add_leg_list___")] + public static extern void switch_dial_handle_add_leg_list(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_leg_list_add_leg___")] + public static extern void switch_dial_leg_list_add_leg(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_leg_list_add_leg_printf___")] + public static extern void switch_dial_leg_list_add_leg_printf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_handle_add_global_var___")] + public static extern void switch_dial_handle_add_global_var(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_handle_add_global_var_printf___")] + public static extern void switch_dial_handle_add_global_var_printf(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_handle_add_leg_var___")] + public static extern int switch_dial_handle_add_leg_var(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_handle_add_leg_var_printf___")] + public static extern int switch_dial_handle_add_leg_var_printf(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_handle_get_peers___")] + public static extern int switch_dial_handle_get_peers(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, ref string jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_handle_get_vars___")] + public static extern int switch_dial_handle_get_vars(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_handle_get_global_vars___")] + public static extern global::System.IntPtr switch_dial_handle_get_global_vars(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_leg_get_vars___")] + public static extern global::System.IntPtr switch_dial_leg_get_vars(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_dial_handle_get_total___")] + public static extern int switch_dial_handle_get_total(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_ivr_orig_and_bridge___")] + public static extern void switch_ivr_orig_and_bridge(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RTP_MAX_BUF_LEN_get___")] public static extern int SWITCH_RTP_MAX_BUF_LEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTCP_MAX_BUF_LEN_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RTCP_MAX_BUF_LEN_get___")] public static extern int SWITCH_RTCP_MAX_BUF_LEN_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_MAX_BUF_LEN_WORDS_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RTP_MAX_BUF_LEN_WORDS_get___")] public static extern int SWITCH_RTP_MAX_BUF_LEN_WORDS_get(); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_RTP_CRYPTO_KEY_80_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_RTP_CRYPTO_KEY_80_get___")] public static extern string SWITCH_RTP_CRYPTO_KEY_80_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_header_set")] - public static extern void switch_rtp_packet_t_header_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_packet_t_header_set___")] + public static extern void switch_rtp_packet_t_header_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_header_get")] - public static extern IntPtr switch_rtp_packet_t_header_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_packet_t_header_get___")] + public static extern global::System.IntPtr switch_rtp_packet_t_header_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_body_set")] - public static extern void switch_rtp_packet_t_body_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_packet_t_body_set___")] + public static extern void switch_rtp_packet_t_body_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_body_get")] - public static extern string switch_rtp_packet_t_body_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_packet_t_body_get___")] + public static extern string switch_rtp_packet_t_body_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_ext_set")] - public static extern void switch_rtp_packet_t_ext_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_packet_t_ext_set___")] + public static extern void switch_rtp_packet_t_ext_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_ext_get")] - public static extern IntPtr switch_rtp_packet_t_ext_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_packet_t_ext_get___")] + public static extern global::System.IntPtr switch_rtp_packet_t_ext_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_ebody_set")] - public static extern void switch_rtp_packet_t_ebody_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_packet_t_ebody_set___")] + public static extern void switch_rtp_packet_t_ebody_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_packet_t_ebody_get")] - public static extern string switch_rtp_packet_t_ebody_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_packet_t_ebody_get___")] + public static extern string switch_rtp_packet_t_ebody_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_packet_t")] - public static extern IntPtr new_switch_rtp_packet_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_rtp_packet_t___")] + public static extern global::System.IntPtr new_switch_rtp_packet_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtp_packet_t")] - public static extern void delete_switch_rtp_packet_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_rtp_packet_t___")] + public static extern void delete_switch_rtp_packet_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_name_set")] - public static extern void switch_srtp_crypto_suite_t_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_name_set___")] + public static extern void switch_srtp_crypto_suite_t_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_name_get")] - public static extern string switch_srtp_crypto_suite_t_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_name_get___")] + public static extern string switch_srtp_crypto_suite_t_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_type_set")] - public static extern void switch_srtp_crypto_suite_t_type_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_alias_set___")] + public static extern void switch_srtp_crypto_suite_t_alias_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_type_get")] - public static extern int switch_srtp_crypto_suite_t_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_alias_get___")] + public static extern string switch_srtp_crypto_suite_t_alias_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_keysalt_len_set")] - public static extern void switch_srtp_crypto_suite_t_keysalt_len_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_type_set___")] + public static extern void switch_srtp_crypto_suite_t_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_keysalt_len_get")] - public static extern int switch_srtp_crypto_suite_t_keysalt_len_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_type_get___")] + public static extern int switch_srtp_crypto_suite_t_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_salt_len_set")] - public static extern void switch_srtp_crypto_suite_t_salt_len_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_keysalt_len_set___")] + public static extern void switch_srtp_crypto_suite_t_keysalt_len_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_srtp_crypto_suite_t_salt_len_get")] - public static extern int switch_srtp_crypto_suite_t_salt_len_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_keysalt_len_get___")] + public static extern int switch_srtp_crypto_suite_t_keysalt_len_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_srtp_crypto_suite_t")] - public static extern IntPtr new_switch_srtp_crypto_suite_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_salt_len_set___")] + public static extern void switch_srtp_crypto_suite_t_salt_len_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_srtp_crypto_suite_t")] - public static extern void delete_switch_srtp_crypto_suite_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_srtp_crypto_suite_t_salt_len_get___")] + public static extern int switch_srtp_crypto_suite_t_salt_len_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_index_set")] - public static extern void switch_rtp_crypto_key_index_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_srtp_crypto_suite_t___")] + public static extern global::System.IntPtr new_switch_srtp_crypto_suite_t(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_index_get")] - public static extern uint switch_rtp_crypto_key_index_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_srtp_crypto_suite_t___")] + public static extern void delete_switch_srtp_crypto_suite_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_type_set")] - public static extern void switch_rtp_crypto_key_type_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_index_set___")] + public static extern void switch_rtp_crypto_key_index_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_type_get")] - public static extern int switch_rtp_crypto_key_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_index_get___")] + public static extern uint switch_rtp_crypto_key_index_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_keysalt_set")] - public static extern void switch_rtp_crypto_key_keysalt_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_type_set___")] + public static extern void switch_rtp_crypto_key_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_keysalt_get")] - public static extern IntPtr switch_rtp_crypto_key_keysalt_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_type_get___")] + public static extern int switch_rtp_crypto_key_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_keylen_set")] - public static extern void switch_rtp_crypto_key_keylen_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_keysalt_set___")] + public static extern void switch_rtp_crypto_key_keysalt_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_keylen_get")] - public static extern IntPtr switch_rtp_crypto_key_keylen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_keysalt_get___")] + public static extern global::System.IntPtr switch_rtp_crypto_key_keysalt_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_next_set")] - public static extern void switch_rtp_crypto_key_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_keylen_set___")] + public static extern void switch_rtp_crypto_key_keylen_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_crypto_key_next_get")] - public static extern IntPtr switch_rtp_crypto_key_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_keylen_get___")] + public static extern global::System.IntPtr switch_rtp_crypto_key_keylen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_rtp_crypto_key")] - public static extern IntPtr new_switch_rtp_crypto_key(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_next_set___")] + public static extern void switch_rtp_crypto_key_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_rtp_crypto_key")] - public static extern void delete_switch_rtp_crypto_key(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_crypto_key_next_get___")] + public static extern global::System.IntPtr switch_rtp_crypto_key_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_foundation_set")] - public static extern void icand_t_foundation_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_rtp_crypto_key___")] + public static extern global::System.IntPtr new_switch_rtp_crypto_key(); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_foundation_get")] - public static extern string icand_t_foundation_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_rtp_crypto_key___")] + public static extern void delete_switch_rtp_crypto_key(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_component_id_set")] - public static extern void icand_t_component_id_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_foundation_set___")] + public static extern void icand_t_foundation_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_component_id_get")] - public static extern int icand_t_component_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_foundation_get___")] + public static extern string icand_t_foundation_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_transport_set")] - public static extern void icand_t_transport_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_component_id_set___")] + public static extern void icand_t_component_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_transport_get")] - public static extern string icand_t_transport_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_component_id_get___")] + public static extern int icand_t_component_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_priority_set")] - public static extern void icand_t_priority_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_transport_set___")] + public static extern void icand_t_transport_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_priority_get")] - public static extern uint icand_t_priority_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_transport_get___")] + public static extern string icand_t_transport_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_con_addr_set")] - public static extern void icand_t_con_addr_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_priority_set___")] + public static extern void icand_t_priority_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_con_addr_get")] - public static extern string icand_t_con_addr_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_priority_get___")] + public static extern uint icand_t_priority_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_con_port_set")] - public static extern void icand_t_con_port_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_con_addr_set___")] + public static extern void icand_t_con_addr_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_con_port_get")] - public static extern ushort icand_t_con_port_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_con_addr_get___")] + public static extern string icand_t_con_addr_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_cand_type_set")] - public static extern void icand_t_cand_type_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_con_port_set___")] + public static extern void icand_t_con_port_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_cand_type_get")] - public static extern string icand_t_cand_type_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_con_port_get___")] + public static extern ushort icand_t_con_port_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_raddr_set")] - public static extern void icand_t_raddr_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_cand_type_set___")] + public static extern void icand_t_cand_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_raddr_get")] - public static extern string icand_t_raddr_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_cand_type_get___")] + public static extern string icand_t_cand_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_rport_set")] - public static extern void icand_t_rport_set(HandleRef jarg1, ushort jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_raddr_set___")] + public static extern void icand_t_raddr_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_rport_get")] - public static extern ushort icand_t_rport_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_raddr_get___")] + public static extern string icand_t_raddr_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_generation_set")] - public static extern void icand_t_generation_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_rport_set___")] + public static extern void icand_t_rport_set(global::System.Runtime.InteropServices.HandleRef jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_generation_get")] - public static extern string icand_t_generation_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_rport_get___")] + public static extern ushort icand_t_rport_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_ready_set")] - public static extern void icand_t_ready_set(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_generation_set___")] + public static extern void icand_t_generation_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_icand_t_ready_get")] - public static extern byte icand_t_ready_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_generation_get___")] + public static extern string icand_t_generation_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_icand_t")] - public static extern IntPtr new_icand_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_ready_set___")] + public static extern void icand_t_ready_set(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_icand_t")] - public static extern void delete_icand_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_icand_t_ready_get___")] + public static extern byte icand_t_ready_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_MAX_CAND_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_icand_t___")] + public static extern global::System.IntPtr new_icand_t(); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_icand_t___")] + public static extern void delete_icand_t(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_MAX_CAND_get___")] public static extern int MAX_CAND_get(); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_cands_set")] - public static extern void ice_t_cands_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_cands_set___")] + public static extern void ice_t_cands_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_cands_get")] - public static extern IntPtr ice_t_cands_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_cands_get___")] + public static extern global::System.IntPtr ice_t_cands_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_cand_idx_set")] - public static extern void ice_t_cand_idx_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_cand_idx_set___")] + public static extern void ice_t_cand_idx_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_cand_idx_get")] - public static extern IntPtr ice_t_cand_idx_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_cand_idx_get___")] + public static extern global::System.IntPtr ice_t_cand_idx_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_chosen_set")] - public static extern void ice_t_chosen_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_chosen_set___")] + public static extern void ice_t_chosen_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_chosen_get")] - public static extern IntPtr ice_t_chosen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_chosen_get___")] + public static extern global::System.IntPtr ice_t_chosen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_is_chosen_set")] - public static extern void ice_t_is_chosen_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_is_chosen_set___")] + public static extern void ice_t_is_chosen_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_is_chosen_get")] - public static extern IntPtr ice_t_is_chosen_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_is_chosen_get___")] + public static extern global::System.IntPtr ice_t_is_chosen_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_ufrag_set")] - public static extern void ice_t_ufrag_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_ufrag_set___")] + public static extern void ice_t_ufrag_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_ufrag_get")] - public static extern string ice_t_ufrag_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_ufrag_get___")] + public static extern string ice_t_ufrag_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_pwd_set")] - public static extern void ice_t_pwd_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_pwd_set___")] + public static extern void ice_t_pwd_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_pwd_get")] - public static extern string ice_t_pwd_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_pwd_get___")] + public static extern string ice_t_pwd_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_options_set")] - public static extern void ice_t_options_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_options_set___")] + public static extern void ice_t_options_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_ice_t_options_get")] - public static extern string ice_t_options_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ice_t_options_get___")] + public static extern string ice_t_options_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_ice_t")] - public static extern IntPtr new_ice_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_ice_t___")] + public static extern global::System.IntPtr new_ice_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_ice_t")] - public static extern void delete_ice_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_ice_t___")] + public static extern void delete_ice_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_add_crypto_key")] - public static extern int switch_rtp_add_crypto_key(HandleRef jarg1, int jarg2, uint jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_add_crypto_key___")] + public static extern int switch_rtp_add_crypto_key(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_random")] - public static extern void switch_rtp_get_random(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_get_random___")] + public static extern void switch_rtp_get_random(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_init")] - public static extern void switch_rtp_init(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_init___")] + public static extern void switch_rtp_init(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_shutdown")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_shutdown___")] public static extern void switch_rtp_shutdown(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_start_port")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_start_port___")] public static extern ushort switch_rtp_set_start_port(ushort jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_ssrc")] - public static extern int switch_rtp_set_ssrc(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_ssrc___")] + public static extern int switch_rtp_set_ssrc(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_remote_ssrc")] - public static extern int switch_rtp_set_remote_ssrc(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_remote_ssrc___")] + public static extern int switch_rtp_set_remote_ssrc(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_end_port")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_end_port___")] public static extern ushort switch_rtp_set_end_port(ushort jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_request_port")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_request_port___")] public static extern ushort switch_rtp_request_port(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_release_port")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_release_port___")] public static extern void switch_rtp_release_port(string jarg1, ushort jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_interval")] - public static extern int switch_rtp_set_interval(HandleRef jarg1, uint jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_interval___")] + public static extern int switch_rtp_set_interval(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_change_interval")] - public static extern int switch_rtp_change_interval(HandleRef jarg1, uint jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_change_interval___")] + public static extern int switch_rtp_change_interval(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_create")] - public static extern int switch_rtp_create(HandleRef jarg1, byte jarg2, uint jarg3, uint jarg4, HandleRef jarg5, string jarg6, ref global::System.IntPtr jarg7, HandleRef jarg8); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_create___")] + public static extern int switch_rtp_create(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2, uint jarg3, uint jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, string jarg6, ref global::System.IntPtr jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_new")] - public static extern IntPtr switch_rtp_new(string jarg1, ushort jarg2, string jarg3, ushort jarg4, byte jarg5, uint jarg6, uint jarg7, HandleRef jarg8, string jarg9, ref global::System.IntPtr jarg10, HandleRef jarg11); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_new___")] + public static extern global::System.IntPtr switch_rtp_new(string jarg1, ushort jarg2, string jarg3, ushort jarg4, byte jarg5, uint jarg6, uint jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, string jarg9, ref global::System.IntPtr jarg10, global::System.Runtime.InteropServices.HandleRef jarg11); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_remote_address")] - public static extern int switch_rtp_set_remote_address(HandleRef jarg1, string jarg2, ushort jarg3, ushort jarg4, int jarg5, ref global::System.IntPtr jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_remote_address___")] + public static extern int switch_rtp_set_remote_address(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, ushort jarg3, ushort jarg4, int jarg5, ref global::System.IntPtr jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_reset_jb")] - public static extern void switch_rtp_reset_jb(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_reset_jb___")] + public static extern void switch_rtp_reset_jb(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_remote_host")] - public static extern string switch_rtp_get_remote_host(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_get_remote_host___")] + public static extern string switch_rtp_get_remote_host(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_remote_port")] - public static extern ushort switch_rtp_get_remote_port(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_get_remote_port___")] + public static extern ushort switch_rtp_get_remote_port(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_reset_media_timer")] - public static extern void switch_rtp_reset_media_timer(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_reset_media_timer___")] + public static extern void switch_rtp_reset_media_timer(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_max_missed_packets")] - public static extern void switch_rtp_set_max_missed_packets(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_max_missed_packets___")] + public static extern void switch_rtp_set_max_missed_packets(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_udptl_mode")] - public static extern int switch_rtp_udptl_mode(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_udptl_mode___")] + public static extern int switch_rtp_udptl_mode(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_reset")] - public static extern void switch_rtp_reset(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_reset___")] + public static extern void switch_rtp_reset(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_local_address")] - public static extern int switch_rtp_set_local_address(HandleRef jarg1, string jarg2, ushort jarg3, ref global::System.IntPtr jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_local_address___")] + public static extern int switch_rtp_set_local_address(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, ushort jarg3, ref global::System.IntPtr jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_kill_socket")] - public static extern void switch_rtp_kill_socket(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_kill_socket___")] + public static extern void switch_rtp_kill_socket(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_break")] - public static extern void switch_rtp_break(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_break___")] + public static extern void switch_rtp_break(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_flush")] - public static extern void switch_rtp_flush(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_flush___")] + public static extern void switch_rtp_flush(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_ready")] - public static extern byte switch_rtp_ready(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_ready___")] + public static extern byte switch_rtp_ready(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_destroy")] - public static extern void switch_rtp_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_destroy___")] + public static extern void switch_rtp_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_sync_stats")] - public static extern int switch_rtp_sync_stats(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_sync_stats___")] + public static extern int switch_rtp_sync_stats(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_ice")] - public static extern int switch_rtp_activate_ice(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, int jarg6, int jarg7, HandleRef jarg8); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_activate_ice___")] + public static extern int switch_rtp_activate_ice(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, int jarg6, int jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_rtcp")] - public static extern int switch_rtp_activate_rtcp(HandleRef jarg1, int jarg2, ushort jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_activate_rtcp___")] + public static extern int switch_rtp_activate_rtcp(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, ushort jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_media_timer")] - public static extern IntPtr switch_rtp_get_media_timer(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_get_media_timer___")] + public static extern global::System.IntPtr switch_rtp_get_media_timer(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_video_buffer_size")] - public static extern int switch_rtp_set_video_buffer_size(HandleRef jarg1, uint jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_video_buffer_size___")] + public static extern int switch_rtp_set_video_buffer_size(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_video_buffer_size")] - public static extern int switch_rtp_get_video_buffer_size(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_get_video_buffer_size___")] + public static extern int switch_rtp_get_video_buffer_size(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_activate_jitter_buffer")] - public static extern int switch_rtp_activate_jitter_buffer(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_activate_jitter_buffer___")] + public static extern int switch_rtp_activate_jitter_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, uint jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_debug_jitter_buffer")] - public static extern int switch_rtp_debug_jitter_buffer(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_debug_jitter_buffer___")] + public static extern int switch_rtp_debug_jitter_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_deactivate_jitter_buffer")] - public static extern int switch_rtp_deactivate_jitter_buffer(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_deactivate_jitter_buffer___")] + public static extern int switch_rtp_deactivate_jitter_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_pause_jitter_buffer")] - public static extern int switch_rtp_pause_jitter_buffer(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_pause_jitter_buffer___")] + public static extern int switch_rtp_pause_jitter_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_jitter_buffer")] - public static extern IntPtr switch_rtp_get_jitter_buffer(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_get_jitter_buffer___")] + public static extern global::System.IntPtr switch_rtp_get_jitter_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_flag")] - public static extern void switch_rtp_set_flag(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_flag___")] + public static extern void switch_rtp_set_flag(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_flags")] - public static extern void switch_rtp_set_flags(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_flags___")] + public static extern void switch_rtp_set_flags(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_clear_flags")] - public static extern void switch_rtp_clear_flags(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_clear_flags___")] + public static extern void switch_rtp_clear_flags(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_test_flag")] - public static extern uint switch_rtp_test_flag(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_test_flag___")] + public static extern uint switch_rtp_test_flag(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_clear_flag")] - public static extern void switch_rtp_clear_flag(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_clear_flag___")] + public static extern void switch_rtp_clear_flag(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_rtp_socket")] - public static extern IntPtr switch_rtp_get_rtp_socket(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_get_rtp_socket___")] + public static extern global::System.IntPtr switch_rtp_get_rtp_socket(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_ping")] - public static extern void switch_rtp_ping(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_ping___")] + public static extern void switch_rtp_ping(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_default_samples_per_interval")] - public static extern uint switch_rtp_get_default_samples_per_interval(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_get_default_samples_per_interval___")] + public static extern uint switch_rtp_get_default_samples_per_interval(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_default_payload")] - public static extern void switch_rtp_set_default_payload(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_default_payload___")] + public static extern void switch_rtp_set_default_payload(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_default_payload")] - public static extern uint switch_rtp_get_default_payload(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_get_default_payload___")] + public static extern uint switch_rtp_get_default_payload(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_invalid_handler")] - public static extern void switch_rtp_set_invalid_handler(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_invalid_handler___")] + public static extern void switch_rtp_set_invalid_handler(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_read")] - public static extern int switch_rtp_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_read___")] + public static extern int switch_rtp_read(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, uint jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_queue_rfc2833")] - public static extern int switch_rtp_queue_rfc2833(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_queue_rfc2833___")] + public static extern int switch_rtp_queue_rfc2833(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_queue_rfc2833_in")] - public static extern int switch_rtp_queue_rfc2833_in(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_queue_rfc2833_in___")] + public static extern int switch_rtp_queue_rfc2833_in(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_has_dtmf")] - public static extern IntPtr switch_rtp_has_dtmf(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_has_dtmf___")] + public static extern global::System.IntPtr switch_rtp_has_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_dequeue_dtmf")] - public static extern IntPtr switch_rtp_dequeue_dtmf(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_dequeue_dtmf___")] + public static extern global::System.IntPtr switch_rtp_dequeue_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_zerocopy_read")] - public static extern int switch_rtp_zerocopy_read(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, uint jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_zerocopy_read___")] + public static extern int switch_rtp_zerocopy_read(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, uint jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_zerocopy_read_frame")] - public static extern int switch_rtp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2, uint jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_zerocopy_read_frame___")] + public static extern int switch_rtp_zerocopy_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtcp_zerocopy_read_frame")] - public static extern int switch_rtcp_zerocopy_read_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtcp_zerocopy_read_frame___")] + public static extern int switch_rtcp_zerocopy_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_rtp_flush_read_buffer")] - public static extern void rtp_flush_read_buffer(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_rtp_flush_read_buffer___")] + public static extern void rtp_flush_read_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_enable_vad")] - public static extern int switch_rtp_enable_vad(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, uint jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_enable_vad___")] + public static extern int switch_rtp_enable_vad(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_disable_vad")] - public static extern int switch_rtp_disable_vad(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_disable_vad___")] + public static extern int switch_rtp_disable_vad(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_write_frame")] - public static extern int switch_rtp_write_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_write_frame___")] + public static extern int switch_rtp_write_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_write_manual")] - public static extern int switch_rtp_write_manual(HandleRef jarg1, HandleRef jarg2, uint jarg3, byte jarg4, byte jarg5, uint jarg6, HandleRef jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_write_manual___")] + public static extern int switch_rtp_write_manual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, byte jarg4, byte jarg5, uint jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_write_raw")] - public static extern int switch_rtp_write_raw(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_write_raw___")] + public static extern int switch_rtp_write_raw(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_ssrc")] - public static extern uint switch_rtp_get_ssrc(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_get_ssrc___")] + public static extern uint switch_rtp_get_ssrc(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_private")] - public static extern void switch_rtp_set_private(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_private___")] + public static extern void switch_rtp_set_private(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_telephony_event")] - public static extern void switch_rtp_set_telephony_event(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_telephony_event___")] + public static extern void switch_rtp_set_telephony_event(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_telephony_recv_event")] - public static extern void switch_rtp_set_telephony_recv_event(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_telephony_recv_event___")] + public static extern void switch_rtp_set_telephony_recv_event(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_cng_pt")] - public static extern void switch_rtp_set_cng_pt(HandleRef jarg1, byte jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_cng_pt___")] + public static extern void switch_rtp_set_cng_pt(global::System.Runtime.InteropServices.HandleRef jarg1, byte jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_private")] - public static extern IntPtr switch_rtp_get_private(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_get_private___")] + public static extern global::System.IntPtr switch_rtp_get_private(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_payload_map")] - public static extern int switch_rtp_set_payload_map(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_payload_map___")] + public static extern int switch_rtp_set_payload_map(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_intentional_bugs")] - public static extern void switch_rtp_intentional_bugs(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_intentional_bugs___")] + public static extern void switch_rtp_intentional_bugs(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_stats")] - public static extern IntPtr switch_rtp_get_stats(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_get_stats___")] + public static extern global::System.IntPtr switch_rtp_get_stats(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_check_auto_adj")] - public static extern byte switch_rtp_check_auto_adj(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_check_auto_adj___")] + public static extern byte switch_rtp_check_auto_adj(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_set_interdigit_delay")] - public static extern void switch_rtp_set_interdigit_delay(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_set_interdigit_delay___")] + public static extern void switch_rtp_set_interdigit_delay(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_add_dtls")] - public static extern int switch_rtp_add_dtls(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_add_dtls___")] + public static extern int switch_rtp_add_dtls(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_del_dtls")] - public static extern int switch_rtp_del_dtls(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_del_dtls___")] + public static extern int switch_rtp_del_dtls(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_dtls_state")] - public static extern int switch_rtp_dtls_state(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_dtls_state___")] + public static extern int switch_rtp_dtls_state(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_has_dtls")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_has_dtls___")] public static extern int switch_rtp_has_dtls(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_req_bitrate")] - public static extern int switch_rtp_req_bitrate(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_req_bitrate___")] + public static extern int switch_rtp_req_bitrate(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_ack_bitrate")] - public static extern int switch_rtp_ack_bitrate(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_ack_bitrate___")] + public static extern int switch_rtp_ack_bitrate(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_video_refresh")] - public static extern void switch_rtp_video_refresh(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_video_refresh___")] + public static extern void switch_rtp_video_refresh(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_video_loss")] - public static extern void switch_rtp_video_loss(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_rtp_video_loss___")] + public static extern void switch_rtp_video_loss(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_data_set")] - public static extern void switch_log_node_t_data_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_data_set___")] + public static extern void switch_log_node_t_data_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_data_get")] - public static extern string switch_log_node_t_data_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_data_get___")] + public static extern string switch_log_node_t_data_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_file_set")] - public static extern void switch_log_node_t_file_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_file_set___")] + public static extern void switch_log_node_t_file_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_file_get")] - public static extern string switch_log_node_t_file_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_file_get___")] + public static extern string switch_log_node_t_file_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_line_set")] - public static extern void switch_log_node_t_line_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_line_set___")] + public static extern void switch_log_node_t_line_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_line_get")] - public static extern uint switch_log_node_t_line_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_line_get___")] + public static extern uint switch_log_node_t_line_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_func_set")] - public static extern void switch_log_node_t_func_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_func_set___")] + public static extern void switch_log_node_t_func_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_func_get")] - public static extern string switch_log_node_t_func_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_func_get___")] + public static extern string switch_log_node_t_func_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_level_set")] - public static extern void switch_log_node_t_level_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_level_set___")] + public static extern void switch_log_node_t_level_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_level_get")] - public static extern int switch_log_node_t_level_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_level_get___")] + public static extern int switch_log_node_t_level_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_timestamp_set")] - public static extern void switch_log_node_t_timestamp_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_timestamp_set___")] + public static extern void switch_log_node_t_timestamp_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_timestamp_get")] - public static extern IntPtr switch_log_node_t_timestamp_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_timestamp_get___")] + public static extern global::System.IntPtr switch_log_node_t_timestamp_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_content_set")] - public static extern void switch_log_node_t_content_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_content_set___")] + public static extern void switch_log_node_t_content_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_content_get")] - public static extern string switch_log_node_t_content_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_content_get___")] + public static extern string switch_log_node_t_content_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_userdata_set")] - public static extern void switch_log_node_t_userdata_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_userdata_set___")] + public static extern void switch_log_node_t_userdata_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_userdata_get")] - public static extern string switch_log_node_t_userdata_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_userdata_get___")] + public static extern string switch_log_node_t_userdata_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_channel_set")] - public static extern void switch_log_node_t_channel_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_channel_set___")] + public static extern void switch_log_node_t_channel_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_channel_get")] - public static extern int switch_log_node_t_channel_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_channel_get___")] + public static extern int switch_log_node_t_channel_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_slevel_set")] - public static extern void switch_log_node_t_slevel_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_slevel_set___")] + public static extern void switch_log_node_t_slevel_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_slevel_get")] - public static extern int switch_log_node_t_slevel_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_t_slevel_get___")] + public static extern int switch_log_node_t_slevel_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_log_node_t")] - public static extern IntPtr new_switch_log_node_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_log_node_t___")] + public static extern global::System.IntPtr new_switch_log_node_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_log_node_t")] - public static extern void delete_switch_log_node_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_log_node_t___")] + public static extern void delete_switch_log_node_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_init")] - public static extern int switch_log_init(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_init___")] + public static extern int switch_log_init(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_shutdown")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_shutdown___")] public static extern int switch_log_shutdown(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_bind_logger")] - public static extern int switch_log_bind_logger(HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_bind_logger___")] + public static extern int switch_log_bind_logger(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_unbind_logger")] - public static extern int switch_log_unbind_logger(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_unbind_logger___")] + public static extern int switch_log_unbind_logger(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_level2str")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_level2str___")] public static extern string switch_log_level2str(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_str2level")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_str2level___")] public static extern int switch_log_str2level(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_str2mask")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_str2mask___")] public static extern uint switch_log_str2mask(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_dup")] - public static extern IntPtr switch_log_node_dup(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_dup___")] + public static extern global::System.IntPtr switch_log_node_dup(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_free")] - public static extern void switch_log_node_free(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_log_node_free___")] + public static extern void switch_log_node_free(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_SWITCH_XML_BUFSIZE_get")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_SWITCH_XML_BUFSIZE_get___")] public static extern int SWITCH_XML_BUFSIZE_get(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_name_set")] - public static extern void switch_xml_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_name_set___")] + public static extern void switch_xml_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_name_get")] - public static extern string switch_xml_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_name_get___")] + public static extern string switch_xml_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_attr_set")] - public static extern void switch_xml_attr_set(HandleRef jarg1, ref string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_attr_set___")] + public static extern void switch_xml_attr_set(global::System.Runtime.InteropServices.HandleRef jarg1, ref string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_attr_get")] - public static extern string switch_xml_attr_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_attr_get___")] + public static extern string switch_xml_attr_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_txt_set")] - public static extern void switch_xml_txt_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_txt_set___")] + public static extern void switch_xml_txt_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_txt_get")] - public static extern string switch_xml_txt_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_txt_get___")] + public static extern string switch_xml_txt_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_free_path_set")] - public static extern void switch_xml_free_path_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_free_path_set___")] + public static extern void switch_xml_free_path_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_free_path_get")] - public static extern string switch_xml_free_path_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_free_path_get___")] + public static extern string switch_xml_free_path_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_off_set")] - public static extern void switch_xml_off_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_off_set___")] + public static extern void switch_xml_off_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_off_get")] - public static extern IntPtr switch_xml_off_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_off_get___")] + public static extern global::System.IntPtr switch_xml_off_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_next_set")] - public static extern void switch_xml_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_next_set___")] + public static extern void switch_xml_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_next_get")] - public static extern IntPtr switch_xml_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_next_get___")] + public static extern global::System.IntPtr switch_xml_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_sibling_set")] - public static extern void switch_xml_sibling_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_sibling_set___")] + public static extern void switch_xml_sibling_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_sibling_get")] - public static extern IntPtr switch_xml_sibling_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_sibling_get___")] + public static extern global::System.IntPtr switch_xml_sibling_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_ordered_set")] - public static extern void switch_xml_ordered_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_ordered_set___")] + public static extern void switch_xml_ordered_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_ordered_get")] - public static extern IntPtr switch_xml_ordered_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_ordered_get___")] + public static extern global::System.IntPtr switch_xml_ordered_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_child_set")] - public static extern void switch_xml_child_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_child_set___")] + public static extern void switch_xml_child_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_child_get")] - public static extern IntPtr switch_xml_child_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_child_get___")] + public static extern global::System.IntPtr switch_xml_child_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parent_set")] - public static extern void switch_xml_parent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_parent_set___")] + public static extern void switch_xml_parent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parent_get")] - public static extern IntPtr switch_xml_parent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_parent_get___")] + public static extern global::System.IntPtr switch_xml_parent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_flags_set")] - public static extern void switch_xml_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_flags_set___")] + public static extern void switch_xml_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_flags_get")] - public static extern uint switch_xml_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_flags_get___")] + public static extern uint switch_xml_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_is_switch_xml_root_t_set")] - public static extern void switch_xml_is_switch_xml_root_t_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_is_switch_xml_root_t_set___")] + public static extern void switch_xml_is_switch_xml_root_t_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_is_switch_xml_root_t_get")] - public static extern int switch_xml_is_switch_xml_root_t_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_is_switch_xml_root_t_get___")] + public static extern int switch_xml_is_switch_xml_root_t_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_refs_set")] - public static extern void switch_xml_refs_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_refs_set___")] + public static extern void switch_xml_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_refs_get")] - public static extern uint switch_xml_refs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_refs_get___")] + public static extern uint switch_xml_refs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_xml")] - public static extern IntPtr new_switch_xml(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_xml___")] + public static extern global::System.IntPtr new_switch_xml(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_xml")] - public static extern void delete_switch_xml(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_xml___")] + public static extern void delete_switch_xml(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_str_dynamic")] - public static extern IntPtr switch_xml_parse_str_dynamic(string jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_parse_str_dynamic___")] + public static extern global::System.IntPtr switch_xml_parse_str_dynamic(string jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_str")] - public static extern IntPtr switch_xml_parse_str(string jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_parse_str___")] + public static extern global::System.IntPtr switch_xml_parse_str(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_fd")] - public static extern IntPtr switch_xml_parse_fd(int jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_parse_fd___")] + public static extern global::System.IntPtr switch_xml_parse_fd(int jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_file")] - public static extern IntPtr switch_xml_parse_file(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_parse_file___")] + public static extern global::System.IntPtr switch_xml_parse_file(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_file_simple")] - public static extern IntPtr switch_xml_parse_file_simple(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_parse_file_simple___")] + public static extern global::System.IntPtr switch_xml_parse_file_simple(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_fp")] - public static extern IntPtr switch_xml_parse_fp(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_parse_fp___")] + public static extern global::System.IntPtr switch_xml_parse_fp(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_child")] - public static extern IntPtr switch_xml_child(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_child___")] + public static extern global::System.IntPtr switch_xml_child(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_find_child")] - public static extern IntPtr switch_xml_find_child(HandleRef jarg1, string jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_find_child___")] + public static extern global::System.IntPtr switch_xml_find_child(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_find_child_multi")] - public static extern IntPtr switch_xml_find_child_multi(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_find_child_multi___")] + public static extern global::System.IntPtr switch_xml_find_child_multi(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_attr")] - public static extern string switch_xml_attr(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_attr___")] + public static extern string switch_xml_attr(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_attr_soft")] - public static extern string switch_xml_attr_soft(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_attr_soft___")] + public static extern string switch_xml_attr_soft(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_get")] - public static extern IntPtr switch_xml_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_get___")] + public static extern global::System.IntPtr switch_xml_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_toxml")] - public static extern string switch_xml_toxml(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_toxml___")] + public static extern string switch_xml_toxml(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_toxml_nolock")] - public static extern string switch_xml_toxml_nolock(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_toxml_nolock___")] + public static extern string switch_xml_toxml_nolock(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_tohtml")] - public static extern string switch_xml_tohtml(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_tohtml___")] + public static extern string switch_xml_tohtml(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_toxml_buf")] - public static extern string switch_xml_toxml_buf(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_toxml_buf___")] + public static extern string switch_xml_toxml_buf(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_free")] - public static extern void switch_xml_free(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_free___")] + public static extern void switch_xml_free(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_free_in_thread")] - public static extern void switch_xml_free_in_thread(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_free_in_thread___")] + public static extern void switch_xml_free_in_thread(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_error")] - public static extern string switch_xml_error(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_error___")] + public static extern string switch_xml_error(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_new")] - public static extern IntPtr switch_xml_new(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_new___")] + public static extern global::System.IntPtr switch_xml_new(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_add_child")] - public static extern IntPtr switch_xml_add_child(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_add_child___")] + public static extern global::System.IntPtr switch_xml_add_child(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_txt")] - public static extern IntPtr switch_xml_set_txt(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_set_txt___")] + public static extern global::System.IntPtr switch_xml_set_txt(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_attr")] - public static extern IntPtr switch_xml_set_attr(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_set_attr___")] + public static extern global::System.IntPtr switch_xml_set_attr(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_flag")] - public static extern IntPtr switch_xml_set_flag(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_set_flag___")] + public static extern global::System.IntPtr switch_xml_set_flag(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_cut")] - public static extern IntPtr switch_xml_cut(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_cut___")] + public static extern global::System.IntPtr switch_xml_cut(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_insert")] - public static extern IntPtr switch_xml_insert(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_insert___")] + public static extern global::System.IntPtr switch_xml_insert(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_root")] - public static extern int switch_xml_set_root(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_set_root___")] + public static extern int switch_xml_set_root(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_open_root_function")] - public static extern int switch_xml_set_open_root_function(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_set_open_root_function___")] + public static extern int switch_xml_set_open_root_function(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_open_root")] - public static extern IntPtr switch_xml_open_root(byte jarg1, ref global::System.IntPtr jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_open_root___")] + public static extern global::System.IntPtr switch_xml_open_root(byte jarg1, ref global::System.IntPtr jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_init")] - public static extern int switch_xml_init(HandleRef jarg1, ref global::System.IntPtr jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_init___")] + public static extern int switch_xml_init(global::System.Runtime.InteropServices.HandleRef jarg1, ref global::System.IntPtr jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_reload")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_reload___")] public static extern int switch_xml_reload(ref global::System.IntPtr jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_destroy")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_destroy___")] public static extern int switch_xml_destroy(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_root")] - public static extern IntPtr switch_xml_root(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_root___")] + public static extern global::System.IntPtr switch_xml_root(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate")] - public static extern int switch_xml_locate(string jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5, HandleRef jarg6, HandleRef jarg7, int jarg8); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_locate___")] + public static extern int switch_xml_locate(string jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, int jarg8); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_domain")] - public static extern int switch_xml_locate_domain(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_locate_domain___")] + public static extern int switch_xml_locate_domain(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_group")] - public static extern int switch_xml_locate_group(string jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_locate_group___")] + public static extern int switch_xml_locate_group(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_user")] - public static extern int switch_xml_locate_user(string jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5, HandleRef jarg6, HandleRef jarg7, HandleRef jarg8, HandleRef jarg9); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_locate_user___")] + public static extern int switch_xml_locate_user(string jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_user_in_domain")] - public static extern int switch_xml_locate_user_in_domain(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_locate_user_in_domain___")] + public static extern int switch_xml_locate_user_in_domain(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_user_merged")] - public static extern int switch_xml_locate_user_merged(string jarg1, string jarg2, string jarg3, string jarg4, HandleRef jarg5, HandleRef jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_locate_user_merged___")] + public static extern int switch_xml_locate_user_merged(string jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_clear_user_cache")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_clear_user_cache___")] public static extern uint switch_xml_clear_user_cache(string jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_merge_user")] - public static extern void switch_xml_merge_user(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_merge_user___")] + public static extern void switch_xml_merge_user(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_dup")] - public static extern IntPtr switch_xml_dup(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_dup___")] + public static extern global::System.IntPtr switch_xml_dup(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_open_cfg")] - public static extern IntPtr switch_xml_open_cfg(string jarg1, HandleRef jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_open_cfg___")] + public static extern global::System.IntPtr switch_xml_open_cfg(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_binding_sections")] - public static extern void switch_xml_set_binding_sections(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_set_binding_sections___")] + public static extern void switch_xml_set_binding_sections(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_set_binding_user_data")] - public static extern void switch_xml_set_binding_user_data(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_set_binding_user_data___")] + public static extern void switch_xml_set_binding_user_data(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_get_binding_sections")] - public static extern uint switch_xml_get_binding_sections(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_get_binding_sections___")] + public static extern uint switch_xml_get_binding_sections(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_get_binding_user_data")] - public static extern IntPtr switch_xml_get_binding_user_data(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_get_binding_user_data___")] + public static extern global::System.IntPtr switch_xml_get_binding_user_data(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_bind_search_function_ret")] - public static extern int switch_xml_bind_search_function_ret(HandleRef jarg1, uint jarg2, HandleRef jarg3, HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_bind_search_function_ret___")] + public static extern int switch_xml_bind_search_function_ret(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_unbind_search_function")] - public static extern int switch_xml_unbind_search_function(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_unbind_search_function___")] + public static extern int switch_xml_unbind_search_function(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_unbind_search_function_ptr")] - public static extern int switch_xml_unbind_search_function_ptr(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_unbind_search_function_ptr___")] + public static extern int switch_xml_unbind_search_function_ptr(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_parse_section_string")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_parse_section_string___")] public static extern uint switch_xml_parse_section_string(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_std_datetime_check")] - public static extern int switch_xml_std_datetime_check(HandleRef jarg1, HandleRef jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_std_datetime_check___")] + public static extern int switch_xml_std_datetime_check(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_switch_xml_locate_language")] - public static extern int switch_xml_locate_language(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5, HandleRef jarg6, string jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_xml_locate_language___")] + public static extern int switch_xml_locate_language(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, string jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_set")] - public static extern void switch_io_event_hook_outgoing_channel_outgoing_channel_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_outgoing_channel_outgoing_channel_set___")] + public static extern void switch_io_event_hook_outgoing_channel_outgoing_channel_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_outgoing_channel_get")] - public static extern IntPtr switch_io_event_hook_outgoing_channel_outgoing_channel_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_outgoing_channel_outgoing_channel_get___")] + public static extern global::System.IntPtr switch_io_event_hook_outgoing_channel_outgoing_channel_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_next_set")] - public static extern void switch_io_event_hook_outgoing_channel_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_outgoing_channel_next_set___")] + public static extern void switch_io_event_hook_outgoing_channel_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_outgoing_channel_next_get")] - public static extern IntPtr switch_io_event_hook_outgoing_channel_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_outgoing_channel_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_outgoing_channel_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_outgoing_channel")] - public static extern IntPtr new_switch_io_event_hook_outgoing_channel(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_outgoing_channel___")] + public static extern global::System.IntPtr new_switch_io_event_hook_outgoing_channel(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_outgoing_channel")] - public static extern void delete_switch_io_event_hook_outgoing_channel(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_outgoing_channel___")] + public static extern void delete_switch_io_event_hook_outgoing_channel(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_message_receive_message_set")] - public static extern void switch_io_event_hook_receive_message_receive_message_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_message_receive_message_set___")] + public static extern void switch_io_event_hook_receive_message_receive_message_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_message_receive_message_get")] - public static extern IntPtr switch_io_event_hook_receive_message_receive_message_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_message_receive_message_get___")] + public static extern global::System.IntPtr switch_io_event_hook_receive_message_receive_message_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_message_next_set")] - public static extern void switch_io_event_hook_receive_message_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_message_next_set___")] + public static extern void switch_io_event_hook_receive_message_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_message_next_get")] - public static extern IntPtr switch_io_event_hook_receive_message_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_message_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_receive_message_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_receive_message")] - public static extern IntPtr new_switch_io_event_hook_receive_message(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_receive_message___")] + public static extern global::System.IntPtr new_switch_io_event_hook_receive_message(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_receive_message")] - public static extern void delete_switch_io_event_hook_receive_message(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_receive_message___")] + public static extern void delete_switch_io_event_hook_receive_message(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_event_receive_event_set")] - public static extern void switch_io_event_hook_receive_event_receive_event_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_event_receive_event_set___")] + public static extern void switch_io_event_hook_receive_event_receive_event_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_event_receive_event_get")] - public static extern IntPtr switch_io_event_hook_receive_event_receive_event_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_event_receive_event_get___")] + public static extern global::System.IntPtr switch_io_event_hook_receive_event_receive_event_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_event_next_set")] - public static extern void switch_io_event_hook_receive_event_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_event_next_set___")] + public static extern void switch_io_event_hook_receive_event_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_receive_event_next_get")] - public static extern IntPtr switch_io_event_hook_receive_event_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_receive_event_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_receive_event_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_receive_event")] - public static extern IntPtr new_switch_io_event_hook_receive_event(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_receive_event___")] + public static extern global::System.IntPtr new_switch_io_event_hook_receive_event(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_receive_event")] - public static extern void delete_switch_io_event_hook_receive_event(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_receive_event___")] + public static extern void delete_switch_io_event_hook_receive_event(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_read_frame_read_frame_set")] - public static extern void switch_io_event_hook_read_frame_read_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_read_frame_read_frame_set___")] + public static extern void switch_io_event_hook_read_frame_read_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_read_frame_read_frame_get")] - public static extern IntPtr switch_io_event_hook_read_frame_read_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_read_frame_read_frame_get___")] + public static extern global::System.IntPtr switch_io_event_hook_read_frame_read_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_read_frame_next_set")] - public static extern void switch_io_event_hook_read_frame_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_read_frame_next_set___")] + public static extern void switch_io_event_hook_read_frame_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_read_frame_next_get")] - public static extern IntPtr switch_io_event_hook_read_frame_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_read_frame_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_read_frame_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_read_frame")] - public static extern IntPtr new_switch_io_event_hook_read_frame(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_read_frame___")] + public static extern global::System.IntPtr new_switch_io_event_hook_read_frame(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_read_frame")] - public static extern void delete_switch_io_event_hook_read_frame(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_read_frame___")] + public static extern void delete_switch_io_event_hook_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_read_frame_video_read_frame_set")] - public static extern void switch_io_event_hook_video_read_frame_video_read_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_video_read_frame_video_read_frame_set___")] + public static extern void switch_io_event_hook_video_read_frame_video_read_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_read_frame_video_read_frame_get")] - public static extern IntPtr switch_io_event_hook_video_read_frame_video_read_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_video_read_frame_video_read_frame_get___")] + public static extern global::System.IntPtr switch_io_event_hook_video_read_frame_video_read_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_read_frame_next_set")] - public static extern void switch_io_event_hook_video_read_frame_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_video_read_frame_next_set___")] + public static extern void switch_io_event_hook_video_read_frame_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_read_frame_next_get")] - public static extern IntPtr switch_io_event_hook_video_read_frame_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_video_read_frame_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_video_read_frame_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_video_read_frame")] - public static extern IntPtr new_switch_io_event_hook_video_read_frame(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_video_read_frame___")] + public static extern global::System.IntPtr new_switch_io_event_hook_video_read_frame(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_video_read_frame")] - public static extern void delete_switch_io_event_hook_video_read_frame(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_video_read_frame___")] + public static extern void delete_switch_io_event_hook_video_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_write_frame_write_frame_set")] - public static extern void switch_io_event_hook_write_frame_write_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_write_frame_write_frame_set___")] + public static extern void switch_io_event_hook_write_frame_write_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_write_frame_write_frame_get")] - public static extern IntPtr switch_io_event_hook_write_frame_write_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_write_frame_write_frame_get___")] + public static extern global::System.IntPtr switch_io_event_hook_write_frame_write_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_write_frame_next_set")] - public static extern void switch_io_event_hook_write_frame_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_write_frame_next_set___")] + public static extern void switch_io_event_hook_write_frame_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_write_frame_next_get")] - public static extern IntPtr switch_io_event_hook_write_frame_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_write_frame_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_write_frame_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_write_frame")] - public static extern IntPtr new_switch_io_event_hook_write_frame(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_write_frame___")] + public static extern global::System.IntPtr new_switch_io_event_hook_write_frame(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_write_frame")] - public static extern void delete_switch_io_event_hook_write_frame(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_write_frame___")] + public static extern void delete_switch_io_event_hook_write_frame(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_write_frame_video_write_frame_set")] - public static extern void switch_io_event_hook_video_write_frame_video_write_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_video_write_frame_video_write_frame_set___")] + public static extern void switch_io_event_hook_video_write_frame_video_write_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_write_frame_video_write_frame_get")] - public static extern IntPtr switch_io_event_hook_video_write_frame_video_write_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_video_write_frame_video_write_frame_get___")] + public static extern global::System.IntPtr switch_io_event_hook_video_write_frame_video_write_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_write_frame_next_set")] - public static extern void switch_io_event_hook_video_write_frame_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_video_write_frame_next_set___")] + public static extern void switch_io_event_hook_video_write_frame_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_video_write_frame_next_get")] - public static extern IntPtr switch_io_event_hook_video_write_frame_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_video_write_frame_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_video_write_frame_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_video_write_frame")] - public static extern IntPtr new_switch_io_event_hook_video_write_frame(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_video_write_frame___")] + public static extern global::System.IntPtr new_switch_io_event_hook_video_write_frame(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_video_write_frame")] - public static extern void delete_switch_io_event_hook_video_write_frame(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_video_write_frame___")] + public static extern void delete_switch_io_event_hook_video_write_frame(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_text_read_frame_text_read_frame_set")] - public static extern void switch_io_event_hook_text_read_frame_text_read_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_text_read_frame_text_read_frame_set___")] + public static extern void switch_io_event_hook_text_read_frame_text_read_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_text_read_frame_text_read_frame_get")] - public static extern IntPtr switch_io_event_hook_text_read_frame_text_read_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_text_read_frame_text_read_frame_get___")] + public static extern global::System.IntPtr switch_io_event_hook_text_read_frame_text_read_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_text_read_frame_next_set")] - public static extern void switch_io_event_hook_text_read_frame_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_text_read_frame_next_set___")] + public static extern void switch_io_event_hook_text_read_frame_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_text_read_frame_next_get")] - public static extern IntPtr switch_io_event_hook_text_read_frame_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_text_read_frame_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_text_read_frame_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_text_read_frame")] - public static extern IntPtr new_switch_io_event_hook_text_read_frame(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_text_read_frame___")] + public static extern global::System.IntPtr new_switch_io_event_hook_text_read_frame(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_text_read_frame")] - public static extern void delete_switch_io_event_hook_text_read_frame(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_text_read_frame___")] + public static extern void delete_switch_io_event_hook_text_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_text_write_frame_text_write_frame_set")] - public static extern void switch_io_event_hook_text_write_frame_text_write_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_text_write_frame_text_write_frame_set___")] + public static extern void switch_io_event_hook_text_write_frame_text_write_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_text_write_frame_text_write_frame_get")] - public static extern IntPtr switch_io_event_hook_text_write_frame_text_write_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_text_write_frame_text_write_frame_get___")] + public static extern global::System.IntPtr switch_io_event_hook_text_write_frame_text_write_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_text_write_frame_next_set")] - public static extern void switch_io_event_hook_text_write_frame_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_text_write_frame_next_set___")] + public static extern void switch_io_event_hook_text_write_frame_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_text_write_frame_next_get")] - public static extern IntPtr switch_io_event_hook_text_write_frame_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_text_write_frame_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_text_write_frame_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_text_write_frame")] - public static extern IntPtr new_switch_io_event_hook_text_write_frame(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_text_write_frame___")] + public static extern global::System.IntPtr new_switch_io_event_hook_text_write_frame(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_text_write_frame")] - public static extern void delete_switch_io_event_hook_text_write_frame(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_text_write_frame___")] + public static extern void delete_switch_io_event_hook_text_write_frame(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_kill_channel_kill_channel_set")] - public static extern void switch_io_event_hook_kill_channel_kill_channel_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_kill_channel_kill_channel_set___")] + public static extern void switch_io_event_hook_kill_channel_kill_channel_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_kill_channel_kill_channel_get")] - public static extern IntPtr switch_io_event_hook_kill_channel_kill_channel_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_kill_channel_kill_channel_get___")] + public static extern global::System.IntPtr switch_io_event_hook_kill_channel_kill_channel_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_kill_channel_next_set")] - public static extern void switch_io_event_hook_kill_channel_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_kill_channel_next_set___")] + public static extern void switch_io_event_hook_kill_channel_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_kill_channel_next_get")] - public static extern IntPtr switch_io_event_hook_kill_channel_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_kill_channel_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_kill_channel_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_kill_channel")] - public static extern IntPtr new_switch_io_event_hook_kill_channel(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_kill_channel___")] + public static extern global::System.IntPtr new_switch_io_event_hook_kill_channel(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_kill_channel")] - public static extern void delete_switch_io_event_hook_kill_channel(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_kill_channel___")] + public static extern void delete_switch_io_event_hook_kill_channel(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_send_dtmf_send_dtmf_set")] - public static extern void switch_io_event_hook_send_dtmf_send_dtmf_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_send_dtmf_send_dtmf_set___")] + public static extern void switch_io_event_hook_send_dtmf_send_dtmf_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_send_dtmf_send_dtmf_get")] - public static extern IntPtr switch_io_event_hook_send_dtmf_send_dtmf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_send_dtmf_send_dtmf_get___")] + public static extern global::System.IntPtr switch_io_event_hook_send_dtmf_send_dtmf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_send_dtmf_next_set")] - public static extern void switch_io_event_hook_send_dtmf_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_send_dtmf_next_set___")] + public static extern void switch_io_event_hook_send_dtmf_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_send_dtmf_next_get")] - public static extern IntPtr switch_io_event_hook_send_dtmf_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_send_dtmf_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_send_dtmf_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_send_dtmf")] - public static extern IntPtr new_switch_io_event_hook_send_dtmf(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_send_dtmf___")] + public static extern global::System.IntPtr new_switch_io_event_hook_send_dtmf(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_send_dtmf")] - public static extern void delete_switch_io_event_hook_send_dtmf(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_send_dtmf___")] + public static extern void delete_switch_io_event_hook_send_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_recv_dtmf_recv_dtmf_set")] - public static extern void switch_io_event_hook_recv_dtmf_recv_dtmf_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_recv_dtmf_recv_dtmf_set___")] + public static extern void switch_io_event_hook_recv_dtmf_recv_dtmf_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_recv_dtmf_recv_dtmf_get")] - public static extern IntPtr switch_io_event_hook_recv_dtmf_recv_dtmf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_recv_dtmf_recv_dtmf_get___")] + public static extern global::System.IntPtr switch_io_event_hook_recv_dtmf_recv_dtmf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_recv_dtmf_next_set")] - public static extern void switch_io_event_hook_recv_dtmf_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_recv_dtmf_next_set___")] + public static extern void switch_io_event_hook_recv_dtmf_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_recv_dtmf_next_get")] - public static extern IntPtr switch_io_event_hook_recv_dtmf_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_recv_dtmf_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_recv_dtmf_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_recv_dtmf")] - public static extern IntPtr new_switch_io_event_hook_recv_dtmf(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_recv_dtmf___")] + public static extern global::System.IntPtr new_switch_io_event_hook_recv_dtmf(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_recv_dtmf")] - public static extern void delete_switch_io_event_hook_recv_dtmf(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_recv_dtmf___")] + public static extern void delete_switch_io_event_hook_recv_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_change_state_change_set")] - public static extern void switch_io_event_hook_state_change_state_change_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_state_change_state_change_set___")] + public static extern void switch_io_event_hook_state_change_state_change_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_change_state_change_get")] - public static extern IntPtr switch_io_event_hook_state_change_state_change_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_state_change_state_change_get___")] + public static extern global::System.IntPtr switch_io_event_hook_state_change_state_change_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_change_next_set")] - public static extern void switch_io_event_hook_state_change_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_state_change_next_set___")] + public static extern void switch_io_event_hook_state_change_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_change_next_get")] - public static extern IntPtr switch_io_event_hook_state_change_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_state_change_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_state_change_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_state_change")] - public static extern IntPtr new_switch_io_event_hook_state_change(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_state_change___")] + public static extern global::System.IntPtr new_switch_io_event_hook_state_change(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_state_change")] - public static extern void delete_switch_io_event_hook_state_change(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_state_change___")] + public static extern void delete_switch_io_event_hook_state_change(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_state_run_set")] - public static extern void switch_io_event_hook_state_run_state_run_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_state_run_state_run_set___")] + public static extern void switch_io_event_hook_state_run_state_run_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_state_run_get")] - public static extern IntPtr switch_io_event_hook_state_run_state_run_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_state_run_state_run_get___")] + public static extern global::System.IntPtr switch_io_event_hook_state_run_state_run_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_next_set")] - public static extern void switch_io_event_hook_state_run_next_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_state_run_next_set___")] + public static extern void switch_io_event_hook_state_run_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hook_state_run_next_get")] - public static extern IntPtr switch_io_event_hook_state_run_next_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hook_state_run_next_get___")] + public static extern global::System.IntPtr switch_io_event_hook_state_run_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hook_state_run")] - public static extern IntPtr new_switch_io_event_hook_state_run(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hook_state_run___")] + public static extern global::System.IntPtr new_switch_io_event_hook_state_run(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hook_state_run")] - public static extern void delete_switch_io_event_hook_state_run(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hook_state_run___")] + public static extern void delete_switch_io_event_hook_state_run(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_outgoing_channel_set")] - public static extern void switch_io_event_hooks_outgoing_channel_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_outgoing_channel_set___")] + public static extern void switch_io_event_hooks_outgoing_channel_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_outgoing_channel_get")] - public static extern IntPtr switch_io_event_hooks_outgoing_channel_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_outgoing_channel_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_outgoing_channel_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_receive_message_set")] - public static extern void switch_io_event_hooks_receive_message_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_receive_message_set___")] + public static extern void switch_io_event_hooks_receive_message_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_receive_message_get")] - public static extern IntPtr switch_io_event_hooks_receive_message_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_receive_message_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_receive_message_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_receive_event_set")] - public static extern void switch_io_event_hooks_receive_event_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_receive_event_set___")] + public static extern void switch_io_event_hooks_receive_event_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_receive_event_get")] - public static extern IntPtr switch_io_event_hooks_receive_event_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_receive_event_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_receive_event_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_read_frame_set")] - public static extern void switch_io_event_hooks_read_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_read_frame_set___")] + public static extern void switch_io_event_hooks_read_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_read_frame_get")] - public static extern IntPtr switch_io_event_hooks_read_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_read_frame_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_read_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_video_read_frame_set")] - public static extern void switch_io_event_hooks_video_read_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_video_read_frame_set___")] + public static extern void switch_io_event_hooks_video_read_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_video_read_frame_get")] - public static extern IntPtr switch_io_event_hooks_video_read_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_video_read_frame_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_video_read_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_write_frame_set")] - public static extern void switch_io_event_hooks_write_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_write_frame_set___")] + public static extern void switch_io_event_hooks_write_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_write_frame_get")] - public static extern IntPtr switch_io_event_hooks_write_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_write_frame_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_write_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_video_write_frame_set")] - public static extern void switch_io_event_hooks_video_write_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_video_write_frame_set___")] + public static extern void switch_io_event_hooks_video_write_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_video_write_frame_get")] - public static extern IntPtr switch_io_event_hooks_video_write_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_video_write_frame_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_video_write_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_text_write_frame_set")] - public static extern void switch_io_event_hooks_text_write_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_text_write_frame_set___")] + public static extern void switch_io_event_hooks_text_write_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_text_write_frame_get")] - public static extern IntPtr switch_io_event_hooks_text_write_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_text_write_frame_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_text_write_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_text_read_frame_set")] - public static extern void switch_io_event_hooks_text_read_frame_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_text_read_frame_set___")] + public static extern void switch_io_event_hooks_text_read_frame_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_text_read_frame_get")] - public static extern IntPtr switch_io_event_hooks_text_read_frame_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_text_read_frame_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_text_read_frame_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_kill_channel_set")] - public static extern void switch_io_event_hooks_kill_channel_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_kill_channel_set___")] + public static extern void switch_io_event_hooks_kill_channel_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_kill_channel_get")] - public static extern IntPtr switch_io_event_hooks_kill_channel_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_kill_channel_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_kill_channel_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_send_dtmf_set")] - public static extern void switch_io_event_hooks_send_dtmf_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_send_dtmf_set___")] + public static extern void switch_io_event_hooks_send_dtmf_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_send_dtmf_get")] - public static extern IntPtr switch_io_event_hooks_send_dtmf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_send_dtmf_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_send_dtmf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_recv_dtmf_set")] - public static extern void switch_io_event_hooks_recv_dtmf_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_recv_dtmf_set___")] + public static extern void switch_io_event_hooks_recv_dtmf_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_recv_dtmf_get")] - public static extern IntPtr switch_io_event_hooks_recv_dtmf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_recv_dtmf_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_recv_dtmf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_change_set")] - public static extern void switch_io_event_hooks_state_change_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_state_change_set___")] + public static extern void switch_io_event_hooks_state_change_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_change_get")] - public static extern IntPtr switch_io_event_hooks_state_change_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_state_change_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_state_change_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_run_set")] - public static extern void switch_io_event_hooks_state_run_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_state_run_set___")] + public static extern void switch_io_event_hooks_state_run_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_io_event_hooks_state_run_get")] - public static extern IntPtr switch_io_event_hooks_state_run_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_io_event_hooks_state_run_get___")] + public static extern global::System.IntPtr switch_io_event_hooks_state_run_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_io_event_hooks")] - public static extern IntPtr new_switch_io_event_hooks(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_io_event_hooks___")] + public static extern global::System.IntPtr new_switch_io_event_hooks(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_io_event_hooks")] - public static extern void delete_switch_io_event_hooks(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_io_event_hooks___")] + public static extern void delete_switch_io_event_hooks(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_outgoing_channel")] - public static extern int switch_core_event_hook_add_outgoing_channel(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_outgoing_channel___")] + public static extern int switch_core_event_hook_add_outgoing_channel(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_receive_message")] - public static extern int switch_core_event_hook_add_receive_message(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_receive_message___")] + public static extern int switch_core_event_hook_add_receive_message(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_receive_event")] - public static extern int switch_core_event_hook_add_receive_event(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_receive_event___")] + public static extern int switch_core_event_hook_add_receive_event(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_state_change")] - public static extern int switch_core_event_hook_add_state_change(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_state_change___")] + public static extern int switch_core_event_hook_add_state_change(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_state_run")] - public static extern int switch_core_event_hook_add_state_run(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_state_run___")] + public static extern int switch_core_event_hook_add_state_run(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_read_frame")] - public static extern int switch_core_event_hook_add_read_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_read_frame___")] + public static extern int switch_core_event_hook_add_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_write_frame")] - public static extern int switch_core_event_hook_add_write_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_write_frame___")] + public static extern int switch_core_event_hook_add_write_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_video_read_frame")] - public static extern int switch_core_event_hook_add_video_read_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_video_read_frame___")] + public static extern int switch_core_event_hook_add_video_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_video_write_frame")] - public static extern int switch_core_event_hook_add_video_write_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_video_write_frame___")] + public static extern int switch_core_event_hook_add_video_write_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_text_read_frame")] - public static extern int switch_core_event_hook_add_text_read_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_text_read_frame___")] + public static extern int switch_core_event_hook_add_text_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_text_write_frame")] - public static extern int switch_core_event_hook_add_text_write_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_text_write_frame___")] + public static extern int switch_core_event_hook_add_text_write_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_kill_channel")] - public static extern int switch_core_event_hook_add_kill_channel(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_kill_channel___")] + public static extern int switch_core_event_hook_add_kill_channel(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_send_dtmf")] - public static extern int switch_core_event_hook_add_send_dtmf(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_send_dtmf___")] + public static extern int switch_core_event_hook_add_send_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_add_recv_dtmf")] - public static extern int switch_core_event_hook_add_recv_dtmf(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_add_recv_dtmf___")] + public static extern int switch_core_event_hook_add_recv_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_outgoing_channel")] - public static extern int switch_core_event_hook_remove_outgoing_channel(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_outgoing_channel___")] + public static extern int switch_core_event_hook_remove_outgoing_channel(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_receive_message")] - public static extern int switch_core_event_hook_remove_receive_message(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_receive_message___")] + public static extern int switch_core_event_hook_remove_receive_message(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_receive_event")] - public static extern int switch_core_event_hook_remove_receive_event(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_receive_event___")] + public static extern int switch_core_event_hook_remove_receive_event(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_state_change")] - public static extern int switch_core_event_hook_remove_state_change(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_state_change___")] + public static extern int switch_core_event_hook_remove_state_change(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_state_run")] - public static extern int switch_core_event_hook_remove_state_run(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_state_run___")] + public static extern int switch_core_event_hook_remove_state_run(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_read_frame")] - public static extern int switch_core_event_hook_remove_read_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_read_frame___")] + public static extern int switch_core_event_hook_remove_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_write_frame")] - public static extern int switch_core_event_hook_remove_write_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_write_frame___")] + public static extern int switch_core_event_hook_remove_write_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_video_read_frame")] - public static extern int switch_core_event_hook_remove_video_read_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_video_read_frame___")] + public static extern int switch_core_event_hook_remove_video_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_video_write_frame")] - public static extern int switch_core_event_hook_remove_video_write_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_video_write_frame___")] + public static extern int switch_core_event_hook_remove_video_write_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_text_read_frame")] - public static extern int switch_core_event_hook_remove_text_read_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_text_read_frame___")] + public static extern int switch_core_event_hook_remove_text_read_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_text_write_frame")] - public static extern int switch_core_event_hook_remove_text_write_frame(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_text_write_frame___")] + public static extern int switch_core_event_hook_remove_text_write_frame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_kill_channel")] - public static extern int switch_core_event_hook_remove_kill_channel(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_kill_channel___")] + public static extern int switch_core_event_hook_remove_kill_channel(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_send_dtmf")] - public static extern int switch_core_event_hook_remove_send_dtmf(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_send_dtmf___")] + public static extern int switch_core_event_hook_remove_send_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_core_event_hook_remove_recv_dtmf")] - public static extern int switch_core_event_hook_remove_recv_dtmf(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_core_event_hook_remove_recv_dtmf___")] + public static extern int switch_core_event_hook_remove_recv_dtmf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_created_set")] - public static extern void switch_scheduler_task_created_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_created_set___")] + public static extern void switch_scheduler_task_created_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_created_get")] - public static extern long switch_scheduler_task_created_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_created_get___")] + public static extern long switch_scheduler_task_created_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_runtime_set")] - public static extern void switch_scheduler_task_runtime_set(HandleRef jarg1, long jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_runtime_set___")] + public static extern void switch_scheduler_task_runtime_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_runtime_get")] - public static extern long switch_scheduler_task_runtime_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_runtime_get___")] + public static extern long switch_scheduler_task_runtime_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_cmd_id_set")] - public static extern void switch_scheduler_task_cmd_id_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_cmd_id_set___")] + public static extern void switch_scheduler_task_cmd_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_cmd_id_get")] - public static extern uint switch_scheduler_task_cmd_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_cmd_id_get___")] + public static extern uint switch_scheduler_task_cmd_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_repeat_set")] - public static extern void switch_scheduler_task_repeat_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_repeat_set___")] + public static extern void switch_scheduler_task_repeat_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_repeat_get")] - public static extern uint switch_scheduler_task_repeat_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_repeat_get___")] + public static extern uint switch_scheduler_task_repeat_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_group_set")] - public static extern void switch_scheduler_task_group_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_group_set___")] + public static extern void switch_scheduler_task_group_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_group_get")] - public static extern string switch_scheduler_task_group_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_group_get___")] + public static extern string switch_scheduler_task_group_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_cmd_arg_set")] - public static extern void switch_scheduler_task_cmd_arg_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_cmd_arg_set___")] + public static extern void switch_scheduler_task_cmd_arg_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_cmd_arg_get")] - public static extern IntPtr switch_scheduler_task_cmd_arg_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_cmd_arg_get___")] + public static extern global::System.IntPtr switch_scheduler_task_cmd_arg_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_task_id_set")] - public static extern void switch_scheduler_task_task_id_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_task_id_set___")] + public static extern void switch_scheduler_task_task_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_task_id_get")] - public static extern uint switch_scheduler_task_task_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_task_id_get___")] + public static extern uint switch_scheduler_task_task_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_hash_set")] - public static extern void switch_scheduler_task_hash_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_hash_set___")] + public static extern void switch_scheduler_task_hash_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_hash_get")] - public static extern uint switch_scheduler_task_hash_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_hash_get___")] + public static extern uint switch_scheduler_task_hash_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_scheduler_task")] - public static extern IntPtr new_switch_scheduler_task(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_scheduler_task___")] + public static extern global::System.IntPtr new_switch_scheduler_task(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_scheduler_task")] - public static extern void delete_switch_scheduler_task(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_scheduler_task___")] + public static extern void delete_switch_scheduler_task(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_add_task")] - public static extern uint switch_scheduler_add_task(HandleRef jarg1, HandleRef jarg2, string jarg3, string jarg4, uint jarg5, HandleRef jarg6, uint jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_add_task___")] + public static extern uint switch_scheduler_add_task(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4, uint jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, uint jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_del_task_id")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_del_task_id___")] public static extern uint switch_scheduler_del_task_id(uint jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_del_task_group")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_del_task_group___")] public static extern uint switch_scheduler_del_task_group(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_thread_start")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_thread_start___")] public static extern void switch_scheduler_task_thread_start(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_scheduler_task_thread_stop")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_scheduler_task_thread_stop___")] public static extern void switch_scheduler_task_thread_stop(); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_file_set")] - public static extern void switch_config_file_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_file_set___")] + public static extern void switch_config_file_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_file_get")] - public static extern IntPtr switch_config_file_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_file_get___")] + public static extern global::System.IntPtr switch_config_file_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_path_set")] - public static extern void switch_config_path_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_path_set___")] + public static extern void switch_config_path_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_path_get")] - public static extern string switch_config_path_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_path_get___")] + public static extern string switch_config_path_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_category_set")] - public static extern void switch_config_category_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_category_set___")] + public static extern void switch_config_category_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_category_get")] - public static extern string switch_config_category_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_category_get___")] + public static extern string switch_config_category_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_section_set")] - public static extern void switch_config_section_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_section_set___")] + public static extern void switch_config_section_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_section_get")] - public static extern string switch_config_section_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_section_get___")] + public static extern string switch_config_section_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_buf_set")] - public static extern void switch_config_buf_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_buf_set___")] + public static extern void switch_config_buf_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_buf_get")] - public static extern string switch_config_buf_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_buf_get___")] + public static extern string switch_config_buf_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_lineno_set")] - public static extern void switch_config_lineno_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_lineno_set___")] + public static extern void switch_config_lineno_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_lineno_get")] - public static extern int switch_config_lineno_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_lineno_get___")] + public static extern int switch_config_lineno_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_catno_set")] - public static extern void switch_config_catno_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_catno_set___")] + public static extern void switch_config_catno_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_catno_get")] - public static extern int switch_config_catno_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_catno_get___")] + public static extern int switch_config_catno_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_sectno_set")] - public static extern void switch_config_sectno_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_sectno_set___")] + public static extern void switch_config_sectno_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_sectno_get")] - public static extern int switch_config_sectno_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_sectno_get___")] + public static extern int switch_config_sectno_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_lockto_set")] - public static extern void switch_config_lockto_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_lockto_set___")] + public static extern void switch_config_lockto_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_lockto_get")] - public static extern int switch_config_lockto_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_lockto_get___")] + public static extern int switch_config_lockto_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_config")] - public static extern IntPtr new_switch_config(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_switch_config___")] + public static extern global::System.IntPtr new_switch_config(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_config")] - public static extern void delete_switch_config(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_switch_config___")] + public static extern void delete_switch_config(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_open_file")] - public static extern int switch_config_open_file(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_open_file___")] + public static extern int switch_config_open_file(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_close_file")] - public static extern void switch_config_close_file(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_close_file___")] + public static extern void switch_config_close_file(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_config_next_pair")] - public static extern int switch_config_next_pair(HandleRef jarg1, ref string jarg2, ref string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_config_next_pair___")] + public static extern int switch_config_next_pair(global::System.Runtime.InteropServices.HandleRef jarg1, ref string jarg2, ref string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_setGlobalVariable")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_setGlobalVariable___")] public static extern void setGlobalVariable(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_getGlobalVariable")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_getGlobalVariable___")] public static extern string getGlobalVariable(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_consoleLog")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_consoleLog___")] public static extern void consoleLog(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_consoleLog2")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_consoleLog2___")] public static extern void consoleLog2(string jarg1, string jarg2, string jarg3, int jarg4, string jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_consoleCleanLog")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_consoleCleanLog___")] public static extern void consoleCleanLog(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_running")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_running___")] public static extern bool running(); - [DllImport("mod_managed", EntryPoint="CSharp_email")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_email___")] public static extern bool email(string jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_new_IvrMenu")] - public static extern IntPtr new_IvrMenu(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, string jarg11, int jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_IvrMenu___")] + public static extern global::System.IntPtr new_IvrMenu(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, string jarg11, int jarg12, int jarg13, int jarg14, int jarg15, int jarg16, int jarg17); - [DllImport("mod_managed", EntryPoint="CSharp_delete_IvrMenu")] - public static extern void delete_IvrMenu(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_IvrMenu___")] + public static extern void delete_IvrMenu(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_IvrMenu_bindAction")] - public static extern void IvrMenu_bindAction(HandleRef jarg1, string jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_IvrMenu_bindAction___")] + public static extern void IvrMenu_bindAction(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_IvrMenu_Execute")] - public static extern void IvrMenu_Execute(HandleRef jarg1, HandleRef jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_IvrMenu_Execute___")] + public static extern void IvrMenu_Execute(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_new_Api")] - public static extern IntPtr new_Api(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_Api___")] + public static extern global::System.IntPtr new_Api(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_delete_Api")] - public static extern void delete_Api(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_Api___")] + public static extern void delete_Api(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_Api_Execute")] - public static extern string Api_Execute(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Api_Execute___")] + public static extern string Api_Execute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_Api_ExecuteString")] - public static extern string Api_ExecuteString(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Api_ExecuteString___")] + public static extern string Api_ExecuteString(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_Api_getTime")] - public static extern string Api_getTime(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Api_getTime___")] + public static extern string Api_getTime(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_function_set")] - public static extern void input_callback_state_t_function_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_input_callback_state_t_function_set___")] + public static extern void input_callback_state_t_function_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_function_get")] - public static extern IntPtr input_callback_state_t_function_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_input_callback_state_t_function_get___")] + public static extern global::System.IntPtr input_callback_state_t_function_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_threadState_set")] - public static extern void input_callback_state_t_threadState_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_input_callback_state_t_threadState_set___")] + public static extern void input_callback_state_t_threadState_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_threadState_get")] - public static extern IntPtr input_callback_state_t_threadState_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_input_callback_state_t_threadState_get___")] + public static extern global::System.IntPtr input_callback_state_t_threadState_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_extra_set")] - public static extern void input_callback_state_t_extra_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_input_callback_state_t_extra_set___")] + public static extern void input_callback_state_t_extra_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_extra_get")] - public static extern IntPtr input_callback_state_t_extra_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_input_callback_state_t_extra_get___")] + public static extern global::System.IntPtr input_callback_state_t_extra_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_funcargs_set")] - public static extern void input_callback_state_t_funcargs_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_input_callback_state_t_funcargs_set___")] + public static extern void input_callback_state_t_funcargs_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_input_callback_state_t_funcargs_get")] - public static extern string input_callback_state_t_funcargs_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_input_callback_state_t_funcargs_get___")] + public static extern string input_callback_state_t_funcargs_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_input_callback_state_t")] - public static extern IntPtr new_input_callback_state_t(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_input_callback_state_t___")] + public static extern global::System.IntPtr new_input_callback_state_t(); - [DllImport("mod_managed", EntryPoint="CSharp_delete_input_callback_state_t")] - public static extern void delete_input_callback_state_t(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_input_callback_state_t___")] + public static extern void delete_input_callback_state_t(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_DTMF_digit_set")] - public static extern void DTMF_digit_set(HandleRef jarg1, char jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_DTMF_digit_set___")] + public static extern void DTMF_digit_set(global::System.Runtime.InteropServices.HandleRef jarg1, char jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_DTMF_digit_get")] - public static extern char DTMF_digit_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_DTMF_digit_get___")] + public static extern char DTMF_digit_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_DTMF_duration_set")] - public static extern void DTMF_duration_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_DTMF_duration_set___")] + public static extern void DTMF_duration_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_DTMF_duration_get")] - public static extern uint DTMF_duration_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_DTMF_duration_get___")] + public static extern uint DTMF_duration_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_DTMF")] - public static extern IntPtr new_DTMF(char jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_DTMF___")] + public static extern global::System.IntPtr new_DTMF(char jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_DTMF")] - public static extern void delete_DTMF(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_DTMF___")] + public static extern void delete_DTMF(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_Stream__SWIG_0")] - public static extern IntPtr new_Stream__SWIG_0(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_Stream__SWIG_0___")] + public static extern global::System.IntPtr new_Stream__SWIG_0(); - [DllImport("mod_managed", EntryPoint="CSharp_new_Stream__SWIG_1")] - public static extern IntPtr new_Stream__SWIG_1(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_Stream__SWIG_1___")] + public static extern global::System.IntPtr new_Stream__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_delete_Stream")] - public static extern void delete_Stream(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_Stream___")] + public static extern void delete_Stream(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_Stream_read")] - public static extern string Stream_read(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Stream_read___")] + public static extern string Stream_read(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_Stream_Write")] - public static extern void Stream_Write(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Stream_Write___")] + public static extern void Stream_Write(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_Stream_raw_write")] - public static extern void Stream_raw_write(HandleRef jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Stream_raw_write___")] + public static extern void Stream_raw_write(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_Stream_get_data")] - public static extern string Stream_get_data(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Stream_get_data___")] + public static extern string Stream_get_data(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_Event_InternalEvent_set")] - public static extern void Event_InternalEvent_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_InternalEvent_set___")] + public static extern void Event_InternalEvent_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_Event_InternalEvent_get")] - public static extern IntPtr Event_InternalEvent_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_InternalEvent_get___")] + public static extern global::System.IntPtr Event_InternalEvent_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_Event_serialized_string_set")] - public static extern void Event_serialized_string_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_serialized_string_set___")] + public static extern void Event_serialized_string_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_Event_serialized_string_get")] - public static extern string Event_serialized_string_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_serialized_string_get___")] + public static extern string Event_serialized_string_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_Event_mine_set")] - public static extern void Event_mine_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_mine_set___")] + public static extern void Event_mine_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_Event_mine_get")] - public static extern int Event_mine_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_mine_get___")] + public static extern int Event_mine_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_Event__SWIG_0")] - public static extern IntPtr new_Event__SWIG_0(string jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_Event__SWIG_0___")] + public static extern global::System.IntPtr new_Event__SWIG_0(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_new_Event__SWIG_1")] - public static extern IntPtr new_Event__SWIG_1(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_Event__SWIG_1___")] + public static extern global::System.IntPtr new_Event__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_delete_Event")] - public static extern void delete_Event(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_Event___")] + public static extern void delete_Event(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_Event_chat_execute")] - public static extern int Event_chat_execute(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_chat_execute___")] + public static extern int Event_chat_execute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_Event_chat_send")] - public static extern int Event_chat_send(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_chat_send___")] + public static extern int Event_chat_send(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_Event_Serialize")] - public static extern string Event_Serialize(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_Serialize___")] + public static extern string Event_Serialize(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_Event_SetPriority")] - public static extern bool Event_SetPriority(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_SetPriority___")] + public static extern bool Event_SetPriority(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_Event_GetHeader")] - public static extern string Event_GetHeader(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_GetHeader___")] + public static extern string Event_GetHeader(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_Event_GetBody")] - public static extern string Event_GetBody(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_GetBody___")] + public static extern string Event_GetBody(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_Event_GetEventType")] - public static extern string Event_GetEventType(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_GetEventType___")] + public static extern string Event_GetEventType(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_Event_AddBody")] - public static extern bool Event_AddBody(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_AddBody___")] + public static extern bool Event_AddBody(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_Event_AddHeader")] - public static extern bool Event_AddHeader(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_AddHeader___")] + public static extern bool Event_AddHeader(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_Event_DeleteHeader")] - public static extern bool Event_DeleteHeader(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_DeleteHeader___")] + public static extern bool Event_DeleteHeader(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_Event_Fire")] - public static extern bool Event_Fire(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_Event_Fire___")] + public static extern bool Event_Fire(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_events_set")] - public static extern void EventConsumer_events_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_events_set___")] + public static extern void EventConsumer_events_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_events_get")] - public static extern IntPtr EventConsumer_events_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_events_get___")] + public static extern global::System.IntPtr EventConsumer_events_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_event_id_set")] - public static extern void EventConsumer_e_event_id_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_e_event_id_set___")] + public static extern void EventConsumer_e_event_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_event_id_get")] - public static extern int EventConsumer_e_event_id_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_e_event_id_get___")] + public static extern int EventConsumer_e_event_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_callback_set")] - public static extern void EventConsumer_e_callback_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_e_callback_set___")] + public static extern void EventConsumer_e_callback_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_callback_get")] - public static extern string EventConsumer_e_callback_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_e_callback_get___")] + public static extern string EventConsumer_e_callback_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_subclass_name_set")] - public static extern void EventConsumer_e_subclass_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_e_subclass_name_set___")] + public static extern void EventConsumer_e_subclass_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_subclass_name_get")] - public static extern string EventConsumer_e_subclass_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_e_subclass_name_get___")] + public static extern string EventConsumer_e_subclass_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_cb_arg_set")] - public static extern void EventConsumer_e_cb_arg_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_e_cb_arg_set___")] + public static extern void EventConsumer_e_cb_arg_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_e_cb_arg_get")] - public static extern string EventConsumer_e_cb_arg_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_e_cb_arg_get___")] + public static extern string EventConsumer_e_cb_arg_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_enodes_set")] - public static extern void EventConsumer_enodes_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_enodes_set___")] + public static extern void EventConsumer_enodes_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_enodes_get")] - public static extern IntPtr EventConsumer_enodes_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_enodes_get___")] + public static extern global::System.IntPtr EventConsumer_enodes_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_node_index_set")] - public static extern void EventConsumer_node_index_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_node_index_set___")] + public static extern void EventConsumer_node_index_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_node_index_get")] - public static extern uint EventConsumer_node_index_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_node_index_get___")] + public static extern uint EventConsumer_node_index_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_EventConsumer")] - public static extern IntPtr new_EventConsumer(string jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_EventConsumer___")] + public static extern global::System.IntPtr new_EventConsumer(string jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_delete_EventConsumer")] - public static extern void delete_EventConsumer(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_EventConsumer___")] + public static extern void delete_EventConsumer(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_bind")] - public static extern int EventConsumer_bind(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_bind___")] + public static extern int EventConsumer_bind(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_pop")] - public static extern IntPtr EventConsumer_pop(HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_pop___")] + public static extern global::System.IntPtr EventConsumer_pop(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_EventConsumer_cleanup")] - public static extern void EventConsumer_cleanup(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_EventConsumer_cleanup___")] + public static extern void EventConsumer_cleanup(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_delete_CoreSession")] - public static extern void delete_CoreSession(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_CoreSession___")] + public static extern void delete_CoreSession(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_InternalSession_set")] - public static extern void CoreSession_InternalSession_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_InternalSession_set___")] + public static extern void CoreSession_InternalSession_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_InternalSession_get")] - public static extern IntPtr CoreSession_InternalSession_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_InternalSession_get___")] + public static extern global::System.IntPtr CoreSession_InternalSession_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_channel_set")] - public static extern void CoreSession_channel_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_channel_set___")] + public static extern void CoreSession_channel_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_channel_get")] - public static extern IntPtr CoreSession_channel_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_channel_get___")] + public static extern global::System.IntPtr CoreSession_channel_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_flags_set")] - public static extern void CoreSession_flags_set(HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_flags_set___")] + public static extern void CoreSession_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_flags_get")] - public static extern uint CoreSession_flags_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_flags_get___")] + public static extern uint CoreSession_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_allocated_set")] - public static extern void CoreSession_allocated_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_allocated_set___")] + public static extern void CoreSession_allocated_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_allocated_get")] - public static extern int CoreSession_allocated_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_allocated_get___")] + public static extern int CoreSession_allocated_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_cb_state_set")] - public static extern void CoreSession_cb_state_set(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_cb_state_set___")] + public static extern void CoreSession_cb_state_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_cb_state_get")] - public static extern IntPtr CoreSession_cb_state_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_cb_state_get___")] + public static extern global::System.IntPtr CoreSession_cb_state_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_HookState_set")] - public static extern void CoreSession_HookState_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_HookState_set___")] + public static extern void CoreSession_HookState_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_HookState_get")] - public static extern int CoreSession_HookState_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_HookState_get___")] + public static extern int CoreSession_HookState_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_cause_set")] - public static extern void CoreSession_cause_set(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_cause_set___")] + public static extern void CoreSession_cause_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_cause_get")] - public static extern int CoreSession_cause_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_cause_get___")] + public static extern int CoreSession_cause_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_uuid_set")] - public static extern void CoreSession_uuid_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_uuid_set___")] + public static extern void CoreSession_uuid_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_uuid_get")] - public static extern string CoreSession_uuid_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_uuid_get___")] + public static extern string CoreSession_uuid_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_tts_name_set")] - public static extern void CoreSession_tts_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_tts_name_set___")] + public static extern void CoreSession_tts_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_tts_name_get")] - public static extern string CoreSession_tts_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_tts_name_get___")] + public static extern string CoreSession_tts_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_voice_name_set")] - public static extern void CoreSession_voice_name_set(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_voice_name_set___")] + public static extern void CoreSession_voice_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_voice_name_get")] - public static extern string CoreSession_voice_name_get(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_voice_name_get___")] + public static extern string CoreSession_voice_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_insertFile")] - public static extern int CoreSession_insertFile(HandleRef jarg1, string jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_insertFile___")] + public static extern int CoreSession_insertFile(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Answer")] - public static extern int CoreSession_Answer(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_Answer___")] + public static extern int CoreSession_Answer(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_print")] - public static extern int CoreSession_print(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_print___")] + public static extern int CoreSession_print(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_preAnswer")] - public static extern int CoreSession_preAnswer(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_preAnswer___")] + public static extern int CoreSession_preAnswer(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Hangup")] - public static extern void CoreSession_Hangup(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_Hangup___")] + public static extern void CoreSession_Hangup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_hangupState")] - public static extern void CoreSession_hangupState(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_hangupState___")] + public static extern void CoreSession_hangupState(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_SetVariable")] - public static extern void CoreSession_SetVariable(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_SetVariable___")] + public static extern void CoreSession_SetVariable(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_SetPrivate")] - public static extern void CoreSession_SetPrivate(HandleRef jarg1, string jarg2, HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_SetPrivate___")] + public static extern void CoreSession_SetPrivate(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_GetPrivate")] - public static extern IntPtr CoreSession_GetPrivate(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_GetPrivate___")] + public static extern global::System.IntPtr CoreSession_GetPrivate(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_GetVariable")] - public static extern string CoreSession_GetVariable(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_GetVariable___")] + public static extern string CoreSession_GetVariable(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Say")] - public static extern void CoreSession_Say(HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_Say___")] + public static extern void CoreSession_Say(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5, string jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_SayPhrase")] - public static extern void CoreSession_SayPhrase(HandleRef jarg1, string jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_SayPhrase___")] + public static extern void CoreSession_SayPhrase(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_hangupCause")] - public static extern string CoreSession_hangupCause(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_hangupCause___")] + public static extern string CoreSession_hangupCause(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_getState")] - public static extern string CoreSession_getState(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_getState___")] + public static extern string CoreSession_getState(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_RecordFile")] - public static extern int CoreSession_RecordFile(HandleRef jarg1, string jarg2, int jarg3, int jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_RecordFile___")] + public static extern int CoreSession_RecordFile(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, int jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_originate")] - public static extern int CoreSession_originate(HandleRef jarg1, HandleRef jarg2, string jarg3, int jarg4, HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_originate___")] + public static extern int CoreSession_originate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_destroy")] - public static extern void CoreSession_destroy(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_destroy___")] + public static extern void CoreSession_destroy(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Speak")] - public static extern int CoreSession_Speak(HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_Speak___")] + public static extern int CoreSession_Speak(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_SetTtsParameters")] - public static extern void CoreSession_SetTtsParameters(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_SetTtsParameters___")] + public static extern void CoreSession_SetTtsParameters(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_set_tts_params")] - public static extern void CoreSession_set_tts_params(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_set_tts_params___")] + public static extern void CoreSession_set_tts_params(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_CollectDigits__SWIG_0")] - public static extern int CoreSession_CollectDigits__SWIG_0(HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_CollectDigits__SWIG_0___")] + public static extern int CoreSession_CollectDigits__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_CollectDigits__SWIG_1")] - public static extern int CoreSession_CollectDigits__SWIG_1(HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_CollectDigits__SWIG_1___")] + public static extern int CoreSession_CollectDigits__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_GetDigits__SWIG_0")] - public static extern string CoreSession_GetDigits__SWIG_0(HandleRef jarg1, int jarg2, string jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_GetDigits__SWIG_0___")] + public static extern string CoreSession_GetDigits__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_GetDigits__SWIG_1")] - public static extern string CoreSession_GetDigits__SWIG_1(HandleRef jarg1, int jarg2, string jarg3, int jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_GetDigits__SWIG_1___")] + public static extern string CoreSession_GetDigits__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4, int jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_GetDigits__SWIG_2")] - public static extern string CoreSession_GetDigits__SWIG_2(HandleRef jarg1, int jarg2, string jarg3, int jarg4, int jarg5, int jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_GetDigits__SWIG_2___")] + public static extern string CoreSession_GetDigits__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4, int jarg5, int jarg6); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Transfer")] - public static extern int CoreSession_Transfer(HandleRef jarg1, string jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_Transfer___")] + public static extern int CoreSession_Transfer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_read")] - public static extern string CoreSession_read(HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6, int jarg7); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_read___")] + public static extern string CoreSession_read(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5, string jarg6, int jarg7); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_PlayAndGetDigits")] - public static extern string CoreSession_PlayAndGetDigits(HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, int jarg11, string jarg12); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_detectSpeech___")] + public static extern void CoreSession_detectSpeech(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, string jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_StreamFile")] - public static extern int CoreSession_StreamFile(HandleRef jarg1, string jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_PlayAndGetDigits___")] + public static extern string CoreSession_PlayAndGetDigits(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, string jarg6, string jarg7, string jarg8, string jarg9, string jarg10, int jarg11, string jarg12); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_sleep")] - public static extern int CoreSession_sleep(HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_playAndDetectSpeech___")] + public static extern string CoreSession_playAndDetectSpeech(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_flushEvents")] - public static extern int CoreSession_flushEvents(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_StreamFile___")] + public static extern int CoreSession_StreamFile(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_flushDigits")] - public static extern int CoreSession_flushDigits(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_sleep___")] + public static extern int CoreSession_sleep(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_SetAutoHangup")] - public static extern int CoreSession_SetAutoHangup(HandleRef jarg1, bool jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_flushEvents___")] + public static extern int CoreSession_flushEvents(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Ready")] - public static extern bool CoreSession_Ready(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_flushDigits___")] + public static extern int CoreSession_flushDigits(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_bridged")] - public static extern bool CoreSession_bridged(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_SetAutoHangup___")] + public static extern int CoreSession_SetAutoHangup(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_answered")] - public static extern bool CoreSession_answered(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_Ready___")] + public static extern bool CoreSession_Ready(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_mediaReady")] - public static extern bool CoreSession_mediaReady(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_bridged___")] + public static extern bool CoreSession_bridged(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_waitForAnswer")] - public static extern void CoreSession_waitForAnswer(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_answered___")] + public static extern bool CoreSession_answered(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_Execute")] - public static extern void CoreSession_Execute(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_mediaReady___")] + public static extern bool CoreSession_mediaReady(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_sendEvent")] - public static extern void CoreSession_sendEvent(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_waitForAnswer___")] + public static extern void CoreSession_waitForAnswer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_setEventData")] - public static extern void CoreSession_setEventData(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_Execute___")] + public static extern void CoreSession_Execute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_getXMLCDR")] - public static extern string CoreSession_getXMLCDR(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_sendEvent___")] + public static extern void CoreSession_sendEvent(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_begin_allow_threads")] - public static extern bool CoreSession_begin_allow_threads(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_setEventData___")] + public static extern void CoreSession_setEventData(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_end_allow_threads")] - public static extern bool CoreSession_end_allow_threads(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_getXMLCDR___")] + public static extern string CoreSession_getXMLCDR(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_GetUuid")] - public static extern string CoreSession_GetUuid(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_begin_allow_threads___")] + public static extern bool CoreSession_begin_allow_threads(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_get_cb_args")] - public static extern IntPtr CoreSession_get_cb_args(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_end_allow_threads___")] + public static extern bool CoreSession_end_allow_threads(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_check_hangup_hook")] - public static extern void CoreSession_check_hangup_hook(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_GetUuid___")] + public static extern string CoreSession_GetUuid(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_consoleLog")] - public static extern void CoreSession_consoleLog(HandleRef jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_get_cb_args___")] + public static extern global::System.IntPtr CoreSession_get_cb_args(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_CoreSession_consoleLog2")] - public static extern void CoreSession_consoleLog2(HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5, string jarg6); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_check_hangup_hook___")] + public static extern void CoreSession_check_hangup_hook(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_console_log")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_consoleLog___")] + public static extern void CoreSession_consoleLog(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_CoreSession_consoleLog2___")] + public static extern void CoreSession_consoleLog2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, int jarg5, string jarg6); + + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_console_log___")] public static extern void console_log(string jarg1, string jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_console_log2")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_console_log2___")] public static extern void console_log2(string jarg1, string jarg2, string jarg3, int jarg4, string jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_console_clean_log")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_console_clean_log___")] public static extern void console_clean_log(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_msleep")] + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_msleep___")] public static extern void msleep(uint jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_bridge")] - public static extern void bridge(HandleRef jarg1, HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_bridge___")] + public static extern void bridge(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [DllImport("mod_managed", EntryPoint="CSharp_hanguphook")] - public static extern int hanguphook(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_hanguphook___")] + public static extern int hanguphook(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_dtmf_callback")] - public static extern int dtmf_callback(HandleRef jarg1, HandleRef jarg2, int jarg3, HandleRef jarg4, uint jarg5); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_dtmf_callback___")] + public static extern int dtmf_callback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, uint jarg5); - [DllImport("mod_managed", EntryPoint="CSharp_new_ManagedSession__SWIG_0")] - public static extern IntPtr new_ManagedSession__SWIG_0(); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_ManagedSession__SWIG_0___")] + public static extern global::System.IntPtr new_ManagedSession__SWIG_0(); - [DllImport("mod_managed", EntryPoint="CSharp_new_ManagedSession__SWIG_1")] - public static extern IntPtr new_ManagedSession__SWIG_1(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_ManagedSession__SWIG_1___")] + public static extern global::System.IntPtr new_ManagedSession__SWIG_1(string jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_new_ManagedSession__SWIG_2")] - public static extern IntPtr new_ManagedSession__SWIG_2(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_new_ManagedSession__SWIG_2___")] + public static extern global::System.IntPtr new_ManagedSession__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_delete_ManagedSession")] - public static extern void delete_ManagedSession(HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_delete_ManagedSession___")] + public static extern void delete_ManagedSession(global::System.Runtime.InteropServices.HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_ManagedSession_SWIGUpcast")] - public static extern IntPtr ManagedSession_SWIGUpcast(IntPtr jarg1); + [global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_ManagedSession_SWIGUpcast___")] + public static extern global::System.IntPtr ManagedSession_SWIGUpcast(global::System.IntPtr jarg1); } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class icand_t : IDisposable { - private HandleRef swigCPtr; +public class icand_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal icand_t(IntPtr cPtr, bool cMemoryOwn) { + internal icand_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(icand_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(icand_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~icand_t() { @@ -20075,14 +26749,14 @@ public class icand_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_icand_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -20202,13 +26876,15 @@ public class icand_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -20218,30 +26894,29 @@ public enum ice_proto_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class ice_t : IDisposable { - private HandleRef swigCPtr; +public class ice_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal ice_t(IntPtr cPtr, bool cMemoryOwn) { + internal ice_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(ice_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ice_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~ice_t() { @@ -20250,14 +26925,14 @@ public class ice_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_ice_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -20266,8 +26941,8 @@ public class ice_t : IDisposable { freeswitchPINVOKE.ice_t_cands_set(swigCPtr, SWIGTYPE_p_a_2__icand_s.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.ice_t_cands_get(swigCPtr); - SWIGTYPE_p_a_2__icand_s ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_a_2__icand_s(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.ice_t_cands_get(swigCPtr); + SWIGTYPE_p_a_2__icand_s ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_a_2__icand_s(cPtr, false); return ret; } } @@ -20277,8 +26952,8 @@ public class ice_t : IDisposable { freeswitchPINVOKE.ice_t_cand_idx_set(swigCPtr, SWIGTYPE_p_int.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.ice_t_cand_idx_get(swigCPtr); - SWIGTYPE_p_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.ice_t_cand_idx_get(swigCPtr); + SWIGTYPE_p_int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false); return ret; } } @@ -20288,8 +26963,8 @@ public class ice_t : IDisposable { freeswitchPINVOKE.ice_t_chosen_set(swigCPtr, SWIGTYPE_p_int.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.ice_t_chosen_get(swigCPtr); - SWIGTYPE_p_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.ice_t_chosen_get(swigCPtr); + SWIGTYPE_p_int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false); return ret; } } @@ -20299,8 +26974,8 @@ public class ice_t : IDisposable { freeswitchPINVOKE.ice_t_is_chosen_set(swigCPtr, SWIGTYPE_p_int.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.ice_t_is_chosen_get(swigCPtr); - SWIGTYPE_p_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.ice_t_is_chosen_get(swigCPtr); + SWIGTYPE_p_int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false); return ret; } } @@ -20341,30 +27016,29 @@ public class ice_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class input_callback_state_t : IDisposable { - private HandleRef swigCPtr; +public class input_callback_state_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal input_callback_state_t(IntPtr cPtr, bool cMemoryOwn) { + internal input_callback_state_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(input_callback_state_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(input_callback_state_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~input_callback_state_t() { @@ -20373,14 +27047,14 @@ public class input_callback_state_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_input_callback_state_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -20389,8 +27063,8 @@ public class input_callback_state_t : IDisposable { freeswitchPINVOKE.input_callback_state_t_function_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.input_callback_state_t_function_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.input_callback_state_t_function_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -20400,8 +27074,8 @@ public class input_callback_state_t : IDisposable { freeswitchPINVOKE.input_callback_state_t_threadState_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.input_callback_state_t_threadState_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.input_callback_state_t_threadState_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -20411,8 +27085,8 @@ public class input_callback_state_t : IDisposable { freeswitchPINVOKE.input_callback_state_t_extra_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.input_callback_state_t_extra_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.input_callback_state_t_extra_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -20433,30 +27107,29 @@ public class input_callback_state_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class ip_t : IDisposable { - private HandleRef swigCPtr; +public class ip_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal ip_t(IntPtr cPtr, bool cMemoryOwn) { + internal ip_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(ip_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ip_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~ip_t() { @@ -20465,14 +27138,14 @@ public class ip_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_ip_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -20504,141 +27177,29 @@ public class ip_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class IvrMenu : IDisposable { - private HandleRef swigCPtr; +public class payload_map_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal IvrMenu(IntPtr cPtr, bool cMemoryOwn) { + internal payload_map_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(IvrMenu obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~IvrMenu() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_IvrMenu(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public IvrMenu(IvrMenu main, string name, string greeting_sound, string short_greeting_sound, string invalid_sound, string exit_sound, string transfer_sound, string confirm_macro, string confirm_key, string tts_engine, string tts_voice, int confirm_attempts, int inter_timeout, int digit_len, int timeout, int max_failures, int max_timeouts) : this(freeswitchPINVOKE.new_IvrMenu(IvrMenu.getCPtr(main), name, greeting_sound, short_greeting_sound, invalid_sound, exit_sound, transfer_sound, confirm_macro, confirm_key, tts_engine, tts_voice, confirm_attempts, inter_timeout, digit_len, timeout, max_failures, max_timeouts), true) { - } - - public void bindAction(string action, string arg, string bind) { - freeswitchPINVOKE.IvrMenu_bindAction(swigCPtr, action, arg, bind); - } - - public void Execute(CoreSession session, string name) { - freeswitchPINVOKE.IvrMenu_Execute(swigCPtr, CoreSession.getCPtr(session), name); - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public partial class ManagedSession : CoreSession { - private HandleRef swigCPtr; - - internal ManagedSession(IntPtr cPtr, bool cMemoryOwn) : base(freeswitchPINVOKE.ManagedSession_SWIGUpcast(cPtr), cMemoryOwn) { - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(ManagedSession obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~ManagedSession() { - Dispose(); - } - - public override void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_ManagedSession(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - base.Dispose(); - } - } - - public ManagedSession() : this(freeswitchPINVOKE.new_ManagedSession__SWIG_0(), true) { - } - - public ManagedSession(string uuid) : this(freeswitchPINVOKE.new_ManagedSession__SWIG_1(uuid), true) { - } - - public ManagedSession(SWIGTYPE_p_switch_core_session session) : this(freeswitchPINVOKE.new_ManagedSession__SWIG_2(SWIGTYPE_p_switch_core_session.getCPtr(session)), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class payload_map_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal payload_map_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(payload_map_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(payload_map_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~payload_map_t() { @@ -20647,14 +27208,14 @@ public class payload_map_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_payload_map_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -20893,8 +27454,8 @@ public class payload_map_t : IDisposable { freeswitchPINVOKE.payload_map_t_next_set(swigCPtr, payload_map_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.payload_map_t_next_get(swigCPtr); - payload_map_t ret = (cPtr == IntPtr.Zero) ? null : new payload_map_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.payload_map_t_next_get(swigCPtr); + payload_map_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new payload_map_t(cPtr, false); return ret; } } @@ -20905,30 +27466,29 @@ public class payload_map_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class profile_node_t : IDisposable { - private HandleRef swigCPtr; +public class profile_node_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal profile_node_t(IntPtr cPtr, bool cMemoryOwn) { + internal profile_node_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(profile_node_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(profile_node_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~profile_node_t() { @@ -20937,14 +27497,14 @@ public class profile_node_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_profile_node_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -20973,8 +27533,8 @@ public class profile_node_t : IDisposable { freeswitchPINVOKE.profile_node_t_next_set(swigCPtr, profile_node_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.profile_node_t_next_get(swigCPtr); - profile_node_t ret = (cPtr == IntPtr.Zero) ? null : new profile_node_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.profile_node_t_next_get(swigCPtr); + profile_node_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new profile_node_t(cPtr, false); return ret; } } @@ -20985,13 +27545,15 @@ public class profile_node_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -21008,13 +27570,15 @@ public enum rtcp_psfb_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -21037,13 +27601,15 @@ public enum rtcp_pt_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -21058,13 +27624,15 @@ public enum rtcp_rtpfb_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -21083,13 +27651,15 @@ public enum rtcp_sdes_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -21100,6443 +27670,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public partial class Stream : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal Stream(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(Stream obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~Stream() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_Stream(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public Stream() : this(freeswitchPINVOKE.new_Stream__SWIG_0(), true) { - } - - public Stream(switch_stream_handle arg0) : this(freeswitchPINVOKE.new_Stream__SWIG_1(switch_stream_handle.getCPtr(arg0)), true) { - } - - public string read(SWIGTYPE_p_int len) { - string ret = freeswitchPINVOKE.Stream_read(swigCPtr, SWIGTYPE_p_int.getCPtr(len)); - return ret; - } - - public void Write(string data) { - freeswitchPINVOKE.Stream_Write(swigCPtr, data); - } - - public void raw_write(string data, int len) { - freeswitchPINVOKE.Stream_raw_write(swigCPtr, data, len); - } - - public string get_data() { - string ret = freeswitchPINVOKE.Stream_get_data(swigCPtr); - return ret; - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_a_256__char { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_a_256__char(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_a_256__char() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_a_256__char obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_a_2__icand_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_a_2__icand_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_a_2__icand_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_a_2__icand_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_apr_pool_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_apr_pool_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_apr_pool_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_apr_pool_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_cJSON { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_cJSON(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_cJSON() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_cJSON obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_FILE { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_FILE(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_FILE() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_FILE obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_float { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_float(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_float() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_float obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_cJSON_p_q_const__char_unsigned_long__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_p_switch_console_callback_match__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_q_const__char_p_q_const__char_p_switch_event_t_p_void__p_switch_xml obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_void__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__switch_log_node_t_enum_switch_log_level_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__void_p_q_const__void_p_void__switch_bool_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_codec__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_codec__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_codec__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_enum_switch_channel_callstate_t_p_switch_device_record_s__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session__int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session__int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session__int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session__int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_bool_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_p_void__p_void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_p_void__p_void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_p_void__p_void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_p_void__p_void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_event__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_event__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_event__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_event__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_event__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_event__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_event__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_event__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_file_handle__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_file_handle__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_file_handle__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_file_handle__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_ivr_dmachine_match__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_ivr_menu_p_char_p_char_size_t_p_void__switch_ivr_action_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_live_array_s_p_q_const__char_p_q_const__char_p_cJSON_p_void__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_media_bug_p_void_enum_switch_abc_type_t__switch_bool_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_media_bug_p_void__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_media_bug_p_void__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_media_bug_p_void__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_media_bug_p_void__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_rtp_p_switch_socket_t_p_void_switch_size_t_p_switch_sockaddr_t__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_scheduler_task__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_scheduler_task__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_scheduler_task__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_scheduler_task__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_speech_handle__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_speech_handle__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_speech_handle__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_thread_t_p_void__p_void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_switch_timer__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_switch_timer__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_switch_timer__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_timer__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_void_int_p_p_char_p_p_char__int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_void_p_q_const__char__int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_void_p_q_const__char__int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_void_p_q_const__char__int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_void_p_q_const__char__int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_void_p_switch_event__int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_void_p_switch_event__int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_void_p_switch_event__int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_void_p_switch_event__int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_p_void__void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_void__void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_void__void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_p_void__void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_uint8_t_p_p_q_const__char_p_void__p_switch_xml obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_void__p_char { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_void__p_char(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_void__p_char() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_void__p_char obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_f_void__switch_status_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_f_void__switch_status_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_void__switch_status_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_f_void__switch_status_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_in6_addr { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_in6_addr(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_in6_addr() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_in6_addr obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_apr_pool_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_apr_pool_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_apr_pool_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_apr_pool_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_char { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_char(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_char() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_char obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_cJSON { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_cJSON(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_cJSON() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_cJSON obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_pid_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_pid_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_pid_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_pid_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_payload_map_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_payload_map_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_payload_map_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_payload_map_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_p_char { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_p_char(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_p_char() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_p_char obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_real_pcre { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_real_pcre(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_real_pcre() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_real_pcre obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_sqlite3 { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_sqlite3(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_sqlite3() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_sqlite3 obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_sqlite3_stmt { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_sqlite3_stmt(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_sqlite3_stmt() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_sqlite3_stmt obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_agc_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_agc_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_agc_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_agc_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_audio_resampler_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_audio_resampler_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_audio_resampler_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_audio_resampler_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_buffer { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_buffer(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_buffer() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_buffer obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_cache_db_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_cache_db_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_cache_db_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_cache_db_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_caller_extension { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_caller_extension(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_caller_extension() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_caller_extension obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_channel { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_channel(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_channel() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_channel obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_codec_implementation { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_codec_implementation(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_codec_implementation() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_codec_implementation obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_console_callback_match { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_console_callback_match(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_console_callback_match() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_console_callback_match obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_core_port_allocator { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_core_port_allocator(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_core_port_allocator() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_core_port_allocator obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_core_session { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_core_session(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_core_session() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_core_session obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_core_session_message { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_core_session_message(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_core_session_message() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_core_session_message obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_device_record_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_device_record_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_device_record_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_device_record_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_event { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_event(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_event() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_event obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_event_node { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_event_node(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_event_node() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_event_node obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_file_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_file_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_file_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_file_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_frame_buffer_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_frame_buffer_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_frame_buffer_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_frame_buffer_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_frame { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_frame(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_frame() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_hashtable { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_hashtable(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_hashtable() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_hashtable obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_hashtable_iterator { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_hashtable_iterator(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_hashtable_iterator() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_hashtable_iterator obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_ivr_digit_stream { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_ivr_digit_stream(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_ivr_digit_stream() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_digit_stream obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_ivr_digit_stream_parser { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_ivr_digit_stream_parser(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_ivr_digit_stream_parser() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_digit_stream_parser obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_ivr_dmachine { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_ivr_dmachine(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_ivr_dmachine() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_dmachine obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_ivr_dmachine_match { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_ivr_dmachine_match(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_ivr_dmachine_match() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_dmachine_match obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_ivr_menu { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_ivr_menu(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_ivr_menu() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_menu obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_ivr_menu_xml_ctx { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_ivr_menu_xml_ctx(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_ivr_menu_xml_ctx() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_ivr_menu_xml_ctx obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_live_array_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_live_array_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_live_array_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_live_array_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_log_node_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_log_node_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_log_node_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_log_node_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_media_bug { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_media_bug(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_media_bug() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_media_bug obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_network_list { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_network_list(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_network_list() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_network_list obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_rtp { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_rtp(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_rtp() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_rtp obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_say_file_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_say_file_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_say_file_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_say_file_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_sql_queue_manager { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_sql_queue_manager(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_sql_queue_manager() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_sql_queue_manager obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_thread_data_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_thread_data_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_thread_data_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_thread_data_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_xml_binding { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_xml_binding(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_xml_binding() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_xml_binding obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_switch_xml { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_switch_xml(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_switch_xml() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_switch_xml obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_unsigned_char { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_unsigned_char(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_unsigned_char() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_unsigned_char obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_p_void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_p_void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_p_void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_p_void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_real_pcre { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_real_pcre(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_real_pcre() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_real_pcre obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_short { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_short(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_short() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_short obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_sockaddr { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_sockaddr(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_sockaddr() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_sockaddr obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_sockaddr_in6 { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_sockaddr_in6(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_sockaddr_in6() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_sockaddr_in6 obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_socklen_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_socklen_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_socklen_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_socklen_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_sqlite3 { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_sqlite3(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_sqlite3() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_sqlite3 obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_sqlite3_stmt { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_sqlite3_stmt(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_sqlite3_stmt() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_sqlite3_stmt obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_agc_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_agc_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_agc_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_agc_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_buffer { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_buffer(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_buffer() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_buffer obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_cache_db_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_cache_db_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_cache_db_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_cache_db_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_call_cause_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_call_cause_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_call_cause_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_call_cause_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_channel { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_channel(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_channel() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_channel obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_codec_control_type_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_codec_control_type_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_codec_control_type_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_codec_control_type_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_core_port_allocator { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_core_port_allocator(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_core_port_allocator() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_core_port_allocator obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_core_session { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_core_session(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_core_session() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_core_session obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_event_types_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_event_types_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_event_types_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_event_types_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_file_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_file_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_file_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_file_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_frame_buffer_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_frame_buffer_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_frame_buffer_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_frame_buffer_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_hashtable { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_hashtable(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_hashtable() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_hashtable obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_hashtable_iterator { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_hashtable_iterator(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_hashtable_iterator() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_hashtable_iterator obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_image_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_image_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_image_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_image_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_img_fmt_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_img_fmt_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_img_fmt_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_img_fmt_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_img_position_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_img_position_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_img_position_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_img_position_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_interval_time_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_interval_time_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_interval_time_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_interval_time_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ivr_action_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ivr_action_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ivr_action_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ivr_action_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ivr_digit_stream { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ivr_digit_stream(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ivr_digit_stream() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ivr_digit_stream obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ivr_digit_stream_parser { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ivr_digit_stream_parser(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ivr_digit_stream_parser() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ivr_digit_stream_parser obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ivr_dmachine { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ivr_dmachine(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ivr_dmachine() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ivr_dmachine obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ivr_menu { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ivr_menu(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ivr_menu() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ivr_menu obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ivr_menu_xml_ctx { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ivr_menu_xml_ctx(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ivr_menu_xml_ctx() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ivr_menu_xml_ctx obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_jb_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_jb_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_jb_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_jb_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_live_array_s { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_live_array_s(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_live_array_s() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_live_array_s obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_media_bug { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_media_bug(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_media_bug() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_media_bug obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_mutex_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_mutex_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_mutex_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_mutex_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_network_list { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_network_list(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_network_list() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_network_list obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_odbc_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_odbc_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_odbc_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_odbc_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_pgsql_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_pgsql_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_pgsql_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_pgsql_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_pollfd_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_pollfd_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_pollfd_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_pollfd_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_queue_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_queue_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_queue_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_queue_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_rtcp_frame { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_rtcp_frame(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_rtcp_frame() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_rtcp_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_rtp { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_rtp(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_rtp() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_rtp obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_rtp_flag_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_rtp_flag_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_rtp_flag_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_rtp_flag_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_say_file_handle { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_say_file_handle(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_say_file_handle() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_say_file_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_size_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_size_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_size_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_size_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_sockaddr_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_sockaddr_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_sockaddr_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_sockaddr_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_socket_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_socket_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_socket_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_socket_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_sql_queue_manager { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_sql_queue_manager(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_sql_queue_manager() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_sql_queue_manager obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_ssize_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_ssize_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_ssize_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_ssize_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_thread_rwlock_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_thread_rwlock_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_thread_rwlock_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_thread_rwlock_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_thread_start_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_thread_start_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_thread_start_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_thread_start_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_thread_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_thread_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_thread_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_thread_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_time_exp_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_time_exp_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_time_exp_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_time_exp_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_time_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_time_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_time_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_time_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_switch_xml_binding { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_switch_xml_binding(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_switch_xml_binding() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_switch_xml_binding obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_time_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_time_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_time_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_time_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_unsigned_char { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_unsigned_char(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_unsigned_char() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_char obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_unsigned_int { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_unsigned_int(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_unsigned_int() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_int obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_unsigned_long { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_unsigned_long(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_unsigned_long() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_long obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_unsigned_short { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_unsigned_short(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_unsigned_short() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_unsigned_short obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_void { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_void(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_void() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_void obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -27558,30 +27700,29 @@ public enum switch_abc_type_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_api_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_api_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_api_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_api_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_api_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_api_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_api_interface() { @@ -27590,14 +27731,14 @@ public class switch_api_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_api_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -27626,8 +27767,8 @@ public class switch_api_interface : IDisposable { freeswitchPINVOKE.switch_api_interface_function_set(swigCPtr, SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_function_get(swigCPtr); - SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_function_get(swigCPtr); + SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t(cPtr, false); return ret; } } @@ -27647,8 +27788,8 @@ public class switch_api_interface : IDisposable { freeswitchPINVOKE.switch_api_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -27668,8 +27809,8 @@ public class switch_api_interface : IDisposable { freeswitchPINVOKE.switch_api_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -27679,8 +27820,8 @@ public class switch_api_interface : IDisposable { freeswitchPINVOKE.switch_api_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -27690,8 +27831,8 @@ public class switch_api_interface : IDisposable { freeswitchPINVOKE.switch_api_interface_next_set(swigCPtr, switch_api_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_next_get(swigCPtr); - switch_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_api_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_api_interface_next_get(swigCPtr); + switch_api_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_api_interface(cPtr, false); return ret; } } @@ -27702,13 +27843,106 @@ public class switch_api_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class switch_app_log : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal switch_app_log(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_app_log obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~switch_app_log() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + freeswitchPINVOKE.delete_switch_app_log(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public string app { + set { + freeswitchPINVOKE.switch_app_log_app_set(swigCPtr, value); + } + get { + string ret = freeswitchPINVOKE.switch_app_log_app_get(swigCPtr); + return ret; + } + } + + public string arg { + set { + freeswitchPINVOKE.switch_app_log_arg_set(swigCPtr, value); + } + get { + string ret = freeswitchPINVOKE.switch_app_log_arg_get(swigCPtr); + return ret; + } + } + + public SWIGTYPE_p_switch_time_t stamp { + set { + freeswitchPINVOKE.switch_app_log_stamp_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); + if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); + } + get { + SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_app_log_stamp_get(swigCPtr), true); + if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } + + public switch_app_log next { + set { + freeswitchPINVOKE.switch_app_log_next_set(swigCPtr, switch_app_log.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_app_log_next_get(swigCPtr); + switch_app_log ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_app_log(cPtr, false); + return ret; + } + } + + public switch_app_log() : this(freeswitchPINVOKE.new_switch_app_log(), true) { + } + +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -27723,30 +27957,29 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_application_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_application_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_application_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_application_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_application_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_application_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_application_interface() { @@ -27755,14 +27988,14 @@ public class switch_application_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_application_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -27781,8 +28014,8 @@ public class switch_application_interface : IDisposable { freeswitchPINVOKE.switch_application_interface_application_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_application_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_application_function_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void(cPtr, false); return ret; } } @@ -27832,8 +28065,8 @@ public class switch_application_interface : IDisposable { freeswitchPINVOKE.switch_application_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -27853,8 +28086,8 @@ public class switch_application_interface : IDisposable { freeswitchPINVOKE.switch_application_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -27864,8 +28097,8 @@ public class switch_application_interface : IDisposable { freeswitchPINVOKE.switch_application_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -27875,8 +28108,8 @@ public class switch_application_interface : IDisposable { freeswitchPINVOKE.switch_application_interface_next_set(swigCPtr, switch_application_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_next_get(swigCPtr); - switch_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_application_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_application_interface_next_get(swigCPtr); + switch_application_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_application_interface(cPtr, false); return ret; } } @@ -27887,105 +28120,15 @@ public class switch_application_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_app_log : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_app_log(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_app_log obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_app_log() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_app_log(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public string app { - set { - freeswitchPINVOKE.switch_app_log_app_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_app_log_app_get(swigCPtr); - return ret; - } - } - - public string arg { - set { - freeswitchPINVOKE.switch_app_log_arg_set(swigCPtr, value); - } - get { - string ret = freeswitchPINVOKE.switch_app_log_arg_get(swigCPtr); - return ret; - } - } - - public SWIGTYPE_p_switch_time_t stamp { - set { - freeswitchPINVOKE.switch_app_log_stamp_set(swigCPtr, SWIGTYPE_p_switch_time_t.getCPtr(value)); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - } - get { - SWIGTYPE_p_switch_time_t ret = new SWIGTYPE_p_switch_time_t(freeswitchPINVOKE.switch_app_log_stamp_get(swigCPtr), true); - if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public switch_app_log next { - set { - freeswitchPINVOKE.switch_app_log_next_set(swigCPtr, switch_app_log.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_app_log_next_get(swigCPtr); - switch_app_log ret = (cPtr == IntPtr.Zero) ? null : new switch_app_log(cPtr, false); - return ret; - } - } - - public switch_app_log() : this(freeswitchPINVOKE.new_switch_app_log(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -27999,30 +28142,29 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_asr_handle : IDisposable { - private HandleRef swigCPtr; +public class switch_asr_handle : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_asr_handle(IntPtr cPtr, bool cMemoryOwn) { + internal switch_asr_handle(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_asr_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_asr_handle obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_asr_handle() { @@ -28031,14 +28173,14 @@ public class switch_asr_handle : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_asr_handle(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -28047,8 +28189,8 @@ public class switch_asr_handle : IDisposable { freeswitchPINVOKE.switch_asr_handle_asr_interface_set(swigCPtr, switch_asr_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_asr_interface_get(swigCPtr); - switch_asr_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_asr_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_asr_interface_get(swigCPtr); + switch_asr_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_asr_interface(cPtr, false); return ret; } } @@ -28118,8 +28260,8 @@ public class switch_asr_handle : IDisposable { freeswitchPINVOKE.switch_asr_handle_memory_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_memory_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_memory_pool_get(swigCPtr); + SWIGTYPE_p_apr_pool_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); return ret; } } @@ -28129,8 +28271,8 @@ public class switch_asr_handle : IDisposable { freeswitchPINVOKE.switch_asr_handle_buffer_set(swigCPtr, SWIGTYPE_p_switch_buffer.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_buffer_get(swigCPtr); - SWIGTYPE_p_switch_buffer ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_buffer_get(swigCPtr); + SWIGTYPE_p_switch_buffer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); return ret; } } @@ -28140,8 +28282,8 @@ public class switch_asr_handle : IDisposable { freeswitchPINVOKE.switch_asr_handle_dbuf_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_dbuf_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_dbuf_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return ret; } } @@ -28163,8 +28305,8 @@ public class switch_asr_handle : IDisposable { freeswitchPINVOKE.switch_asr_handle_resampler_set(swigCPtr, switch_audio_resampler_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_resampler_get(swigCPtr); - switch_audio_resampler_t ret = (cPtr == IntPtr.Zero) ? null : new switch_audio_resampler_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_resampler_get(swigCPtr); + switch_audio_resampler_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_audio_resampler_t(cPtr, false); return ret; } } @@ -28194,8 +28336,8 @@ public class switch_asr_handle : IDisposable { freeswitchPINVOKE.switch_asr_handle_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_handle_private_info_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -28206,30 +28348,29 @@ public class switch_asr_handle : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_asr_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_asr_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_asr_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_asr_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_asr_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_asr_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_asr_interface() { @@ -28238,14 +28379,14 @@ public class switch_asr_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_asr_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -28264,8 +28405,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_open_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_open_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_int_p_q_const__char_p_unsigned_long__switch_status_t(cPtr, false); return ret; } } @@ -28275,8 +28416,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_load_grammar_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_load_grammar_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_load_grammar_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char_p_q_const__char__switch_status_t(cPtr, false); return ret; } } @@ -28286,8 +28427,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_unload_grammar_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_unload_grammar_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_unload_grammar_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t(cPtr, false); return ret; } } @@ -28297,8 +28438,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_close_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_close_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(cPtr, false); return ret; } } @@ -28308,8 +28449,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_feed_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_feed_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_feed_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_void_unsigned_int_p_unsigned_long__switch_status_t(cPtr, false); return ret; } } @@ -28319,8 +28460,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_resume_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_resume_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_resume_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(cPtr, false); return ret; } } @@ -28330,8 +28471,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_pause_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_pause_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_pause_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(cPtr, false); return ret; } } @@ -28341,8 +28482,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_check_results_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_check_results_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_check_results_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_unsigned_long__switch_status_t(cPtr, false); return ret; } } @@ -28352,8 +28493,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_get_results_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_get_results_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_get_results_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_p_char_p_unsigned_long__switch_status_t(cPtr, false); return ret; } } @@ -28363,8 +28504,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_get_result_headers_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_get_result_headers_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_get_result_headers_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_p_switch_event_p_unsigned_long__switch_status_t(cPtr, false); return ret; } } @@ -28374,8 +28515,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_start_input_timers_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_start_input_timers_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_start_input_timers_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(cPtr, false); return ret; } } @@ -28385,8 +28526,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_text_param_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_text_param_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_text_param_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_char_p_q_const__char__void(cPtr, false); return ret; } } @@ -28396,8 +28537,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_numeric_param_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_numeric_param_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_numeric_param_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_char_int__void(cPtr, false); return ret; } } @@ -28407,8 +28548,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_float_param_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_float_param_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_float_param_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_char_double__void(cPtr, false); return ret; } } @@ -28418,8 +28559,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -28439,8 +28580,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -28450,8 +28591,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -28461,8 +28602,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_next_set(swigCPtr, switch_asr_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_next_get(swigCPtr); - switch_asr_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_asr_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_next_get(swigCPtr); + switch_asr_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_asr_interface(cPtr, false); return ret; } } @@ -28472,8 +28613,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_enable_grammar_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_enable_grammar_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_enable_grammar_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t(cPtr, false); return ret; } } @@ -28483,8 +28624,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_disable_grammar_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_disable_grammar_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_disable_grammar_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__char__switch_status_t(cPtr, false); return ret; } } @@ -28494,8 +28635,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_disable_all_grammars_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_disable_all_grammars_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_disable_all_grammars_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle__switch_status_t(cPtr, false); return ret; } } @@ -28505,8 +28646,8 @@ public class switch_asr_interface : IDisposable { freeswitchPINVOKE.switch_asr_interface_asr_feed_dtmf_set(swigCPtr, SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_feed_dtmf_get(swigCPtr); - SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_asr_interface_asr_feed_dtmf_get(swigCPtr); + SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_asr_handle_p_q_const__switch_dtmf_t_p_unsigned_long__switch_status_t(cPtr, false); return ret; } } @@ -28517,30 +28658,29 @@ public class switch_asr_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_audio_codec_settings : IDisposable { - private HandleRef swigCPtr; +public class switch_audio_codec_settings : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_audio_codec_settings(IntPtr cPtr, bool cMemoryOwn) { + internal switch_audio_codec_settings(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_audio_codec_settings obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_audio_codec_settings obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_audio_codec_settings() { @@ -28549,14 +28689,14 @@ public class switch_audio_codec_settings : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_audio_codec_settings(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -28576,13 +28716,15 @@ public class switch_audio_codec_settings : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -28592,34 +28734,40 @@ public enum switch_audio_col_t { SWITCH_AUDIO_COL_STR_SOFTWARE = 0x03, SWITCH_AUDIO_COL_STR_ARTIST = 0x04, SWITCH_AUDIO_COL_STR_COMMENT = 0x05, - SWITCH_AUDIO_COL_STR_DATE = 0x06 + SWITCH_AUDIO_COL_STR_DATE = 0x06, + SWITCH_AUDIO_COL_STR_ALBUM = 0x07, + SWITCH_AUDIO_COL_STR_LICENSE = 0x08, + SWITCH_AUDIO_COL_STR_TRACKNUMBER = 0x09, + SWITCH_AUDIO_COL_STR_GENRE = 0x10, + SWITCH_AUDIO_COL_STR_FILE_SIZE = 0xF0, + SWITCH_AUDIO_COL_STR_FILE_TRIMMED = 0xF1, + SWITCH_AUDIO_COL_STR_FILE_TRIMMED_MS = 0xF2 } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_audio_resampler_t : IDisposable { - private HandleRef swigCPtr; +public class switch_audio_resampler_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_audio_resampler_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_audio_resampler_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_audio_resampler_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_audio_resampler_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_audio_resampler_t() { @@ -28628,14 +28776,14 @@ public class switch_audio_resampler_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_audio_resampler_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -28644,8 +28792,8 @@ public class switch_audio_resampler_t : IDisposable { freeswitchPINVOKE.switch_audio_resampler_t_resampler_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_audio_resampler_t_resampler_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_audio_resampler_t_resampler_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -28695,8 +28843,8 @@ public class switch_audio_resampler_t : IDisposable { freeswitchPINVOKE.switch_audio_resampler_t_to_set(swigCPtr, SWIGTYPE_p_short.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_audio_resampler_t_to_get(swigCPtr); - SWIGTYPE_p_short ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_short(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_audio_resampler_t_to_get(swigCPtr); + SWIGTYPE_p_short ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_short(cPtr, false); return ret; } } @@ -28737,13 +28885,15 @@ public class switch_audio_resampler_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -28759,13 +28909,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -28775,30 +28927,29 @@ public enum switch_bitpack_mode_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_bitpack_t : IDisposable { - private HandleRef swigCPtr; +public class switch_bitpack_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_bitpack_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_bitpack_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_bitpack_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_bitpack_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_bitpack_t() { @@ -28807,14 +28958,14 @@ public class switch_bitpack_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_bitpack_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -28823,8 +28974,8 @@ public class switch_bitpack_t : IDisposable { freeswitchPINVOKE.switch_bitpack_t_buf_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_bitpack_t_buf_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_bitpack_t_buf_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return ret; } } @@ -28844,8 +28995,8 @@ public class switch_bitpack_t : IDisposable { freeswitchPINVOKE.switch_bitpack_t_cur_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_bitpack_t_cur_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_bitpack_t_cur_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return ret; } } @@ -28956,13 +29107,15 @@ public class switch_bitpack_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -28972,30 +29125,29 @@ public enum switch_bool_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_cache_db_connection_options_t : IDisposable { - private HandleRef swigCPtr; +public class switch_cache_db_connection_options_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_cache_db_connection_options_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_cache_db_connection_options_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_cache_db_connection_options_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_cache_db_connection_options_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_cache_db_connection_options_t() { @@ -29004,14 +29156,14 @@ public class switch_cache_db_connection_options_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_cache_db_connection_options_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -29020,8 +29172,8 @@ public class switch_cache_db_connection_options_t : IDisposable { freeswitchPINVOKE.switch_cache_db_connection_options_t_core_db_options_set(swigCPtr, switch_cache_db_core_db_options_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_connection_options_t_core_db_options_get(swigCPtr); - switch_cache_db_core_db_options_t ret = (cPtr == IntPtr.Zero) ? null : new switch_cache_db_core_db_options_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_connection_options_t_core_db_options_get(swigCPtr); + switch_cache_db_core_db_options_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_cache_db_core_db_options_t(cPtr, false); return ret; } } @@ -29031,8 +29183,8 @@ public class switch_cache_db_connection_options_t : IDisposable { freeswitchPINVOKE.switch_cache_db_connection_options_t_odbc_options_set(swigCPtr, switch_cache_db_odbc_options_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_connection_options_t_odbc_options_get(swigCPtr); - switch_cache_db_odbc_options_t ret = (cPtr == IntPtr.Zero) ? null : new switch_cache_db_odbc_options_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_connection_options_t_odbc_options_get(swigCPtr); + switch_cache_db_odbc_options_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_cache_db_odbc_options_t(cPtr, false); return ret; } } @@ -29042,8 +29194,8 @@ public class switch_cache_db_connection_options_t : IDisposable { freeswitchPINVOKE.switch_cache_db_connection_options_t_pgsql_options_set(swigCPtr, switch_cache_db_pgsql_options_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_connection_options_t_pgsql_options_get(swigCPtr); - switch_cache_db_pgsql_options_t ret = (cPtr == IntPtr.Zero) ? null : new switch_cache_db_pgsql_options_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_connection_options_t_pgsql_options_get(swigCPtr); + switch_cache_db_pgsql_options_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_cache_db_pgsql_options_t(cPtr, false); return ret; } } @@ -29054,30 +29206,29 @@ public class switch_cache_db_connection_options_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_cache_db_core_db_options_t : IDisposable { - private HandleRef swigCPtr; +public class switch_cache_db_core_db_options_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_cache_db_core_db_options_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_cache_db_core_db_options_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_cache_db_core_db_options_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_cache_db_core_db_options_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_cache_db_core_db_options_t() { @@ -29086,14 +29237,14 @@ public class switch_cache_db_core_db_options_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_cache_db_core_db_options_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -29113,13 +29264,15 @@ public class switch_cache_db_core_db_options_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -29130,30 +29283,29 @@ public enum switch_cache_db_handle_type_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_cache_db_native_handle_t : IDisposable { - private HandleRef swigCPtr; +public class switch_cache_db_native_handle_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_cache_db_native_handle_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_cache_db_native_handle_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_cache_db_native_handle_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_cache_db_native_handle_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_cache_db_native_handle_t() { @@ -29162,14 +29314,14 @@ public class switch_cache_db_native_handle_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_cache_db_native_handle_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -29178,8 +29330,8 @@ public class switch_cache_db_native_handle_t : IDisposable { freeswitchPINVOKE.switch_cache_db_native_handle_t_core_db_dbh_set(swigCPtr, SWIGTYPE_p_sqlite3.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_native_handle_t_core_db_dbh_get(swigCPtr); - SWIGTYPE_p_sqlite3 ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_sqlite3(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_native_handle_t_core_db_dbh_get(swigCPtr); + SWIGTYPE_p_sqlite3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_sqlite3(cPtr, false); return ret; } } @@ -29189,8 +29341,8 @@ public class switch_cache_db_native_handle_t : IDisposable { freeswitchPINVOKE.switch_cache_db_native_handle_t_odbc_dbh_set(swigCPtr, SWIGTYPE_p_switch_odbc_handle.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_native_handle_t_odbc_dbh_get(swigCPtr); - SWIGTYPE_p_switch_odbc_handle ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_odbc_handle(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_native_handle_t_odbc_dbh_get(swigCPtr); + SWIGTYPE_p_switch_odbc_handle ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_odbc_handle(cPtr, false); return ret; } } @@ -29200,8 +29352,8 @@ public class switch_cache_db_native_handle_t : IDisposable { freeswitchPINVOKE.switch_cache_db_native_handle_t_pgsql_dbh_set(swigCPtr, SWIGTYPE_p_switch_pgsql_handle.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_native_handle_t_pgsql_dbh_get(swigCPtr); - SWIGTYPE_p_switch_pgsql_handle ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_pgsql_handle(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_cache_db_native_handle_t_pgsql_dbh_get(swigCPtr); + SWIGTYPE_p_switch_pgsql_handle ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_pgsql_handle(cPtr, false); return ret; } } @@ -29212,30 +29364,29 @@ public class switch_cache_db_native_handle_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_cache_db_odbc_options_t : IDisposable { - private HandleRef swigCPtr; +public class switch_cache_db_odbc_options_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_cache_db_odbc_options_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_cache_db_odbc_options_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_cache_db_odbc_options_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_cache_db_odbc_options_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_cache_db_odbc_options_t() { @@ -29244,14 +29395,14 @@ public class switch_cache_db_odbc_options_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_cache_db_odbc_options_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -29291,30 +29442,29 @@ public class switch_cache_db_odbc_options_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_cache_db_pgsql_options_t : IDisposable { - private HandleRef swigCPtr; +public class switch_cache_db_pgsql_options_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_cache_db_pgsql_options_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_cache_db_pgsql_options_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_cache_db_pgsql_options_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_cache_db_pgsql_options_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_cache_db_pgsql_options_t() { @@ -29323,14 +29473,14 @@ public class switch_cache_db_pgsql_options_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_cache_db_pgsql_options_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -29350,13 +29500,15 @@ public class switch_cache_db_pgsql_options_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -29434,13 +29586,15 @@ public enum switch_call_cause_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -29450,30 +29604,29 @@ public enum switch_call_direction_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_caller_application : IDisposable { - private HandleRef swigCPtr; +public class switch_caller_application : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_caller_application(IntPtr cPtr, bool cMemoryOwn) { + internal switch_caller_application(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_caller_application obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_caller_application obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_caller_application() { @@ -29482,14 +29635,14 @@ public class switch_caller_application : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_caller_application(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -29518,8 +29671,8 @@ public class switch_caller_application : IDisposable { freeswitchPINVOKE.switch_caller_application_application_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_application_application_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_application_application_function_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__char__void(cPtr, false); return ret; } } @@ -29529,8 +29682,8 @@ public class switch_caller_application : IDisposable { freeswitchPINVOKE.switch_caller_application_next_set(swigCPtr, switch_caller_application.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_application_next_get(swigCPtr); - switch_caller_application ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_application(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_application_next_get(swigCPtr); + switch_caller_application ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_application(cPtr, false); return ret; } } @@ -29541,30 +29694,29 @@ public class switch_caller_application : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_caller_extension : IDisposable { - private HandleRef swigCPtr; +public class switch_caller_extension : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_caller_extension(IntPtr cPtr, bool cMemoryOwn) { + internal switch_caller_extension(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_caller_extension obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_caller_extension obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_caller_extension() { @@ -29573,14 +29725,14 @@ public class switch_caller_extension : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_caller_extension(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -29609,8 +29761,8 @@ public class switch_caller_extension : IDisposable { freeswitchPINVOKE.switch_caller_extension_current_application_set(swigCPtr, switch_caller_application.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_current_application_get(swigCPtr); - switch_caller_application ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_application(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_current_application_get(swigCPtr); + switch_caller_application ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_application(cPtr, false); return ret; } } @@ -29620,8 +29772,8 @@ public class switch_caller_extension : IDisposable { freeswitchPINVOKE.switch_caller_extension_last_application_set(swigCPtr, switch_caller_application.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_last_application_get(swigCPtr); - switch_caller_application ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_application(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_last_application_get(swigCPtr); + switch_caller_application ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_application(cPtr, false); return ret; } } @@ -29631,8 +29783,8 @@ public class switch_caller_extension : IDisposable { freeswitchPINVOKE.switch_caller_extension_applications_set(swigCPtr, switch_caller_application.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_applications_get(swigCPtr); - switch_caller_application ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_application(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_applications_get(swigCPtr); + switch_caller_application ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_application(cPtr, false); return ret; } } @@ -29642,8 +29794,8 @@ public class switch_caller_extension : IDisposable { freeswitchPINVOKE.switch_caller_extension_children_set(swigCPtr, switch_caller_profile.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_children_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_children_get(swigCPtr); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } } @@ -29653,8 +29805,8 @@ public class switch_caller_extension : IDisposable { freeswitchPINVOKE.switch_caller_extension_next_set(swigCPtr, switch_caller_extension.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_next_get(swigCPtr); - switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_extension_next_get(swigCPtr); + switch_caller_extension ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); return ret; } } @@ -29665,30 +29817,29 @@ public class switch_caller_extension : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_caller_profile : IDisposable { - private HandleRef swigCPtr; +public class switch_caller_profile : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_caller_profile(IntPtr cPtr, bool cMemoryOwn) { + internal switch_caller_profile(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_caller_profile obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_caller_profile obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_caller_profile() { @@ -29697,14 +29848,14 @@ public class switch_caller_profile : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_caller_profile(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -29983,8 +30134,8 @@ public class switch_caller_profile : IDisposable { freeswitchPINVOKE.switch_caller_profile_originator_caller_profile_set(swigCPtr, switch_caller_profile.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_originator_caller_profile_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_originator_caller_profile_get(swigCPtr); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } } @@ -29994,8 +30145,8 @@ public class switch_caller_profile : IDisposable { freeswitchPINVOKE.switch_caller_profile_originatee_caller_profile_set(swigCPtr, switch_caller_profile.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_originatee_caller_profile_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_originatee_caller_profile_get(swigCPtr); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } } @@ -30005,8 +30156,8 @@ public class switch_caller_profile : IDisposable { freeswitchPINVOKE.switch_caller_profile_origination_caller_profile_set(swigCPtr, switch_caller_profile.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_origination_caller_profile_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_origination_caller_profile_get(swigCPtr); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } } @@ -30016,8 +30167,8 @@ public class switch_caller_profile : IDisposable { freeswitchPINVOKE.switch_caller_profile_hunt_caller_profile_set(swigCPtr, switch_caller_profile.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_hunt_caller_profile_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_hunt_caller_profile_get(swigCPtr); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } } @@ -30027,8 +30178,8 @@ public class switch_caller_profile : IDisposable { freeswitchPINVOKE.switch_caller_profile_times_set(swigCPtr, switch_channel_timetable.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_times_get(swigCPtr); - switch_channel_timetable ret = (cPtr == IntPtr.Zero) ? null : new switch_channel_timetable(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_times_get(swigCPtr); + switch_channel_timetable ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_channel_timetable(cPtr, false); return ret; } } @@ -30038,8 +30189,8 @@ public class switch_caller_profile : IDisposable { freeswitchPINVOKE.switch_caller_profile_old_times_set(swigCPtr, switch_channel_timetable.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_old_times_get(swigCPtr); - switch_channel_timetable ret = (cPtr == IntPtr.Zero) ? null : new switch_channel_timetable(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_old_times_get(swigCPtr); + switch_channel_timetable ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_channel_timetable(cPtr, false); return ret; } } @@ -30049,8 +30200,8 @@ public class switch_caller_profile : IDisposable { freeswitchPINVOKE.switch_caller_profile_caller_extension_set(swigCPtr, switch_caller_extension.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_caller_extension_get(swigCPtr); - switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_caller_extension_get(swigCPtr); + switch_caller_extension ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_extension(cPtr, false); return ret; } } @@ -30060,8 +30211,8 @@ public class switch_caller_profile : IDisposable { freeswitchPINVOKE.switch_caller_profile_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_pool_get(swigCPtr); + SWIGTYPE_p_apr_pool_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); return ret; } } @@ -30071,8 +30222,8 @@ public class switch_caller_profile : IDisposable { freeswitchPINVOKE.switch_caller_profile_next_set(swigCPtr, switch_caller_profile.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_next_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_next_get(swigCPtr); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } } @@ -30102,8 +30253,8 @@ public class switch_caller_profile : IDisposable { freeswitchPINVOKE.switch_caller_profile_soft_set(swigCPtr, profile_node_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_soft_get(swigCPtr); - profile_node_t ret = (cPtr == IntPtr.Zero) ? null : new profile_node_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_caller_profile_soft_get(swigCPtr); + profile_node_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new profile_node_t(cPtr, false); return ret; } } @@ -30144,13 +30295,15 @@ public class switch_caller_profile : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -30162,13 +30315,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -30182,13 +30337,15 @@ public enum switch_channel_app_flag_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -30205,13 +30362,15 @@ public enum switch_channel_callstate_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -30229,13 +30388,15 @@ public enum switch_channel_cap_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -30250,6 +30411,7 @@ public enum switch_channel_flag_t { CF_REDIRECT, CF_BRIDGED, CF_HOLD, + CF_HOLD_BLEG, CF_SERVICE, CF_TAGGED, CF_WINNER, @@ -30402,17 +30564,21 @@ public enum switch_channel_flag_t { CF_AWAITING_STREAM_CHANGE, CF_PROCESSING_STREAM_CHANGE, CF_STREAM_CHANGED, + CF_ARRANGED_BRIDGE, + CF_STATE_REPEAT, CF_FLAG_MAX } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -30434,30 +30600,29 @@ public enum switch_channel_state_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_channel_timetable : IDisposable { - private HandleRef swigCPtr; +public class switch_channel_timetable : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_channel_timetable(IntPtr cPtr, bool cMemoryOwn) { + internal switch_channel_timetable(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_channel_timetable obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_channel_timetable obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_channel_timetable() { @@ -30466,14 +30631,14 @@ public class switch_channel_timetable : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_channel_timetable(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -30614,8 +30779,8 @@ public class switch_channel_timetable : IDisposable { freeswitchPINVOKE.switch_channel_timetable_next_set(swigCPtr, switch_channel_timetable.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_channel_timetable_next_get(swigCPtr); - switch_channel_timetable ret = (cPtr == IntPtr.Zero) ? null : new switch_channel_timetable(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_channel_timetable_next_get(swigCPtr); + switch_channel_timetable ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_channel_timetable(cPtr, false); return ret; } } @@ -30626,13 +30791,15 @@ public class switch_channel_timetable : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -30641,30 +30808,29 @@ public enum switch_chat_application_flag_enum_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_chat_application_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_chat_application_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_chat_application_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_chat_application_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_chat_application_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_chat_application_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_chat_application_interface() { @@ -30673,14 +30839,14 @@ public class switch_chat_application_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_chat_application_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -30699,8 +30865,8 @@ public class switch_chat_application_interface : IDisposable { freeswitchPINVOKE.switch_chat_application_interface_chat_application_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_chat_application_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_chat_application_function_get(swigCPtr); + SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_event_p_q_const__char__switch_status_t(cPtr, false); return ret; } } @@ -30750,8 +30916,8 @@ public class switch_chat_application_interface : IDisposable { freeswitchPINVOKE.switch_chat_application_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -30771,8 +30937,8 @@ public class switch_chat_application_interface : IDisposable { freeswitchPINVOKE.switch_chat_application_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -30782,8 +30948,8 @@ public class switch_chat_application_interface : IDisposable { freeswitchPINVOKE.switch_chat_application_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -30793,8 +30959,8 @@ public class switch_chat_application_interface : IDisposable { freeswitchPINVOKE.switch_chat_application_interface_next_set(swigCPtr, switch_chat_application_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_next_get(swigCPtr); - switch_chat_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_chat_application_interface_next_get(swigCPtr); + switch_chat_application_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false); return ret; } } @@ -30805,30 +30971,29 @@ public class switch_chat_application_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_chat_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_chat_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_chat_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_chat_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_chat_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_chat_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_chat_interface() { @@ -30837,14 +31002,14 @@ public class switch_chat_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_chat_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -30863,8 +31028,8 @@ public class switch_chat_interface : IDisposable { freeswitchPINVOKE.switch_chat_interface_chat_send_set(swigCPtr, SWIGTYPE_p_f_p_switch_event__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_chat_send_get(swigCPtr); - SWIGTYPE_p_f_p_switch_event__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_event__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_chat_send_get(swigCPtr); + SWIGTYPE_p_f_p_switch_event__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_event__switch_status_t(cPtr, false); return ret; } } @@ -30874,8 +31039,8 @@ public class switch_chat_interface : IDisposable { freeswitchPINVOKE.switch_chat_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -30895,8 +31060,8 @@ public class switch_chat_interface : IDisposable { freeswitchPINVOKE.switch_chat_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -30906,8 +31071,8 @@ public class switch_chat_interface : IDisposable { freeswitchPINVOKE.switch_chat_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -30917,8 +31082,8 @@ public class switch_chat_interface : IDisposable { freeswitchPINVOKE.switch_chat_interface_next_set(swigCPtr, switch_chat_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_next_get(swigCPtr); - switch_chat_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_chat_interface_next_get(swigCPtr); + switch_chat_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_chat_interface(cPtr, false); return ret; } } @@ -30929,68 +31094,29 @@ public class switch_chat_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -public enum switch_codec_control_command_t { - SCC_VIDEO_GEN_KEYFRAME = 0, - SCC_VIDEO_BANDWIDTH, - SCC_VIDEO_RESET, - SCC_AUDIO_PACKET_LOSS, - SCC_AUDIO_ADJUST_BITRATE, - SCC_DEBUG, - SCC_CODEC_SPECIFIC -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_codec_control_type_t { - SCCT_NONE = 0, - SCCT_STRING, - SCCT_INT -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_codec : IDisposable { - private HandleRef swigCPtr; +public class switch_codec : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_codec(IntPtr cPtr, bool cMemoryOwn) { + internal switch_codec(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_codec obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_codec obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_codec() { @@ -30999,14 +31125,14 @@ public class switch_codec : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_codec(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -31015,8 +31141,8 @@ public class switch_codec : IDisposable { freeswitchPINVOKE.switch_codec_codec_interface_set(swigCPtr, switch_codec_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_codec_interface_get(swigCPtr); - switch_codec_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_codec_interface_get(swigCPtr); + switch_codec_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec_interface(cPtr, false); return ret; } } @@ -31026,8 +31152,8 @@ public class switch_codec : IDisposable { freeswitchPINVOKE.switch_codec_implementation_set(swigCPtr, switch_codec_implementation.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_get(swigCPtr); - switch_codec_implementation ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_implementation(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_get(swigCPtr); + switch_codec_implementation ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec_implementation(cPtr, false); return ret; } } @@ -31067,8 +31193,8 @@ public class switch_codec : IDisposable { freeswitchPINVOKE.switch_codec_memory_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_memory_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_memory_pool_get(swigCPtr); + SWIGTYPE_p_apr_pool_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); return ret; } } @@ -31078,8 +31204,8 @@ public class switch_codec : IDisposable { freeswitchPINVOKE.switch_codec_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_private_info_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -31099,8 +31225,8 @@ public class switch_codec : IDisposable { freeswitchPINVOKE.switch_codec_mutex_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_mutex_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_mutex_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -31110,8 +31236,8 @@ public class switch_codec : IDisposable { freeswitchPINVOKE.switch_codec_next_set(swigCPtr, switch_codec.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_next_get(swigCPtr); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_next_get(swigCPtr); + switch_codec ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec(cPtr, false); return ret; } } @@ -31121,8 +31247,8 @@ public class switch_codec : IDisposable { freeswitchPINVOKE.switch_codec_session_set(swigCPtr, SWIGTYPE_p_switch_core_session.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_session_get(swigCPtr); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_session_get(swigCPtr); + SWIGTYPE_p_switch_core_session ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); return ret; } } @@ -31132,8 +31258,8 @@ public class switch_codec : IDisposable { freeswitchPINVOKE.switch_codec_cur_frame_set(swigCPtr, switch_frame.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_cur_frame_get(swigCPtr); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_cur_frame_get(swigCPtr); + switch_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_frame(cPtr, false); return ret; } } @@ -31144,13 +31270,57 @@ public class switch_codec : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public enum switch_codec_control_command_t { + SCC_VIDEO_GEN_KEYFRAME = 0, + SCC_VIDEO_BANDWIDTH, + SCC_VIDEO_RESET, + SCC_AUDIO_PACKET_LOSS, + SCC_AUDIO_ADJUST_BITRATE, + SCC_DEBUG, + SCC_CODEC_SPECIFIC +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public enum switch_codec_control_type_t { + SCCT_NONE = 0, + SCCT_STRING, + SCCT_INT +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -31170,30 +31340,29 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_codec_fmtp : IDisposable { - private HandleRef swigCPtr; +public class switch_codec_fmtp : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_codec_fmtp(IntPtr cPtr, bool cMemoryOwn) { + internal switch_codec_fmtp(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_codec_fmtp obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_codec_fmtp obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_codec_fmtp() { @@ -31202,14 +31371,14 @@ public class switch_codec_fmtp : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_codec_fmtp(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -31258,8 +31427,8 @@ public class switch_codec_fmtp : IDisposable { freeswitchPINVOKE.switch_codec_fmtp_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_fmtp_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_fmtp_private_info_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -31270,30 +31439,29 @@ public class switch_codec_fmtp : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_codec_implementation : IDisposable { - private HandleRef swigCPtr; +public class switch_codec_implementation : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_codec_implementation(IntPtr cPtr, bool cMemoryOwn) { + internal switch_codec_implementation(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_codec_implementation obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_codec_implementation obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_codec_implementation() { @@ -31302,14 +31470,14 @@ public class switch_codec_implementation : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_codec_implementation(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -31448,8 +31616,8 @@ public class switch_codec_implementation : IDisposable { freeswitchPINVOKE.switch_codec_implementation_init_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_init_get(swigCPtr); - SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_init_get(swigCPtr); + SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_unsigned_long_p_q_const__switch_codec_settings__switch_status_t(cPtr, false); return ret; } } @@ -31459,8 +31627,8 @@ public class switch_codec_implementation : IDisposable { freeswitchPINVOKE.switch_codec_implementation_encode_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_encode_get(swigCPtr); - SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_encode_get(swigCPtr); + SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t(cPtr, false); return ret; } } @@ -31470,8 +31638,8 @@ public class switch_codec_implementation : IDisposable { freeswitchPINVOKE.switch_codec_implementation_decode_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_decode_get(swigCPtr); - SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_decode_get(swigCPtr); + SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_p_switch_codec_p_void_unsigned_long_unsigned_long_p_void_p_unsigned_long_p_unsigned_long_p_unsigned_int__switch_status_t(cPtr, false); return ret; } } @@ -31481,8 +31649,8 @@ public class switch_codec_implementation : IDisposable { freeswitchPINVOKE.switch_codec_implementation_encode_video_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_encode_video_get(swigCPtr); - SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_encode_video_get(swigCPtr); + SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t(cPtr, false); return ret; } } @@ -31492,8 +31660,8 @@ public class switch_codec_implementation : IDisposable { freeswitchPINVOKE.switch_codec_implementation_decode_video_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_decode_video_get(swigCPtr); - SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_decode_video_get(swigCPtr); + SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_p_switch_frame__switch_status_t(cPtr, false); return ret; } } @@ -31503,8 +31671,8 @@ public class switch_codec_implementation : IDisposable { freeswitchPINVOKE.switch_codec_implementation_codec_control_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_codec_control_get(swigCPtr); - SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_codec_control_get(swigCPtr); + SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec_enum_switch_codec_control_command_t_enum_switch_codec_control_type_t_p_void_enum_switch_codec_control_type_t_p_void_p_enum_switch_codec_control_type_t_p_p_void__switch_status_t(cPtr, false); return ret; } } @@ -31514,8 +31682,8 @@ public class switch_codec_implementation : IDisposable { freeswitchPINVOKE.switch_codec_implementation_destroy_set(swigCPtr, SWIGTYPE_p_f_p_switch_codec__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_destroy_get(swigCPtr); - SWIGTYPE_p_f_p_switch_codec__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_destroy_get(swigCPtr); + SWIGTYPE_p_f_p_switch_codec__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_codec__switch_status_t(cPtr, false); return ret; } } @@ -31555,8 +31723,8 @@ public class switch_codec_implementation : IDisposable { freeswitchPINVOKE.switch_codec_implementation_next_set(swigCPtr, switch_codec_implementation.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_next_get(swigCPtr); - switch_codec_implementation ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_implementation(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_implementation_next_get(swigCPtr); + switch_codec_implementation ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec_implementation(cPtr, false); return ret; } } @@ -31567,30 +31735,29 @@ public class switch_codec_implementation : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_codec_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_codec_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_codec_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_codec_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_codec_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_codec_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_codec_interface() { @@ -31599,14 +31766,14 @@ public class switch_codec_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_codec_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -31625,8 +31792,8 @@ public class switch_codec_interface : IDisposable { freeswitchPINVOKE.switch_codec_interface_implementations_set(swigCPtr, switch_codec_implementation.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_implementations_get(swigCPtr); - switch_codec_implementation ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_implementation(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_implementations_get(swigCPtr); + switch_codec_implementation ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec_implementation(cPtr, false); return ret; } } @@ -31636,8 +31803,8 @@ public class switch_codec_interface : IDisposable { freeswitchPINVOKE.switch_codec_interface_parse_fmtp_set(swigCPtr, SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_parse_fmtp_get(swigCPtr); - SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_parse_fmtp_get(swigCPtr); + SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t(cPtr, false); return ret; } } @@ -31657,8 +31824,8 @@ public class switch_codec_interface : IDisposable { freeswitchPINVOKE.switch_codec_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -31678,8 +31845,8 @@ public class switch_codec_interface : IDisposable { freeswitchPINVOKE.switch_codec_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -31699,8 +31866,8 @@ public class switch_codec_interface : IDisposable { freeswitchPINVOKE.switch_codec_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -31710,8 +31877,8 @@ public class switch_codec_interface : IDisposable { freeswitchPINVOKE.switch_codec_interface_next_set(swigCPtr, switch_codec_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_next_get(swigCPtr); - switch_codec_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_next_get(swigCPtr); + switch_codec_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec_interface(cPtr, false); return ret; } } @@ -31722,30 +31889,29 @@ public class switch_codec_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_codec_settings : IDisposable { - private HandleRef swigCPtr; +public class switch_codec_settings : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_codec_settings(IntPtr cPtr, bool cMemoryOwn) { + internal switch_codec_settings(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_codec_settings obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_codec_settings obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_codec_settings() { @@ -31754,14 +31920,14 @@ public class switch_codec_settings : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_codec_settings(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -31770,8 +31936,8 @@ public class switch_codec_settings : IDisposable { freeswitchPINVOKE.switch_codec_settings_audio_set(swigCPtr, switch_audio_codec_settings.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_settings_audio_get(swigCPtr); - switch_audio_codec_settings ret = (cPtr == IntPtr.Zero) ? null : new switch_audio_codec_settings(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_settings_audio_get(swigCPtr); + switch_audio_codec_settings ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_audio_codec_settings(cPtr, false); return ret; } } @@ -31781,8 +31947,8 @@ public class switch_codec_settings : IDisposable { freeswitchPINVOKE.switch_codec_settings_video_set(swigCPtr, switch_video_codec_settings.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_codec_settings_video_get(swigCPtr); - switch_video_codec_settings ret = (cPtr == IntPtr.Zero) ? null : new switch_video_codec_settings(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_codec_settings_video_get(swigCPtr); + switch_video_codec_settings ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_video_codec_settings(cPtr, false); return ret; } } @@ -31793,13 +31959,15 @@ public class switch_codec_settings : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -31811,30 +31979,29 @@ public enum switch_codec_type_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_config : IDisposable { - private HandleRef swigCPtr; +public class switch_config : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_config(IntPtr cPtr, bool cMemoryOwn) { + internal switch_config(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_config obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_config obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_config() { @@ -31843,14 +32010,14 @@ public class switch_config : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_config(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -31859,8 +32026,8 @@ public class switch_config : IDisposable { freeswitchPINVOKE.switch_config_file_set(swigCPtr, SWIGTYPE_p_FILE.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_config_file_get(swigCPtr); - SWIGTYPE_p_FILE ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_config_file_get(swigCPtr); + SWIGTYPE_p_FILE ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_FILE(cPtr, false); return ret; } } @@ -31951,30 +32118,29 @@ public class switch_config : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_console_callback_match : IDisposable { - private HandleRef swigCPtr; +public class switch_console_callback_match : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_console_callback_match(IntPtr cPtr, bool cMemoryOwn) { + internal switch_console_callback_match(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_console_callback_match obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_console_callback_match obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_console_callback_match() { @@ -31983,14 +32149,14 @@ public class switch_console_callback_match : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_console_callback_match(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -31999,8 +32165,8 @@ public class switch_console_callback_match : IDisposable { freeswitchPINVOKE.switch_console_callback_match_head_set(swigCPtr, switch_console_callback_match_node.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_console_callback_match_head_get(swigCPtr); - switch_console_callback_match_node ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match_node(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_console_callback_match_head_get(swigCPtr); + switch_console_callback_match_node ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_console_callback_match_node(cPtr, false); return ret; } } @@ -32010,8 +32176,8 @@ public class switch_console_callback_match : IDisposable { freeswitchPINVOKE.switch_console_callback_match_end_set(swigCPtr, switch_console_callback_match_node.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_console_callback_match_end_get(swigCPtr); - switch_console_callback_match_node ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match_node(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_console_callback_match_end_get(swigCPtr); + switch_console_callback_match_node ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_console_callback_match_node(cPtr, false); return ret; } } @@ -32042,30 +32208,29 @@ public class switch_console_callback_match : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_console_callback_match_node : IDisposable { - private HandleRef swigCPtr; +public class switch_console_callback_match_node : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_console_callback_match_node(IntPtr cPtr, bool cMemoryOwn) { + internal switch_console_callback_match_node(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_console_callback_match_node obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_console_callback_match_node obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_console_callback_match_node() { @@ -32074,14 +32239,14 @@ public class switch_console_callback_match_node : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_console_callback_match_node(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -32100,8 +32265,8 @@ public class switch_console_callback_match_node : IDisposable { freeswitchPINVOKE.switch_console_callback_match_node_next_set(swigCPtr, switch_console_callback_match_node.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_console_callback_match_node_next_get(swigCPtr); - switch_console_callback_match_node ret = (cPtr == IntPtr.Zero) ? null : new switch_console_callback_match_node(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_console_callback_match_node_next_get(swigCPtr); + switch_console_callback_match_node ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_console_callback_match_node(cPtr, false); return ret; } } @@ -32112,13 +32277,15 @@ public class switch_console_callback_match_node : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -32153,13 +32320,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -32170,30 +32339,29 @@ public enum switch_core_media_ice_type_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_core_session_message : IDisposable { - private HandleRef swigCPtr; +public class switch_core_session_message : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_core_session_message(IntPtr cPtr, bool cMemoryOwn) { + internal switch_core_session_message(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_core_session_message obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_core_session_message obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_core_session_message() { @@ -32202,14 +32370,14 @@ public class switch_core_session_message : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_core_session_message(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -32270,8 +32438,8 @@ public class switch_core_session_message : IDisposable { freeswitchPINVOKE.switch_core_session_message_pointer_arg_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_message_pointer_arg_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_message_pointer_arg_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -32325,8 +32493,8 @@ public class switch_core_session_message : IDisposable { freeswitchPINVOKE.switch_core_session_message_pointer_reply_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_message_pointer_reply_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_message_pointer_reply_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -32388,8 +32556,8 @@ public class switch_core_session_message : IDisposable { freeswitchPINVOKE.switch_core_session_message_string_array_arg_set(swigCPtr, SWIGTYPE_p_p_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_session_message_string_array_arg_get(swigCPtr); - SWIGTYPE_p_p_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_session_message_string_array_arg_get(swigCPtr); + SWIGTYPE_p_p_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_p_char(cPtr, false); return ret; } } @@ -32412,13 +32580,15 @@ public class switch_core_session_message : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -32429,13 +32599,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -32502,30 +32674,29 @@ public enum switch_core_session_message_types_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_core_thread_session : IDisposable { - private HandleRef swigCPtr; +public class switch_core_thread_session : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_core_thread_session(IntPtr cPtr, bool cMemoryOwn) { + internal switch_core_thread_session(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_core_thread_session obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_core_thread_session obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_core_thread_session() { @@ -32534,14 +32705,14 @@ public class switch_core_thread_session : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_core_thread_session(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -32560,8 +32731,8 @@ public class switch_core_thread_session : IDisposable { freeswitchPINVOKE.switch_core_thread_session_mutex_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_thread_session_mutex_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_thread_session_mutex_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -32571,8 +32742,8 @@ public class switch_core_thread_session : IDisposable { freeswitchPINVOKE.switch_core_thread_session_objs_set(swigCPtr, SWIGTYPE_p_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_thread_session_objs_get(swigCPtr); - SWIGTYPE_p_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_thread_session_objs_get(swigCPtr); + SWIGTYPE_p_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_p_void(cPtr, false); return ret; } } @@ -32582,8 +32753,8 @@ public class switch_core_thread_session : IDisposable { freeswitchPINVOKE.switch_core_thread_session_input_callback_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_thread_session_input_callback_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_thread_session_input_callback_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t(cPtr, false); return ret; } } @@ -32593,8 +32764,8 @@ public class switch_core_thread_session : IDisposable { freeswitchPINVOKE.switch_core_thread_session_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_core_thread_session_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_core_thread_session_pool_get(swigCPtr); + SWIGTYPE_p_apr_pool_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); return ret; } } @@ -32605,30 +32776,29 @@ public class switch_core_thread_session : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_core_time_duration : IDisposable { - private HandleRef swigCPtr; +public class switch_core_time_duration : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_core_time_duration(IntPtr cPtr, bool cMemoryOwn) { + internal switch_core_time_duration(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_core_time_duration obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_core_time_duration obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_core_time_duration() { @@ -32637,14 +32807,14 @@ public class switch_core_time_duration : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_core_time_duration(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -32724,30 +32894,29 @@ public class switch_core_time_duration : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_cputime : IDisposable { - private HandleRef swigCPtr; +public class switch_cputime : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_cputime(IntPtr cPtr, bool cMemoryOwn) { + internal switch_cputime(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_cputime obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_cputime obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_cputime() { @@ -32756,14 +32925,14 @@ public class switch_cputime : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_cputime(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -32793,30 +32962,29 @@ public class switch_cputime : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_crypto_key_material_t : IDisposable { - private HandleRef swigCPtr; +public class switch_crypto_key_material_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_crypto_key_material_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_crypto_key_material_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_crypto_key_material_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_crypto_key_material_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_crypto_key_material_t() { @@ -32825,14 +32993,14 @@ public class switch_crypto_key_material_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_crypto_key_material_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -32851,8 +33019,8 @@ public class switch_crypto_key_material_t : IDisposable { freeswitchPINVOKE.switch_crypto_key_material_t_raw_key_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_crypto_key_material_t_raw_key_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_crypto_key_material_t_raw_key_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return ret; } } @@ -32902,8 +33070,8 @@ public class switch_crypto_key_material_t : IDisposable { freeswitchPINVOKE.switch_crypto_key_material_t_next_set(swigCPtr, switch_crypto_key_material_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_crypto_key_material_t_next_get(swigCPtr); - switch_crypto_key_material_t ret = (cPtr == IntPtr.Zero) ? null : new switch_crypto_key_material_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_crypto_key_material_t_next_get(swigCPtr); + switch_crypto_key_material_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_crypto_key_material_t(cPtr, false); return ret; } } @@ -32914,30 +33082,29 @@ public class switch_crypto_key_material_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_device_node_t : IDisposable { - private HandleRef swigCPtr; +public class switch_device_node_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_device_node_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_device_node_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_device_node_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_device_node_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_device_node_t() { @@ -32946,14 +33113,14 @@ public class switch_device_node_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_device_node_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -32972,8 +33139,8 @@ public class switch_device_node_t : IDisposable { freeswitchPINVOKE.switch_device_node_t_xml_cdr_set(swigCPtr, switch_xml.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_xml_cdr_get(swigCPtr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_xml_cdr_get(swigCPtr); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } } @@ -32983,8 +33150,8 @@ public class switch_device_node_t : IDisposable { freeswitchPINVOKE.switch_device_node_t__event_set(swigCPtr, switch_event.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t__event_get(swigCPtr); - switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t__event_get(swigCPtr); + switch_event ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event(cPtr, false); return ret; } } @@ -33004,8 +33171,8 @@ public class switch_device_node_t : IDisposable { freeswitchPINVOKE.switch_device_node_t_hold_record_set(swigCPtr, switch_hold_record_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_hold_record_get(swigCPtr); - switch_hold_record_t ret = (cPtr == IntPtr.Zero) ? null : new switch_hold_record_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_hold_record_get(swigCPtr); + switch_hold_record_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_hold_record_t(cPtr, false); return ret; } } @@ -33015,8 +33182,8 @@ public class switch_device_node_t : IDisposable { freeswitchPINVOKE.switch_device_node_t_hup_profile_set(swigCPtr, switch_caller_profile.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_hup_profile_get(swigCPtr); - switch_caller_profile ret = (cPtr == IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_hup_profile_get(swigCPtr); + switch_caller_profile ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_caller_profile(cPtr, false); return ret; } } @@ -33036,8 +33203,8 @@ public class switch_device_node_t : IDisposable { freeswitchPINVOKE.switch_device_node_t_parent_set(swigCPtr, switch_device_record_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_parent_get(swigCPtr); - switch_device_record_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_record_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_parent_get(swigCPtr); + switch_device_record_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_device_record_t(cPtr, false); return ret; } } @@ -33047,8 +33214,8 @@ public class switch_device_node_t : IDisposable { freeswitchPINVOKE.switch_device_node_t_next_set(swigCPtr, switch_device_node_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_next_get(swigCPtr); - switch_device_node_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_node_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_node_t_next_get(swigCPtr); + switch_device_node_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_device_node_t(cPtr, false); return ret; } } @@ -33059,30 +33226,29 @@ public class switch_device_node_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_device_record_t : IDisposable { - private HandleRef swigCPtr; +public class switch_device_record_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_device_record_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_device_record_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_device_record_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_device_record_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_device_record_t() { @@ -33091,14 +33257,14 @@ public class switch_device_record_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_device_record_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -33137,8 +33303,8 @@ public class switch_device_record_t : IDisposable { freeswitchPINVOKE.switch_device_record_t_stats_set(swigCPtr, switch_device_stats_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_stats_get(swigCPtr); - switch_device_stats_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_stats_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_stats_get(swigCPtr); + switch_device_stats_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_device_stats_t(cPtr, false); return ret; } } @@ -33148,8 +33314,8 @@ public class switch_device_record_t : IDisposable { freeswitchPINVOKE.switch_device_record_t_last_stats_set(swigCPtr, switch_device_stats_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_last_stats_get(swigCPtr); - switch_device_stats_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_stats_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_last_stats_get(swigCPtr); + switch_device_stats_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_device_stats_t(cPtr, false); return ret; } } @@ -33275,8 +33441,8 @@ public class switch_device_record_t : IDisposable { freeswitchPINVOKE.switch_device_record_t_uuid_list_set(swigCPtr, switch_device_node_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_uuid_list_get(swigCPtr); - switch_device_node_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_node_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_uuid_list_get(swigCPtr); + switch_device_node_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_device_node_t(cPtr, false); return ret; } } @@ -33286,8 +33452,8 @@ public class switch_device_record_t : IDisposable { freeswitchPINVOKE.switch_device_record_t_uuid_tail_set(swigCPtr, switch_device_node_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_uuid_tail_get(swigCPtr); - switch_device_node_t ret = (cPtr == IntPtr.Zero) ? null : new switch_device_node_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_uuid_tail_get(swigCPtr); + switch_device_node_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_device_node_t(cPtr, false); return ret; } } @@ -33297,8 +33463,8 @@ public class switch_device_record_t : IDisposable { freeswitchPINVOKE.switch_device_record_t_mutex_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_mutex_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_mutex_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -33308,8 +33474,8 @@ public class switch_device_record_t : IDisposable { freeswitchPINVOKE.switch_device_record_t_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_pool_get(swigCPtr); + SWIGTYPE_p_apr_pool_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); return ret; } } @@ -33319,8 +33485,8 @@ public class switch_device_record_t : IDisposable { freeswitchPINVOKE.switch_device_record_t_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_device_record_t_user_data_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -33331,13 +33497,15 @@ public class switch_device_record_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -33352,30 +33520,29 @@ public enum switch_device_state_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_device_stats_t : IDisposable { - private HandleRef swigCPtr; +public class switch_device_stats_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_device_stats_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_device_stats_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_device_stats_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_device_stats_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_device_stats_t() { @@ -33384,14 +33551,14 @@ public class switch_device_stats_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_device_stats_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -33651,30 +33818,29 @@ public class switch_device_stats_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_dialplan_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_dialplan_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_dialplan_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_dialplan_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_dialplan_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_dialplan_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_dialplan_interface() { @@ -33683,14 +33849,14 @@ public class switch_dialplan_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_dialplan_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -33709,8 +33875,8 @@ public class switch_dialplan_interface : IDisposable { freeswitchPINVOKE.switch_dialplan_interface_hunt_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_hunt_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_hunt_function_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_t_p_void_p_switch_caller_profile_t__p_switch_caller_extension(cPtr, false); return ret; } } @@ -33720,8 +33886,8 @@ public class switch_dialplan_interface : IDisposable { freeswitchPINVOKE.switch_dialplan_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -33741,8 +33907,8 @@ public class switch_dialplan_interface : IDisposable { freeswitchPINVOKE.switch_dialplan_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -33752,8 +33918,8 @@ public class switch_dialplan_interface : IDisposable { freeswitchPINVOKE.switch_dialplan_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -33763,8 +33929,8 @@ public class switch_dialplan_interface : IDisposable { freeswitchPINVOKE.switch_dialplan_interface_next_set(swigCPtr, switch_dialplan_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_next_get(swigCPtr); - switch_dialplan_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_dialplan_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_dialplan_interface_next_get(swigCPtr); + switch_dialplan_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_dialplan_interface(cPtr, false); return ret; } } @@ -33775,13 +33941,15 @@ public class switch_dialplan_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -33792,30 +33960,29 @@ public enum switch_digit_action_target_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_directories : IDisposable { - private HandleRef swigCPtr; +public class switch_directories : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_directories(IntPtr cPtr, bool cMemoryOwn) { + internal switch_directories(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_directories obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_directories obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_directories() { @@ -33824,14 +33991,14 @@ public class switch_directories : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_directories(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -34041,13 +34208,15 @@ public class switch_directories : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -34056,30 +34225,29 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_directory_handle : IDisposable { - private HandleRef swigCPtr; +public class switch_directory_handle : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_directory_handle(IntPtr cPtr, bool cMemoryOwn) { + internal switch_directory_handle(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_directory_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_directory_handle obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_directory_handle() { @@ -34088,14 +34256,14 @@ public class switch_directory_handle : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_directory_handle(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -34104,8 +34272,8 @@ public class switch_directory_handle : IDisposable { freeswitchPINVOKE.switch_directory_handle_directory_interface_set(swigCPtr, switch_directory_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_handle_directory_interface_get(swigCPtr); - switch_directory_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_directory_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_directory_handle_directory_interface_get(swigCPtr); + switch_directory_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_directory_interface(cPtr, false); return ret; } } @@ -34125,8 +34293,8 @@ public class switch_directory_handle : IDisposable { freeswitchPINVOKE.switch_directory_handle_memory_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_handle_memory_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_directory_handle_memory_pool_get(swigCPtr); + SWIGTYPE_p_apr_pool_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); return ret; } } @@ -34136,8 +34304,8 @@ public class switch_directory_handle : IDisposable { freeswitchPINVOKE.switch_directory_handle_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_handle_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_directory_handle_private_info_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -34148,30 +34316,29 @@ public class switch_directory_handle : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_directory_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_directory_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_directory_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_directory_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_directory_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_directory_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_directory_interface() { @@ -34180,14 +34347,14 @@ public class switch_directory_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_directory_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -34206,8 +34373,8 @@ public class switch_directory_interface : IDisposable { freeswitchPINVOKE.switch_directory_interface_directory_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_open_get(swigCPtr); - SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_open_get(swigCPtr); + SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char_p_char__switch_status_t(cPtr, false); return ret; } } @@ -34217,8 +34384,8 @@ public class switch_directory_interface : IDisposable { freeswitchPINVOKE.switch_directory_interface_directory_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_close_get(swigCPtr); - SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_close_get(swigCPtr); + SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t(cPtr, false); return ret; } } @@ -34228,8 +34395,8 @@ public class switch_directory_interface : IDisposable { freeswitchPINVOKE.switch_directory_interface_directory_query_set(swigCPtr, SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_query_get(swigCPtr); - SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_query_get(swigCPtr); + SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle_p_char_p_char__switch_status_t(cPtr, false); return ret; } } @@ -34239,8 +34406,8 @@ public class switch_directory_interface : IDisposable { freeswitchPINVOKE.switch_directory_interface_directory_next_set(swigCPtr, SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_next_get(swigCPtr); - SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_next_get(swigCPtr); + SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle__switch_status_t(cPtr, false); return ret; } } @@ -34250,8 +34417,8 @@ public class switch_directory_interface : IDisposable { freeswitchPINVOKE.switch_directory_interface_directory_next_pair_set(swigCPtr, SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_next_pair_get(swigCPtr); - SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_directory_next_pair_get(swigCPtr); + SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_directory_handle_p_p_char_p_p_char__switch_status_t(cPtr, false); return ret; } } @@ -34261,8 +34428,8 @@ public class switch_directory_interface : IDisposable { freeswitchPINVOKE.switch_directory_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -34282,8 +34449,8 @@ public class switch_directory_interface : IDisposable { freeswitchPINVOKE.switch_directory_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -34293,8 +34460,8 @@ public class switch_directory_interface : IDisposable { freeswitchPINVOKE.switch_directory_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -34304,8 +34471,8 @@ public class switch_directory_interface : IDisposable { freeswitchPINVOKE.switch_directory_interface_next_set(swigCPtr, switch_directory_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_next_get(swigCPtr); - switch_directory_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_directory_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_directory_interface_next_get(swigCPtr); + switch_directory_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_directory_interface(cPtr, false); return ret; } } @@ -34316,13 +34483,15 @@ public class switch_directory_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -34332,13 +34501,15 @@ public enum switch_dtmf_direction_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -34351,30 +34522,29 @@ public enum switch_dtmf_source_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_dtmf_t : IDisposable { - private HandleRef swigCPtr; +public class switch_dtmf_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_dtmf_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_dtmf_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_dtmf_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_dtmf_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_dtmf_t() { @@ -34383,14 +34553,14 @@ public class switch_dtmf_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_dtmf_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -34440,13 +34610,15 @@ public class switch_dtmf_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -34461,30 +34633,29 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_endpoint_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_endpoint_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_endpoint_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_endpoint_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_endpoint_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_endpoint_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_endpoint_interface() { @@ -34493,14 +34664,14 @@ public class switch_endpoint_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_endpoint_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -34519,8 +34690,8 @@ public class switch_endpoint_interface : IDisposable { freeswitchPINVOKE.switch_endpoint_interface_io_routines_set(swigCPtr, switch_io_routines.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_io_routines_get(swigCPtr); - switch_io_routines ret = (cPtr == IntPtr.Zero) ? null : new switch_io_routines(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_io_routines_get(swigCPtr); + switch_io_routines ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_routines(cPtr, false); return ret; } } @@ -34530,8 +34701,8 @@ public class switch_endpoint_interface : IDisposable { freeswitchPINVOKE.switch_endpoint_interface_state_handler_set(swigCPtr, switch_state_handler_table.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_state_handler_get(swigCPtr); - switch_state_handler_table ret = (cPtr == IntPtr.Zero) ? null : new switch_state_handler_table(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_state_handler_get(swigCPtr); + switch_state_handler_table ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_state_handler_table(cPtr, false); return ret; } } @@ -34541,8 +34712,8 @@ public class switch_endpoint_interface : IDisposable { freeswitchPINVOKE.switch_endpoint_interface_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_private_info_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -34552,8 +34723,8 @@ public class switch_endpoint_interface : IDisposable { freeswitchPINVOKE.switch_endpoint_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -34573,8 +34744,8 @@ public class switch_endpoint_interface : IDisposable { freeswitchPINVOKE.switch_endpoint_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -34584,8 +34755,8 @@ public class switch_endpoint_interface : IDisposable { freeswitchPINVOKE.switch_endpoint_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -34595,8 +34766,8 @@ public class switch_endpoint_interface : IDisposable { freeswitchPINVOKE.switch_endpoint_interface_next_set(swigCPtr, switch_endpoint_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_next_get(swigCPtr); - switch_endpoint_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_endpoint_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_next_get(swigCPtr); + switch_endpoint_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_endpoint_interface(cPtr, false); return ret; } } @@ -34606,8 +34777,8 @@ public class switch_endpoint_interface : IDisposable { freeswitchPINVOKE.switch_endpoint_interface_recover_callback_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__int.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_recover_callback_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__int(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_endpoint_interface_recover_callback_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__int(cPtr, false); return ret; } } @@ -34618,30 +34789,29 @@ public class switch_endpoint_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_error_period_t : IDisposable { - private HandleRef swigCPtr; +public class switch_error_period_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_error_period_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_error_period_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_error_period_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_error_period_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_error_period_t() { @@ -34650,14 +34820,14 @@ public class switch_error_period_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_error_period_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -34706,8 +34876,8 @@ public class switch_error_period_t : IDisposable { freeswitchPINVOKE.switch_error_period_t_next_set(swigCPtr, switch_error_period_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_error_period_t_next_get(swigCPtr); - switch_error_period_t ret = (cPtr == IntPtr.Zero) ? null : new switch_error_period_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_error_period_t_next_get(swigCPtr); + switch_error_period_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_error_period_t(cPtr, false); return ret; } } @@ -34718,30 +34888,29 @@ public class switch_error_period_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_event : IDisposable { - private HandleRef swigCPtr; +public class switch_event : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_event(IntPtr cPtr, bool cMemoryOwn) { + internal switch_event(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_event obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_event obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_event() { @@ -34750,14 +34919,14 @@ public class switch_event : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_event(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -34806,8 +34975,8 @@ public class switch_event : IDisposable { freeswitchPINVOKE.switch_event_headers_set(swigCPtr, switch_event_header.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_event_headers_get(swigCPtr); - switch_event_header ret = (cPtr == IntPtr.Zero) ? null : new switch_event_header(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_event_headers_get(swigCPtr); + switch_event_header ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event_header(cPtr, false); return ret; } } @@ -34817,8 +34986,8 @@ public class switch_event : IDisposable { freeswitchPINVOKE.switch_event_last_header_set(swigCPtr, switch_event_header.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_event_last_header_get(swigCPtr); - switch_event_header ret = (cPtr == IntPtr.Zero) ? null : new switch_event_header(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_event_last_header_get(swigCPtr); + switch_event_header ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event_header(cPtr, false); return ret; } } @@ -34838,8 +35007,8 @@ public class switch_event : IDisposable { freeswitchPINVOKE.switch_event_bind_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_event_bind_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_event_bind_user_data_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -34849,8 +35018,8 @@ public class switch_event : IDisposable { freeswitchPINVOKE.switch_event_event_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_event_event_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_event_event_user_data_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -34870,8 +35039,8 @@ public class switch_event : IDisposable { freeswitchPINVOKE.switch_event_next_set(swigCPtr, switch_event.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_event_next_get(swigCPtr); - switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_event_next_get(swigCPtr); + switch_event ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event(cPtr, false); return ret; } } @@ -34892,13 +35061,15 @@ public class switch_event : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -34909,30 +35080,29 @@ public enum switch_event_flag_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_event_header : IDisposable { - private HandleRef swigCPtr; +public class switch_event_header : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_event_header(IntPtr cPtr, bool cMemoryOwn) { + internal switch_event_header(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_event_header obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_event_header obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_event_header() { @@ -34941,14 +35111,14 @@ public class switch_event_header : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_event_header(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -35006,8 +35176,8 @@ public class switch_event_header : IDisposable { freeswitchPINVOKE.switch_event_header_next_set(swigCPtr, switch_event_header.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_event_header_next_get(swigCPtr); - switch_event_header ret = (cPtr == IntPtr.Zero) ? null : new switch_event_header(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_event_header_next_get(swigCPtr); + switch_event_header ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event_header(cPtr, false); return ret; } } @@ -35018,13 +35188,15 @@ public class switch_event_header : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -35123,13 +35295,15 @@ public enum switch_event_types_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -35141,13 +35315,15 @@ public enum switch_file_command_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -35176,30 +35352,29 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_file_handle : IDisposable { - private HandleRef swigCPtr; +public class switch_file_handle : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_file_handle(IntPtr cPtr, bool cMemoryOwn) { + internal switch_file_handle(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_file_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_file_handle obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_file_handle() { @@ -35208,14 +35383,14 @@ public class switch_file_handle : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_file_handle(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -35224,8 +35399,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_file_interface_set(swigCPtr, switch_file_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_file_interface_get(swigCPtr); - switch_file_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_file_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_file_interface_get(swigCPtr); + switch_file_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_file_interface(cPtr, false); return ret; } } @@ -35245,8 +35420,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_fd_set(swigCPtr, SWIGTYPE_p_switch_file_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_fd_get(swigCPtr); - SWIGTYPE_p_switch_file_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_file_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_fd_get(swigCPtr); + SWIGTYPE_p_switch_file_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_file_t(cPtr, false); return ret; } } @@ -35358,8 +35533,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_memory_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_memory_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_memory_pool_get(swigCPtr); + SWIGTYPE_p_apr_pool_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); return ret; } } @@ -35389,8 +35564,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_private_info_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -35420,8 +35595,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_audio_buffer_set(swigCPtr, SWIGTYPE_p_switch_buffer.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_audio_buffer_get(swigCPtr); - SWIGTYPE_p_switch_buffer ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_audio_buffer_get(swigCPtr); + SWIGTYPE_p_switch_buffer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); return ret; } } @@ -35431,8 +35606,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_sp_audio_buffer_set(swigCPtr, SWIGTYPE_p_switch_buffer.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_sp_audio_buffer_get(swigCPtr); - SWIGTYPE_p_switch_buffer ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_sp_audio_buffer_get(swigCPtr); + SWIGTYPE_p_switch_buffer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); return ret; } } @@ -35506,8 +35681,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_resampler_set(swigCPtr, switch_audio_resampler_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_resampler_get(swigCPtr); - switch_audio_resampler_t ret = (cPtr == IntPtr.Zero) ? null : new switch_audio_resampler_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_resampler_get(swigCPtr); + switch_audio_resampler_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_audio_resampler_t(cPtr, false); return ret; } } @@ -35517,8 +35692,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_buffer_set(swigCPtr, SWIGTYPE_p_switch_buffer.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_buffer_get(swigCPtr); - SWIGTYPE_p_switch_buffer ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_buffer_get(swigCPtr); + SWIGTYPE_p_switch_buffer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); return ret; } } @@ -35528,8 +35703,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_dbuf_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_dbuf_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_dbuf_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return ret; } } @@ -35551,8 +35726,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_pre_buffer_set(swigCPtr, SWIGTYPE_p_switch_buffer.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_pre_buffer_get(swigCPtr); - SWIGTYPE_p_switch_buffer ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_pre_buffer_get(swigCPtr); + SWIGTYPE_p_switch_buffer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); return ret; } } @@ -35562,8 +35737,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_pre_buffer_data_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_pre_buffer_data_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_pre_buffer_data_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return ret; } } @@ -35655,8 +35830,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle__params_set(swigCPtr, switch_event.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle__params_get(swigCPtr); - switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle__params_get(swigCPtr); + switch_event ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event(cPtr, false); return ret; } } @@ -35706,8 +35881,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_mm_set(swigCPtr, switch_mm_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_mm_get(swigCPtr); - switch_mm_t ret = (cPtr == IntPtr.Zero) ? null : new switch_mm_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_mm_get(swigCPtr); + switch_mm_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_mm_t(cPtr, false); return ret; } } @@ -35717,8 +35892,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_flag_mutex_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_flag_mutex_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_flag_mutex_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -35748,8 +35923,8 @@ public class switch_file_handle : IDisposable { freeswitchPINVOKE.switch_file_handle_muxbuf_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_muxbuf_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_handle_muxbuf_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -35772,30 +35947,29 @@ public class switch_file_handle : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_file_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_file_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_file_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_file_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_file_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_file_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_file_interface() { @@ -35804,14 +35978,14 @@ public class switch_file_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_file_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -35830,8 +36004,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_file_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_open_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_open_get(swigCPtr); + SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_q_const__char__switch_status_t(cPtr, false); return ret; } } @@ -35841,8 +36015,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_file_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_close_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_close_get(swigCPtr); + SWIGTYPE_p_f_p_switch_file_handle__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle__switch_status_t(cPtr, false); return ret; } } @@ -35852,8 +36026,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_file_truncate_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_truncate_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_truncate_get(swigCPtr); + SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_long_long__switch_status_t(cPtr, false); return ret; } } @@ -35863,8 +36037,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_file_read_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_read_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_read_get(swigCPtr); + SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t(cPtr, false); return ret; } } @@ -35874,8 +36048,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_file_write_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_write_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_write_get(swigCPtr); + SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_void_p_switch_size_t__switch_status_t(cPtr, false); return ret; } } @@ -35885,8 +36059,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_file_read_video_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_read_video_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_read_video_get(swigCPtr); + SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame_enum_switch_video_read_flag_t__switch_status_t(cPtr, false); return ret; } } @@ -35896,8 +36070,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_file_write_video_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_write_video_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_write_video_get(swigCPtr); + SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_switch_frame__switch_status_t(cPtr, false); return ret; } } @@ -35907,8 +36081,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_file_seek_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_seek_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_seek_get(swigCPtr); + SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_p_unsigned_int_long_long_int__switch_status_t(cPtr, false); return ret; } } @@ -35918,8 +36092,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_file_set_string_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_set_string_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_set_string_get(swigCPtr); + SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_q_const__char__switch_status_t(cPtr, false); return ret; } } @@ -35929,8 +36103,19 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_file_get_string_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_get_string_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_get_string_get(swigCPtr); + SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_enum_switch_audio_col_t_p_p_q_const__char__switch_status_t(cPtr, false); + return ret; + } + } + + public SWIGTYPE_p_f_p_switch_file_handle__switch_status_t file_pre_close { + set { + freeswitchPINVOKE.switch_file_interface_file_pre_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle__switch_status_t.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_pre_close_get(swigCPtr); + SWIGTYPE_p_f_p_switch_file_handle__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle__switch_status_t(cPtr, false); return ret; } } @@ -35940,8 +36125,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_file_command_set(swigCPtr, SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_command_get(swigCPtr); - SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_file_command_get(swigCPtr); + SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_file_handle_enum_switch_file_command_t__switch_status_t(cPtr, false); return ret; } } @@ -35960,8 +36145,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -35981,8 +36166,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -35992,8 +36177,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -36003,8 +36188,8 @@ public class switch_file_interface : IDisposable { freeswitchPINVOKE.switch_file_interface_next_set(swigCPtr, switch_file_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_next_get(swigCPtr); - switch_file_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_file_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_file_interface_next_get(swigCPtr); + switch_file_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_file_interface(cPtr, false); return ret; } } @@ -36015,30 +36200,29 @@ public class switch_file_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_filenames : IDisposable { - private HandleRef swigCPtr; +public class switch_filenames : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_filenames(IntPtr cPtr, bool cMemoryOwn) { + internal switch_filenames(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_filenames obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_filenames obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_filenames() { @@ -36047,14 +36231,14 @@ public class switch_filenames : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_filenames(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -36074,30 +36258,29 @@ public class switch_filenames : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_frame : IDisposable { - private HandleRef swigCPtr; +public class switch_frame : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_frame(IntPtr cPtr, bool cMemoryOwn) { + internal switch_frame(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_frame obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_frame() { @@ -36106,14 +36289,14 @@ public class switch_frame : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_frame(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -36122,8 +36305,8 @@ public class switch_frame : IDisposable { freeswitchPINVOKE.switch_frame_codec_set(swigCPtr, switch_codec.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_codec_get(swigCPtr); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_frame_codec_get(swigCPtr); + switch_codec ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec(cPtr, false); return ret; } } @@ -36143,8 +36326,8 @@ public class switch_frame : IDisposable { freeswitchPINVOKE.switch_frame_packet_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_packet_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_frame_packet_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -36164,8 +36347,8 @@ public class switch_frame : IDisposable { freeswitchPINVOKE.switch_frame_extra_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_extra_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_frame_extra_data_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -36175,8 +36358,8 @@ public class switch_frame : IDisposable { freeswitchPINVOKE.switch_frame_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_frame_data_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -36296,8 +36479,8 @@ public class switch_frame : IDisposable { freeswitchPINVOKE.switch_frame_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_frame_user_data_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -36307,8 +36490,8 @@ public class switch_frame : IDisposable { freeswitchPINVOKE.switch_frame_pmap_set(swigCPtr, payload_map_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_pmap_get(swigCPtr); - payload_map_t ret = (cPtr == IntPtr.Zero) ? null : new payload_map_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_frame_pmap_get(swigCPtr); + payload_map_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new payload_map_t(cPtr, false); return ret; } } @@ -36318,8 +36501,8 @@ public class switch_frame : IDisposable { freeswitchPINVOKE.switch_frame_img_set(swigCPtr, SWIGTYPE_p_switch_image_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_img_get(swigCPtr); - SWIGTYPE_p_switch_image_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_image_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_frame_img_get(swigCPtr); + SWIGTYPE_p_switch_image_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_image_t(cPtr, false); return ret; } } @@ -36329,8 +36512,8 @@ public class switch_frame : IDisposable { freeswitchPINVOKE.switch_frame_geometry_set(swigCPtr, switch_frame_geometry_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_frame_geometry_get(swigCPtr); - switch_frame_geometry_t ret = (cPtr == IntPtr.Zero) ? null : new switch_frame_geometry_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_frame_geometry_get(swigCPtr); + switch_frame_geometry_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_frame_geometry_t(cPtr, false); return ret; } } @@ -36341,13 +36524,15 @@ public class switch_frame : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -36377,30 +36562,29 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_frame_geometry_t : IDisposable { - private HandleRef swigCPtr; +public class switch_frame_geometry_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_frame_geometry_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_frame_geometry_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_frame_geometry_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_frame_geometry_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_frame_geometry_t() { @@ -36409,14 +36593,14 @@ public class switch_frame_geometry_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_frame_geometry_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -36496,30 +36680,29 @@ public class switch_frame_geometry_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_hold_record_t : IDisposable { - private HandleRef swigCPtr; +public class switch_hold_record_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_hold_record_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_hold_record_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_hold_record_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_hold_record_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_hold_record_t() { @@ -36528,14 +36711,14 @@ public class switch_hold_record_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_hold_record_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -36578,8 +36761,8 @@ public class switch_hold_record_t : IDisposable { freeswitchPINVOKE.switch_hold_record_t_next_set(swigCPtr, switch_hold_record_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_hold_record_t_next_get(swigCPtr); - switch_hold_record_t ret = (cPtr == IntPtr.Zero) ? null : new switch_hold_record_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_hold_record_t_next_get(swigCPtr); + switch_hold_record_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_hold_record_t(cPtr, false); return ret; } } @@ -36590,30 +36773,29 @@ public class switch_hold_record_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_http_request_t : IDisposable { - private HandleRef swigCPtr; +public class switch_http_request_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_http_request_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_http_request_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_http_request_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_http_request_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_http_request_t() { @@ -36622,14 +36804,14 @@ public class switch_http_request_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_http_request_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -36796,8 +36978,8 @@ public class switch_http_request_t : IDisposable { freeswitchPINVOKE.switch_http_request_t_headers_set(swigCPtr, switch_event.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_http_request_t_headers_get(swigCPtr); - switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_http_request_t_headers_get(swigCPtr); + switch_event ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event(cPtr, false); return ret; } } @@ -36807,8 +36989,8 @@ public class switch_http_request_t : IDisposable { freeswitchPINVOKE.switch_http_request_t_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_http_request_t_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_http_request_t_user_data_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -36839,13 +37021,15 @@ public class switch_http_request_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -36856,30 +37040,29 @@ public enum switch_hup_type_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_input_args_t : IDisposable { - private HandleRef swigCPtr; +public class switch_input_args_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_input_args_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_input_args_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_input_args_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_input_args_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_input_args_t() { @@ -36888,14 +37071,14 @@ public class switch_input_args_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_input_args_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -36904,8 +37087,8 @@ public class switch_input_args_t : IDisposable { freeswitchPINVOKE.switch_input_args_t_input_callback_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_input_callback_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_input_callback_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_void_enum_switch_input_type_t_p_void_unsigned_int__switch_status_t(cPtr, false); return ret; } } @@ -36915,8 +37098,8 @@ public class switch_input_args_t : IDisposable { freeswitchPINVOKE.switch_input_args_t_buf_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_buf_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_buf_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -36936,8 +37119,8 @@ public class switch_input_args_t : IDisposable { freeswitchPINVOKE.switch_input_args_t_read_frame_callback_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_read_frame_callback_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_read_frame_callback_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_p_void__switch_status_t(cPtr, false); return ret; } } @@ -36947,8 +37130,8 @@ public class switch_input_args_t : IDisposable { freeswitchPINVOKE.switch_input_args_t_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_user_data_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -36958,8 +37141,8 @@ public class switch_input_args_t : IDisposable { freeswitchPINVOKE.switch_input_args_t_dmachine_set(swigCPtr, SWIGTYPE_p_switch_ivr_dmachine.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_dmachine_get(swigCPtr); - SWIGTYPE_p_switch_ivr_dmachine ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_ivr_dmachine(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_input_args_t_dmachine_get(swigCPtr); + SWIGTYPE_p_switch_ivr_dmachine ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_ivr_dmachine(cPtr, false); return ret; } } @@ -36980,13 +37163,15 @@ public class switch_input_args_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -36996,30 +37181,29 @@ public enum switch_input_type_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_kill_channel : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_kill_channel : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_kill_channel(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_kill_channel(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_kill_channel obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_kill_channel obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_kill_channel() { @@ -37028,14 +37212,14 @@ public class switch_io_event_hook_kill_channel : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_kill_channel(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -37044,8 +37228,8 @@ public class switch_io_event_hook_kill_channel : IDisposable { freeswitchPINVOKE.switch_io_event_hook_kill_channel_kill_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_kill_channel_kill_channel_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_kill_channel_kill_channel_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t(cPtr, false); return ret; } } @@ -37055,8 +37239,8 @@ public class switch_io_event_hook_kill_channel : IDisposable { freeswitchPINVOKE.switch_io_event_hook_kill_channel_next_set(swigCPtr, switch_io_event_hook_kill_channel.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_kill_channel_next_get(swigCPtr); - switch_io_event_hook_kill_channel ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_kill_channel(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_kill_channel_next_get(swigCPtr); + switch_io_event_hook_kill_channel ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_kill_channel(cPtr, false); return ret; } } @@ -37067,30 +37251,29 @@ public class switch_io_event_hook_kill_channel : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_outgoing_channel : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_outgoing_channel : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_outgoing_channel(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_outgoing_channel(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_outgoing_channel obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_outgoing_channel obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_outgoing_channel() { @@ -37099,14 +37282,14 @@ public class switch_io_event_hook_outgoing_channel : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_outgoing_channel(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -37115,8 +37298,8 @@ public class switch_io_event_hook_outgoing_channel : IDisposable { freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_outgoing_channel_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_outgoing_channel_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_switch_core_session_unsigned_long__switch_status_t(cPtr, false); return ret; } } @@ -37126,8 +37309,8 @@ public class switch_io_event_hook_outgoing_channel : IDisposable { freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_next_set(swigCPtr, switch_io_event_hook_outgoing_channel.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_next_get(swigCPtr); - switch_io_event_hook_outgoing_channel ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_outgoing_channel(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_outgoing_channel_next_get(swigCPtr); + switch_io_event_hook_outgoing_channel ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_outgoing_channel(cPtr, false); return ret; } } @@ -37138,30 +37321,29 @@ public class switch_io_event_hook_outgoing_channel : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_read_frame : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_read_frame : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_read_frame(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_read_frame(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_read_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_read_frame obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_read_frame() { @@ -37170,14 +37352,14 @@ public class switch_io_event_hook_read_frame : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_read_frame(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -37186,8 +37368,8 @@ public class switch_io_event_hook_read_frame : IDisposable { freeswitchPINVOKE.switch_io_event_hook_read_frame_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_read_frame_read_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_read_frame_read_frame_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); return ret; } } @@ -37197,8 +37379,8 @@ public class switch_io_event_hook_read_frame : IDisposable { freeswitchPINVOKE.switch_io_event_hook_read_frame_next_set(swigCPtr, switch_io_event_hook_read_frame.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_read_frame_next_get(swigCPtr); - switch_io_event_hook_read_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_read_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_read_frame_next_get(swigCPtr); + switch_io_event_hook_read_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_read_frame(cPtr, false); return ret; } } @@ -37209,30 +37391,29 @@ public class switch_io_event_hook_read_frame : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_receive_event : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_receive_event : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_receive_event(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_receive_event(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_receive_event obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_receive_event obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_receive_event() { @@ -37241,14 +37422,14 @@ public class switch_io_event_hook_receive_event : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_receive_event(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -37257,8 +37438,8 @@ public class switch_io_event_hook_receive_event : IDisposable { freeswitchPINVOKE.switch_io_event_hook_receive_event_receive_event_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_receive_event_receive_event_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_receive_event_receive_event_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t(cPtr, false); return ret; } } @@ -37268,8 +37449,8 @@ public class switch_io_event_hook_receive_event : IDisposable { freeswitchPINVOKE.switch_io_event_hook_receive_event_next_set(swigCPtr, switch_io_event_hook_receive_event.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_receive_event_next_get(swigCPtr); - switch_io_event_hook_receive_event ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_receive_event(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_receive_event_next_get(swigCPtr); + switch_io_event_hook_receive_event ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_receive_event(cPtr, false); return ret; } } @@ -37280,30 +37461,29 @@ public class switch_io_event_hook_receive_event : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_receive_message : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_receive_message : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_receive_message(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_receive_message(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_receive_message obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_receive_message obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_receive_message() { @@ -37312,14 +37492,14 @@ public class switch_io_event_hook_receive_message : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_receive_message(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -37328,8 +37508,8 @@ public class switch_io_event_hook_receive_message : IDisposable { freeswitchPINVOKE.switch_io_event_hook_receive_message_receive_message_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_receive_message_receive_message_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_receive_message_receive_message_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t(cPtr, false); return ret; } } @@ -37339,8 +37519,8 @@ public class switch_io_event_hook_receive_message : IDisposable { freeswitchPINVOKE.switch_io_event_hook_receive_message_next_set(swigCPtr, switch_io_event_hook_receive_message.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_receive_message_next_get(swigCPtr); - switch_io_event_hook_receive_message ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_receive_message(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_receive_message_next_get(swigCPtr); + switch_io_event_hook_receive_message ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_receive_message(cPtr, false); return ret; } } @@ -37351,30 +37531,29 @@ public class switch_io_event_hook_receive_message : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_recv_dtmf : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_recv_dtmf : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_recv_dtmf(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_recv_dtmf(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_recv_dtmf obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_recv_dtmf obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_recv_dtmf() { @@ -37383,14 +37562,14 @@ public class switch_io_event_hook_recv_dtmf : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_recv_dtmf(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -37399,8 +37578,8 @@ public class switch_io_event_hook_recv_dtmf : IDisposable { freeswitchPINVOKE.switch_io_event_hook_recv_dtmf_recv_dtmf_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_recv_dtmf_recv_dtmf_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_recv_dtmf_recv_dtmf_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t(cPtr, false); return ret; } } @@ -37410,8 +37589,8 @@ public class switch_io_event_hook_recv_dtmf : IDisposable { freeswitchPINVOKE.switch_io_event_hook_recv_dtmf_next_set(swigCPtr, switch_io_event_hook_recv_dtmf.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_recv_dtmf_next_get(swigCPtr); - switch_io_event_hook_recv_dtmf ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_recv_dtmf(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_recv_dtmf_next_get(swigCPtr); + switch_io_event_hook_recv_dtmf ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_recv_dtmf(cPtr, false); return ret; } } @@ -37422,233 +37601,29 @@ public class switch_io_event_hook_recv_dtmf : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hooks : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_send_dtmf : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hooks(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_send_dtmf(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hooks obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_io_event_hooks() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_io_event_hooks(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public switch_io_event_hook_outgoing_channel outgoing_channel { - set { - freeswitchPINVOKE.switch_io_event_hooks_outgoing_channel_set(swigCPtr, switch_io_event_hook_outgoing_channel.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_outgoing_channel_get(swigCPtr); - switch_io_event_hook_outgoing_channel ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_outgoing_channel(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_receive_message receive_message { - set { - freeswitchPINVOKE.switch_io_event_hooks_receive_message_set(swigCPtr, switch_io_event_hook_receive_message.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_receive_message_get(swigCPtr); - switch_io_event_hook_receive_message ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_receive_message(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_receive_event receive_event { - set { - freeswitchPINVOKE.switch_io_event_hooks_receive_event_set(swigCPtr, switch_io_event_hook_receive_event.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_receive_event_get(swigCPtr); - switch_io_event_hook_receive_event ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_receive_event(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_read_frame read_frame { - set { - freeswitchPINVOKE.switch_io_event_hooks_read_frame_set(swigCPtr, switch_io_event_hook_read_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_read_frame_get(swigCPtr); - switch_io_event_hook_read_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_read_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_video_read_frame video_read_frame { - set { - freeswitchPINVOKE.switch_io_event_hooks_video_read_frame_set(swigCPtr, switch_io_event_hook_video_read_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_video_read_frame_get(swigCPtr); - switch_io_event_hook_video_read_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_video_read_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_write_frame write_frame { - set { - freeswitchPINVOKE.switch_io_event_hooks_write_frame_set(swigCPtr, switch_io_event_hook_write_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_write_frame_get(swigCPtr); - switch_io_event_hook_write_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_write_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_video_write_frame video_write_frame { - set { - freeswitchPINVOKE.switch_io_event_hooks_video_write_frame_set(swigCPtr, switch_io_event_hook_video_write_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_video_write_frame_get(swigCPtr); - switch_io_event_hook_video_write_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_video_write_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_text_write_frame text_write_frame { - set { - freeswitchPINVOKE.switch_io_event_hooks_text_write_frame_set(swigCPtr, switch_io_event_hook_text_write_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_text_write_frame_get(swigCPtr); - switch_io_event_hook_text_write_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_text_write_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_text_read_frame text_read_frame { - set { - freeswitchPINVOKE.switch_io_event_hooks_text_read_frame_set(swigCPtr, switch_io_event_hook_text_read_frame.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_text_read_frame_get(swigCPtr); - switch_io_event_hook_text_read_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_text_read_frame(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_kill_channel kill_channel { - set { - freeswitchPINVOKE.switch_io_event_hooks_kill_channel_set(swigCPtr, switch_io_event_hook_kill_channel.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_kill_channel_get(swigCPtr); - switch_io_event_hook_kill_channel ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_kill_channel(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_send_dtmf send_dtmf { - set { - freeswitchPINVOKE.switch_io_event_hooks_send_dtmf_set(swigCPtr, switch_io_event_hook_send_dtmf.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_send_dtmf_get(swigCPtr); - switch_io_event_hook_send_dtmf ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_send_dtmf(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_recv_dtmf recv_dtmf { - set { - freeswitchPINVOKE.switch_io_event_hooks_recv_dtmf_set(swigCPtr, switch_io_event_hook_recv_dtmf.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_recv_dtmf_get(swigCPtr); - switch_io_event_hook_recv_dtmf ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_recv_dtmf(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_state_change state_change { - set { - freeswitchPINVOKE.switch_io_event_hooks_state_change_set(swigCPtr, switch_io_event_hook_state_change.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_state_change_get(swigCPtr); - switch_io_event_hook_state_change ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_state_change(cPtr, false); - return ret; - } - } - - public switch_io_event_hook_state_run state_run { - set { - freeswitchPINVOKE.switch_io_event_hooks_state_run_set(swigCPtr, switch_io_event_hook_state_run.getCPtr(value)); - } - get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_state_run_get(swigCPtr); - switch_io_event_hook_state_run ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_state_run(cPtr, false); - return ret; - } - } - - public switch_io_event_hooks() : this(freeswitchPINVOKE.new_switch_io_event_hooks(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_send_dtmf : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_io_event_hook_send_dtmf(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_io_event_hook_send_dtmf obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_send_dtmf obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_send_dtmf() { @@ -37657,14 +37632,14 @@ public class switch_io_event_hook_send_dtmf : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_send_dtmf(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -37673,8 +37648,8 @@ public class switch_io_event_hook_send_dtmf : IDisposable { freeswitchPINVOKE.switch_io_event_hook_send_dtmf_send_dtmf_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_send_dtmf_send_dtmf_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_send_dtmf_send_dtmf_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t_enum_switch_dtmf_direction_t__switch_status_t(cPtr, false); return ret; } } @@ -37684,8 +37659,8 @@ public class switch_io_event_hook_send_dtmf : IDisposable { freeswitchPINVOKE.switch_io_event_hook_send_dtmf_next_set(swigCPtr, switch_io_event_hook_send_dtmf.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_send_dtmf_next_get(swigCPtr); - switch_io_event_hook_send_dtmf ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_send_dtmf(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_send_dtmf_next_get(swigCPtr); + switch_io_event_hook_send_dtmf ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_send_dtmf(cPtr, false); return ret; } } @@ -37696,30 +37671,29 @@ public class switch_io_event_hook_send_dtmf : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_state_change : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_state_change : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_state_change(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_state_change(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_state_change obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_state_change obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_state_change() { @@ -37728,14 +37702,14 @@ public class switch_io_event_hook_state_change : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_state_change(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -37744,8 +37718,8 @@ public class switch_io_event_hook_state_change : IDisposable { freeswitchPINVOKE.switch_io_event_hook_state_change_state_change_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_change_state_change_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_change_state_change_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -37755,8 +37729,8 @@ public class switch_io_event_hook_state_change : IDisposable { freeswitchPINVOKE.switch_io_event_hook_state_change_next_set(swigCPtr, switch_io_event_hook_state_change.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_change_next_get(swigCPtr); - switch_io_event_hook_state_change ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_state_change(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_change_next_get(swigCPtr); + switch_io_event_hook_state_change ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_state_change(cPtr, false); return ret; } } @@ -37767,30 +37741,29 @@ public class switch_io_event_hook_state_change : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_state_run : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_state_run : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_state_run(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_state_run(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_state_run obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_state_run obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_state_run() { @@ -37799,14 +37772,14 @@ public class switch_io_event_hook_state_run : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_state_run(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -37815,8 +37788,8 @@ public class switch_io_event_hook_state_run : IDisposable { freeswitchPINVOKE.switch_io_event_hook_state_run_state_run_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_run_state_run_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_run_state_run_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -37826,8 +37799,8 @@ public class switch_io_event_hook_state_run : IDisposable { freeswitchPINVOKE.switch_io_event_hook_state_run_next_set(swigCPtr, switch_io_event_hook_state_run.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_run_next_get(swigCPtr); - switch_io_event_hook_state_run ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_state_run(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_state_run_next_get(swigCPtr); + switch_io_event_hook_state_run ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_state_run(cPtr, false); return ret; } } @@ -37838,30 +37811,29 @@ public class switch_io_event_hook_state_run : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_text_read_frame : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_text_read_frame : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_text_read_frame(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_text_read_frame(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_text_read_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_text_read_frame obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_text_read_frame() { @@ -37870,14 +37842,14 @@ public class switch_io_event_hook_text_read_frame : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_text_read_frame(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -37886,8 +37858,8 @@ public class switch_io_event_hook_text_read_frame : IDisposable { freeswitchPINVOKE.switch_io_event_hook_text_read_frame_text_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_text_read_frame_text_read_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_text_read_frame_text_read_frame_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); return ret; } } @@ -37897,8 +37869,8 @@ public class switch_io_event_hook_text_read_frame : IDisposable { freeswitchPINVOKE.switch_io_event_hook_text_read_frame_next_set(swigCPtr, switch_io_event_hook_text_read_frame.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_text_read_frame_next_get(swigCPtr); - switch_io_event_hook_text_read_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_text_read_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_text_read_frame_next_get(swigCPtr); + switch_io_event_hook_text_read_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_text_read_frame(cPtr, false); return ret; } } @@ -37909,30 +37881,29 @@ public class switch_io_event_hook_text_read_frame : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_text_write_frame : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_text_write_frame : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_text_write_frame(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_text_write_frame(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_text_write_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_text_write_frame obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_text_write_frame() { @@ -37941,14 +37912,14 @@ public class switch_io_event_hook_text_write_frame : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_text_write_frame(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -37957,8 +37928,8 @@ public class switch_io_event_hook_text_write_frame : IDisposable { freeswitchPINVOKE.switch_io_event_hook_text_write_frame_text_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_text_write_frame_text_write_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_text_write_frame_text_write_frame_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); return ret; } } @@ -37968,8 +37939,8 @@ public class switch_io_event_hook_text_write_frame : IDisposable { freeswitchPINVOKE.switch_io_event_hook_text_write_frame_next_set(swigCPtr, switch_io_event_hook_text_write_frame.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_text_write_frame_next_get(swigCPtr); - switch_io_event_hook_text_write_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_text_write_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_text_write_frame_next_get(swigCPtr); + switch_io_event_hook_text_write_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_text_write_frame(cPtr, false); return ret; } } @@ -37980,30 +37951,29 @@ public class switch_io_event_hook_text_write_frame : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_video_read_frame : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_video_read_frame : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_video_read_frame(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_video_read_frame(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_video_read_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_video_read_frame obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_video_read_frame() { @@ -38012,14 +37982,14 @@ public class switch_io_event_hook_video_read_frame : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_video_read_frame(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -38028,8 +37998,8 @@ public class switch_io_event_hook_video_read_frame : IDisposable { freeswitchPINVOKE.switch_io_event_hook_video_read_frame_video_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_read_frame_video_read_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_read_frame_video_read_frame_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); return ret; } } @@ -38039,8 +38009,8 @@ public class switch_io_event_hook_video_read_frame : IDisposable { freeswitchPINVOKE.switch_io_event_hook_video_read_frame_next_set(swigCPtr, switch_io_event_hook_video_read_frame.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_read_frame_next_get(swigCPtr); - switch_io_event_hook_video_read_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_video_read_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_read_frame_next_get(swigCPtr); + switch_io_event_hook_video_read_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_video_read_frame(cPtr, false); return ret; } } @@ -38051,30 +38021,29 @@ public class switch_io_event_hook_video_read_frame : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_video_write_frame : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_video_write_frame : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_video_write_frame(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_video_write_frame(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_video_write_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_video_write_frame obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_video_write_frame() { @@ -38083,14 +38052,14 @@ public class switch_io_event_hook_video_write_frame : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_video_write_frame(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -38099,8 +38068,8 @@ public class switch_io_event_hook_video_write_frame : IDisposable { freeswitchPINVOKE.switch_io_event_hook_video_write_frame_video_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_write_frame_video_write_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_write_frame_video_write_frame_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); return ret; } } @@ -38110,8 +38079,8 @@ public class switch_io_event_hook_video_write_frame : IDisposable { freeswitchPINVOKE.switch_io_event_hook_video_write_frame_next_set(swigCPtr, switch_io_event_hook_video_write_frame.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_write_frame_next_get(swigCPtr); - switch_io_event_hook_video_write_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_video_write_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_video_write_frame_next_get(swigCPtr); + switch_io_event_hook_video_write_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_video_write_frame(cPtr, false); return ret; } } @@ -38122,30 +38091,29 @@ public class switch_io_event_hook_video_write_frame : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_event_hook_write_frame : IDisposable { - private HandleRef swigCPtr; +public class switch_io_event_hook_write_frame : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_event_hook_write_frame(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_event_hook_write_frame(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_event_hook_write_frame obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hook_write_frame obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_event_hook_write_frame() { @@ -38154,14 +38122,14 @@ public class switch_io_event_hook_write_frame : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_event_hook_write_frame(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -38170,8 +38138,8 @@ public class switch_io_event_hook_write_frame : IDisposable { freeswitchPINVOKE.switch_io_event_hook_write_frame_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_write_frame_write_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_write_frame_write_frame_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); return ret; } } @@ -38181,8 +38149,8 @@ public class switch_io_event_hook_write_frame : IDisposable { freeswitchPINVOKE.switch_io_event_hook_write_frame_next_set(swigCPtr, switch_io_event_hook_write_frame.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_write_frame_next_get(swigCPtr); - switch_io_event_hook_write_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_io_event_hook_write_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hook_write_frame_next_get(swigCPtr); + switch_io_event_hook_write_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_write_frame(cPtr, false); return ret; } } @@ -38193,13 +38161,217 @@ public class switch_io_event_hook_write_frame : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class switch_io_event_hooks : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal switch_io_event_hooks(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_event_hooks obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~switch_io_event_hooks() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + freeswitchPINVOKE.delete_switch_io_event_hooks(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public switch_io_event_hook_outgoing_channel outgoing_channel { + set { + freeswitchPINVOKE.switch_io_event_hooks_outgoing_channel_set(swigCPtr, switch_io_event_hook_outgoing_channel.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_outgoing_channel_get(swigCPtr); + switch_io_event_hook_outgoing_channel ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_outgoing_channel(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_receive_message receive_message { + set { + freeswitchPINVOKE.switch_io_event_hooks_receive_message_set(swigCPtr, switch_io_event_hook_receive_message.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_receive_message_get(swigCPtr); + switch_io_event_hook_receive_message ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_receive_message(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_receive_event receive_event { + set { + freeswitchPINVOKE.switch_io_event_hooks_receive_event_set(swigCPtr, switch_io_event_hook_receive_event.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_receive_event_get(swigCPtr); + switch_io_event_hook_receive_event ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_receive_event(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_read_frame read_frame { + set { + freeswitchPINVOKE.switch_io_event_hooks_read_frame_set(swigCPtr, switch_io_event_hook_read_frame.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_read_frame_get(swigCPtr); + switch_io_event_hook_read_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_read_frame(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_video_read_frame video_read_frame { + set { + freeswitchPINVOKE.switch_io_event_hooks_video_read_frame_set(swigCPtr, switch_io_event_hook_video_read_frame.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_video_read_frame_get(swigCPtr); + switch_io_event_hook_video_read_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_video_read_frame(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_write_frame write_frame { + set { + freeswitchPINVOKE.switch_io_event_hooks_write_frame_set(swigCPtr, switch_io_event_hook_write_frame.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_write_frame_get(swigCPtr); + switch_io_event_hook_write_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_write_frame(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_video_write_frame video_write_frame { + set { + freeswitchPINVOKE.switch_io_event_hooks_video_write_frame_set(swigCPtr, switch_io_event_hook_video_write_frame.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_video_write_frame_get(swigCPtr); + switch_io_event_hook_video_write_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_video_write_frame(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_text_write_frame text_write_frame { + set { + freeswitchPINVOKE.switch_io_event_hooks_text_write_frame_set(swigCPtr, switch_io_event_hook_text_write_frame.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_text_write_frame_get(swigCPtr); + switch_io_event_hook_text_write_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_text_write_frame(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_text_read_frame text_read_frame { + set { + freeswitchPINVOKE.switch_io_event_hooks_text_read_frame_set(swigCPtr, switch_io_event_hook_text_read_frame.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_text_read_frame_get(swigCPtr); + switch_io_event_hook_text_read_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_text_read_frame(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_kill_channel kill_channel { + set { + freeswitchPINVOKE.switch_io_event_hooks_kill_channel_set(swigCPtr, switch_io_event_hook_kill_channel.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_kill_channel_get(swigCPtr); + switch_io_event_hook_kill_channel ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_kill_channel(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_send_dtmf send_dtmf { + set { + freeswitchPINVOKE.switch_io_event_hooks_send_dtmf_set(swigCPtr, switch_io_event_hook_send_dtmf.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_send_dtmf_get(swigCPtr); + switch_io_event_hook_send_dtmf ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_send_dtmf(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_recv_dtmf recv_dtmf { + set { + freeswitchPINVOKE.switch_io_event_hooks_recv_dtmf_set(swigCPtr, switch_io_event_hook_recv_dtmf.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_recv_dtmf_get(swigCPtr); + switch_io_event_hook_recv_dtmf ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_recv_dtmf(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_state_change state_change { + set { + freeswitchPINVOKE.switch_io_event_hooks_state_change_set(swigCPtr, switch_io_event_hook_state_change.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_state_change_get(swigCPtr); + switch_io_event_hook_state_change ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_state_change(cPtr, false); + return ret; + } + } + + public switch_io_event_hook_state_run state_run { + set { + freeswitchPINVOKE.switch_io_event_hooks_state_run_set(swigCPtr, switch_io_event_hook_state_run.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_event_hooks_state_run_get(swigCPtr); + switch_io_event_hook_state_run ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_io_event_hook_state_run(cPtr, false); + return ret; + } + } + + public switch_io_event_hooks() : this(freeswitchPINVOKE.new_switch_io_event_hooks(), true) { + } + +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -38212,13 +38384,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -38239,30 +38413,29 @@ public enum switch_io_routine_name_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_io_routines : IDisposable { - private HandleRef swigCPtr; +public class switch_io_routines : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_io_routines(IntPtr cPtr, bool cMemoryOwn) { + internal switch_io_routines(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_io_routines obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_io_routines obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_io_routines() { @@ -38271,14 +38444,14 @@ public class switch_io_routines : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_io_routines(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -38287,8 +38460,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_outgoing_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_outgoing_channel_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_outgoing_channel_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event_p_switch_caller_profile_p_p_switch_core_session_p_p_apr_pool_t_unsigned_long_p_enum_switch_call_cause_t__switch_call_cause_t(cPtr, false); return ret; } } @@ -38298,8 +38471,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_read_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_read_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_read_frame_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); return ret; } } @@ -38309,8 +38482,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_write_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_write_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_write_frame_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); return ret; } } @@ -38320,8 +38493,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_kill_channel_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_kill_channel_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_kill_channel_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_int__switch_status_t(cPtr, false); return ret; } } @@ -38331,8 +38504,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_send_dtmf_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_send_dtmf_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_send_dtmf_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__switch_dtmf_t__switch_status_t(cPtr, false); return ret; } } @@ -38342,8 +38515,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_receive_message_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_receive_message_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_receive_message_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_core_session_message__switch_status_t(cPtr, false); return ret; } } @@ -38353,8 +38526,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_receive_event_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_receive_event_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_receive_event_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_event__switch_status_t(cPtr, false); return ret; } } @@ -38364,8 +38537,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_state_change_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_state_change_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_state_change_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -38375,8 +38548,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_read_video_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_read_video_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_read_video_frame_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); return ret; } } @@ -38386,8 +38559,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_write_video_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_write_video_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_write_video_frame_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); return ret; } } @@ -38397,8 +38570,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_read_text_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_read_text_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_read_text_frame_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); return ret; } } @@ -38408,8 +38581,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_write_text_frame_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_write_text_frame_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_write_text_frame_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_switch_frame_unsigned_long_int__switch_status_t(cPtr, false); return ret; } } @@ -38419,8 +38592,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_state_run_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_state_run_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_state_run_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -38430,8 +38603,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_get_jb_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_get_jb_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_get_jb_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_t_switch_media_type_t__p_switch_jb_s(cPtr, false); return ret; } } @@ -38441,8 +38614,8 @@ public class switch_io_routines : IDisposable { freeswitchPINVOKE.switch_io_routines_padding_set(swigCPtr, SWIGTYPE_p_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_padding_get(swigCPtr); - SWIGTYPE_p_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_io_routines_padding_get(swigCPtr); + SWIGTYPE_p_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_p_void(cPtr, false); return ret; } } @@ -38453,13 +38626,15 @@ public class switch_io_routines : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -38469,13 +38644,15 @@ public enum switch_io_type_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -38490,30 +38667,29 @@ public enum switch_ivr_action_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_ivr_dmachine_match : IDisposable { - private HandleRef swigCPtr; +public class switch_ivr_dmachine_match : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_ivr_dmachine_match(IntPtr cPtr, bool cMemoryOwn) { + internal switch_ivr_dmachine_match(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_ivr_dmachine_match obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_ivr_dmachine_match obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_ivr_dmachine_match() { @@ -38522,14 +38698,14 @@ public class switch_ivr_dmachine_match : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_ivr_dmachine_match(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -38538,8 +38714,8 @@ public class switch_ivr_dmachine_match : IDisposable { freeswitchPINVOKE.switch_ivr_dmachine_match_dmachine_set(swigCPtr, SWIGTYPE_p_switch_ivr_dmachine.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_ivr_dmachine_match_dmachine_get(swigCPtr); - SWIGTYPE_p_switch_ivr_dmachine ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_ivr_dmachine(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_ivr_dmachine_match_dmachine_get(swigCPtr); + SWIGTYPE_p_switch_ivr_dmachine ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_ivr_dmachine(cPtr, false); return ret; } } @@ -38579,8 +38755,8 @@ public class switch_ivr_dmachine_match : IDisposable { freeswitchPINVOKE.switch_ivr_dmachine_match_user_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_ivr_dmachine_match_user_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_ivr_dmachine_match_user_data_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -38591,13 +38767,15 @@ public class switch_ivr_dmachine_match : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -38608,13 +38786,15 @@ public enum switch_ivr_menu_flags { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -38625,30 +38805,29 @@ public enum switch_ivr_option_enum_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_json_api_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_json_api_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_json_api_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_json_api_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_json_api_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_json_api_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_json_api_interface() { @@ -38657,14 +38836,14 @@ public class switch_json_api_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_json_api_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -38693,8 +38872,8 @@ public class switch_json_api_interface : IDisposable { freeswitchPINVOKE.switch_json_api_interface_function_set(swigCPtr, SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_function_get(swigCPtr); - SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_function_get(swigCPtr); + SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__cJSON_p_switch_core_session_p_p_cJSON__switch_status_t(cPtr, false); return ret; } } @@ -38714,8 +38893,8 @@ public class switch_json_api_interface : IDisposable { freeswitchPINVOKE.switch_json_api_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -38735,8 +38914,8 @@ public class switch_json_api_interface : IDisposable { freeswitchPINVOKE.switch_json_api_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -38746,8 +38925,8 @@ public class switch_json_api_interface : IDisposable { freeswitchPINVOKE.switch_json_api_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -38757,8 +38936,8 @@ public class switch_json_api_interface : IDisposable { freeswitchPINVOKE.switch_json_api_interface_next_set(swigCPtr, switch_json_api_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_next_get(swigCPtr); - switch_json_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_json_api_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_json_api_interface_next_get(swigCPtr); + switch_json_api_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_json_api_interface(cPtr, false); return ret; } } @@ -38769,30 +38948,29 @@ public class switch_json_api_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_limit_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_limit_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_limit_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_limit_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_limit_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_limit_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_limit_interface() { @@ -38801,14 +38979,14 @@ public class switch_limit_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_limit_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -38827,8 +39005,8 @@ public class switch_limit_interface : IDisposable { freeswitchPINVOKE.switch_limit_interface_incr_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_incr_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_incr_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char_q_const__int_q_const__int__switch_status_t(cPtr, false); return ret; } } @@ -38838,8 +39016,8 @@ public class switch_limit_interface : IDisposable { freeswitchPINVOKE.switch_limit_interface_release_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_release_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_release_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_q_const__char_p_q_const__char__switch_status_t(cPtr, false); return ret; } } @@ -38849,8 +39027,8 @@ public class switch_limit_interface : IDisposable { freeswitchPINVOKE.switch_limit_interface_usage_set(swigCPtr, SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_usage_get(swigCPtr); - SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_usage_get(swigCPtr); + SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_q_const__char_p_unsigned_long__int(cPtr, false); return ret; } } @@ -38860,8 +39038,8 @@ public class switch_limit_interface : IDisposable { freeswitchPINVOKE.switch_limit_interface_reset_set(swigCPtr, SWIGTYPE_p_f_void__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_reset_get(swigCPtr); - SWIGTYPE_p_f_void__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_reset_get(swigCPtr); + SWIGTYPE_p_f_void__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__switch_status_t(cPtr, false); return ret; } } @@ -38871,8 +39049,8 @@ public class switch_limit_interface : IDisposable { freeswitchPINVOKE.switch_limit_interface_status_set(swigCPtr, SWIGTYPE_p_f_void__p_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_status_get(swigCPtr); - SWIGTYPE_p_f_void__p_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__p_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_status_get(swigCPtr); + SWIGTYPE_p_f_void__p_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__p_char(cPtr, false); return ret; } } @@ -38882,8 +39060,8 @@ public class switch_limit_interface : IDisposable { freeswitchPINVOKE.switch_limit_interface_interval_reset_set(swigCPtr, SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_interval_reset_get(swigCPtr); - SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_interval_reset_get(swigCPtr); + SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_q_const__char__switch_status_t(cPtr, false); return ret; } } @@ -38893,8 +39071,8 @@ public class switch_limit_interface : IDisposable { freeswitchPINVOKE.switch_limit_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -38914,8 +39092,8 @@ public class switch_limit_interface : IDisposable { freeswitchPINVOKE.switch_limit_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -38925,8 +39103,8 @@ public class switch_limit_interface : IDisposable { freeswitchPINVOKE.switch_limit_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -38936,8 +39114,8 @@ public class switch_limit_interface : IDisposable { freeswitchPINVOKE.switch_limit_interface_next_set(swigCPtr, switch_limit_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_next_get(swigCPtr); - switch_limit_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_limit_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_limit_interface_next_get(swigCPtr); + switch_limit_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_limit_interface(cPtr, false); return ret; } } @@ -38948,30 +39126,29 @@ public class switch_limit_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_loadable_module_function_table_t : IDisposable { - private HandleRef swigCPtr; +public class switch_loadable_module_function_table_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_loadable_module_function_table_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_loadable_module_function_table_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_loadable_module_function_table_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_loadable_module_function_table_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_loadable_module_function_table_t() { @@ -38980,14 +39157,14 @@ public class switch_loadable_module_function_table_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_loadable_module_function_table_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -39006,8 +39183,8 @@ public class switch_loadable_module_function_table_t : IDisposable { freeswitchPINVOKE.switch_loadable_module_function_table_t_load_set(swigCPtr, SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_function_table_t_load_get(swigCPtr); - SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_function_table_t_load_get(swigCPtr); + SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_p_switch_loadable_module_interface_p_apr_pool_t__switch_status_t(cPtr, false); return ret; } } @@ -39017,8 +39194,8 @@ public class switch_loadable_module_function_table_t : IDisposable { freeswitchPINVOKE.switch_loadable_module_function_table_t_shutdown_set(swigCPtr, SWIGTYPE_p_f_void__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_function_table_t_shutdown_get(swigCPtr); - SWIGTYPE_p_f_void__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_function_table_t_shutdown_get(swigCPtr); + SWIGTYPE_p_f_void__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__switch_status_t(cPtr, false); return ret; } } @@ -39028,8 +39205,8 @@ public class switch_loadable_module_function_table_t : IDisposable { freeswitchPINVOKE.switch_loadable_module_function_table_t_runtime_set(swigCPtr, SWIGTYPE_p_f_void__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_function_table_t_runtime_get(swigCPtr); - SWIGTYPE_p_f_void__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_function_table_t_runtime_get(swigCPtr); + SWIGTYPE_p_f_void__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_void__switch_status_t(cPtr, false); return ret; } } @@ -39050,30 +39227,29 @@ public class switch_loadable_module_function_table_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_loadable_module_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_loadable_module_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_loadable_module_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_loadable_module_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_loadable_module_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_loadable_module_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_loadable_module_interface() { @@ -39082,14 +39258,14 @@ public class switch_loadable_module_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_loadable_module_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -39108,8 +39284,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_endpoint_interface_set(swigCPtr, switch_endpoint_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_endpoint_interface_get(swigCPtr); - switch_endpoint_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_endpoint_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_endpoint_interface_get(swigCPtr); + switch_endpoint_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_endpoint_interface(cPtr, false); return ret; } } @@ -39119,8 +39295,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_timer_interface_set(swigCPtr, switch_timer_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_timer_interface_get(swigCPtr); - switch_timer_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_timer_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_timer_interface_get(swigCPtr); + switch_timer_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_timer_interface(cPtr, false); return ret; } } @@ -39130,8 +39306,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_dialplan_interface_set(swigCPtr, switch_dialplan_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_dialplan_interface_get(swigCPtr); - switch_dialplan_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_dialplan_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_dialplan_interface_get(swigCPtr); + switch_dialplan_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_dialplan_interface(cPtr, false); return ret; } } @@ -39141,8 +39317,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_codec_interface_set(swigCPtr, switch_codec_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_codec_interface_get(swigCPtr); - switch_codec_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_codec_interface_get(swigCPtr); + switch_codec_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec_interface(cPtr, false); return ret; } } @@ -39152,8 +39328,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_application_interface_set(swigCPtr, switch_application_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_application_interface_get(swigCPtr); - switch_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_application_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_application_interface_get(swigCPtr); + switch_application_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_application_interface(cPtr, false); return ret; } } @@ -39163,8 +39339,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_chat_application_interface_set(swigCPtr, switch_chat_application_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_chat_application_interface_get(swigCPtr); - switch_chat_application_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_chat_application_interface_get(swigCPtr); + switch_chat_application_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_chat_application_interface(cPtr, false); return ret; } } @@ -39174,8 +39350,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_api_interface_set(swigCPtr, switch_api_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_api_interface_get(swigCPtr); - switch_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_api_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_api_interface_get(swigCPtr); + switch_api_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_api_interface(cPtr, false); return ret; } } @@ -39185,8 +39361,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_json_api_interface_set(swigCPtr, switch_json_api_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_json_api_interface_get(swigCPtr); - switch_json_api_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_json_api_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_json_api_interface_get(swigCPtr); + switch_json_api_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_json_api_interface(cPtr, false); return ret; } } @@ -39196,8 +39372,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_file_interface_set(swigCPtr, switch_file_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_file_interface_get(swigCPtr); - switch_file_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_file_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_file_interface_get(swigCPtr); + switch_file_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_file_interface(cPtr, false); return ret; } } @@ -39207,8 +39383,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_speech_interface_set(swigCPtr, switch_speech_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_speech_interface_get(swigCPtr); - switch_speech_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_speech_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_speech_interface_get(swigCPtr); + switch_speech_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_speech_interface(cPtr, false); return ret; } } @@ -39218,8 +39394,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_directory_interface_set(swigCPtr, switch_directory_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_directory_interface_get(swigCPtr); - switch_directory_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_directory_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_directory_interface_get(swigCPtr); + switch_directory_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_directory_interface(cPtr, false); return ret; } } @@ -39229,8 +39405,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_chat_interface_set(swigCPtr, switch_chat_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_chat_interface_get(swigCPtr); - switch_chat_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_chat_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_chat_interface_get(swigCPtr); + switch_chat_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_chat_interface(cPtr, false); return ret; } } @@ -39240,8 +39416,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_say_interface_set(swigCPtr, switch_say_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_say_interface_get(swigCPtr); - switch_say_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_say_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_say_interface_get(swigCPtr); + switch_say_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_say_interface(cPtr, false); return ret; } } @@ -39251,8 +39427,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_asr_interface_set(swigCPtr, switch_asr_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_asr_interface_get(swigCPtr); - switch_asr_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_asr_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_asr_interface_get(swigCPtr); + switch_asr_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_asr_interface(cPtr, false); return ret; } } @@ -39262,8 +39438,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_management_interface_set(swigCPtr, switch_management_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_management_interface_get(swigCPtr); - switch_management_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_management_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_management_interface_get(swigCPtr); + switch_management_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_management_interface(cPtr, false); return ret; } } @@ -39273,8 +39449,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_limit_interface_set(swigCPtr, switch_limit_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_limit_interface_get(swigCPtr); - switch_limit_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_limit_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_limit_interface_get(swigCPtr); + switch_limit_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_limit_interface(cPtr, false); return ret; } } @@ -39284,8 +39460,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -39305,8 +39481,8 @@ public class switch_loadable_module_interface : IDisposable { freeswitchPINVOKE.switch_loadable_module_interface_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_loadable_module_interface_pool_get(swigCPtr); + SWIGTYPE_p_apr_pool_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); return ret; } } @@ -39317,13 +39493,15 @@ public class switch_loadable_module_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -39351,30 +39529,29 @@ public enum switch_log_level_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_log_node_t : IDisposable { - private HandleRef swigCPtr; +public class switch_log_node_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_log_node_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_log_node_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_log_node_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_log_node_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_log_node_t() { @@ -39383,14 +39560,14 @@ public class switch_log_node_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_log_node_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -39502,13 +39679,15 @@ public class switch_log_node_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -39519,30 +39698,29 @@ public enum switch_management_action_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_management_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_management_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_management_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_management_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_management_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_management_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_management_interface() { @@ -39551,14 +39729,14 @@ public class switch_management_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_management_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -39577,8 +39755,8 @@ public class switch_management_interface : IDisposable { freeswitchPINVOKE.switch_management_interface_management_function_set(swigCPtr, SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_management_function_get(swigCPtr); - SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_management_function_get(swigCPtr); + SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_char_enum_switch_management_action_t_p_char_switch_size_t__switch_status_t(cPtr, false); return ret; } } @@ -39588,8 +39766,8 @@ public class switch_management_interface : IDisposable { freeswitchPINVOKE.switch_management_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -39609,8 +39787,8 @@ public class switch_management_interface : IDisposable { freeswitchPINVOKE.switch_management_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -39620,8 +39798,8 @@ public class switch_management_interface : IDisposable { freeswitchPINVOKE.switch_management_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -39631,8 +39809,8 @@ public class switch_management_interface : IDisposable { freeswitchPINVOKE.switch_management_interface_next_set(swigCPtr, switch_management_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_next_get(swigCPtr); - switch_management_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_management_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_management_interface_next_get(swigCPtr); + switch_management_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_management_interface(cPtr, false); return ret; } } @@ -39643,13 +39821,15 @@ public class switch_management_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -39684,13 +39864,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -39710,13 +39892,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -39729,13 +39913,15 @@ public enum switch_media_flow_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -39746,30 +39932,29 @@ public enum switch_media_type_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_mm_t : IDisposable { - private HandleRef swigCPtr; +public class switch_mm_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_mm_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_mm_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_mm_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_mm_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_mm_t() { @@ -39778,14 +39963,14 @@ public class switch_mm_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_mm_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -39987,13 +40172,15 @@ public class switch_mm_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40003,13 +40190,15 @@ public enum switch_module_flag_enum_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40033,13 +40222,15 @@ public enum switch_module_interface_name_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40055,30 +40246,29 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_picture : IDisposable { - private HandleRef swigCPtr; +public class switch_picture : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_picture(IntPtr cPtr, bool cMemoryOwn) { + internal switch_picture(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_picture obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_picture obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_picture() { @@ -40087,14 +40277,14 @@ public class switch_picture : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_picture(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -40123,8 +40313,8 @@ public class switch_picture : IDisposable { freeswitchPINVOKE.switch_picture_planes_set(swigCPtr, SWIGTYPE_p_p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_picture_planes_get(swigCPtr); - SWIGTYPE_p_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_picture_planes_get(swigCPtr); + SWIGTYPE_p_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_p_unsigned_char(cPtr, false); return ret; } } @@ -40134,8 +40324,8 @@ public class switch_picture : IDisposable { freeswitchPINVOKE.switch_picture_stride_set(swigCPtr, SWIGTYPE_p_unsigned_long.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_picture_stride_get(swigCPtr); - SWIGTYPE_p_unsigned_long ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_long(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_picture_stride_get(swigCPtr); + SWIGTYPE_p_unsigned_long ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_long(cPtr, false); return ret; } } @@ -40146,13 +40336,15 @@ public class switch_picture : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40168,13 +40360,15 @@ public enum switch_poll_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40187,13 +40381,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40204,13 +40400,15 @@ public enum switch_priority_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40220,13 +40418,15 @@ public enum switch_pvt_class_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40237,30 +40437,29 @@ public enum switch_ring_ready_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_rtcp_hdr_t : IDisposable { - private HandleRef swigCPtr; +public class switch_rtcp_hdr_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_rtcp_hdr_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_rtcp_hdr_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_rtcp_hdr_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_rtcp_hdr_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_rtcp_hdr_t() { @@ -40269,14 +40468,14 @@ public class switch_rtcp_hdr_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_rtcp_hdr_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -40336,30 +40535,29 @@ public class switch_rtcp_hdr_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_rtcp_numbers_t : IDisposable { - private HandleRef swigCPtr; +public class switch_rtcp_numbers_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_rtcp_numbers_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_rtcp_numbers_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_rtcp_numbers_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_rtcp_numbers_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_rtcp_numbers_t() { @@ -40368,14 +40566,14 @@ public class switch_rtcp_numbers_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_rtcp_numbers_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -40605,13 +40803,15 @@ public class switch_rtcp_numbers_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40633,13 +40833,15 @@ public enum switch_rtp_bug_flag_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40652,30 +40854,29 @@ public enum switch_rtp_crypto_direction_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_rtp_crypto_key : IDisposable { - private HandleRef swigCPtr; +public class switch_rtp_crypto_key : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_rtp_crypto_key(IntPtr cPtr, bool cMemoryOwn) { + internal switch_rtp_crypto_key(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_rtp_crypto_key obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_rtp_crypto_key obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_rtp_crypto_key() { @@ -40684,14 +40885,14 @@ public class switch_rtp_crypto_key : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_rtp_crypto_key(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -40720,8 +40921,8 @@ public class switch_rtp_crypto_key : IDisposable { freeswitchPINVOKE.switch_rtp_crypto_key_keysalt_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_crypto_key_keysalt_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_crypto_key_keysalt_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return ret; } } @@ -40743,8 +40944,8 @@ public class switch_rtp_crypto_key : IDisposable { freeswitchPINVOKE.switch_rtp_crypto_key_next_set(swigCPtr, switch_rtp_crypto_key.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_crypto_key_next_get(swigCPtr); - switch_rtp_crypto_key ret = (cPtr == IntPtr.Zero) ? null : new switch_rtp_crypto_key(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_crypto_key_next_get(swigCPtr); + switch_rtp_crypto_key ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_rtp_crypto_key(cPtr, false); return ret; } } @@ -40755,13 +40956,15 @@ public class switch_rtp_crypto_key : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40771,13 +40974,15 @@ public enum switch_rtp_crypto_key_param_method_type_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40795,13 +41000,15 @@ public enum switch_rtp_crypto_key_type_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40861,13 +41068,15 @@ public enum switch_rtp_flag_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -40878,30 +41087,29 @@ public enum switch_rtp_flush_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_rtp_hdr_ext_t : IDisposable { - private HandleRef swigCPtr; +public class switch_rtp_hdr_ext_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_rtp_hdr_ext_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_rtp_hdr_ext_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_rtp_hdr_ext_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_rtp_hdr_ext_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_rtp_hdr_ext_t() { @@ -40910,14 +41118,14 @@ public class switch_rtp_hdr_ext_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_rtp_hdr_ext_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -40947,30 +41155,29 @@ public class switch_rtp_hdr_ext_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_rtp_hdr_t : IDisposable { - private HandleRef swigCPtr; +public class switch_rtp_hdr_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_rtp_hdr_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_rtp_hdr_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_rtp_hdr_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_rtp_hdr_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_rtp_hdr_t() { @@ -40979,14 +41186,14 @@ public class switch_rtp_hdr_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_rtp_hdr_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -41086,30 +41293,29 @@ public class switch_rtp_hdr_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_rtp_numbers_t : IDisposable { - private HandleRef swigCPtr; +public class switch_rtp_numbers_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_rtp_numbers_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_rtp_numbers_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_rtp_numbers_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_rtp_numbers_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_rtp_numbers_t() { @@ -41118,14 +41324,14 @@ public class switch_rtp_numbers_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_rtp_numbers_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -41376,8 +41582,8 @@ public class switch_rtp_numbers_t : IDisposable { freeswitchPINVOKE.switch_rtp_numbers_t_loss_set(swigCPtr, SWIGTYPE_p_int.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_numbers_t_loss_get(swigCPtr); - SWIGTYPE_p_int ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_numbers_t_loss_get(swigCPtr); + SWIGTYPE_p_int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_int(cPtr, false); return ret; } } @@ -41461,8 +41667,8 @@ public class switch_rtp_numbers_t : IDisposable { freeswitchPINVOKE.switch_rtp_numbers_t_error_log_set(swigCPtr, switch_error_period_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_numbers_t_error_log_get(swigCPtr); - switch_error_period_t ret = (cPtr == IntPtr.Zero) ? null : new switch_error_period_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_numbers_t_error_log_get(swigCPtr); + switch_error_period_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_error_period_t(cPtr, false); return ret; } } @@ -41473,30 +41679,29 @@ public class switch_rtp_numbers_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_rtp_packet_t : IDisposable { - private HandleRef swigCPtr; +public class switch_rtp_packet_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_rtp_packet_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_rtp_packet_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_rtp_packet_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_rtp_packet_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_rtp_packet_t() { @@ -41505,14 +41710,14 @@ public class switch_rtp_packet_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_rtp_packet_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -41521,8 +41726,8 @@ public class switch_rtp_packet_t : IDisposable { freeswitchPINVOKE.switch_rtp_packet_t_header_set(swigCPtr, switch_rtp_hdr_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_packet_t_header_get(swigCPtr); - switch_rtp_hdr_t ret = (cPtr == IntPtr.Zero) ? null : new switch_rtp_hdr_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_packet_t_header_get(swigCPtr); + switch_rtp_hdr_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_rtp_hdr_t(cPtr, false); return ret; } } @@ -41542,8 +41747,8 @@ public class switch_rtp_packet_t : IDisposable { freeswitchPINVOKE.switch_rtp_packet_t_ext_set(swigCPtr, switch_rtp_hdr_ext_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_packet_t_ext_get(swigCPtr); - switch_rtp_hdr_ext_t ret = (cPtr == IntPtr.Zero) ? null : new switch_rtp_hdr_ext_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_packet_t_ext_get(swigCPtr); + switch_rtp_hdr_ext_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_rtp_hdr_ext_t(cPtr, false); return ret; } } @@ -41564,30 +41769,29 @@ public class switch_rtp_packet_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_rtp_stats_t : IDisposable { - private HandleRef swigCPtr; +public class switch_rtp_stats_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_rtp_stats_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_rtp_stats_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_rtp_stats_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_rtp_stats_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_rtp_stats_t() { @@ -41596,14 +41800,14 @@ public class switch_rtp_stats_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_rtp_stats_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -41612,8 +41816,8 @@ public class switch_rtp_stats_t : IDisposable { freeswitchPINVOKE.switch_rtp_stats_t_inbound_set(swigCPtr, switch_rtp_numbers_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_stats_t_inbound_get(swigCPtr); - switch_rtp_numbers_t ret = (cPtr == IntPtr.Zero) ? null : new switch_rtp_numbers_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_stats_t_inbound_get(swigCPtr); + switch_rtp_numbers_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_rtp_numbers_t(cPtr, false); return ret; } } @@ -41623,8 +41827,8 @@ public class switch_rtp_stats_t : IDisposable { freeswitchPINVOKE.switch_rtp_stats_t_outbound_set(swigCPtr, switch_rtp_numbers_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_stats_t_outbound_get(swigCPtr); - switch_rtp_numbers_t ret = (cPtr == IntPtr.Zero) ? null : new switch_rtp_numbers_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_stats_t_outbound_get(swigCPtr); + switch_rtp_numbers_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_rtp_numbers_t(cPtr, false); return ret; } } @@ -41634,8 +41838,8 @@ public class switch_rtp_stats_t : IDisposable { freeswitchPINVOKE.switch_rtp_stats_t_rtcp_set(swigCPtr, switch_rtcp_numbers_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_rtp_stats_t_rtcp_get(swigCPtr); - switch_rtcp_numbers_t ret = (cPtr == IntPtr.Zero) ? null : new switch_rtcp_numbers_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_rtp_stats_t_rtcp_get(swigCPtr); + switch_rtcp_numbers_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_rtcp_numbers_t(cPtr, false); return ret; } } @@ -41656,13 +41860,15 @@ public class switch_rtp_stats_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -41672,30 +41878,29 @@ public enum switch_rw_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_say_args_t : IDisposable { - private HandleRef swigCPtr; +public class switch_say_args_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_say_args_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_say_args_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_say_args_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_say_args_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_say_args_t() { @@ -41704,14 +41909,14 @@ public class switch_say_args_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_say_args_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -41761,13 +41966,15 @@ public class switch_say_args_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -41779,30 +41986,29 @@ public enum switch_say_gender_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_say_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_say_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_say_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_say_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_say_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_say_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_say_interface() { @@ -41811,14 +42017,14 @@ public class switch_say_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_say_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -41837,8 +42043,8 @@ public class switch_say_interface : IDisposable { freeswitchPINVOKE.switch_say_interface_say_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_say_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_say_function_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_switch_input_args_t__switch_status_t(cPtr, false); return ret; } } @@ -41848,8 +42054,8 @@ public class switch_say_interface : IDisposable { freeswitchPINVOKE.switch_say_interface_say_string_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_say_string_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_say_string_function_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session_p_char_p_switch_say_args_t_p_p_char__switch_status_t(cPtr, false); return ret; } } @@ -41859,8 +42065,8 @@ public class switch_say_interface : IDisposable { freeswitchPINVOKE.switch_say_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -41880,8 +42086,8 @@ public class switch_say_interface : IDisposable { freeswitchPINVOKE.switch_say_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -41891,8 +42097,8 @@ public class switch_say_interface : IDisposable { freeswitchPINVOKE.switch_say_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -41902,8 +42108,8 @@ public class switch_say_interface : IDisposable { freeswitchPINVOKE.switch_say_interface_next_set(swigCPtr, switch_say_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_next_get(swigCPtr); - switch_say_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_say_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_say_interface_next_get(swigCPtr); + switch_say_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_say_interface(cPtr, false); return ret; } } @@ -41914,13 +42120,15 @@ public class switch_say_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -41933,13 +42141,15 @@ public enum switch_say_method_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -41966,13 +42176,15 @@ public enum switch_say_type_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -41984,30 +42196,29 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_scheduler_task : IDisposable { - private HandleRef swigCPtr; +public class switch_scheduler_task : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_scheduler_task(IntPtr cPtr, bool cMemoryOwn) { + internal switch_scheduler_task(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_scheduler_task obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_scheduler_task obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_scheduler_task() { @@ -42016,14 +42227,14 @@ public class switch_scheduler_task : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_scheduler_task(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -42082,8 +42293,8 @@ public class switch_scheduler_task : IDisposable { freeswitchPINVOKE.switch_scheduler_task_cmd_arg_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_scheduler_task_cmd_arg_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_scheduler_task_cmd_arg_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -42114,13 +42325,15 @@ public class switch_scheduler_task : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -42130,30 +42343,29 @@ public enum switch_sdp_type_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_secure_settings_t : IDisposable { - private HandleRef swigCPtr; +public class switch_secure_settings_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_secure_settings_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_secure_settings_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_secure_settings_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_secure_settings_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_secure_settings_t() { @@ -42162,14 +42374,14 @@ public class switch_secure_settings_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_secure_settings_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -42188,8 +42400,8 @@ public class switch_secure_settings_t : IDisposable { freeswitchPINVOKE.switch_secure_settings_t_local_raw_key_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_secure_settings_t_local_raw_key_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_secure_settings_t_local_raw_key_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return ret; } } @@ -42199,8 +42411,8 @@ public class switch_secure_settings_t : IDisposable { freeswitchPINVOKE.switch_secure_settings_t_remote_raw_key_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_secure_settings_t_remote_raw_key_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_secure_settings_t_remote_raw_key_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return ret; } } @@ -42240,8 +42452,8 @@ public class switch_secure_settings_t : IDisposable { freeswitchPINVOKE.switch_secure_settings_t_local_key_material_next_set(swigCPtr, switch_crypto_key_material_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_secure_settings_t_local_key_material_next_get(swigCPtr); - switch_crypto_key_material_t ret = (cPtr == IntPtr.Zero) ? null : new switch_crypto_key_material_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_secure_settings_t_local_key_material_next_get(swigCPtr); + switch_crypto_key_material_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_crypto_key_material_t(cPtr, false); return ret; } } @@ -42261,8 +42473,8 @@ public class switch_secure_settings_t : IDisposable { freeswitchPINVOKE.switch_secure_settings_t_remote_key_material_next_set(swigCPtr, switch_crypto_key_material_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_secure_settings_t_remote_key_material_next_get(swigCPtr); - switch_crypto_key_material_t ret = (cPtr == IntPtr.Zero) ? null : new switch_crypto_key_material_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_secure_settings_t_remote_key_material_next_get(swigCPtr); + switch_crypto_key_material_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_crypto_key_material_t(cPtr, false); return ret; } } @@ -42283,30 +42495,29 @@ public class switch_secure_settings_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_serial_event_header_t : IDisposable { - private HandleRef swigCPtr; +public class switch_serial_event_header_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_serial_event_header_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_serial_event_header_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_serial_event_header_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_serial_event_header_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_serial_event_header_t() { @@ -42315,14 +42526,14 @@ public class switch_serial_event_header_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_serial_event_header_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -42352,30 +42563,29 @@ public class switch_serial_event_header_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_serial_event_t : IDisposable { - private HandleRef swigCPtr; +public class switch_serial_event_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_serial_event_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_serial_event_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_serial_event_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_serial_event_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_serial_event_t() { @@ -42384,14 +42594,14 @@ public class switch_serial_event_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_serial_event_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -42461,13 +42671,15 @@ public class switch_serial_event_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -42518,13 +42730,15 @@ public enum switch_session_ctl_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -42536,30 +42750,29 @@ public enum switch_signal_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_slin_data : IDisposable { - private HandleRef swigCPtr; +public class switch_slin_data : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_slin_data(IntPtr cPtr, bool cMemoryOwn) { + internal switch_slin_data(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_slin_data obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_slin_data obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_slin_data() { @@ -42568,14 +42781,14 @@ public class switch_slin_data : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_slin_data(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -42584,8 +42797,8 @@ public class switch_slin_data : IDisposable { freeswitchPINVOKE.switch_slin_data_session_set(swigCPtr, SWIGTYPE_p_switch_core_session.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_slin_data_session_get(swigCPtr); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_slin_data_session_get(swigCPtr); + SWIGTYPE_p_switch_core_session ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); return ret; } } @@ -42595,8 +42808,8 @@ public class switch_slin_data : IDisposable { freeswitchPINVOKE.switch_slin_data_write_frame_set(swigCPtr, switch_frame.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_slin_data_write_frame_get(swigCPtr); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_slin_data_write_frame_get(swigCPtr); + switch_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_frame(cPtr, false); return ret; } } @@ -42606,8 +42819,8 @@ public class switch_slin_data : IDisposable { freeswitchPINVOKE.switch_slin_data_codec_set(swigCPtr, switch_codec.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_slin_data_codec_get(swigCPtr); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_slin_data_codec_get(swigCPtr); + switch_codec ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec(cPtr, false); return ret; } } @@ -42628,13 +42841,15 @@ public class switch_slin_data : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -42650,30 +42865,29 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_speech_handle : IDisposable { - private HandleRef swigCPtr; +public class switch_speech_handle : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_speech_handle(IntPtr cPtr, bool cMemoryOwn) { + internal switch_speech_handle(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_speech_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_speech_handle obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_speech_handle() { @@ -42682,14 +42896,14 @@ public class switch_speech_handle : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_speech_handle(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -42698,8 +42912,8 @@ public class switch_speech_handle : IDisposable { freeswitchPINVOKE.switch_speech_handle_speech_interface_set(swigCPtr, switch_speech_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_speech_interface_get(swigCPtr); - switch_speech_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_speech_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_speech_interface_get(swigCPtr); + switch_speech_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_speech_interface(cPtr, false); return ret; } } @@ -42809,8 +43023,8 @@ public class switch_speech_handle : IDisposable { freeswitchPINVOKE.switch_speech_handle_memory_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_memory_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_memory_pool_get(swigCPtr); + SWIGTYPE_p_apr_pool_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); return ret; } } @@ -42820,8 +43034,8 @@ public class switch_speech_handle : IDisposable { freeswitchPINVOKE.switch_speech_handle_resampler_set(swigCPtr, switch_audio_resampler_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_resampler_get(swigCPtr); - switch_audio_resampler_t ret = (cPtr == IntPtr.Zero) ? null : new switch_audio_resampler_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_resampler_get(swigCPtr); + switch_audio_resampler_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_audio_resampler_t(cPtr, false); return ret; } } @@ -42831,8 +43045,8 @@ public class switch_speech_handle : IDisposable { freeswitchPINVOKE.switch_speech_handle_buffer_set(swigCPtr, SWIGTYPE_p_switch_buffer.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_buffer_get(swigCPtr); - SWIGTYPE_p_switch_buffer ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_buffer_get(swigCPtr); + SWIGTYPE_p_switch_buffer ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_buffer(cPtr, false); return ret; } } @@ -42842,8 +43056,8 @@ public class switch_speech_handle : IDisposable { freeswitchPINVOKE.switch_speech_handle_dbuf_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_dbuf_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_dbuf_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return ret; } } @@ -42885,8 +43099,8 @@ public class switch_speech_handle : IDisposable { freeswitchPINVOKE.switch_speech_handle_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_handle_private_info_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -42897,30 +43111,29 @@ public class switch_speech_handle : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_speech_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_speech_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_speech_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_speech_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_speech_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_speech_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_speech_interface() { @@ -42929,14 +43142,14 @@ public class switch_speech_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_speech_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -42955,8 +43168,8 @@ public class switch_speech_interface : IDisposable { freeswitchPINVOKE.switch_speech_interface_speech_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_open_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_open_get(swigCPtr); + SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t(cPtr, false); return ret; } } @@ -42966,8 +43179,8 @@ public class switch_speech_interface : IDisposable { freeswitchPINVOKE.switch_speech_interface_speech_close_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_close_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_close_get(swigCPtr); + SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_unsigned_long__switch_status_t(cPtr, false); return ret; } } @@ -42977,8 +43190,8 @@ public class switch_speech_interface : IDisposable { freeswitchPINVOKE.switch_speech_interface_speech_feed_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_feed_tts_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_feed_tts_get(swigCPtr); + SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_unsigned_long__switch_status_t(cPtr, false); return ret; } } @@ -42988,8 +43201,8 @@ public class switch_speech_interface : IDisposable { freeswitchPINVOKE.switch_speech_interface_speech_read_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_read_tts_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_read_tts_get(swigCPtr); + SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_void_p_switch_size_t_p_unsigned_long__switch_status_t(cPtr, false); return ret; } } @@ -42999,8 +43212,8 @@ public class switch_speech_interface : IDisposable { freeswitchPINVOKE.switch_speech_interface_speech_flush_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle__void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_flush_tts_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle__void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_flush_tts_get(swigCPtr); + SWIGTYPE_p_f_p_switch_speech_handle__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle__void(cPtr, false); return ret; } } @@ -43010,8 +43223,8 @@ public class switch_speech_interface : IDisposable { freeswitchPINVOKE.switch_speech_interface_speech_text_param_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_text_param_tts_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_text_param_tts_get(swigCPtr); + SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_p_q_const__char__void(cPtr, false); return ret; } } @@ -43021,8 +43234,8 @@ public class switch_speech_interface : IDisposable { freeswitchPINVOKE.switch_speech_interface_speech_numeric_param_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_numeric_param_tts_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_numeric_param_tts_get(swigCPtr); + SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_int__void(cPtr, false); return ret; } } @@ -43032,8 +43245,8 @@ public class switch_speech_interface : IDisposable { freeswitchPINVOKE.switch_speech_interface_speech_float_param_tts_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_float_param_tts_get(swigCPtr); - SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_float_param_tts_get(swigCPtr); + SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_char_double__void(cPtr, false); return ret; } } @@ -43043,8 +43256,8 @@ public class switch_speech_interface : IDisposable { freeswitchPINVOKE.switch_speech_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -43064,8 +43277,8 @@ public class switch_speech_interface : IDisposable { freeswitchPINVOKE.switch_speech_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -43075,8 +43288,8 @@ public class switch_speech_interface : IDisposable { freeswitchPINVOKE.switch_speech_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -43086,8 +43299,8 @@ public class switch_speech_interface : IDisposable { freeswitchPINVOKE.switch_speech_interface_next_set(swigCPtr, switch_speech_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_next_get(swigCPtr); - switch_speech_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_speech_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_next_get(swigCPtr); + switch_speech_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_speech_interface(cPtr, false); return ret; } } @@ -43098,30 +43311,29 @@ public class switch_speech_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_srtp_crypto_suite_t : IDisposable { - private HandleRef swigCPtr; +public class switch_srtp_crypto_suite_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_srtp_crypto_suite_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_srtp_crypto_suite_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_srtp_crypto_suite_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_srtp_crypto_suite_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_srtp_crypto_suite_t() { @@ -43130,14 +43342,14 @@ public class switch_srtp_crypto_suite_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_srtp_crypto_suite_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -43151,6 +43363,16 @@ public class switch_srtp_crypto_suite_t : IDisposable { } } + public string alias { + set { + freeswitchPINVOKE.switch_srtp_crypto_suite_t_alias_set(swigCPtr, value); + } + get { + string ret = freeswitchPINVOKE.switch_srtp_crypto_suite_t_alias_get(swigCPtr); + return ret; + } + } + public switch_rtp_crypto_key_type_t type { set { freeswitchPINVOKE.switch_srtp_crypto_suite_t_type_set(swigCPtr, (int)value); @@ -43187,13 +43409,15 @@ public class switch_srtp_crypto_suite_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -43206,13 +43430,15 @@ public enum switch_stack_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -43222,13 +43448,15 @@ public enum switch_state_handler_flag_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -43248,30 +43476,29 @@ public enum switch_state_handler_name_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_state_handler_table : IDisposable { - private HandleRef swigCPtr; +public class switch_state_handler_table : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_state_handler_table(IntPtr cPtr, bool cMemoryOwn) { + internal switch_state_handler_table(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_state_handler_table obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_state_handler_table obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_state_handler_table() { @@ -43280,14 +43507,14 @@ public class switch_state_handler_table : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_state_handler_table(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -43296,8 +43523,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_on_init_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_init_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_init_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -43307,8 +43534,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_on_routing_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_routing_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_routing_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -43318,8 +43545,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_on_execute_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_execute_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_execute_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -43329,8 +43556,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_on_hangup_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_hangup_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_hangup_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -43340,8 +43567,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_on_exchange_media_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_exchange_media_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_exchange_media_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -43351,8 +43578,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_on_soft_execute_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_soft_execute_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_soft_execute_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -43362,8 +43589,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_on_consume_media_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_consume_media_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_consume_media_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -43373,8 +43600,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_on_hibernate_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_hibernate_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_hibernate_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -43384,8 +43611,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_on_reset_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_reset_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_reset_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -43395,8 +43622,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_on_park_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_park_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_park_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -43406,8 +43633,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_on_reporting_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_reporting_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_reporting_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -43417,8 +43644,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_on_destroy_set(swigCPtr, SWIGTYPE_p_f_p_switch_core_session__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_destroy_get(swigCPtr); - SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_on_destroy_get(swigCPtr); + SWIGTYPE_p_f_p_switch_core_session__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_core_session__switch_status_t(cPtr, false); return ret; } } @@ -43438,8 +43665,8 @@ public class switch_state_handler_table : IDisposable { freeswitchPINVOKE.switch_state_handler_table_padding_set(swigCPtr, SWIGTYPE_p_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_padding_get(swigCPtr); - SWIGTYPE_p_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_state_handler_table_padding_get(swigCPtr); + SWIGTYPE_p_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_p_void(cPtr, false); return ret; } } @@ -43450,13 +43677,15 @@ public class switch_state_handler_table : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -43490,30 +43719,29 @@ public enum switch_status_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_stream_handle : IDisposable { - private HandleRef swigCPtr; +public class switch_stream_handle : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_stream_handle(IntPtr cPtr, bool cMemoryOwn) { + internal switch_stream_handle(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_stream_handle obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_stream_handle obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_stream_handle() { @@ -43522,14 +43750,14 @@ public class switch_stream_handle : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_stream_handle(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -43538,8 +43766,8 @@ public class switch_stream_handle : IDisposable { freeswitchPINVOKE.switch_stream_handle_read_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_read_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_read_function_get(swigCPtr); + SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_stream_handle_p_int__p_unsigned_char(cPtr, false); return ret; } } @@ -43549,8 +43777,8 @@ public class switch_stream_handle : IDisposable { freeswitchPINVOKE.switch_stream_handle_write_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_write_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_write_function_get(swigCPtr); + SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_stream_handle_p_q_const__char_v_______switch_status_t(cPtr, false); return ret; } } @@ -43560,8 +43788,8 @@ public class switch_stream_handle : IDisposable { freeswitchPINVOKE.switch_stream_handle_raw_write_function_set(swigCPtr, SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_raw_write_function_get(swigCPtr); - SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_raw_write_function_get(swigCPtr); + SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_stream_handle_p_unsigned_char_switch_size_t__switch_status_t(cPtr, false); return ret; } } @@ -43571,8 +43799,8 @@ public class switch_stream_handle : IDisposable { freeswitchPINVOKE.switch_stream_handle_data_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_data_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_data_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -43582,8 +43810,8 @@ public class switch_stream_handle : IDisposable { freeswitchPINVOKE.switch_stream_handle_end_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_end_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_end_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -43641,8 +43869,8 @@ public class switch_stream_handle : IDisposable { freeswitchPINVOKE.switch_stream_handle_param_event_set(swigCPtr, switch_event.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_param_event_get(swigCPtr); - switch_event ret = (cPtr == IntPtr.Zero) ? null : new switch_event(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_stream_handle_param_event_get(swigCPtr); + switch_event ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_event(cPtr, false); return ret; } } @@ -43653,30 +43881,29 @@ public class switch_stream_handle : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_t38_options_t : IDisposable { - private HandleRef swigCPtr; +public class switch_t38_options_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_t38_options_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_t38_options_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_t38_options_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_t38_options_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_t38_options_t() { @@ -43685,14 +43912,14 @@ public class switch_t38_options_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_t38_options_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -43852,13 +44079,15 @@ public class switch_t38_options_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -43870,30 +44099,29 @@ public enum switch_text_channel_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_thread_data_t : IDisposable { - private HandleRef swigCPtr; +public class switch_thread_data_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_thread_data_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_thread_data_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_thread_data_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_thread_data_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_thread_data_t() { @@ -43902,14 +44130,14 @@ public class switch_thread_data_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_thread_data_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -43930,8 +44158,8 @@ public class switch_thread_data_t : IDisposable { freeswitchPINVOKE.switch_thread_data_t_obj_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_thread_data_t_obj_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_thread_data_t_obj_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -43951,8 +44179,8 @@ public class switch_thread_data_t : IDisposable { freeswitchPINVOKE.switch_thread_data_t_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_thread_data_t_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_thread_data_t_pool_get(swigCPtr); + SWIGTYPE_p_apr_pool_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); return ret; } } @@ -43963,13 +44191,15 @@ public class switch_thread_data_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -43981,30 +44211,29 @@ public enum switch_thread_priority_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_timer : IDisposable { - private HandleRef swigCPtr; +public class switch_timer : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_timer(IntPtr cPtr, bool cMemoryOwn) { + internal switch_timer(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_timer obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_timer obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_timer() { @@ -44013,14 +44242,14 @@ public class switch_timer : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_timer(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -44079,8 +44308,8 @@ public class switch_timer : IDisposable { freeswitchPINVOKE.switch_timer_timer_interface_set(swigCPtr, switch_timer_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_timer_interface_get(swigCPtr); - switch_timer_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_timer_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_timer_interface_get(swigCPtr); + switch_timer_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_timer_interface(cPtr, false); return ret; } } @@ -44090,8 +44319,8 @@ public class switch_timer : IDisposable { freeswitchPINVOKE.switch_timer_memory_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_memory_pool_get(swigCPtr); - SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_memory_pool_get(swigCPtr); + SWIGTYPE_p_apr_pool_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false); return ret; } } @@ -44101,8 +44330,8 @@ public class switch_timer : IDisposable { freeswitchPINVOKE.switch_timer_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_private_info_get(swigCPtr); - SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_private_info_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); return ret; } } @@ -44147,13 +44376,15 @@ public class switch_timer : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -44162,13 +44393,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -44182,30 +44415,29 @@ public enum switch_timer_func_name_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_timer_interface : IDisposable { - private HandleRef swigCPtr; +public class switch_timer_interface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_timer_interface(IntPtr cPtr, bool cMemoryOwn) { + internal switch_timer_interface(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_timer_interface obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_timer_interface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_timer_interface() { @@ -44214,14 +44446,14 @@ public class switch_timer_interface : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_timer_interface(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -44240,8 +44472,8 @@ public class switch_timer_interface : IDisposable { freeswitchPINVOKE.switch_timer_interface_timer_init_set(swigCPtr, SWIGTYPE_p_f_p_switch_timer__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_init_get(swigCPtr); - SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_init_get(swigCPtr); + SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); return ret; } } @@ -44251,8 +44483,8 @@ public class switch_timer_interface : IDisposable { freeswitchPINVOKE.switch_timer_interface_timer_next_set(swigCPtr, SWIGTYPE_p_f_p_switch_timer__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_next_get(swigCPtr); - SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_next_get(swigCPtr); + SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); return ret; } } @@ -44262,8 +44494,8 @@ public class switch_timer_interface : IDisposable { freeswitchPINVOKE.switch_timer_interface_timer_step_set(swigCPtr, SWIGTYPE_p_f_p_switch_timer__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_step_get(swigCPtr); - SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_step_get(swigCPtr); + SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); return ret; } } @@ -44273,8 +44505,8 @@ public class switch_timer_interface : IDisposable { freeswitchPINVOKE.switch_timer_interface_timer_sync_set(swigCPtr, SWIGTYPE_p_f_p_switch_timer__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_sync_get(swigCPtr); - SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_sync_get(swigCPtr); + SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); return ret; } } @@ -44284,8 +44516,8 @@ public class switch_timer_interface : IDisposable { freeswitchPINVOKE.switch_timer_interface_timer_check_set(swigCPtr, SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_check_get(swigCPtr); - SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_check_get(swigCPtr); + SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer_enum_switch_bool_t__switch_status_t(cPtr, false); return ret; } } @@ -44295,8 +44527,8 @@ public class switch_timer_interface : IDisposable { freeswitchPINVOKE.switch_timer_interface_timer_destroy_set(swigCPtr, SWIGTYPE_p_f_p_switch_timer__switch_status_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_destroy_get(swigCPtr); - SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_timer_destroy_get(swigCPtr); + SWIGTYPE_p_f_p_switch_timer__switch_status_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_timer__switch_status_t(cPtr, false); return ret; } } @@ -44306,8 +44538,8 @@ public class switch_timer_interface : IDisposable { freeswitchPINVOKE.switch_timer_interface_rwlock_set(swigCPtr, SWIGTYPE_p_switch_thread_rwlock_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_rwlock_get(swigCPtr); - SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_rwlock_get(swigCPtr); + SWIGTYPE_p_switch_thread_rwlock_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_rwlock_t(cPtr, false); return ret; } } @@ -44327,8 +44559,8 @@ public class switch_timer_interface : IDisposable { freeswitchPINVOKE.switch_timer_interface_reflock_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_reflock_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_reflock_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -44338,8 +44570,8 @@ public class switch_timer_interface : IDisposable { freeswitchPINVOKE.switch_timer_interface_parent_set(swigCPtr, switch_loadable_module_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_parent_get(swigCPtr); - switch_loadable_module_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_parent_get(swigCPtr); + switch_loadable_module_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_loadable_module_interface(cPtr, false); return ret; } } @@ -44349,8 +44581,8 @@ public class switch_timer_interface : IDisposable { freeswitchPINVOKE.switch_timer_interface_next_set(swigCPtr, switch_timer_interface.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_next_get(swigCPtr); - switch_timer_interface ret = (cPtr == IntPtr.Zero) ? null : new switch_timer_interface(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_timer_interface_next_get(swigCPtr); + switch_timer_interface ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_timer_interface(cPtr, false); return ret; } } @@ -44361,30 +44593,29 @@ public class switch_timer_interface : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_unicast_conninfo : IDisposable { - private HandleRef swigCPtr; +public class switch_unicast_conninfo : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_unicast_conninfo(IntPtr cPtr, bool cMemoryOwn) { + internal switch_unicast_conninfo(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_unicast_conninfo obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_unicast_conninfo obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_unicast_conninfo() { @@ -44393,14 +44624,14 @@ public class switch_unicast_conninfo : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_unicast_conninfo(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -44409,8 +44640,8 @@ public class switch_unicast_conninfo : IDisposable { freeswitchPINVOKE.switch_unicast_conninfo_session_set(swigCPtr, SWIGTYPE_p_switch_core_session.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_session_get(swigCPtr); - SWIGTYPE_p_switch_core_session ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_session_get(swigCPtr); + SWIGTYPE_p_switch_core_session ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_core_session(cPtr, false); return ret; } } @@ -44420,8 +44651,8 @@ public class switch_unicast_conninfo : IDisposable { freeswitchPINVOKE.switch_unicast_conninfo_read_codec_set(swigCPtr, switch_codec.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_read_codec_get(swigCPtr); - switch_codec ret = (cPtr == IntPtr.Zero) ? null : new switch_codec(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_read_codec_get(swigCPtr); + switch_codec ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_codec(cPtr, false); return ret; } } @@ -44431,8 +44662,8 @@ public class switch_unicast_conninfo : IDisposable { freeswitchPINVOKE.switch_unicast_conninfo_write_frame_set(swigCPtr, switch_frame.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_write_frame_get(swigCPtr); - switch_frame ret = (cPtr == IntPtr.Zero) ? null : new switch_frame(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_write_frame_get(swigCPtr); + switch_frame ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_frame(cPtr, false); return ret; } } @@ -44442,8 +44673,8 @@ public class switch_unicast_conninfo : IDisposable { freeswitchPINVOKE.switch_unicast_conninfo_write_frame_data_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_write_frame_data_get(swigCPtr); - SWIGTYPE_p_unsigned_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_write_frame_data_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); return ret; } } @@ -44453,8 +44684,8 @@ public class switch_unicast_conninfo : IDisposable { freeswitchPINVOKE.switch_unicast_conninfo_socket_set(swigCPtr, SWIGTYPE_p_switch_socket_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_socket_get(swigCPtr); - SWIGTYPE_p_switch_socket_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_socket_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_socket_get(swigCPtr); + SWIGTYPE_p_switch_socket_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_socket_t(cPtr, false); return ret; } } @@ -44504,8 +44735,8 @@ public class switch_unicast_conninfo : IDisposable { freeswitchPINVOKE.switch_unicast_conninfo_local_addr_set(swigCPtr, SWIGTYPE_p_switch_sockaddr_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_local_addr_get(swigCPtr); - SWIGTYPE_p_switch_sockaddr_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_sockaddr_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_local_addr_get(swigCPtr); + SWIGTYPE_p_switch_sockaddr_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_sockaddr_t(cPtr, false); return ret; } } @@ -44515,8 +44746,8 @@ public class switch_unicast_conninfo : IDisposable { freeswitchPINVOKE.switch_unicast_conninfo_remote_addr_set(swigCPtr, SWIGTYPE_p_switch_sockaddr_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_remote_addr_get(swigCPtr); - SWIGTYPE_p_switch_sockaddr_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_sockaddr_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_remote_addr_get(swigCPtr); + SWIGTYPE_p_switch_sockaddr_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_sockaddr_t(cPtr, false); return ret; } } @@ -44526,8 +44757,8 @@ public class switch_unicast_conninfo : IDisposable { freeswitchPINVOKE.switch_unicast_conninfo_flag_mutex_set(swigCPtr, SWIGTYPE_p_switch_mutex_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_flag_mutex_get(swigCPtr); - SWIGTYPE_p_switch_mutex_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_flag_mutex_get(swigCPtr); + SWIGTYPE_p_switch_mutex_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_mutex_t(cPtr, false); return ret; } } @@ -44577,8 +44808,8 @@ public class switch_unicast_conninfo : IDisposable { freeswitchPINVOKE.switch_unicast_conninfo_thread_set(swigCPtr, SWIGTYPE_p_switch_thread_t.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_thread_get(swigCPtr); - SWIGTYPE_p_switch_thread_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_t(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_unicast_conninfo_thread_get(swigCPtr); + SWIGTYPE_p_switch_thread_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_switch_thread_t(cPtr, false); return ret; } } @@ -44589,13 +44820,15 @@ public class switch_unicast_conninfo : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -44607,13 +44840,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -44624,13 +44859,15 @@ public enum switch_uri_flags { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -44642,13 +44879,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -44661,181 +44900,29 @@ public enum switch_vad_state_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_video_codec_settings : IDisposable { - private HandleRef swigCPtr; +public class switch_vid_params_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_video_codec_settings(IntPtr cPtr, bool cMemoryOwn) { + internal switch_vid_params_t(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_video_codec_settings obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~switch_video_codec_settings() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - freeswitchPINVOKE.delete_switch_video_codec_settings(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public uint bandwidth { - set { - freeswitchPINVOKE.switch_video_codec_settings_bandwidth_set(swigCPtr, value); - } - get { - uint ret = freeswitchPINVOKE.switch_video_codec_settings_bandwidth_get(swigCPtr); - return ret; - } - } - - public int width { - set { - freeswitchPINVOKE.switch_video_codec_settings_width_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_video_codec_settings_width_get(swigCPtr); - return ret; - } - } - - public int height { - set { - freeswitchPINVOKE.switch_video_codec_settings_height_set(swigCPtr, value); - } - get { - int ret = freeswitchPINVOKE.switch_video_codec_settings_height_get(swigCPtr); - return ret; - } - } - - public byte try_hardware_encoder { - set { - freeswitchPINVOKE.switch_video_codec_settings_try_hardware_encoder_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_video_codec_settings_try_hardware_encoder_get(swigCPtr); - return ret; - } - } - - public byte fps { - set { - freeswitchPINVOKE.switch_video_codec_settings_fps_set(swigCPtr, value); - } - get { - byte ret = freeswitchPINVOKE.switch_video_codec_settings_fps_get(swigCPtr); - return ret; - } - } - - public switch_video_codec_settings() : this(freeswitchPINVOKE.new_switch_video_codec_settings(), true) { - } - -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_video_encode_speed_t { - SWITCH_VIDEO_ENCODE_SPEED_DEFAULT = 0, - SWITCH_VIDEO_ENCODE_SPEED_FAST = 0, - SWITCH_VIDEO_ENCODE_SPEED_MEDIUM, - SWITCH_VIDEO_ENCODE_SPEED_SLOW -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_video_profile_t { - SWITCH_VIDEO_PROFILE_BASELINE, - SWITCH_VIDEO_PROFILE_MAIN, - SWITCH_VIDEO_PROFILE_HIGH -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -public enum switch_video_read_flag_t { - SVR_BLOCK = (1 << 0), - SVR_FLUSH = (1 << 1), - SVR_CHECK = (1 << 2) -} - -} -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -namespace FreeSWITCH.Native { - -using System; -using System.Runtime.InteropServices; - -public class switch_vid_params_t : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal switch_vid_params_t(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(switch_vid_params_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_vid_params_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_vid_params_t() { @@ -44844,14 +44931,14 @@ public class switch_vid_params_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_vid_params_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -44911,13 +44998,15 @@ public class switch_vid_params_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -44928,30 +45017,185 @@ public enum switch_vid_spy_fmt_t { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_waitlist_t : IDisposable { - private HandleRef swigCPtr; +public class switch_video_codec_settings : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_waitlist_t(IntPtr cPtr, bool cMemoryOwn) { + internal switch_video_codec_settings(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_waitlist_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_video_codec_settings obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~switch_video_codec_settings() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + freeswitchPINVOKE.delete_switch_video_codec_settings(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public uint bandwidth { + set { + freeswitchPINVOKE.switch_video_codec_settings_bandwidth_set(swigCPtr, value); + } + get { + uint ret = freeswitchPINVOKE.switch_video_codec_settings_bandwidth_get(swigCPtr); + return ret; + } + } + + public int width { + set { + freeswitchPINVOKE.switch_video_codec_settings_width_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_video_codec_settings_width_get(swigCPtr); + return ret; + } + } + + public int height { + set { + freeswitchPINVOKE.switch_video_codec_settings_height_set(swigCPtr, value); + } + get { + int ret = freeswitchPINVOKE.switch_video_codec_settings_height_get(swigCPtr); + return ret; + } + } + + public byte try_hardware_encoder { + set { + freeswitchPINVOKE.switch_video_codec_settings_try_hardware_encoder_set(swigCPtr, value); + } + get { + byte ret = freeswitchPINVOKE.switch_video_codec_settings_try_hardware_encoder_get(swigCPtr); + return ret; + } + } + + public byte fps { + set { + freeswitchPINVOKE.switch_video_codec_settings_fps_set(swigCPtr, value); + } + get { + byte ret = freeswitchPINVOKE.switch_video_codec_settings_fps_get(swigCPtr); + return ret; + } + } + + public switch_video_codec_settings() : this(freeswitchPINVOKE.new_switch_video_codec_settings(), true) { + } + +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public enum switch_video_encode_speed_t { + SWITCH_VIDEO_ENCODE_SPEED_DEFAULT = 0, + SWITCH_VIDEO_ENCODE_SPEED_FAST = 0, + SWITCH_VIDEO_ENCODE_SPEED_MEDIUM, + SWITCH_VIDEO_ENCODE_SPEED_SLOW +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public enum switch_video_profile_t { + SWITCH_VIDEO_PROFILE_BASELINE, + SWITCH_VIDEO_PROFILE_MAIN, + SWITCH_VIDEO_PROFILE_HIGH +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public enum switch_video_read_flag_t { + SVR_BLOCK = (1 << 0), + SVR_FLUSH = (1 << 1), + SVR_CHECK = (1 << 2) +} + +} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace FreeSWITCH.Native { + +public class switch_waitlist_t : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal switch_waitlist_t(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_waitlist_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_waitlist_t() { @@ -44960,14 +45204,14 @@ public class switch_waitlist_t : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_waitlist_t(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -45007,30 +45251,29 @@ public class switch_waitlist_t : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { -using System; -using System.Runtime.InteropServices; - -public class switch_xml : IDisposable { - private HandleRef swigCPtr; +public class switch_xml : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; - internal switch_xml(IntPtr cPtr, bool cMemoryOwn) { + internal switch_xml(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - internal static HandleRef getCPtr(switch_xml obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(switch_xml obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~switch_xml() { @@ -45039,14 +45282,14 @@ public class switch_xml : IDisposable { public virtual void Dispose() { lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; freeswitchPINVOKE.delete_switch_xml(swigCPtr); } - swigCPtr = new HandleRef(null, IntPtr.Zero); + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - GC.SuppressFinalize(this); + global::System.GC.SuppressFinalize(this); } } @@ -45106,8 +45349,8 @@ public class switch_xml : IDisposable { freeswitchPINVOKE.switch_xml_next_set(swigCPtr, switch_xml.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_next_get(swigCPtr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_next_get(swigCPtr); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } } @@ -45117,8 +45360,8 @@ public class switch_xml : IDisposable { freeswitchPINVOKE.switch_xml_sibling_set(swigCPtr, switch_xml.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_sibling_get(swigCPtr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_sibling_get(swigCPtr); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } } @@ -45128,8 +45371,8 @@ public class switch_xml : IDisposable { freeswitchPINVOKE.switch_xml_ordered_set(swigCPtr, switch_xml.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_ordered_get(swigCPtr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_ordered_get(swigCPtr); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } } @@ -45139,8 +45382,8 @@ public class switch_xml : IDisposable { freeswitchPINVOKE.switch_xml_child_set(swigCPtr, switch_xml.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_child_get(swigCPtr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_child_get(swigCPtr); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } } @@ -45150,8 +45393,8 @@ public class switch_xml : IDisposable { freeswitchPINVOKE.switch_xml_parent_set(swigCPtr, switch_xml.getCPtr(value)); } get { - IntPtr cPtr = freeswitchPINVOKE.switch_xml_parent_get(swigCPtr); - switch_xml ret = (cPtr == IntPtr.Zero) ? null : new switch_xml(cPtr, false); + global::System.IntPtr cPtr = freeswitchPINVOKE.switch_xml_parent_get(swigCPtr); + switch_xml ret = (cPtr == global::System.IntPtr.Zero) ? null : new switch_xml(cPtr, false); return ret; } } @@ -45192,13 +45435,15 @@ public class switch_xml : IDisposable { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { @@ -45210,13 +45455,15 @@ namespace FreeSWITCH.Native { } } -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.12 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.10 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ namespace FreeSWITCH.Native { diff --git a/src/mod/languages/mod_managed/switch_platform.i b/src/mod/languages/mod_managed/switch_platform.i index a6f0aaa6ba..fa78438260 100644 --- a/src/mod/languages/mod_managed/switch_platform.i +++ b/src/mod/languages/mod_managed/switch_platform.i @@ -45,6 +45,9 @@ typedef unsigned long in_addr_t; %newobject CoreSession; %newobject Event; %newobject Stream; +%newobject API::execute; +%newobject API::executeString; +%newobject CoreSession::playAndDetectSpeech; #define SWITCH_DECLARE(type) type #define SWITCH_DECLARE_NONSTD(type) type diff --git a/src/mod/languages/mod_perl/freeswitch.i b/src/mod/languages/mod_perl/freeswitch.i index 262a70e2c1..2674b01f81 100644 --- a/src/mod/languages/mod_perl/freeswitch.i +++ b/src/mod/languages/mod_perl/freeswitch.i @@ -17,6 +17,7 @@ %newobject Stream; %newobject API::execute; %newobject API::executeString; +%newobject CoreSession::playAndDetectSpeech; /** insert the following includes into generated code so it compiles */ %{ diff --git a/src/mod/languages/mod_perl/freeswitch.pm b/src/mod/languages/mod_perl/freeswitch.pm index 33764f5a54..2e8ca46ef4 100644 --- a/src/mod/languages/mod_perl/freeswitch.pm +++ b/src/mod/languages/mod_perl/freeswitch.pm @@ -442,7 +442,9 @@ sub DESTROY { *getDigits = *freeswitchc::CoreSession_getDigits; *transfer = *freeswitchc::CoreSession_transfer; *read = *freeswitchc::CoreSession_read; +*detectSpeech = *freeswitchc::CoreSession_detectSpeech; *playAndGetDigits = *freeswitchc::CoreSession_playAndGetDigits; +*playAndDetectSpeech = *freeswitchc::CoreSession_playAndDetectSpeech; *streamFile = *freeswitchc::CoreSession_streamFile; *sleep = *freeswitchc::CoreSession_sleep; *flushEvents = *freeswitchc::CoreSession_flushEvents; @@ -513,6 +515,12 @@ sub DESTROY { *unsetInputCallback = *freeswitchc::Session_unsetInputCallback; *setHangupHook = *freeswitchc::Session_setHangupHook; *ready = *freeswitchc::Session_ready; +*swig_callback_mutex_get = *freeswitchc::Session_callback_mutex_get; +*swig_callback_mutex_set = *freeswitchc::Session_callback_mutex_set; +*swig_destroying_get = *freeswitchc::Session_destroying_get; +*swig_destroying_set = *freeswitchc::Session_destroying_set; +*swig_event_idx_get = *freeswitchc::Session_event_idx_get; +*swig_event_idx_set = *freeswitchc::Session_event_idx_set; *swig_suuid_get = *freeswitchc::Session_suuid_get; *swig_suuid_set = *freeswitchc::Session_suuid_set; *swig_cb_function_get = *freeswitchc::Session_cb_function_get; diff --git a/src/mod/languages/mod_perl/mod_perl_wrap.cpp b/src/mod/languages/mod_perl/mod_perl_wrap.cpp index 1aa1ebbb5c..be5d700ea8 100644 --- a/src/mod/languages/mod_perl/mod_perl_wrap.cpp +++ b/src/mod/languages/mod_perl/mod_perl_wrap.cpp @@ -1552,15 +1552,16 @@ SWIG_Perl_SetModule(swig_module_info *module) { #define SWIGTYPE_p_switch_event_types_t swig_types[19] #define SWIGTYPE_p_switch_input_args_t swig_types[20] #define SWIGTYPE_p_switch_input_type_t swig_types[21] -#define SWIGTYPE_p_switch_priority_t swig_types[22] -#define SWIGTYPE_p_switch_queue_t swig_types[23] -#define SWIGTYPE_p_switch_state_handler_table_t swig_types[24] -#define SWIGTYPE_p_switch_status_t swig_types[25] -#define SWIGTYPE_p_switch_stream_handle_t swig_types[26] -#define SWIGTYPE_p_uint32_t swig_types[27] -#define SWIGTYPE_p_void swig_types[28] -static swig_type_info *swig_types[30]; -static swig_module_info swig_module = {swig_types, 29, 0, 0, 0, 0}; +#define SWIGTYPE_p_switch_mutex_t swig_types[22] +#define SWIGTYPE_p_switch_priority_t swig_types[23] +#define SWIGTYPE_p_switch_queue_t swig_types[24] +#define SWIGTYPE_p_switch_state_handler_table_t swig_types[25] +#define SWIGTYPE_p_switch_status_t swig_types[26] +#define SWIGTYPE_p_switch_stream_handle_t swig_types[27] +#define SWIGTYPE_p_uint32_t swig_types[28] +#define SWIGTYPE_p_void swig_types[29] +static swig_type_info *swig_types[31]; +static swig_module_info swig_module = {swig_types, 30, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -7629,6 +7630,83 @@ XS(_wrap_CoreSession_read) { } +XS(_wrap_CoreSession_detectSpeech) { + { + CoreSession *arg1 = (CoreSession *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) NULL ; + char *arg4 = (char *) NULL ; + char *arg5 = (char *) NULL ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + int res4 ; + char *buf4 = 0 ; + int alloc4 = 0 ; + int res5 ; + char *buf5 = 0 ; + int alloc5 = 0 ; + int argvi = 0; + dXSARGS; + + if ((items < 2) || (items > 5)) { + SWIG_croak("Usage: CoreSession_detectSpeech(self,arg0,arg1,arg2,arg3);"); + } + res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CoreSession, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CoreSession_detectSpeech" "', argument " "1"" of type '" "CoreSession *""'"); + } + arg1 = reinterpret_cast< CoreSession * >(argp1); + res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CoreSession_detectSpeech" "', argument " "2"" of type '" "char *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + if (items > 2) { + res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CoreSession_detectSpeech" "', argument " "3"" of type '" "char *""'"); + } + arg3 = reinterpret_cast< char * >(buf3); + } + if (items > 3) { + res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CoreSession_detectSpeech" "', argument " "4"" of type '" "char *""'"); + } + arg4 = reinterpret_cast< char * >(buf4); + } + if (items > 4) { + res5 = SWIG_AsCharPtrAndSize(ST(4), &buf5, NULL, &alloc5); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CoreSession_detectSpeech" "', argument " "5"" of type '" "char *""'"); + } + arg5 = reinterpret_cast< char * >(buf5); + } + (arg1)->detectSpeech(arg2,arg3,arg4,arg5); + ST(argvi) = sv_newmortal(); + + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (alloc4 == SWIG_NEWOBJ) delete[] buf4; + if (alloc5 == SWIG_NEWOBJ) delete[] buf5; + XSRETURN(argvi); + fail: + + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (alloc4 == SWIG_NEWOBJ) delete[] buf4; + if (alloc5 == SWIG_NEWOBJ) delete[] buf5; + SWIG_croak_null(); + } +} + + XS(_wrap_CoreSession_playAndGetDigits) { { CoreSession *arg1 = (CoreSession *) 0 ; @@ -7779,6 +7857,68 @@ XS(_wrap_CoreSession_playAndGetDigits) { } +XS(_wrap_CoreSession_playAndDetectSpeech) { + { + CoreSession *arg1 = (CoreSession *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + int res4 ; + char *buf4 = 0 ; + int alloc4 = 0 ; + int argvi = 0; + char *result = 0 ; + dXSARGS; + + if ((items < 4) || (items > 4)) { + SWIG_croak("Usage: CoreSession_playAndDetectSpeech(self,file,engine,grammar);"); + } + res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CoreSession, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CoreSession_playAndDetectSpeech" "', argument " "1"" of type '" "CoreSession *""'"); + } + arg1 = reinterpret_cast< CoreSession * >(argp1); + res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CoreSession_playAndDetectSpeech" "', argument " "2"" of type '" "char *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CoreSession_playAndDetectSpeech" "', argument " "3"" of type '" "char *""'"); + } + arg3 = reinterpret_cast< char * >(buf3); + res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CoreSession_playAndDetectSpeech" "', argument " "4"" of type '" "char *""'"); + } + arg4 = reinterpret_cast< char * >(buf4); + result = (char *)(arg1)->playAndDetectSpeech(arg2,arg3,arg4); + ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ; + + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (alloc4 == SWIG_NEWOBJ) delete[] buf4; + free(result); + XSRETURN(argvi); + fail: + + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (alloc4 == SWIG_NEWOBJ) delete[] buf4; + SWIG_croak_null(); + } +} + + XS(_wrap_CoreSession_streamFile) { { CoreSession *arg1 = (CoreSession *) 0 ; @@ -9856,6 +9996,201 @@ XS(_wrap_Session_ready) { } +XS(_wrap_Session_callback_mutex_set) { + { + PERL::Session *arg1 = (PERL::Session *) 0 ; + switch_mutex_t *arg2 = (switch_mutex_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int argvi = 0; + dXSARGS; + + if ((items < 2) || (items > 2)) { + SWIG_croak("Usage: Session_callback_mutex_set(self,callback_mutex);"); + } + res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_PERL__Session, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Session_callback_mutex_set" "', argument " "1"" of type '" "PERL::Session *""'"); + } + arg1 = reinterpret_cast< PERL::Session * >(argp1); + res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_switch_mutex_t, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Session_callback_mutex_set" "', argument " "2"" of type '" "switch_mutex_t *""'"); + } + arg2 = reinterpret_cast< switch_mutex_t * >(argp2); + if (arg1) (arg1)->callback_mutex = arg2; + ST(argvi) = sv_newmortal(); + + + XSRETURN(argvi); + fail: + + + SWIG_croak_null(); + } +} + + +XS(_wrap_Session_callback_mutex_get) { + { + PERL::Session *arg1 = (PERL::Session *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int argvi = 0; + switch_mutex_t *result = 0 ; + dXSARGS; + + if ((items < 1) || (items > 1)) { + SWIG_croak("Usage: Session_callback_mutex_get(self);"); + } + res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_PERL__Session, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Session_callback_mutex_get" "', argument " "1"" of type '" "PERL::Session *""'"); + } + arg1 = reinterpret_cast< PERL::Session * >(argp1); + result = (switch_mutex_t *) ((arg1)->callback_mutex); + ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_switch_mutex_t, 0 | 0); argvi++ ; + + XSRETURN(argvi); + fail: + + SWIG_croak_null(); + } +} + + +XS(_wrap_Session_destroying_set) { + { + PERL::Session *arg1 = (PERL::Session *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + int argvi = 0; + dXSARGS; + + if ((items < 2) || (items > 2)) { + SWIG_croak("Usage: Session_destroying_set(self,destroying);"); + } + res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_PERL__Session, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Session_destroying_set" "', argument " "1"" of type '" "PERL::Session *""'"); + } + arg1 = reinterpret_cast< PERL::Session * >(argp1); + ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Session_destroying_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + if (arg1) (arg1)->destroying = arg2; + ST(argvi) = sv_newmortal(); + + + XSRETURN(argvi); + fail: + + + SWIG_croak_null(); + } +} + + +XS(_wrap_Session_destroying_get) { + { + PERL::Session *arg1 = (PERL::Session *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int argvi = 0; + int result; + dXSARGS; + + if ((items < 1) || (items > 1)) { + SWIG_croak("Usage: Session_destroying_get(self);"); + } + res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_PERL__Session, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Session_destroying_get" "', argument " "1"" of type '" "PERL::Session *""'"); + } + arg1 = reinterpret_cast< PERL::Session * >(argp1); + result = (int) ((arg1)->destroying); + ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; + + XSRETURN(argvi); + fail: + + SWIG_croak_null(); + } +} + + +XS(_wrap_Session_event_idx_set) { + { + PERL::Session *arg1 = (PERL::Session *) 0 ; + int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + int argvi = 0; + dXSARGS; + + if ((items < 2) || (items > 2)) { + SWIG_croak("Usage: Session_event_idx_set(self,event_idx);"); + } + res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_PERL__Session, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Session_event_idx_set" "', argument " "1"" of type '" "PERL::Session *""'"); + } + arg1 = reinterpret_cast< PERL::Session * >(argp1); + ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Session_event_idx_set" "', argument " "2"" of type '" "int""'"); + } + arg2 = static_cast< int >(val2); + if (arg1) (arg1)->event_idx = arg2; + ST(argvi) = sv_newmortal(); + + + XSRETURN(argvi); + fail: + + + SWIG_croak_null(); + } +} + + +XS(_wrap_Session_event_idx_get) { + { + PERL::Session *arg1 = (PERL::Session *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int argvi = 0; + int result; + dXSARGS; + + if ((items < 1) || (items > 1)) { + SWIG_croak("Usage: Session_event_idx_get(self);"); + } + res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_PERL__Session, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Session_event_idx_get" "', argument " "1"" of type '" "PERL::Session *""'"); + } + arg1 = reinterpret_cast< PERL::Session * >(argp1); + result = (int) ((arg1)->event_idx); + ST(argvi) = SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(result)); argvi++ ; + + XSRETURN(argvi); + fail: + + SWIG_croak_null(); + } +} + + XS(_wrap_Session_suuid_set) { { PERL::Session *arg1 = (PERL::Session *) 0 ; @@ -10281,6 +10616,7 @@ static swig_type_info _swigt__p_switch_event_t = {"_p_switch_event_t", "switch_e static swig_type_info _swigt__p_switch_event_types_t = {"_p_switch_event_types_t", "switch_event_types_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_switch_input_args_t = {"_p_switch_input_args_t", "switch_input_args_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_switch_input_type_t = {"_p_switch_input_type_t", "switch_input_type_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_switch_mutex_t = {"_p_switch_mutex_t", "switch_mutex_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_switch_priority_t = {"_p_switch_priority_t", "switch_priority_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_switch_queue_t = {"_p_switch_queue_t", "switch_queue_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_switch_state_handler_table_t = {"_p_switch_state_handler_table_t", "switch_state_handler_table_t *", 0, 0, (void*)0, 0}; @@ -10312,6 +10648,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_switch_event_types_t, &_swigt__p_switch_input_args_t, &_swigt__p_switch_input_type_t, + &_swigt__p_switch_mutex_t, &_swigt__p_switch_priority_t, &_swigt__p_switch_queue_t, &_swigt__p_switch_state_handler_table_t, @@ -10343,6 +10680,7 @@ static swig_cast_info _swigc__p_switch_event_t[] = { {&_swigt__p_switch_event_t static swig_cast_info _swigc__p_switch_event_types_t[] = { {&_swigt__p_switch_event_types_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_switch_input_args_t[] = { {&_swigt__p_switch_input_args_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_switch_input_type_t[] = { {&_swigt__p_switch_input_type_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_switch_mutex_t[] = { {&_swigt__p_switch_mutex_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_switch_priority_t[] = { {&_swigt__p_switch_priority_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_switch_queue_t[] = { {&_swigt__p_switch_queue_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_switch_state_handler_table_t[] = { {&_swigt__p_switch_state_handler_table_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -10374,6 +10712,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_switch_event_types_t, _swigc__p_switch_input_args_t, _swigc__p_switch_input_type_t, + _swigc__p_switch_mutex_t, _swigc__p_switch_priority_t, _swigc__p_switch_queue_t, _swigc__p_switch_state_handler_table_t, @@ -10519,7 +10858,9 @@ static swig_command_info swig_commands[] = { {"freeswitchc::CoreSession_getDigits", _wrap_CoreSession_getDigits}, {"freeswitchc::CoreSession_transfer", _wrap_CoreSession_transfer}, {"freeswitchc::CoreSession_read", _wrap_CoreSession_read}, +{"freeswitchc::CoreSession_detectSpeech", _wrap_CoreSession_detectSpeech}, {"freeswitchc::CoreSession_playAndGetDigits", _wrap_CoreSession_playAndGetDigits}, +{"freeswitchc::CoreSession_playAndDetectSpeech", _wrap_CoreSession_playAndDetectSpeech}, {"freeswitchc::CoreSession_streamFile", _wrap_CoreSession_streamFile}, {"freeswitchc::CoreSession_sleep", _wrap_CoreSession_sleep}, {"freeswitchc::CoreSession_flushEvents", _wrap_CoreSession_flushEvents}, @@ -10562,6 +10903,12 @@ static swig_command_info swig_commands[] = { {"freeswitchc::Session_unsetInputCallback", _wrap_Session_unsetInputCallback}, {"freeswitchc::Session_setHangupHook", _wrap_Session_setHangupHook}, {"freeswitchc::Session_ready", _wrap_Session_ready}, +{"freeswitchc::Session_callback_mutex_set", _wrap_Session_callback_mutex_set}, +{"freeswitchc::Session_callback_mutex_get", _wrap_Session_callback_mutex_get}, +{"freeswitchc::Session_destroying_set", _wrap_Session_destroying_set}, +{"freeswitchc::Session_destroying_get", _wrap_Session_destroying_get}, +{"freeswitchc::Session_event_idx_set", _wrap_Session_event_idx_set}, +{"freeswitchc::Session_event_idx_get", _wrap_Session_event_idx_get}, {"freeswitchc::Session_suuid_set", _wrap_Session_suuid_set}, {"freeswitchc::Session_suuid_get", _wrap_Session_suuid_get}, {"freeswitchc::Session_cb_function_set", _wrap_Session_cb_function_set}, diff --git a/src/mod/languages/mod_python/freeswitch.py b/src/mod/languages/mod_python/freeswitch.py index 387b6af014..e6c43d3a45 100644 --- a/src/mod/languages/mod_python/freeswitch.py +++ b/src/mod/languages/mod_python/freeswitch.py @@ -518,9 +518,15 @@ class CoreSession(_object): def read(self, min_digits, max_digits, prompt_audio_file, timeout, valid_terminators, digit_timeout=0): return _freeswitch.CoreSession_read(self, min_digits, max_digits, prompt_audio_file, timeout, valid_terminators, digit_timeout) + def detectSpeech(self, arg0, arg1=None, arg2=None, arg3=None): + return _freeswitch.CoreSession_detectSpeech(self, arg0, arg1, arg2, arg3) + def playAndGetDigits(self, min_digits, max_digits, max_tries, timeout, terminators, audio_files, bad_input_audio_files, digits_regex, var_name=None, digit_timeout=0, transfer_on_failure=None): return _freeswitch.CoreSession_playAndGetDigits(self, min_digits, max_digits, max_tries, timeout, terminators, audio_files, bad_input_audio_files, digits_regex, var_name, digit_timeout, transfer_on_failure) + def playAndDetectSpeech(self, file, engine, grammar): + return _freeswitch.CoreSession_playAndDetectSpeech(self, file, engine, grammar) + def streamFile(self, file, starting_sample_count=0): return _freeswitch.CoreSession_streamFile(self, file, starting_sample_count) diff --git a/src/mod/languages/mod_python/mod_python.i b/src/mod/languages/mod_python/mod_python.i index c22acf6055..0e8be465ee 100644 --- a/src/mod/languages/mod_python/mod_python.i +++ b/src/mod/languages/mod_python/mod_python.i @@ -14,6 +14,9 @@ %newobject CoreSession; %newobject Event; %newobject Stream; +%newobject API::execute; +%newobject API::executeString; +%newobject CoreSession::playAndDetectSpeech; /** insert the following includes into generated code so it compiles */ %{ diff --git a/src/mod/languages/mod_python/mod_python_wrap.cpp b/src/mod/languages/mod_python/mod_python_wrap.cpp index 80b95e8710..bd29b95954 100644 --- a/src/mod/languages/mod_python/mod_python_wrap.cpp +++ b/src/mod/languages/mod_python/mod_python_wrap.cpp @@ -4329,6 +4329,7 @@ SWIGINTERN PyObject *_wrap_API_execute(PyObject *SWIGUNUSEDPARM(self), PyObject resultobj = SWIG_FromCharPtr((const char *)result); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + free(result); return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; @@ -4364,6 +4365,7 @@ SWIGINTERN PyObject *_wrap_API_executeString(PyObject *SWIGUNUSEDPARM(self), PyO result = (char *)(arg1)->executeString((char const *)arg2); resultobj = SWIG_FromCharPtr((const char *)result); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + free(result); return resultobj; fail: if (alloc2 == SWIG_NEWOBJ) delete[] buf2; @@ -8401,6 +8403,81 @@ fail: } +SWIGINTERN PyObject *_wrap_CoreSession_detectSpeech(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + CoreSession *arg1 = (CoreSession *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) NULL ; + char *arg4 = (char *) NULL ; + char *arg5 = (char *) NULL ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + int res4 ; + char *buf4 = 0 ; + int alloc4 = 0 ; + int res5 ; + char *buf5 = 0 ; + int alloc5 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + PyObject * obj4 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"OO|OOO:CoreSession_detectSpeech",&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CoreSession, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CoreSession_detectSpeech" "', argument " "1"" of type '" "CoreSession *""'"); + } + arg1 = reinterpret_cast< CoreSession * >(argp1); + res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CoreSession_detectSpeech" "', argument " "2"" of type '" "char *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + if (obj2) { + res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CoreSession_detectSpeech" "', argument " "3"" of type '" "char *""'"); + } + arg3 = reinterpret_cast< char * >(buf3); + } + if (obj3) { + res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CoreSession_detectSpeech" "', argument " "4"" of type '" "char *""'"); + } + arg4 = reinterpret_cast< char * >(buf4); + } + if (obj4) { + res5 = SWIG_AsCharPtrAndSize(obj4, &buf5, NULL, &alloc5); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "CoreSession_detectSpeech" "', argument " "5"" of type '" "char *""'"); + } + arg5 = reinterpret_cast< char * >(buf5); + } + (arg1)->detectSpeech(arg2,arg3,arg4,arg5); + resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (alloc4 == SWIG_NEWOBJ) delete[] buf4; + if (alloc5 == SWIG_NEWOBJ) delete[] buf5; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (alloc4 == SWIG_NEWOBJ) delete[] buf4; + if (alloc5 == SWIG_NEWOBJ) delete[] buf5; + return NULL; +} + + SWIGINTERN PyObject *_wrap_CoreSession_playAndGetDigits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; CoreSession *arg1 = (CoreSession *) 0 ; @@ -8546,6 +8623,65 @@ fail: } +SWIGINTERN PyObject *_wrap_CoreSession_playAndDetectSpeech(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + CoreSession *arg1 = (CoreSession *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + int res4 ; + char *buf4 = 0 ; + int alloc4 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + char *result = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"OOOO:CoreSession_playAndDetectSpeech",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CoreSession, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CoreSession_playAndDetectSpeech" "', argument " "1"" of type '" "CoreSession *""'"); + } + arg1 = reinterpret_cast< CoreSession * >(argp1); + res2 = SWIG_AsCharPtrAndSize(obj1, &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CoreSession_playAndDetectSpeech" "', argument " "2"" of type '" "char *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + res3 = SWIG_AsCharPtrAndSize(obj2, &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "CoreSession_playAndDetectSpeech" "', argument " "3"" of type '" "char *""'"); + } + arg3 = reinterpret_cast< char * >(buf3); + res4 = SWIG_AsCharPtrAndSize(obj3, &buf4, NULL, &alloc4); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "CoreSession_playAndDetectSpeech" "', argument " "4"" of type '" "char *""'"); + } + arg4 = reinterpret_cast< char * >(buf4); + result = (char *)(arg1)->playAndDetectSpeech(arg2,arg3,arg4); + resultobj = SWIG_FromCharPtr((const char *)result); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (alloc4 == SWIG_NEWOBJ) delete[] buf4; + free(result); + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (alloc4 == SWIG_NEWOBJ) delete[] buf4; + return NULL; +} + + SWIGINTERN PyObject *_wrap_CoreSession_streamFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; CoreSession *arg1 = (CoreSession *) 0 ; @@ -10456,7 +10592,9 @@ static PyMethodDef SwigMethods[] = { { (char *)"CoreSession_getDigits", _wrap_CoreSession_getDigits, METH_VARARGS, NULL}, { (char *)"CoreSession_transfer", _wrap_CoreSession_transfer, METH_VARARGS, NULL}, { (char *)"CoreSession_read", _wrap_CoreSession_read, METH_VARARGS, NULL}, + { (char *)"CoreSession_detectSpeech", _wrap_CoreSession_detectSpeech, METH_VARARGS, NULL}, { (char *)"CoreSession_playAndGetDigits", _wrap_CoreSession_playAndGetDigits, METH_VARARGS, NULL}, + { (char *)"CoreSession_playAndDetectSpeech", _wrap_CoreSession_playAndDetectSpeech, METH_VARARGS, NULL}, { (char *)"CoreSession_streamFile", _wrap_CoreSession_streamFile, METH_VARARGS, NULL}, { (char *)"CoreSession_sleep", _wrap_CoreSession_sleep, METH_VARARGS, NULL}, { (char *)"CoreSession_flushEvents", _wrap_CoreSession_flushEvents, METH_VARARGS, NULL}, diff --git a/src/mod/languages/mod_v8/src/fssession.cpp b/src/mod/languages/mod_v8/src/fssession.cpp index ca135206df..a34406a493 100644 --- a/src/mod/languages/mod_v8/src/fssession.cpp +++ b/src/mod/languages/mod_v8/src/fssession.cpp @@ -1603,7 +1603,8 @@ void *FSSession::Construct(const v8::FunctionCallbackInfo& info) old_obj = JSBase::GetInstance(Handle::Cast(info[1])); } if (switch_ivr_originate(old_obj ? old_obj->_session : NULL, - &session_obj->_session, &session_obj->_cause, uuid, 60, NULL, NULL, NULL, NULL, NULL, SOF_NONE, NULL) == SWITCH_STATUS_SUCCESS) { + &session_obj->_session, &session_obj->_cause, uuid, 60, + NULL, NULL, NULL, NULL, NULL, SOF_NONE, NULL, NULL) == SWITCH_STATUS_SUCCESS) { switch_set_flag(session_obj, S_HUP); } else { /* This will return the Session object, but with no C++ instance related to it */ @@ -1765,7 +1766,8 @@ JS_SESSION_FUNCTION_IMPL(Originate) caller_profile = switch_caller_profile_new(pool, username, dialplan, cid_name, cid_num, network_addr, ani, aniii, rdnis, "mod_v8", context, dest.c_str()); status = - switch_ivr_originate(session, &peer_session, &this->_cause, dest.c_str(), to.length() > 0 ? atoi(to.c_str()) : 60, NULL, NULL, NULL, caller_profile, NULL, SOF_NONE, NULL); + switch_ivr_originate(session, &peer_session, &this->_cause, + dest.c_str(), to.length() > 0 ? atoi(to.c_str()) : 60, NULL, NULL, NULL, caller_profile, NULL, SOF_NONE, NULL, NULL); if (status != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Cannot Create Outgoing Channel! [%s]\n", dest.c_str()); diff --git a/src/switch_channel.c b/src/switch_channel.c index 09fefa1f2a..684c4014ec 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -863,7 +863,7 @@ SWITCH_DECLARE(void) switch_channel_mark_hold(switch_channel_t *channel, switch_ if (switch_true(switch_channel_get_variable(channel, "flip_record_on_hold"))) { switch_core_session_t *other_session; if (switch_core_session_get_partner(channel->session, &other_session) == SWITCH_STATUS_SUCCESS) { - switch_core_media_bug_transfer_recordings(channel->session, other_session); + switch_ivr_transfer_recordings(channel->session, other_session); switch_core_session_rwunlock(other_session); } } diff --git a/src/switch_core_codec.c b/src/switch_core_codec.c index 73fca25b2c..9a6ce2a166 100644 --- a/src/switch_core_codec.c +++ b/src/switch_core_codec.c @@ -235,7 +235,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_set_read_codec(switch_core_s goto end; } - if (session->read_codec->next) { + if (session->read_codec->next && switch_core_codec_ready(session->read_codec->next)) { switch_codec_t *old = session->read_codec; session->read_codec = session->read_codec->next; if (session->read_codec->implementation) { diff --git a/src/switch_core_file.c b/src/switch_core_file.c index 9916c40f8b..4cd4600c48 100644 --- a/src/switch_core_file.c +++ b/src/switch_core_file.c @@ -36,6 +36,30 @@ #include #include "private/switch_core_pvt.h" + +static switch_status_t get_file_size(switch_file_handle_t *fh, const char **string) +{ + switch_status_t status; + switch_file_t *newfile; + switch_size_t size = 0; + + status = switch_file_open(&newfile, fh->spool_path ? fh->spool_path : fh->file_path, SWITCH_FOPEN_READ, SWITCH_FPROT_OS_DEFAULT, fh->memory_pool); + + if (status != SWITCH_STATUS_SUCCESS) { + return status; + } + + size = switch_file_get_size(newfile); + + if (size) { + *string = switch_core_sprintf(fh->memory_pool, "%" SWITCH_SIZE_T_FMT, size); + } + + status = switch_file_close(newfile); + + return status; +} + SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file, const char *func, int line, switch_file_handle_t *fh, const char *file_path, @@ -755,18 +779,32 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_set_string(switch_file_handle_t SWITCH_DECLARE(switch_status_t) switch_core_file_get_string(switch_file_handle_t *fh, switch_audio_col_t col, const char **string) { + switch_status_t status; + switch_assert(fh != NULL); switch_assert(fh->file_interface != NULL); - if (!switch_test_flag(fh, SWITCH_FILE_OPEN)) { + if (!switch_test_flag(fh, SWITCH_FILE_OPEN) && col < SWITCH_AUDIO_COL_STR_FILE_SIZE) { return SWITCH_STATUS_FALSE; } if (!fh->file_interface->file_get_string) { + if (col == SWITCH_AUDIO_COL_STR_FILE_SIZE) { + return get_file_size(fh, string); + } + return SWITCH_STATUS_FALSE; } - return fh->file_interface->file_get_string(fh, col, string); + status = fh->file_interface->file_get_string(fh, col, string); + + if (status == SWITCH_STATUS_SUCCESS && string) return status; + + if (col == SWITCH_AUDIO_COL_STR_FILE_SIZE) { + return get_file_size(fh, string); + } + + return status; } SWITCH_DECLARE(switch_status_t) switch_core_file_truncate(switch_file_handle_t *fh, int64_t offset) @@ -829,17 +867,20 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_command(switch_file_handle_t *f return status; } - -SWITCH_DECLARE(switch_status_t) switch_core_file_close(switch_file_handle_t *fh) +SWITCH_DECLARE(switch_status_t) switch_core_file_pre_close(switch_file_handle_t *fh) { - switch_status_t status; + switch_status_t status = SWITCH_STATUS_SUCCESS; switch_assert(fh != NULL); - if (!fh->file_interface || !switch_test_flag(fh, SWITCH_FILE_OPEN)) { + if (!fh->file_interface) { return SWITCH_STATUS_FALSE; } + if (!switch_test_flag(fh, SWITCH_FILE_OPEN)) { + return SWITCH_STATUS_SUCCESS; + } + if (fh->pre_buffer) { if (switch_test_flag(fh, SWITCH_FILE_FLAG_WRITE)) { switch_size_t rlen, blen; @@ -863,7 +904,23 @@ SWITCH_DECLARE(switch_status_t) switch_core_file_close(switch_file_handle_t *fh) } switch_clear_flag_locked(fh, SWITCH_FILE_OPEN); - status = fh->file_interface->file_close(fh); + + if (fh->file_interface->file_pre_close) { + status = fh->file_interface->file_pre_close(fh); + } + + return status; +} + +SWITCH_DECLARE(switch_status_t) switch_core_file_close(switch_file_handle_t *fh) +{ + switch_status_t status = SWITCH_STATUS_SUCCESS; + + if (switch_test_flag(fh, SWITCH_FILE_OPEN)) { + status = switch_core_file_pre_close(fh); + } + + fh->file_interface->file_close(fh); if (fh->params) { switch_event_destroy(&fh->params); diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 5ec1909be9..fbd7e7b771 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -273,15 +273,15 @@ struct switch_media_handle_s { }; switch_srtp_crypto_suite_t SUITES[CRYPTO_INVALID] = { - { "AEAD_AES_256_GCM_8", AEAD_AES_256_GCM_8, 44, 12}, - { "AEAD_AES_128_GCM_8", AEAD_AES_128_GCM_8, 28, 12}, - { "AES_CM_256_HMAC_SHA1_80", AES_CM_256_HMAC_SHA1_80, 46, 14}, - { "AES_CM_192_HMAC_SHA1_80", AES_CM_192_HMAC_SHA1_80, 38, 14}, - { "AES_CM_128_HMAC_SHA1_80", AES_CM_128_HMAC_SHA1_80, 30, 14}, - { "AES_CM_256_HMAC_SHA1_32", AES_CM_256_HMAC_SHA1_32, 46, 14}, - { "AES_CM_192_HMAC_SHA1_32", AES_CM_192_HMAC_SHA1_32, 38, 14}, - { "AES_CM_128_HMAC_SHA1_32", AES_CM_128_HMAC_SHA1_32, 30, 14}, - { "AES_CM_128_NULL_AUTH", AES_CM_128_NULL_AUTH, 30, 14} + { "AEAD_AES_256_GCM_8", "", AEAD_AES_256_GCM_8, 44, 12}, + { "AEAD_AES_128_GCM_8", "", AEAD_AES_128_GCM_8, 28, 12}, + { "AES_256_CM_HMAC_SHA1_80", "AES_CM_256_HMAC_SHA1_80", AES_CM_256_HMAC_SHA1_80, 46, 14}, + { "AES_192_CM_HMAC_SHA1_80", "AES_CM_192_HMAC_SHA1_80", AES_CM_192_HMAC_SHA1_80, 38, 14}, + { "AES_CM_128_HMAC_SHA1_80", "", AES_CM_128_HMAC_SHA1_80, 30, 14}, + { "AES_256_CM_HMAC_SHA1_32", "AES_CM_256_HMAC_SHA1_32", AES_CM_256_HMAC_SHA1_32, 46, 14}, + { "AES_192_CM_HMAC_SHA1_32", "AES_CM_192_HMAC_SHA1_32", AES_CM_192_HMAC_SHA1_32, 38, 14}, + { "AES_CM_128_HMAC_SHA1_32", "", AES_CM_128_HMAC_SHA1_32, 30, 14}, + { "AES_CM_128_NULL_AUTH", "", AES_CM_128_NULL_AUTH, 30, 14} }; SWITCH_DECLARE(switch_rtp_crypto_key_type_t) switch_core_media_crypto_str2type(const char *str) @@ -289,7 +289,7 @@ SWITCH_DECLARE(switch_rtp_crypto_key_type_t) switch_core_media_crypto_str2type(c int i; for (i = 0; i < CRYPTO_INVALID; i++) { - if (!strncasecmp(str, SUITES[i].name, strlen(SUITES[i].name))) { + if (!strncasecmp(str, SUITES[i].name, strlen(SUITES[i].name)) || (SUITES[i].alias && strlen(SUITES[i].alias) && !strncasecmp(str, SUITES[i].alias, strlen(SUITES[i].alias)))) { return SUITES[i].type; } } @@ -1140,10 +1140,12 @@ SWITCH_DECLARE(void) switch_core_media_parse_rtp_bugs(switch_rtp_bug_flag_t *fla } } - +/** + * If @use_alias != 0 then send crypto with alias name instead of name. + */ static switch_status_t switch_core_media_build_crypto(switch_media_handle_t *smh, switch_media_type_t type, - int index, switch_rtp_crypto_key_type_t ctype, switch_rtp_crypto_direction_t direction, int force) + int index, switch_rtp_crypto_key_type_t ctype, switch_rtp_crypto_direction_t direction, int force, int use_alias) { unsigned char b64_key[512] = ""; unsigned char *key; @@ -1185,7 +1187,7 @@ static switch_status_t switch_core_media_build_crypto(switch_media_handle_t *smh #endif switch_b64_encode(key, SUITES[ctype].keysalt_len, b64_key, sizeof(b64_key)); - if (!switch_channel_var_true(channel, "rtp_pad_srtp_keys")) { + if (switch_channel_var_false(channel, "rtp_pad_srtp_keys")) { p = strrchr((char *) b64_key, '='); while (p && *p && *p == '=') { @@ -1196,9 +1198,9 @@ static switch_status_t switch_core_media_build_crypto(switch_media_handle_t *smh if (index == SWITCH_NO_CRYPTO_TAG) index = ctype + 1; if (switch_channel_var_true(channel, "rtp_secure_media_mki")) { - engine->ssec[ctype].local_crypto_key = switch_core_session_sprintf(smh->session, "%d %s inline:%s|2^31|1:1", index, SUITES[ctype].name, b64_key); + engine->ssec[ctype].local_crypto_key = switch_core_session_sprintf(smh->session, "%d %s inline:%s|2^31|1:1", index, (use_alias ? SUITES[ctype].alias : SUITES[ctype].name), b64_key); } else { - engine->ssec[ctype].local_crypto_key = switch_core_session_sprintf(smh->session, "%d %s inline:%s", index, SUITES[ctype].name, b64_key); + engine->ssec[ctype].local_crypto_key = switch_core_session_sprintf(smh->session, "%d %s inline:%s", index, (use_alias ? SUITES[ctype].alias : SUITES[ctype].name), b64_key); } switch_channel_set_variable_name_printf(smh->session->channel, engine->ssec[ctype].local_crypto_key, "rtp_last_%s_local_crypto_key", type2str(type)); @@ -1218,7 +1220,6 @@ static switch_status_t switch_core_media_build_crypto(switch_media_handle_t *smh return SWITCH_STATUS_SUCCESS; } - #define CRYPTO_KEY_MATERIAL_LIFETIME_MKI_ERR 0x0u #define CRYPTO_KEY_MATERIAL_MKI 0x1u #define CRYPTO_KEY_MATERIAL_LIFETIME 0x2u @@ -1771,8 +1772,6 @@ static void switch_core_session_parse_crypto_prefs(switch_core_session_t *sessio } } - - SWITCH_DECLARE(int) switch_core_session_check_incoming_crypto(switch_core_session_t *session, const char *varname, switch_media_type_t type, const char *crypto, int crypto_tag, switch_sdp_type_t sdp_type) @@ -1781,6 +1780,7 @@ SWITCH_DECLARE(int) switch_core_session_check_incoming_crypto(switch_core_sessio int i = 0; int ctype = 0; const char *vval = NULL; + int use_alias = 0; switch_rtp_engine_t *engine; switch_media_handle_t *smh; @@ -1801,15 +1801,21 @@ SWITCH_DECLARE(int) switch_core_session_check_incoming_crypto(switch_core_sessio for (i = 0; smh->crypto_suite_order[i] != CRYPTO_INVALID; i++) { switch_rtp_crypto_key_type_t j = SUITES[smh->crypto_suite_order[i]].type; - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "looking for crypto suite [%s] in [%s]\n", SUITES[j].name, crypto); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "looking for crypto suite [%s]alias=[%s] in [%s]\n", SUITES[j].name, SUITES[j].alias, crypto); - if (switch_stristr(SUITES[j].name, crypto)) { + if (switch_stristr(SUITES[j].alias, crypto)) { + use_alias = 1; + } + + if (use_alias || switch_stristr(SUITES[j].name, crypto)) { ctype = SUITES[j].type; - vval = SUITES[j].name; + vval = use_alias ? SUITES[j].alias : SUITES[j].name; switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Found suite %s\n", vval); switch_channel_set_variable(session->channel, "rtp_secure_media_negotiated", vval); break; } + + use_alias = 0; } if (engine->ssec[engine->crypto_type].remote_crypto_key && switch_rtp_ready(engine->rtp_session)) { @@ -1828,7 +1834,7 @@ SWITCH_DECLARE(int) switch_core_session_check_incoming_crypto(switch_core_sessio } switch_channel_set_variable(session->channel, varname, vval); - switch_core_media_build_crypto(session->media_handle, type, crypto_tag, ctype, SWITCH_RTP_CRYPTO_SEND, 1); + switch_core_media_build_crypto(session->media_handle, type, crypto_tag, ctype, SWITCH_RTP_CRYPTO_SEND, 1, use_alias); switch_rtp_add_crypto_key(engine->rtp_session, SWITCH_RTP_CRYPTO_SEND, atoi(crypto), &engine->ssec[engine->crypto_type]); } @@ -1893,7 +1899,7 @@ SWITCH_DECLARE(int) switch_core_session_check_incoming_crypto(switch_core_sessio switch_channel_set_flag(smh->session->channel, CF_SECURE); if (zstr(engine->ssec[engine->crypto_type].local_crypto_key)) { - switch_core_media_build_crypto(session->media_handle, type, crypto_tag, ctype, SWITCH_RTP_CRYPTO_SEND, 1); + switch_core_media_build_crypto(session->media_handle, type, crypto_tag, ctype, SWITCH_RTP_CRYPTO_SEND, 1, use_alias); } } @@ -1929,13 +1935,13 @@ SWITCH_DECLARE(void) switch_core_session_check_outgoing_crypto(switch_core_sessi for (i = 0; smh->crypto_suite_order[i] != CRYPTO_INVALID; i++) { switch_core_media_build_crypto(session->media_handle, - SWITCH_MEDIA_TYPE_AUDIO, SWITCH_NO_CRYPTO_TAG, smh->crypto_suite_order[i], SWITCH_RTP_CRYPTO_SEND, 0); + SWITCH_MEDIA_TYPE_AUDIO, SWITCH_NO_CRYPTO_TAG, smh->crypto_suite_order[i], SWITCH_RTP_CRYPTO_SEND, 0, 0); switch_core_media_build_crypto(session->media_handle, - SWITCH_MEDIA_TYPE_VIDEO, SWITCH_NO_CRYPTO_TAG, smh->crypto_suite_order[i], SWITCH_RTP_CRYPTO_SEND, 0); + SWITCH_MEDIA_TYPE_VIDEO, SWITCH_NO_CRYPTO_TAG, smh->crypto_suite_order[i], SWITCH_RTP_CRYPTO_SEND, 0, 0); switch_core_media_build_crypto(session->media_handle, - SWITCH_MEDIA_TYPE_TEXT, SWITCH_NO_CRYPTO_TAG, smh->crypto_suite_order[i], SWITCH_RTP_CRYPTO_SEND, 0); + SWITCH_MEDIA_TYPE_TEXT, SWITCH_NO_CRYPTO_TAG, smh->crypto_suite_order[i], SWITCH_RTP_CRYPTO_SEND, 0, 0); } } @@ -2487,6 +2493,7 @@ static void check_jb(switch_core_session_t *session, const char *input, int32_t if (strchr(val, 'p') && jb_msec > 0) { jb_msec *= -1; + if (!maxlen) maxlen = jb_msec * 50; } if ((p = strchr(val, ':'))) { @@ -2499,6 +2506,8 @@ static void check_jb(switch_core_session_t *session, const char *input, int32_t } } + if (!maxlen) maxlen = jb_msec * 50; + if (jb_msec < 0 && jb_msec > -1000) { jb_msec = (a_engine->read_codec.implementation->microseconds_per_packet / 1000) * abs(jb_msec); } @@ -2506,7 +2515,6 @@ static void check_jb(switch_core_session_t *session, const char *input, int32_t if (maxlen < 0 && maxlen > -1000) { maxlen = (a_engine->read_codec.implementation->microseconds_per_packet / 1000) * abs(maxlen); } - if (jb_msec < 10 || jb_msec > 10000) { @@ -2599,7 +2607,7 @@ static void check_jb_sync(switch_core_session_t *session) fps = video_globals.fps; - if (!fps) return; + if (fps < 15) return; sync_audio = 1; @@ -2626,7 +2634,7 @@ static void check_jb_sync(switch_core_session_t *session) jb_sync_msec, frames, video_globals.fps, sync_audio ? "yes" : "no", jb_sync_msec); if (sync_audio) { - check_jb(session, NULL, jb_sync_msec, 0, SWITCH_TRUE); + check_jb(session, NULL, jb_sync_msec, jb_sync_msec * 2, SWITCH_TRUE); } video_globals.synced++; @@ -4249,7 +4257,7 @@ static switch_status_t check_ice(switch_media_handle_t *smh, switch_media_type_t for (ai = 0; ai < engine->cand_acl_count; ai++) { for (i = 0; i < engine->ice_in.cand_idx[cid]; i++) { - int is_relay = !strcmp(engine->ice_in.cands[i][cid].cand_type, "relay"); + int is_relay = engine->ice_in.cands[i][cid].cand_type && !strcmp(engine->ice_in.cands[i][cid].cand_type, "relay"); if (relay_ok != is_relay) continue; diff --git a/src/switch_core_media_bug.c b/src/switch_core_media_bug.c index 962a9cb564..2a473d0c3d 100644 --- a/src/switch_core_media_bug.c +++ b/src/switch_core_media_bug.c @@ -800,7 +800,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_bug_add(switch_core_session_t switch_media_bug_t *bug, *bp; switch_size_t bytes; switch_event_t *event; - int tap_only = 1, punt = 0; + int tap_only = 1, punt = 0, added = 0; const char *p; @@ -961,13 +961,21 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_bug_add(switch_core_session_t switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Attaching BUG to %s\n", switch_channel_get_name(session->channel)); switch_thread_rwlock_wrlock(session->bug_rwlock); - bug->next = session->bugs; - session->bugs = bug; + if (!session->bugs) { + session->bugs = bug; + added = 1; + } + for(bp = session->bugs; bp; bp = bp->next) { if (bp->ready && !switch_test_flag(bp, SMBF_TAP_NATIVE_READ) && !switch_test_flag(bp, SMBF_TAP_NATIVE_WRITE)) { tap_only = 0; } + + if (!added && !bp->next) { + bp->next = bug; + break; + } } switch_thread_rwlock_unlock(session->bug_rwlock); @@ -1012,53 +1020,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_bug_flush_all(switch_core_sess return SWITCH_STATUS_FALSE; } -SWITCH_DECLARE(switch_status_t) switch_core_media_bug_transfer_recordings(switch_core_session_t *orig_session, switch_core_session_t *new_session) -{ - switch_media_bug_t *bp; - char *list[100] = { 0 }; - int stop_times[100] = { 0 }; - int i = 0, x = 0; - - if (orig_session->bugs) { - switch_channel_t *new_channel = switch_core_session_get_channel(new_session); - switch_channel_t *orig_channel = switch_core_session_get_channel(orig_session); - const char *save_append = switch_channel_get_variable(new_channel, "record_append"); - const char *save_stereo = switch_channel_get_variable(new_channel, "record_stereo"); - const char *orig_stereo = switch_channel_get_variable(orig_channel, "record_stereo"); - const char *new_stereo = orig_stereo; - - switch_thread_rwlock_wrlock(orig_session->bug_rwlock); - switch_channel_set_variable(new_channel, "RECORD_MIN_SEC", "0"); - switch_channel_set_variable(new_channel, "record_append", "true"); - switch_channel_set_variable(new_channel, "record_stereo", new_stereo); - - for (bp = orig_session->bugs; bp; bp = bp->next) { - if (!strcmp(bp->function, "session_record")) { - list[x] = switch_core_session_strdup(new_session, bp->target); - if (bp->stop_time > 0) { - stop_times[x] = (int)(bp->stop_time - switch_epoch_time_now(NULL)); - } - x++; - } - } - - switch_thread_rwlock_unlock(orig_session->bug_rwlock); - - for(i = 0; i < x; i++) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(orig_session), SWITCH_LOG_DEBUG, "Transfering %s from %s to %s\n", list[i], - switch_core_session_get_name(orig_session), switch_core_session_get_name(new_session)); - switch_ivr_stop_record_session(orig_session, list[i]); - switch_ivr_record_session(new_session, list[i], stop_times[i], NULL); - } - - switch_channel_set_variable(new_channel, "record_append", save_append); - switch_channel_set_variable(new_channel, "record_stereo", save_stereo); - - } - - return x ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_FALSE; -} - SWITCH_DECLARE(switch_status_t) switch_core_media_bug_transfer_callback(switch_core_session_t *orig_session, switch_core_session_t *new_session, switch_media_bug_callback_t callback, void * (*user_data_dup_func) (switch_core_session_t *, void *)) diff --git a/src/switch_core_session.c b/src/switch_core_session.c index dec61f3917..23307bf81a 100644 --- a/src/switch_core_session.c +++ b/src/switch_core_session.c @@ -1439,6 +1439,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_wake_session_thread(switch_c } else { if (switch_channel_state_thread_trylock(session->channel) == SWITCH_STATUS_SUCCESS) { /* We've beat them for sure, as soon as we release this lock, they will be checking their queue on the next line. */ + switch_channel_set_flag(session->channel, CF_STATE_REPEAT); switch_channel_state_thread_unlock(session->channel); } else { /* What luck! The channel has already started going to sleep *after* we checked if we need to wake it up. diff --git a/src/switch_core_state_machine.c b/src/switch_core_state_machine.c index ca362844e0..500ea3c549 100644 --- a/src/switch_core_state_machine.c +++ b/src/switch_core_state_machine.c @@ -690,29 +690,26 @@ SWITCH_DECLARE(void) switch_core_session_run(switch_core_session_t *session) switch_channel_hangup(session->channel, SWITCH_CAUSE_WRONG_CALL_STATE); } } else { - switch_ivr_parse_all_events(session); + switch_channel_state_thread_lock(session->channel); + switch_ivr_parse_all_events(session); - if (switch_channel_get_state(session->channel) == switch_channel_get_running_state(session->channel)) { - switch_channel_state_thread_lock(session->channel); + if (switch_channel_test_flag(session->channel, CF_STATE_REPEAT)) { + switch_channel_clear_flag(session->channel, CF_STATE_REPEAT); + } else if (switch_channel_get_state(session->channel) == switch_channel_get_running_state(session->channel)) { switch_channel_set_flag(session->channel, CF_THREAD_SLEEPING); - if (switch_channel_get_state(session->channel) == switch_channel_get_running_state(session->channel)) { - switch_ivr_parse_all_events(session); - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG1, "%s session thread sleep state: %s!\n", - switch_channel_get_name(session->channel), - switch_channel_state_name(switch_channel_get_running_state(session->channel))); - switch_thread_cond_wait(session->cond, session->mutex); - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG1, "%s session thread wake state: %s!\n", - switch_channel_get_name(session->channel), - switch_channel_state_name(switch_channel_get_running_state(session->channel))); - - - } + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG1, "%s session thread sleep state: %s!\n", + switch_channel_get_name(session->channel), + switch_channel_state_name(switch_channel_get_running_state(session->channel))); + switch_thread_cond_wait(session->cond, session->mutex); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG1, "%s session thread wake state: %s!\n", + switch_channel_get_name(session->channel), + switch_channel_state_name(switch_channel_get_running_state(session->channel))); switch_channel_clear_flag(session->channel, CF_THREAD_SLEEPING); - switch_channel_state_thread_unlock(session->channel); } - switch_ivr_parse_all_events(session); + switch_channel_state_thread_unlock(session->channel); + switch_ivr_parse_all_events(session); } } diff --git a/src/switch_cpp.cpp b/src/switch_cpp.cpp index 3741ba2ffd..d703bbdc31 100644 --- a/src/switch_cpp.cpp +++ b/src/switch_cpp.cpp @@ -619,7 +619,7 @@ SWITCH_DECLARE_CONSTRUCTOR CoreSession::CoreSession(char *nuuid, CoreSession *a_ allocated = 1; } else { cause = SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER; - if (switch_ivr_originate(a_leg ? a_leg->session : NULL, &session, &cause, nuuid, 60, NULL, NULL, NULL, NULL, NULL, SOF_NONE, NULL) + if (switch_ivr_originate(a_leg ? a_leg->session : NULL, &session, &cause, nuuid, 60, NULL, NULL, NULL, NULL, NULL, SOF_NONE, NULL, NULL) == SWITCH_STATUS_SUCCESS) { channel = switch_core_session_get_channel(session); allocated = 1; @@ -984,6 +984,71 @@ SWITCH_DECLARE(char *) CoreSession::playAndGetDigits(int min_digits, return dtmf_buf; } +SWITCH_DECLARE(void) CoreSession::detectSpeech(char *arg0, char *arg1, char *arg2, char *arg3) +{ + this_check_void(); + sanity_check_noreturn; + + begin_allow_threads(); + + if (!arg0) return; + + if (!strcasecmp(arg0, "grammar") && arg1 && arg2) { + switch_ivr_detect_speech_load_grammar(session, arg1, arg2); + } else if (!strcasecmp(arg0, "nogrammar") && arg1) { + switch_ivr_detect_speech_unload_grammar(session, arg1); + } else if (!strcasecmp(arg0, "grammaron") && arg1) { + switch_ivr_detect_speech_enable_grammar(session, arg1); + } else if (!strcasecmp(arg0, "grammaroff") && arg1) { + switch_ivr_detect_speech_disable_grammar(session, arg1); + } else if (!strcasecmp(arg0, "grammarsalloff")) { + switch_ivr_detect_speech_disable_all_grammars(session); + } else if (!strcasecmp(arg0, "init") && arg1 && arg2) { + switch_ivr_detect_speech_init(session, arg1, arg2, NULL); + } else if (!strcasecmp(arg0, "pause")) { + switch_ivr_pause_detect_speech(session); + } else if (!strcasecmp(arg0, "resume")) { + switch_ivr_resume_detect_speech(session); + } else if (!strcasecmp(arg0, "stop")) { + switch_ivr_stop_detect_speech(session); + } else if (!strcasecmp(arg0, "param") && arg1 && arg2) { + switch_ivr_set_param_detect_speech(session, arg1, arg2); + } else if (!strcasecmp(arg0, "start-input-timers")) { + switch_ivr_detect_speech_start_input_timers(session); + } else if (!strcasecmp(arg0, "start_input_timers")) { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "start_input_timers is deprecated, please use start-input-timers instead!\n"); + switch_ivr_detect_speech_start_input_timers(session); + } else if (arg1 && arg2 && arg3) { + switch_ivr_detect_speech(session, arg0, arg1, arg2, arg3, NULL); + } + + end_allow_threads(); +} + +SWITCH_DECLARE(char *) CoreSession::playAndDetectSpeech(char *file, char *engine, char *grammar) +{ + sanity_check((char *)""); + this_check((char *)""); + begin_allow_threads(); + + char *result = NULL; + + switch_status_t status = switch_ivr_play_and_detect_speech(session, file, engine, grammar, &result, 0, NULL); + if (status == SWITCH_STATUS_SUCCESS) { + // good + } else if (status == SWITCH_STATUS_GENERR) { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "GRAMMAR ERROR\n"); + } else if (status == SWITCH_STATUS_NOT_INITALIZED) { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "ASR INIT ERROR\n"); + } else { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "ERROR\n"); + } + + end_allow_threads(); + + return result; // remeber to free me +} + SWITCH_DECLARE(void) CoreSession::say(const char *tosay, const char *module_name, const char *say_type, const char *say_method, const char *say_gender) { this_check_void(); @@ -1184,6 +1249,7 @@ SWITCH_DECLARE(int) CoreSession::originate(CoreSession *a_leg_session, char *des NULL, NULL, SOF_NONE, + NULL, NULL) != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Error Creating Outgoing Channel! [%s]\n", dest); goto failed; diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 47e4105fb6..920e4edb4a 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -572,7 +572,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_event(switch_core_session_t *se switch_channel_clear_flag(channel, CF_STOP_BROADCAST); - if (!switch_channel_test_flag(channel, CF_BRIDGED) || switch_channel_test_flag(channel, CF_BROADCAST)) { + if (!switch_channel_test_flag(channel, CF_BRIDGED) || switch_channel_test_flag(channel, CF_HOLD_BLEG)) { inner++; hold_bleg = NULL; } @@ -597,6 +597,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_event(switch_core_session_t *se if ((b_session = switch_core_session_locate(b_uuid))) { switch_channel_t *b_channel = switch_core_session_get_channel(b_session); switch_status_t st; + switch_channel_set_flag(channel, CF_HOLD_BLEG); switch_ivr_broadcast(b_uuid, stream, SMF_ECHO_ALEG | SMF_LOOP); st = switch_channel_wait_for_flag(b_channel, CF_BROADCAST, SWITCH_TRUE, 5000, NULL); @@ -649,6 +650,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_event(switch_core_session_t *se if (b_uuid) { if ((b_session = switch_core_session_locate(b_uuid))) { switch_channel_t *b_channel = switch_core_session_get_channel(b_session); + switch_channel_clear_flag(channel, CF_HOLD_BLEG); switch_channel_stop_broadcast(b_channel); switch_channel_wait_for_flag(b_channel, CF_BROADCAST, SWITCH_FALSE, 5000, NULL); switch_core_session_rwunlock(b_session); diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 2e9cd6e29a..6722371776 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -787,6 +787,8 @@ typedef struct { int mux; int loop; char *file; + switch_buffer_t *wbuffer; // only in r&w mode + switch_mutex_t *mutex; } displace_helper_t; static switch_bool_t write_displace_callback(switch_media_bug_t *bug, void *user_data, switch_abc_type_t type) @@ -885,6 +887,9 @@ static switch_bool_t read_displace_callback(switch_media_bug_t *bug, void *user_ switch_core_session_t *session = switch_core_media_bug_get_session(bug); switch_channel_t *channel; + if (dh->wbuffer) switch_buffer_destroy(&dh->wbuffer); + if (dh->mutex) switch_mutex_destroy(dh->mutex); + switch_core_file_close(&dh->fh); if (session && (channel = switch_core_session_get_channel(session))) { @@ -895,9 +900,24 @@ static switch_bool_t read_displace_callback(switch_media_bug_t *bug, void *user_ case SWITCH_ABC_TYPE_WRITE_REPLACE: { switch_frame_t *rframe = switch_core_media_bug_get_write_replace_frame(bug); - if (dh && !dh->mux) { - memset(rframe->data, 255, rframe->datalen); + + if (dh) { + if (dh->wbuffer) { + switch_mutex_lock(dh->mutex); + if (switch_buffer_inuse(dh->wbuffer) >= rframe->datalen) { + switch_buffer_read(dh->wbuffer, rframe->data, rframe->datalen); + } else { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(switch_core_media_bug_get_session(bug)), + SWITCH_LOG_WARNING, "not enough data %" SWITCH_SIZE_T_FMT "\n", + switch_buffer_inuse(dh->wbuffer)); + memset(rframe->data, 255, rframe->datalen); + } + switch_mutex_unlock(dh->mutex); + } else if (!dh->mux) { + memset(rframe->data, 255, rframe->datalen); + } } + switch_core_media_bug_set_write_replace_frame(bug, rframe); } break; @@ -925,6 +945,12 @@ static switch_bool_t read_displace_callback(switch_media_bug_t *bug, void *user_ } else { st = switch_core_file_read(&dh->fh, rframe->data, &len); rframe->samples = (uint32_t) len; + + if (dh->wbuffer) { + switch_mutex_lock(dh->mutex); + switch_buffer_write(dh->wbuffer, rframe->data, len * 2 * dh->fh.channels); + switch_mutex_unlock(dh->mutex); + } } rframe->datalen = rframe->samples * 2 * dh->fh.channels; @@ -1067,6 +1093,13 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_displace_session(switch_core_session_ } if (flags && strchr(flags, 'r')) { + if (strchr(flags, 'w')) { // r&w mode, both sides can hear the same file + int len = dh->fh.samplerate / 10 * 2 * dh->fh.channels; // init with 100ms + + switch_mutex_init(&dh->mutex, SWITCH_MUTEX_NESTED, switch_core_session_get_pool(session)); + switch_buffer_create_dynamic(&dh->wbuffer, len, len, 0); + } + status = switch_core_media_bug_add(session, "displace", file, read_displace_callback, dh, to, SMBF_WRITE_REPLACE | SMBF_READ_REPLACE | SMBF_NO_PAUSE, &bug); } else { @@ -1283,6 +1316,8 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s rh->completion_cause = NULL; switch_core_session_get_read_impl(session, &rh->read_impl); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Record session sample rate: %d -> %d\n", rh->fh->native_rate, rh->read_impl.actual_samples_per_second); + rh->fh->native_rate = rh->read_impl.actual_samples_per_second; if (rh->fh && switch_core_file_has_video(rh->fh, SWITCH_TRUE)) { switch_core_media_bug_set_media_params(bug, &rh->fh->mm); @@ -1385,6 +1420,9 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s switch_size_t len; uint8_t data[SWITCH_RECOMMENDED_BUFFER_SIZE]; switch_frame_t frame = { 0 }; + const char *file_trimmed_ms = NULL; + const char *file_size = NULL; + const char *file_trimmed = NULL; if (rh->thread_ready) { switch_status_t st; @@ -1423,6 +1461,14 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s //switch_channel_clear_flag_recursive(session->channel, CF_VIDEO_DECODED_READ); //} + + switch_core_file_pre_close(rh->fh); + switch_core_file_get_string(rh->fh, SWITCH_AUDIO_COL_STR_FILE_SIZE, &file_size); + switch_core_file_get_string(rh->fh, SWITCH_AUDIO_COL_STR_FILE_TRIMMED, &file_trimmed); + switch_core_file_get_string(rh->fh, SWITCH_AUDIO_COL_STR_FILE_TRIMMED_MS, &file_trimmed_ms); + if (file_trimmed_ms) switch_channel_set_variable(channel, "record_trimmed_ms", file_trimmed_ms); + if (file_size) switch_channel_set_variable(channel, "record_file_size", file_size); + if (file_trimmed) switch_channel_set_variable(channel, "record_trimmed", file_trimmed); switch_core_file_close(rh->fh); if (!rh->writes && !rh->vwrites) { @@ -4941,6 +4987,33 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_detect_speech_init(switch_core_sessio return SWITCH_STATUS_SUCCESS; } +static void asr_set_json_text_params(switch_core_session_t *session, switch_asr_handle_t *ah) +{ + switch_event_header_t *hp; + switch_event_t *event, *cevent; + const char *variable_prefix = "asr_json_param_"; + switch_channel_t *channel = switch_core_session_get_channel(session); + + switch_core_get_variables(&event); + switch_channel_get_variables(channel, &cevent); + switch_event_merge(event, cevent); + + for (hp = event->headers; hp; hp = hp->next) { + char *var = hp->name; + char *val = hp->value; + + if (!strncasecmp(var, variable_prefix, strlen(variable_prefix)) && !zstr(val)) { + char *json_var = var + strlen(variable_prefix); + + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "setting json param %s = %s\n", json_var, val); + switch_core_asr_text_param(ah, json_var, val); + } + } + + switch_event_destroy(&event); + switch_event_destroy(&cevent); +} + SWITCH_DECLARE(switch_status_t) switch_ivr_detect_speech(switch_core_session_t *session, const char *mod_name, const char *grammar, const char *name, const char *dest, switch_asr_handle_t *ah) @@ -4949,6 +5022,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_detect_speech(switch_core_session_t * switch_status_t status; struct speech_thread_handle *sth = switch_channel_get_private(channel, SWITCH_SPEECH_KEY); const char *p; + int resume = 0; + if (!sth) { /* No speech thread handle available yet, init speech detection first. */ @@ -4960,16 +5035,22 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_detect_speech(switch_core_session_t * if (!(sth = switch_channel_get_private(channel, SWITCH_SPEECH_KEY))) { return SWITCH_STATUS_NOT_INITALIZED; } - - switch_ivr_resume_detect_speech(session); + } else { + resume = 1; } + asr_set_json_text_params(session, sth->ah); + if (switch_core_asr_load_grammar(sth->ah, grammar, name) != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Error loading Grammar\n"); switch_ivr_stop_detect_speech(session); return SWITCH_STATUS_FALSE; } + if (resume) { + switch_ivr_resume_detect_speech(session); + } + if ((p = switch_channel_get_variable(channel, "fire_asr_events")) && switch_true(p)) { switch_set_flag(sth->ah, SWITCH_ASR_FLAG_FIRE_EVENTS); } diff --git a/src/switch_ivr_bridge.c b/src/switch_ivr_bridge.c index 82f23cc3d3..0ab870c6a5 100644 --- a/src/switch_ivr_bridge.c +++ b/src/switch_ivr_bridge.c @@ -1076,6 +1076,38 @@ static const switch_state_handler_table_t audio_bridge_peer_state_handlers = { /*.on_consume_media */ audio_bridge_on_consume_media, }; + +SWITCH_DECLARE(switch_status_t) switch_ivr_bridge_bleg(switch_core_session_t *session, switch_core_session_t *peer_session, uint32_t max_wait_ms) +{ + switch_channel_t *channel; + switch_channel_t *peer_channel = NULL; + switch_status_t status = SWITCH_STATUS_SUCCESS; + + switch_assert(session); + channel = switch_core_session_get_channel(session); + + switch_channel_set_flag(channel, CF_ARRANGED_BRIDGE); + + if (peer_session) { + peer_channel = switch_core_session_get_channel(peer_session); + } + + status = switch_channel_wait_for_flag(channel, CF_ARRANGED_BRIDGE, SWITCH_FALSE, max_wait_ms, peer_channel); + + if (status == SWITCH_STATUS_FALSE) return status; + + if (switch_channel_test_flag(channel, CF_ARRANGED_BRIDGE)) { + switch_channel_clear_flag(channel, CF_ARRANGED_BRIDGE); + return SWITCH_STATUS_FALSE; + } else { + audio_bridge_on_exchange_media(session); + } + + return SWITCH_STATUS_SUCCESS; +} + + + static switch_status_t uuid_bridge_on_reset(switch_core_session_t *session); static switch_status_t uuid_bridge_on_hibernate(switch_core_session_t *session); static switch_status_t uuid_bridge_on_soft_execute(switch_core_session_t *session); @@ -1636,7 +1668,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses goto done; } - switch_channel_set_state(peer_channel, CS_CONSUME_MEDIA); + if (!switch_channel_test_flag(peer_channel, CF_ARRANGED_BRIDGE)) { + switch_channel_set_state(peer_channel, CS_CONSUME_MEDIA); + } switch_channel_set_variable(peer_channel, "call_uuid", switch_core_session_get_uuid(session)); @@ -1741,9 +1775,13 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses } switch_channel_set_private(peer_channel, "_bridge_", b_leg); - switch_channel_set_state(peer_channel, CS_EXCHANGE_MEDIA); - + if (switch_channel_test_flag(peer_channel, CF_ARRANGED_BRIDGE)) { + switch_channel_clear_flag(peer_channel, CF_ARRANGED_BRIDGE); + } else { + switch_channel_set_state(peer_channel, CS_EXCHANGE_MEDIA); + } + audio_bridge_thread(NULL, (void *) a_leg); switch_channel_clear_flag_recursive(caller_channel, CF_BRIDGE_ORIGINATOR); diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 872ed4ff57..8887670fa9 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -80,6 +80,32 @@ static const switch_state_handler_table_t originate_state_handlers = { /*.on_consume_media */ originate_on_consume_media_transmit }; +#define MAX_PEERS 128 + +struct switch_dial_handle_s; + + +struct switch_dial_leg_list_s { + int leg_idx; + switch_dial_leg_t *legs[MAX_PEERS]; + struct switch_dial_handle_s *handle; +}; + +struct switch_dial_leg_s { + char *dial_string; + switch_event_t *leg_vars; + struct switch_dial_handle_s *handle; + struct switch_dial_leg_s *next; +}; + +struct switch_dial_handle_s { + int is_sub; + int leg_list_idx; + switch_dial_leg_list_t *leg_lists[MAX_PEERS]; + switch_event_t *global_vars; + switch_memory_pool_t *pool; +}; + typedef struct { switch_core_session_t *down_session; @@ -1366,7 +1392,7 @@ static switch_status_t setup_ringback(originate_global_t *oglobals, originate_st } -#define MAX_PEERS 128 + typedef struct { switch_core_session_t *session; @@ -1404,7 +1430,12 @@ static void *SWITCH_THREAD_FUNC enterprise_originate_thread(switch_thread_t *thr handle->bridgeto, handle->timelimit_sec, handle->table, handle->cid_name_override, - handle->cid_num_override, handle->caller_profile_override, handle->ovars, handle->flags, &handle->cancel_cause); + handle->cid_num_override, + handle->caller_profile_override, + handle->ovars, + handle->flags, + &handle->cancel_cause, + NULL); handle->done = 1; @@ -1936,7 +1967,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess const char *cid_name_override, const char *cid_num_override, switch_caller_profile_t *caller_profile_override, - switch_event_t *ovars, switch_originate_flag_t flags, switch_call_cause_t *cancel_cause) + switch_event_t *ovars, switch_originate_flag_t flags, + switch_call_cause_t *cancel_cause, + switch_dial_handle_t *dh) { originate_status_t originate_status[MAX_PEERS] = { {0} }; switch_originate_flag_t dftflags = SOF_NONE, myflags = dftflags; @@ -1945,6 +1978,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess switch_status_t status = SWITCH_STATUS_SUCCESS; switch_channel_t *caller_channel = NULL; char *peer_names[MAX_PEERS] = { 0 }; + switch_event_t *peer_vars[MAX_PEERS] = { 0 }; switch_core_session_t *new_session = NULL, *peer_session = NULL; switch_caller_profile_t *new_profile = NULL, *caller_caller_profile; char *chan_type = NULL, *chan_data; @@ -1985,7 +2019,12 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess const char *aniii_override = NULL; const char *ent_aleg_uuid = NULL; switch_core_session_t *a_session = session, *l_session = NULL; - + char *event_string; + + if (!bridgeto || dh) { + bridgeto = ""; + } + if (session) { caller_channel = switch_core_session_get_channel(session); @@ -2138,7 +2177,13 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess || switch_true(switch_core_get_variable("origination_nested_vars")) || switch_stristr("origination_nested_vars=true", data)) { oglobals.check_vars = SWITCH_FALSE; } - + + if (dh) { + switch_event_t *vp = switch_dial_handle_get_global_vars(dh); + if (vp) { + switch_event_dup(&var_event, vp); + } + } /* extract channel variables, allowing multiple sets of braces */ if (*data == '<') { @@ -2167,14 +2212,18 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess data = parsed; } - - + + if (dh && var_event && switch_event_serialize(var_event, &event_string, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS) { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Global Vars\n======================\n%s\n", event_string); + switch_safe_free(event_string); + } + /* strip leading spaces (again) */ while (data && *data && *data == ' ') { data++; } - if (zstr(data)) { + if (zstr(data) && !dh) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "No origination URL specified!\n"); status = SWITCH_STATUS_GENERR; goto done; @@ -2569,14 +2618,23 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess switch_safe_free(loop_data); loop_data = strdup(data); switch_assert(loop_data); - or_argc = switch_separate_string(loop_data, '|', pipe_names, (sizeof(pipe_names) / sizeof(pipe_names[0]))); + if (dh) { + or_argc = switch_dial_handle_get_total(dh); + } else { + or_argc = switch_separate_string(loop_data, '|', pipe_names, (sizeof(pipe_names) / sizeof(pipe_names[0]))); + } + if ((flags & SOF_NOBLOCK) && or_argc > 1) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Only calling the first element in the list in this mode.\n"); or_argc = 1; } - - + + if (or_argc <= 0) { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Nothing to do\n"); + goto outer_for; + } + for (r = 0; r < or_argc && (!cancel_cause || *cancel_cause == 0); r++) { char *p, *end = NULL; int q = 0, alt = 0; @@ -2625,46 +2683,51 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess last_retry_start = switch_micro_time_now(); } - p = pipe_names[r]; + if (!dh) { + p = pipe_names[r]; - while (p && *p) { - if (!end && *p == '[') { - end = switch_find_end_paren(p, '[', ']'); - if (*(p+1) == '^' && *(p + 2) == '^') { - alt = 1; - } else { - alt = 0; + while (p && *p) { + if (!end && *p == '[') { + end = switch_find_end_paren(p, '[', ']'); + if (*(p+1) == '^' && *(p + 2) == '^') { + alt = 1; + } else { + alt = 0; + } + q = 0; } - q = 0; - } - if (*p == '\'') { - q = !q; - } - - if (end && p < end && *p == ',' && *(p-1) != '\\') { - - if (q || alt) { - *p = QUOTED_ESC_COMMA; - } else { - *p = UNQUOTED_ESC_COMMA; + if (*p == '\'') { + q = !q; } - } - if (p == end) { - end = NULL; - } + if (end && p < end && *p == ',' && *(p-1) != '\\') { - p++; + if (q || alt) { + *p = QUOTED_ESC_COMMA; + } else { + *p = UNQUOTED_ESC_COMMA; + } + } + + if (p == end) { + end = NULL; + } + + p++; + } + + and_argc = switch_separate_string(pipe_names[r], ',', peer_names, (sizeof(peer_names) / sizeof(peer_names[0]))); + } else { + and_argc = switch_dial_handle_get_peers(dh, r, peer_names, MAX_PEERS); + switch_dial_handle_get_vars(dh, r, peer_vars, MAX_PEERS); } - - and_argc = switch_separate_string(pipe_names[r], ',', peer_names, (sizeof(peer_names) / sizeof(peer_names[0]))); - + if ((flags & SOF_NOBLOCK) && and_argc > 1) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Only calling the first element in the list in this mode.\n"); and_argc = 1; } - + for (i = 0; i < and_argc; i++) { const char *current_variable; switch_event_t *local_var_event = NULL, *originate_var_event = NULL; @@ -2710,7 +2773,20 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess } } + if (peer_vars[i]) { + if (local_var_event) { + switch_event_merge(local_var_event, peer_vars[i]); + } else { + switch_event_dup(&local_var_event, peer_vars[i]); + } + if (dh && local_var_event && switch_event_serialize(local_var_event, &event_string, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS) { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Local Vars for %s\n======================\n%s\n", + peer_names[i], event_string); + switch_safe_free(event_string); + } + } + /* strip leading spaces (again) */ while (chan_type && *chan_type && *chan_type == ' ') { chan_type++; @@ -3610,11 +3686,11 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess switch_channel_set_variable(holding_channel, SWITCH_HANGUP_AFTER_BRIDGE_VARIABLE, "true"); if (caller_channel && switch_true(switch_channel_get_variable(caller_channel, "recording_follow_transfer"))) { - switch_core_media_bug_transfer_recordings(session, originate_status[i].peer_session); + switch_ivr_transfer_recordings(session, originate_status[i].peer_session); } if (switch_true(switch_channel_get_variable(holding_channel, "recording_follow_transfer"))) { - switch_core_media_bug_transfer_recordings(holding_session, originate_status[i].peer_session); + switch_ivr_transfer_recordings(holding_session, originate_status[i].peer_session); } switch_core_session_rwunlock(holding_session); @@ -4097,6 +4173,287 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess return status; } +SWITCH_DECLARE(switch_status_t) switch_dial_handle_create(switch_dial_handle_t **handle) +{ + switch_dial_handle_t *hp; + switch_memory_pool_t *pool = NULL; + + switch_core_new_memory_pool(&pool); + switch_assert(pool); + + hp = switch_core_alloc(pool, sizeof(*hp)); + switch_assert(hp); + + hp->pool = pool; + + *handle = hp; + + return SWITCH_STATUS_SUCCESS; +} + +SWITCH_DECLARE(void) switch_dial_handle_destroy(switch_dial_handle_t **handle) +{ + switch_dial_handle_t *hp = *handle; + switch_memory_pool_t *pool = NULL; + + *handle = NULL; + + if (hp) { + int i, j; + + for (i = 0; i < hp->leg_list_idx; i++) { + for(j = 0; j < hp->leg_lists[i]->leg_idx; j++) { + switch_event_destroy(&hp->leg_lists[i]->legs[j]->leg_vars); + } + } + + switch_event_destroy(&hp->global_vars); + pool = hp->pool; + hp = NULL; + switch_core_destroy_memory_pool(&pool); + } +} + +SWITCH_DECLARE(void) switch_dial_handle_add_leg_list(switch_dial_handle_t *handle, switch_dial_leg_list_t **leg_listP) +{ + switch_dial_leg_list_t *leg_list; + + switch_assert(handle); + + leg_list = switch_core_alloc(handle->pool, sizeof(*leg_list)); + leg_list->handle = handle; + + handle->leg_lists[handle->leg_list_idx++] = leg_list; + + *leg_listP = leg_list; +} + +SWITCH_DECLARE(void) switch_dial_leg_list_add_leg_printf(switch_dial_leg_list_t *parent, switch_dial_leg_t **legP, const char *fmt, ...) +{ + int ret = 0; + char *data = NULL; + va_list ap; + + va_start(ap, fmt); + ret = switch_vasprintf(&data, fmt, ap); + va_end(ap); + + if (ret == -1) { + abort(); + } + + switch_dial_leg_list_add_leg(parent, legP, data); + free(data); +} + +SWITCH_DECLARE(void) switch_dial_leg_list_add_leg(switch_dial_leg_list_t *parent, switch_dial_leg_t **legP, const char *dial_string) +{ + switch_dial_leg_t *leg; + + switch_assert(parent); + + leg = switch_core_alloc(parent->handle->pool, sizeof(*leg)); + leg->handle = parent->handle; + leg->dial_string = switch_core_strdup(parent->handle->pool, dial_string); + + parent->legs[parent->leg_idx++] = leg; + + if (legP) { + *legP = leg; + } +} + +SWITCH_DECLARE(void) switch_dial_handle_add_global_var(switch_dial_handle_t *handle, const char *var, const char *val) +{ + switch_assert(handle); + + if (!handle->global_vars) { + switch_event_create_plain(&handle->global_vars, SWITCH_EVENT_CHANNEL_DATA); + } + + switch_event_add_header_string(handle->global_vars, SWITCH_STACK_BOTTOM, var, val); +} + +SWITCH_DECLARE(void) switch_dial_handle_add_global_var_printf(switch_dial_handle_t *handle, const char *var, const char *fmt, ...) +{ + int ret = 0; + char *data = NULL; + va_list ap; + + va_start(ap, fmt); + ret = switch_vasprintf(&data, fmt, ap); + va_end(ap); + + if (ret == -1) { + abort(); + } + + switch_dial_handle_add_global_var(handle, var, data); + free(data); +} + +SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var(switch_dial_leg_t *leg, const char *var, const char *val) +{ + if (!leg) return SWITCH_STATUS_NOTFOUND; + + if (!leg->leg_vars) { + switch_event_create_plain(&leg->leg_vars, SWITCH_EVENT_CHANNEL_DATA); + } + + switch_event_add_header_string(leg->leg_vars, SWITCH_STACK_BOTTOM, var, val); + + return SWITCH_STATUS_SUCCESS; + +} + +SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var_printf(switch_dial_leg_t *leg, const char *var, const char *fmt, ...) +{ + int ret = 0; + char *data = NULL; + va_list ap; + switch_status_t status; + + va_start(ap, fmt); + ret = switch_vasprintf(&data, fmt, ap); + va_end(ap); + + if (ret == -1) { + abort(); + } + + status = switch_dial_handle_add_leg_var(leg, var, data); + + free(data); + + return status; +} + +SWITCH_DECLARE(int) switch_dial_handle_get_total(switch_dial_handle_t *handle) +{ + return handle->leg_list_idx; +} + +SWITCH_DECLARE(int) switch_dial_handle_get_peers(switch_dial_handle_t *handle, int idx, char **array, int max) +{ + int i, j = 0; + + if (!handle->leg_lists[idx]) return 0; + + for (i = 0; i < max && handle->leg_lists[idx]->legs[i]; i++) { + array[j++] = handle->leg_lists[idx]->legs[i]->dial_string; + } + + return j; +} + + +SWITCH_DECLARE(int) switch_dial_handle_get_vars(switch_dial_handle_t *handle, int idx, switch_event_t **array, int max) +{ + int i, j = 0; + + if (!handle->leg_lists[idx]) return 0; + + for (i = 0; i < max && handle->leg_lists[idx]->legs[i]; i++) { + array[j++] = handle->leg_lists[idx]->legs[i]->leg_vars; + } + + return j; +} + + +SWITCH_DECLARE(switch_event_t *) switch_dial_handle_get_global_vars(switch_dial_handle_t *handle) +{ + switch_assert(handle); + + return handle->global_vars; +} + +SWITCH_DECLARE(switch_event_t *) switch_dial_leg_get_vars(switch_dial_leg_t *leg) +{ + switch_assert(leg); + + return leg->leg_vars; +} + + +static switch_status_t o_bridge_on_dtmf(switch_core_session_t *session, void *input, switch_input_type_t itype, void *buf, unsigned int buflen) +{ + char *str = (char *) buf; + + if (str && input && itype == SWITCH_INPUT_TYPE_DTMF) { + switch_dtmf_t *dtmf = (switch_dtmf_t *) input; + if (strchr(str, dtmf->digit)) { + return SWITCH_STATUS_BREAK; + } + } + return SWITCH_STATUS_SUCCESS; +} + +SWITCH_DECLARE(void) switch_ivr_orig_and_bridge(switch_core_session_t *session, const char *data, switch_dial_handle_t *dh) +{ + switch_channel_t *caller_channel = switch_core_session_get_channel(session); + switch_core_session_t *peer_session = NULL; + switch_call_cause_t cause = SWITCH_CAUSE_NORMAL_CLEARING; + switch_status_t status = SWITCH_STATUS_FALSE; + int fail = 0; + + if ((status = switch_ivr_originate(session, + &peer_session, + &cause, data, 0, NULL, NULL, NULL, NULL, NULL, SOF_NONE, NULL, dh)) != SWITCH_STATUS_SUCCESS) { + fail = 1; + } + + + if (fail) { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "Originate Failed. Cause: %s\n", switch_channel_cause2str(cause)); + + switch_channel_set_variable(caller_channel, "originate_failed_cause", switch_channel_cause2str(cause)); + + switch_channel_handle_cause(caller_channel, cause); + + return; + } else { + + switch_channel_t *peer_channel = switch_core_session_get_channel(peer_session); + if (switch_true(switch_channel_get_variable(caller_channel, SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE)) || + switch_true(switch_channel_get_variable(peer_channel, SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE))) { + switch_channel_set_flag(caller_channel, CF_BYPASS_MEDIA_AFTER_BRIDGE); + } + + if (switch_channel_test_flag(caller_channel, CF_PROXY_MODE)) { + switch_ivr_signal_bridge(session, peer_session); + } else { + char *a_key = (char *) switch_channel_get_variable(caller_channel, "bridge_terminate_key"); + char *b_key = (char *) switch_channel_get_variable(peer_channel, "bridge_terminate_key"); + int ok = 0; + switch_input_callback_function_t func = NULL; + + if (a_key) { + a_key = switch_core_session_strdup(session, a_key); + ok++; + } + if (b_key) { + b_key = switch_core_session_strdup(session, b_key); + ok++; + } + if (ok) { + func = o_bridge_on_dtmf; + } else { + a_key = NULL; + b_key = NULL; + } + + switch_ivr_multi_threaded_bridge(session, peer_session, func, a_key, b_key); + } + + if (peer_session) { + switch_core_session_rwunlock(peer_session); + } + } +} + + + /* For Emacs: * Local Variables: * mode:c diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index 9ebca40e8d..911d557796 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -382,6 +382,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se const char *prefix, *var, *video_file = NULL; int vid_play_file_flags = SWITCH_FILE_FLAG_READ | SWITCH_FILE_DATA_SHORT | SWITCH_FILE_FLAG_VIDEO; int echo_on = 0; + const char *file_trimmed_ms = NULL; + const char *file_size = NULL; + const char *file_trimmed = NULL; if (switch_channel_pre_answer(channel) != SWITCH_STATUS_SUCCESS) { return SWITCH_STATUS_FALSE; @@ -917,6 +920,14 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se switch_core_media_set_video_file(session, NULL, SWITCH_RW_WRITE); } switch_channel_clear_flag(channel, CF_VIDEO_BLANK); + + switch_core_file_pre_close(fh); + switch_core_file_get_string(fh, SWITCH_AUDIO_COL_STR_FILE_SIZE, &file_size); + switch_core_file_get_string(fh, SWITCH_AUDIO_COL_STR_FILE_TRIMMED, &file_trimmed); + switch_core_file_get_string(fh, SWITCH_AUDIO_COL_STR_FILE_TRIMMED_MS, &file_trimmed_ms); + if (file_trimmed_ms) switch_channel_set_variable(channel, "record_record_trimmed_ms", file_trimmed_ms); + if (file_size) switch_channel_set_variable(channel, "record_record_file_size", file_size); + if (file_trimmed) switch_channel_set_variable(channel, "record_record_trimmed", file_trimmed); switch_core_file_close(fh); diff --git a/src/switch_jitterbuffer.c b/src/switch_jitterbuffer.c index 7965413059..206deb5806 100644 --- a/src/switch_jitterbuffer.c +++ b/src/switch_jitterbuffer.c @@ -200,7 +200,7 @@ switch_jb_node_t *sort_nodes(switch_jb_node_t *list, int (*cmp)(const void *, co } } -static inline void thin_frames(switch_jb_t *jb, int freq, int max); +// static inline void thin_frames(switch_jb_t *jb, int freq, int max); static inline switch_jb_node_t *new_node(switch_jb_t *jb) @@ -391,6 +391,7 @@ static inline uint32_t jb_find_lowest_ts(switch_jb_t *jb) return lowest ? lowest->packet.header.ts : 0; } +#if 0 static inline void thin_frames(switch_jb_t *jb, int freq, int max) { switch_jb_node_t *node, *this_node; @@ -420,8 +421,6 @@ static inline void thin_frames(switch_jb_t *jb, int freq, int max) switch_mutex_unlock(jb->list_mutex); } - -#if 0 static inline switch_jb_node_t *jb_find_highest_node(switch_jb_t *jb) { switch_jb_node_t *np, *highest = NULL; diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 16aba214c5..9f4de55f31 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -1197,7 +1197,9 @@ static void handle_ice(switch_rtp_t *rtp_session, switch_rtp_ice_t *ice, void *d uint8_t do_adj = 0; switch_time_t now = switch_micro_time_now(); int cmp = 0; - + int cur_idx = -1;//, is_relay = 0; + int i; + if (is_rtcp) { from_addr = rtp_session->rtcp_from_addr; sock_output = rtp_session->rtcp_sock_output; @@ -1250,46 +1252,43 @@ static void handle_ice(switch_rtp_t *rtp_session, switch_rtp_ice_t *ice, void *d if (!do_adj) { rtp_session->wrong_addrs++; } + + for (i = 0; i < ice->ice_params->cand_idx[ice->proto]; i++) { + if (!strcmp(ice->ice_params->cands[i][ice->proto].con_addr, host)) { + cur_idx = i; + //if (!strcasecmp(ice->ice_params->cands[i][ice->proto].cand_type, "relay")) { + // is_relay = 1; + //} + } + } + + + if (ice->ice_params->cands[ice->ice_params->chosen[ice->proto]][ice->proto].cand_type && + !strcasecmp(ice->ice_params->cands[ice->ice_params->chosen[ice->proto]][ice->proto].cand_type, "relay")) { + do_adj++; + } } - + if ((ice->type & ICE_VANILLA) && ice->ice_params && do_adj) { - int i = 0; - ice->missed_count = 0; ice->rready = 1; - for (i = 0; i < ice->ice_params->cand_idx[ice->proto]; i++) { - if (ice->ice_params->cands[i][ice->proto].con_port == port) { - if (!strcmp(ice->ice_params->cands[i][ice->proto].con_addr, host) && - ice->ice_params->cands[i][ice->proto].cand_type && - !strcmp(ice->ice_params->cands[i][ice->proto].cand_type, "relay")) { - - if (elapsed < 1000) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_WARNING, - "Skiping RELAY stun/%s/dtls port change from %s:%u to %s:%u\n", is_rtcp ? "rtcp" : "rtp", - host2, port2, - host, port); - - goto end; - } - - break; - } - } + if (cur_idx > -1) { + ice->ice_params->chosen[ice->proto] = cur_idx; } - + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_NOTICE, - "Auto Changing %s stun/%s/dtls port from %s:%u to %s:%u\n", rtp_type(rtp_session), is_rtcp ? "rtcp" : "rtp", + "Auto Changing %s stun/%s/dtls port from %s:%u to %s:%u idx:%d\n", rtp_type(rtp_session), is_rtcp ? "rtcp" : "rtp", host2, port2, - host, port); + host, port, cur_idx); switch_rtp_change_ice_dest(rtp_session, ice, host, port); ice->last_ok = now; rtp_session->wrong_addrs = 0; } - if (cmp) { - switch_socket_sendto(sock_output, from_addr, 0, (void *) rpacket, &bytes); - } + //if (cmp) { + switch_socket_sendto(sock_output, from_addr, 0, (void *) rpacket, &bytes); + //} } } else if (packet->header.type == SWITCH_STUN_BINDING_ERROR_RESPONSE) { @@ -1311,8 +1310,8 @@ static void handle_ice(switch_rtp_t *rtp_session, switch_rtp_ice_t *ice, void *d end: switch_mutex_unlock(rtp_session->ice_mutex); - READ_DEC(rtp_session); WRITE_DEC(rtp_session); + READ_DEC(rtp_session); } #ifdef ENABLE_ZRTP @@ -2677,8 +2676,8 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_set_local_address(switch_rtp_t *rtp_s return SWITCH_STATUS_FALSE; } - WRITE_INC(rtp_session); READ_INC(rtp_session); + WRITE_INC(rtp_session); if (!switch_rtp_ready(rtp_session)) { goto done; @@ -3242,9 +3241,14 @@ static int do_dtls(switch_rtp_t *rtp_session, switch_dtls_t *dtls) return 0; } - if ((ret = BIO_write(dtls->read_bio, dtls->data, (int)dtls->bytes)) != (int)dtls->bytes && dtls->bytes > 0) { - ret = SSL_get_error(dtls->ssl, ret); - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_DEBUG1, "%s DTLS packet read err %d\n", rtp_type(rtp_session), ret); + if (dtls->bytes > 0 && dtls->data) { + ret = BIO_write(dtls->read_bio, dtls->data, (int)dtls->bytes); + if (ret <= 0) { + ret = SSL_get_error(dtls->ssl, ret); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_ERROR, "%s DTLS packet decode err: SSL err %d\n", rtp_type(rtp_session), ret); + } else if (ret != (int)dtls->bytes) { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_ERROR, "%s DTLS packet decode err: read %d bytes instead of %d\n", rtp_type(rtp_session), ret, (int)dtls->bytes); + } } if (dtls_states[dtls->state]) { @@ -3254,12 +3258,19 @@ static int do_dtls(switch_rtp_t *rtp_session, switch_dtls_t *dtls) while ((pending = BIO_ctrl_pending(dtls->filter_bio)) > 0) { switch_assert(pending <= sizeof(buf)); - if ((len = BIO_read(dtls->write_bio, buf, pending)) > 0) { + len = BIO_read(dtls->write_bio, buf, pending); + if (len > 0) { bytes = len; + ret = switch_socket_sendto(dtls->sock_output, dtls->remote_addr, 0, (void *)buf, &bytes); - if (switch_socket_sendto(dtls->sock_output, dtls->remote_addr, 0, (void *)buf, &bytes ) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_DEBUG1, "%s DTLS packet not written\n", rtp_type(rtp_session)); + if (ret != SWITCH_STATUS_SUCCESS) { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_ERROR, "%s DTLS packet not written to socket: %d\n", rtp_type(rtp_session), ret); + } else if (bytes != len) { + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_ERROR, "%s DTLS packet write err: written %d bytes instead of %d\n", rtp_type(rtp_session), (int)bytes, len); } + } else { + ret = SSL_get_error(dtls->ssl, len); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_ERROR, "%s DTLS packet encode err: SSL err %d\n", rtp_type(rtp_session), ret); } } @@ -3934,7 +3945,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_add_crypto_key(switch_rtp_t *rtp_sess break; case AES_CM_128_HMAC_SHA1_32: srtp_crypto_policy_set_aes_cm_128_hmac_sha1_32(&policy->rtp); - srtp_crypto_policy_set_aes_cm_128_hmac_sha1_80(&policy->rtcp); + srtp_crypto_policy_set_aes_cm_128_hmac_sha1_32(&policy->rtcp); if (switch_channel_direction(channel) == SWITCH_CALL_DIRECTION_OUTBOUND) { @@ -3967,6 +3978,13 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_add_crypto_key(switch_rtp_t *rtp_sess switch_channel_set_variable(channel, "rtp_has_crypto", "AES_CM_256_HMAC_SHA1_80"); } break; + case AES_CM_256_HMAC_SHA1_32: + srtp_crypto_policy_set_aes_cm_256_hmac_sha1_32(&policy->rtp); + srtp_crypto_policy_set_aes_cm_256_hmac_sha1_32(&policy->rtcp); + if (switch_channel_direction(channel) == SWITCH_CALL_DIRECTION_OUTBOUND) { + switch_channel_set_variable(channel, "rtp_has_crypto", "AES_CM_256_HMAC_SHA1_32"); + } + break; case AES_CM_128_NULL_AUTH: srtp_crypto_policy_set_aes_cm_128_null_auth(&policy->rtp); srtp_crypto_policy_set_aes_cm_128_null_auth(&policy->rtcp); @@ -4976,8 +4994,8 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session) (*rtp_session)->ready = 0; - READ_DEC((*rtp_session)); WRITE_DEC((*rtp_session)); + READ_DEC((*rtp_session)); if ((*rtp_session)->flags[SWITCH_RTP_FLAG_VAD]) { switch_rtp_disable_vad(*rtp_session); @@ -6596,7 +6614,7 @@ static switch_status_t process_rtcp_report(switch_rtp_t *rtp_session, rtcp_msg_t switch_time_exp_gmt(&now_hr,now); /* Calculating RTT = A - DLSR - LSR */ - rtt_now = (double)(lsr_now - rtp_session->rtcp_frame.reports[i].dlsr - rtp_session->rtcp_frame.reports[i].lsr)/65536; + rtt_now = ((double)(((int64_t)lsr_now) - rtp_session->rtcp_frame.reports[i].dlsr - rtp_session->rtcp_frame.reports[i].lsr))/65536; /* Only account RTT if it didn't overflow. */ if (lsr_now > rtp_session->rtcp_frame.reports[i].dlsr + rtp_session->rtcp_frame.reports[i].lsr) { @@ -6624,10 +6642,10 @@ static switch_status_t process_rtcp_report(switch_rtp_t *rtp_session, rtcp_msg_t rtp_session->rtcp_frame.reports[i].ssrc, rtt_now, lsr_now, rtp_session->rtcp_frame.reports[i].dlsr, rtp_session->rtcp_frame.reports[i].lsr); #endif + rtt_valid = 0; + rtt_now = 0; } - rtt_valid = 0; - rtt_now = 0; switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_DEBUG3, "RTT average %f\n", rtp_session->rtcp_frame.reports[i].rtt_avg); diff --git a/src/switch_swig.c b/src/switch_swig.c index bf2ce479fd..f0c482ad14 100644 --- a/src/switch_swig.c +++ b/src/switch_swig.c @@ -237,7 +237,7 @@ int fs_switch_ivr_originate(switch_core_session_t *session, switch_core_session_ timelimit = atoi(var); } - if (switch_ivr_originate(session, &peer_session, &cause, bridgeto, timelimit, NULL, NULL, NULL, NULL, SOF_NONE) != SWITCH_STATUS_SUCCESS) { + if (switch_ivr_originate(session, &peer_session, &cause, bridgeto, timelimit, NULL, NULL, NULL, NULL, SOF_NONE, NULL) != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_NOTICE, "Cannot Create Outgoing Channel!\n"); switch_channel_hangup(caller_channel, SWITCH_CAUSE_REQUESTED_CHAN_UNAVAIL); return; diff --git a/src/switch_utils.c b/src/switch_utils.c index bd21e7ee75..52ec8f6327 100644 --- a/src/switch_utils.c +++ b/src/switch_utils.c @@ -1328,6 +1328,38 @@ SWITCH_DECLARE(char *) switch_replace_char(char *str, char from, char to, switch return p; } +SWITCH_DECLARE(char *) switch_pool_strip_whitespace(switch_memory_pool_t *pool, const char *str) +{ + const char *sp = str; + char *p, *s = NULL; + size_t len; + + if (zstr(sp)) { + return switch_core_strdup(pool, SWITCH_BLANK_STRING); + } + + while ((*sp == 13 ) || (*sp == 10 ) || (*sp == 9 ) || (*sp == 32) || (*sp == 11) ) { + sp++; + } + + if (zstr(sp)) { + return switch_core_strdup(pool, SWITCH_BLANK_STRING); + } + + s = switch_core_strdup(pool, sp); + switch_assert(s); + + if ((len = strlen(s)) > 0) { + p = s + (len - 1); + + while ((p >= s) && ((*p == 13 ) || (*p == 10 ) || (*p == 9 ) || (*p == 32) || (*p == 11))) { + *p-- = '\0'; + } + } + + return s; +} + SWITCH_DECLARE(char *) switch_strip_whitespace(const char *str) { const char *sp = str; diff --git a/src/switch_vad.c b/src/switch_vad.c index 8d12c3bdb1..1608a33543 100644 --- a/src/switch_vad.c +++ b/src/switch_vad.c @@ -40,23 +40,39 @@ struct switch_vad_s { int talking; int talked; int talk_hits; + int listen_hits; int hangover; int hangover_len; int divisor; int thresh; - int timeout_len; - int timeout; int channels; int sample_rate; - + int debug; int _hangover_len; int _thresh; - int _timeout_len; + int _listen_hits; + switch_vad_state_t vad_state; #ifdef SWITCH_HAVE_FVAD Fvad *fvad; #endif }; +SWITCH_DECLARE(const char *) switch_vad_state2str(switch_vad_state_t state) +{ + switch(state) { + case SWITCH_VAD_STATE_NONE: + return "none"; + case SWITCH_VAD_STATE_START_TALKING: + return "start_talking"; + case SWITCH_VAD_STATE_TALKING: + return "talking"; + case SWITCH_VAD_STATE_STOP_TALKING: + return "stop_talking"; + default: + return "error"; + } +} + SWITCH_DECLARE(switch_vad_t *) switch_vad_init(int sample_rate, int channels) { switch_vad_t *vad = malloc(sizeof(switch_vad_t)); @@ -68,8 +84,7 @@ SWITCH_DECLARE(switch_vad_t *) switch_vad_init(int sample_rate, int channels) vad->channels = channels; vad->_hangover_len = 25; vad->_thresh = 100; - vad->_timeout_len = 25; - + vad->_listen_hits = 10; switch_vad_reset(vad); return vad; @@ -80,8 +95,9 @@ SWITCH_DECLARE(int) switch_vad_set_mode(switch_vad_t *vad, int mode) #ifdef SWITCH_HAVE_FVAD int ret = 0; - if (mode < 0 && vad->fvad) { - fvad_free(vad->fvad); + if (mode < 0) { + if (vad->fvad) fvad_free(vad->fvad); + vad->fvad = NULL; return ret; } else if (mode > 3) { @@ -116,8 +132,10 @@ SWITCH_DECLARE(void) switch_vad_set_param(switch_vad_t *vad, const char *key, in vad->hangover_len = vad->_hangover_len = val; } else if (!strcmp(key, "thresh")) { vad->thresh = vad->_thresh = val; - } else if (!strcmp(key, "timeout_len")) { - vad->timeout = vad->timeout_len = vad->_timeout_len = val; + } else if (!strcmp(key, "debug")) { + vad->debug = val; + } else if (!strcmp(key, "listen_hits")) { + vad->listen_hits = vad->_listen_hits = val; } } @@ -134,19 +152,26 @@ SWITCH_DECLARE(void) switch_vad_reset(switch_vad_t *vad) vad->talked = 0; vad->talk_hits = 0; vad->hangover = 0; + vad->listen_hits = vad->_listen_hits; vad->hangover_len = vad->_hangover_len; vad->divisor = vad->sample_rate / 8000; vad->thresh = vad->_thresh; - vad->timeout_len = vad->_timeout_len; - vad->timeout = vad->timeout_len; + vad->vad_state = SWITCH_VAD_STATE_NONE; } SWITCH_DECLARE(switch_vad_state_t) switch_vad_process(switch_vad_t *vad, int16_t *data, unsigned int samples) { int energy = 0, j = 0, count = 0; int score = 0; - switch_vad_state_t vad_state = SWITCH_VAD_STATE_NONE; + if (vad->vad_state == SWITCH_VAD_STATE_STOP_TALKING) { + vad->vad_state = SWITCH_VAD_STATE_NONE; + } + + if (vad->vad_state == SWITCH_VAD_STATE_START_TALKING) { + vad->vad_state = SWITCH_VAD_STATE_TALKING; + } + #ifdef SWITCH_HAVE_FVAD if (vad->fvad) { int ret = fvad_process(vad->fvad, data, samples); @@ -168,8 +193,8 @@ SWITCH_DECLARE(switch_vad_state_t) switch_vad_process(switch_vad_t *vad, int16_t } #endif - // printf("%d ", score); fflush(stdout); - // printf("yay %d %d %d\n", score, vad->hangover, vad->talking); + //printf("%d ", score); fflush(stdout); + //printf("yay %d %d %d\n", score, vad->hangover, vad->talking); if (vad->talking && score < vad->thresh) { if (vad->hangover > 0) { @@ -181,7 +206,7 @@ SWITCH_DECLARE(switch_vad_state_t) switch_vad_process(switch_vad_t *vad, int16_t } } else { if (score >= vad->thresh) { - vad_state = vad->talking ? SWITCH_VAD_STATE_TALKING : SWITCH_VAD_STATE_START_TALKING; + vad->vad_state = vad->talking ? SWITCH_VAD_STATE_TALKING : SWITCH_VAD_STATE_START_TALKING; vad->talking = 1; vad->hangover = vad->hangover_len; } @@ -192,32 +217,25 @@ SWITCH_DECLARE(switch_vad_state_t) switch_vad_process(switch_vad_t *vad, int16_t if (vad->talking) { vad->talk_hits++; // printf("WTF %d %d %d\n", vad->talking, vad->talk_hits, vad->talked); - if (vad->talk_hits > 10) { + if (vad->talk_hits > vad->listen_hits) { vad->talked = 1; - vad_state = SWITCH_VAD_STATE_TALKING; + vad->vad_state = SWITCH_VAD_STATE_TALKING; } } else { vad->talk_hits = 0; } - if (vad->timeout > 0 && !vad->talking) { - vad->timeout--; - } - if ((vad->talked && !vad->talking)) { // printf("NOT TALKING ANYMORE\n"); vad->talked = 0; - vad->timeout = vad->timeout_len; - vad_state = SWITCH_VAD_STATE_STOP_TALKING; - } else { - // if (vad->skip > 0) { - // vad->skip--; - // } + vad->vad_state = SWITCH_VAD_STATE_STOP_TALKING; } - if (vad_state) return vad_state; - - return SWITCH_VAD_STATE_NONE; + if (vad->debug > 0) { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "VAD DEBUG energy: %d state %s\n", score, switch_vad_state2str(vad->vad_state)); + } + + return vad->vad_state; } SWITCH_DECLARE(void) switch_vad_destroy(switch_vad_t **vad) diff --git a/src/switch_vpx.c b/src/switch_vpx.c index eff164eae4..804562d189 100644 --- a/src/switch_vpx.c +++ b/src/switch_vpx.c @@ -66,10 +66,8 @@ typedef struct my_vpx_cfg_s { #define SHOW(cfg, field) switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, " %-28s = %d\n", #field, cfg->field); -static void show_config(my_vpx_cfg_t *my_cfg) +static void show_config(my_vpx_cfg_t *my_cfg, vpx_codec_enc_cfg_t *cfg) { - vpx_codec_enc_cfg_t *cfg = &my_cfg->enc_cfg; - SHOW(my_cfg, lossless); SHOW(my_cfg, cpuused); SHOW(my_cfg, token_parts); @@ -397,30 +395,33 @@ struct vpx_globals vpx_globals = { 0 }; static switch_status_t init_decoder(switch_codec_t *codec) { vpx_context_t *context = (vpx_context_t *)codec->private_info; - vpx_codec_dec_cfg_t cfg = {0, 0, 0}; - vpx_codec_flags_t dec_flags = 0; + + //if (context->decoder_init) { + // vpx_codec_destroy(&context->decoder); + // context->decoder_init = 0; + //} if (context->flags & SWITCH_CODEC_FLAG_DECODE && !context->decoder_init) { + vpx_codec_dec_cfg_t cfg = {0, 0, 0}; + vpx_codec_flags_t dec_flags = 0; vp8_postproc_cfg_t ppcfg; - - //if (context->decoder_init) { - // vpx_codec_destroy(&context->decoder); - // context->decoder_init = 0; - //} + my_vpx_cfg_t *my_cfg = NULL; if (context->is_vp9) { - cfg.threads = vpx_globals.vp9.dec_cfg.threads; + my_cfg = &vpx_globals.vp9; } else { - // dec_flags = VPX_CODEC_USE_POSTPROC; - cfg.threads = vpx_globals.vp8.dec_cfg.threads; + my_cfg = &vpx_globals.vp8; } + cfg.threads = my_cfg->dec_cfg.threads; + if (vpx_codec_dec_init(&context->decoder, context->decoder_interface, &cfg, dec_flags) != VPX_CODEC_OK) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec %s init error: [%d:%s]\n", vpx_codec_iface_name(context->decoder_interface), context->encoder.err, context->encoder.err_detail); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(codec->session), SWITCH_LOG_ERROR, + "VPX decoder %s codec init error: [%d:%s]\n", + vpx_codec_iface_name(context->decoder_interface), context->decoder.err, context->decoder.err_detail); return SWITCH_STATUS_FALSE; } - context->last_ts = 0; context->last_received_timestamp = 0; context->last_received_complete_picture = 0; @@ -451,17 +452,11 @@ static switch_status_t init_encoder(switch_codec_t *codec) { vpx_context_t *context = (vpx_context_t *)codec->private_info; vpx_codec_enc_cfg_t *config = &context->config; - int token_parts = 1; - int cpus = switch_core_cpu_count(); - vpx_codec_enc_cfg_t *vp8_enc_cfg = &vpx_globals.vp8.enc_cfg; - vpx_codec_enc_cfg_t *vp9_enc_cfg = &vpx_globals.vp9.enc_cfg; my_vpx_cfg_t *my_cfg = NULL; if (context->is_vp9) { - *config = *vp9_enc_cfg; my_cfg = &vpx_globals.vp9; } else { - *config = *vp8_enc_cfg; my_cfg = &vpx_globals.vp8; } @@ -484,30 +479,26 @@ static switch_status_t init_encoder(switch_codec_t *codec) } if (context->bandwidth > vpx_globals.max_bitrate) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(codec->session), SWITCH_LOG_WARNING, "BITRATE TRUNCATED FROM %d TO %d\n", context->bandwidth, vpx_globals.max_bitrate); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(codec->session), SWITCH_LOG_WARNING, "REQUESTED BITRATE TRUNCATED FROM %d TO %d\n", context->bandwidth, vpx_globals.max_bitrate); context->bandwidth = vpx_globals.max_bitrate; } - context->pkt = NULL; - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(codec->session), SWITCH_LOG_NOTICE, - "VPX reset encoder picture from %dx%d to %dx%d %u BW\n", - config->g_w, config->g_h, context->codec_settings.video.width, context->codec_settings.video.height, context->bandwidth); + "VPX encoder reset (WxH/BW) from %dx%d/%u to %dx%d/%u\n", + config->g_w, config->g_h, config->rc_target_bitrate, + context->codec_settings.video.width, context->codec_settings.video.height, context->bandwidth); + context->pkt = NULL; context->start_time = switch_micro_time_now(); + *config = my_cfg->enc_cfg; // reset whole config to current defaults + config->g_w = context->codec_settings.video.width; config->g_h = context->codec_settings.video.height; config->rc_target_bitrate = context->bandwidth; - token_parts = (cpus > 1) ? 3 : 0; - if (context->is_vp9) { - if (vpx_globals.vp9.token_parts > 0) { - token_parts = vpx_globals.vp9.token_parts; - } - - if (context->lossless) { + if (context->lossless || my_cfg->lossless) { config->rc_min_quantizer = 0; config->rc_max_quantizer = 0; } @@ -517,48 +508,51 @@ static switch_status_t init_encoder(switch_codec_t *codec) config->ts_rate_decimator[0] = 1; config->ts_periodicity = 1; config->ts_layer_id[0] = 0; - } else { - if (vpx_globals.vp8.token_parts > 0) { - token_parts = vpx_globals.vp8.token_parts; - } } if (context->encoder_init) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "VPX ENCODER RESET\n"); if (vpx_codec_enc_config_set(&context->encoder, config) != VPX_CODEC_OK) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec init error: [%d:%s]\n", context->encoder.err, context->encoder.err_detail); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(codec->session), SWITCH_LOG_ERROR, + "VPX encoder %s codec reconf error: [%d:%s]\n", + vpx_codec_iface_name(context->encoder_interface), context->encoder.err, context->encoder.err_detail); + return SWITCH_STATUS_FALSE; } } else if (context->flags & SWITCH_CODEC_FLAG_ENCODE) { + int token_parts; if (vpx_globals.debug) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Codec: %s\n", vpx_codec_iface_name(context->encoder_interface)); - show_config(my_cfg); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(codec->session), SWITCH_LOG_INFO, "VPX encoder %s settings:\n", vpx_codec_iface_name(context->encoder_interface)); + show_config(my_cfg, config); } if (vpx_codec_enc_init(&context->encoder, context->encoder_interface, config, 0 & VPX_CODEC_USE_OUTPUT_PARTITION) != VPX_CODEC_OK) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Codec %s init error: [%d:%s]\n", vpx_codec_iface_name(context->encoder_interface), context->encoder.err, context->encoder.err_detail); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(codec->session), SWITCH_LOG_ERROR, + "VPX encoder %s codec init error: [%d:%s]\n", + vpx_codec_iface_name(context->encoder_interface), context->encoder.err, context->encoder.err_detail); return SWITCH_STATUS_FALSE; } context->encoder_init = 1; + token_parts = (switch_core_cpu_count() > 1) ? 3 : 0; + if (my_cfg->token_parts > 0) { + token_parts = my_cfg->token_parts; + } vpx_codec_control(&context->encoder, VP8E_SET_TOKEN_PARTITIONS, token_parts); + vpx_codec_control(&context->encoder, VP8E_SET_CPUUSED, my_cfg->cpuused); + vpx_codec_control(&context->encoder, VP8E_SET_STATIC_THRESHOLD, my_cfg->static_thresh); if (context->is_vp9) { - if (context->lossless || vpx_globals.vp9.lossless) { + if (context->lossless || my_cfg->lossless) { vpx_codec_control(&context->encoder, VP9E_SET_LOSSLESS, 1); } - vpx_codec_control(&context->encoder, VP8E_SET_CPUUSED, vpx_globals.vp9.cpuused); - vpx_codec_control(&context->encoder, VP8E_SET_STATIC_THRESHOLD, vpx_globals.vp9.static_thresh); - vpx_codec_control(&context->encoder, VP9E_SET_TUNE_CONTENT, vpx_globals.vp9.tune_content); + vpx_codec_control(&context->encoder, VP9E_SET_TUNE_CONTENT, my_cfg->tune_content); } else { - vpx_codec_control(&context->encoder, VP8E_SET_STATIC_THRESHOLD, vpx_globals.vp8.static_thresh); - vpx_codec_control(&context->encoder, VP8E_SET_CPUUSED, vpx_globals.vp8.cpuused); - vpx_codec_control(&context->encoder, VP8E_SET_NOISE_SENSITIVITY, vpx_globals.vp8.noise_sensitivity); + vpx_codec_control(&context->encoder, VP8E_SET_NOISE_SENSITIVITY, my_cfg->noise_sensitivity); - if (vpx_globals.vp8.max_intra_bitrate_pct) { - vpx_codec_control(&context->encoder, VP8E_SET_MAX_INTRA_BITRATE_PCT, vpx_globals.vp8.max_intra_bitrate_pct); + if (my_cfg->max_intra_bitrate_pct) { + vpx_codec_control(&context->encoder, VP8E_SET_MAX_INTRA_BITRATE_PCT, my_cfg->max_intra_bitrate_pct); } } } @@ -603,7 +597,7 @@ static switch_status_t switch_vpx_init(switch_codec_t *codec, switch_codec_flag_ context->codec_settings.video.width = 320; context->codec_settings.video.height = 240; - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "VPX VER:%s VPX_IMAGE_ABI_VERSION:%d VPX_CODEC_ABI_VERSION:%d\n", + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(codec->session), SWITCH_LOG_DEBUG, "VPX VER:%s VPX_IMAGE_ABI_VERSION:%d VPX_CODEC_ABI_VERSION:%d\n", vpx_codec_version_str(), VPX_IMAGE_ABI_VERSION, VPX_CODEC_ABI_VERSION); return SWITCH_STATUS_SUCCESS; @@ -833,8 +827,8 @@ static switch_status_t switch_vpx_encode(switch_codec_t *codec, switch_frame_t * context->framecount++; - //pts = (now - context->start_time) / 1000; - pts = frame->timestamp; + pts = (now - context->start_time) / 1000; + //pts = frame->timestamp; dur = context->last_ms ? (now - context->last_ms) / 1000 : pts; @@ -1389,7 +1383,36 @@ static void load_config() vpx_globals.max_bitrate = 0; vpx_globals.vp8.cpuused = -6; + vpx_globals.vp8.enc_cfg.g_profile = 2; + vpx_globals.vp8.enc_cfg.g_timebase.den = 1000; + vpx_globals.vp8.enc_cfg.g_error_resilient = VPX_ERROR_RESILIENT_PARTITIONS; + vpx_globals.vp8.enc_cfg.rc_resize_allowed = 1; + vpx_globals.vp8.enc_cfg.rc_end_usage = VPX_CBR; + vpx_globals.vp8.enc_cfg.rc_target_bitrate = switch_parse_bandwidth_string("1mb"); + vpx_globals.vp8.enc_cfg.rc_min_quantizer = 4; + vpx_globals.vp8.enc_cfg.rc_max_quantizer = 63; + vpx_globals.vp8.enc_cfg.rc_overshoot_pct = 50; + vpx_globals.vp8.enc_cfg.rc_buf_sz = 5000; + vpx_globals.vp8.enc_cfg.rc_buf_initial_sz = 1000; + vpx_globals.vp8.enc_cfg.rc_buf_optimal_sz = 1000; + vpx_globals.vp8.enc_cfg.kf_max_dist = 360; + vpx_globals.vp9.cpuused = -6; + vpx_globals.vp9.enc_cfg.g_profile = 2; + vpx_globals.vp9.enc_cfg.g_timebase.den = 1000; + vpx_globals.vp9.enc_cfg.g_error_resilient = VPX_ERROR_RESILIENT_PARTITIONS; + vpx_globals.vp9.enc_cfg.rc_resize_allowed = 1; + vpx_globals.vp9.enc_cfg.rc_end_usage = VPX_CBR; + vpx_globals.vp9.enc_cfg.rc_target_bitrate = switch_parse_bandwidth_string("1mb"); + vpx_globals.vp9.enc_cfg.rc_min_quantizer = 4; + vpx_globals.vp9.enc_cfg.rc_max_quantizer = 63; + vpx_globals.vp9.enc_cfg.rc_overshoot_pct = 50; + vpx_globals.vp9.enc_cfg.rc_buf_sz = 5000; + vpx_globals.vp9.enc_cfg.rc_buf_initial_sz = 1000; + vpx_globals.vp9.enc_cfg.rc_buf_optimal_sz = 1000; + vpx_globals.vp9.enc_cfg.kf_max_dist = 360; + vpx_globals.vp9.tune_content = VP9E_CONTENT_SCREEN; + vpx_globals.vp10.cpuused = -6; xml = switch_xml_open_cfg("vpx.conf", &cfg, NULL); @@ -1477,6 +1500,7 @@ static void load_config() enc_cfg->g_threads = switch_parse_cpu_string(value); } else if (!strcmp(name, "g-profile")) { enc_cfg->g_profile = UINTVAL(val); +#if 0 } else if (!strcmp(name, "g-timebase")) { int num = 0; int den = 0; @@ -1495,6 +1519,7 @@ static void load_config() enc_cfg->g_timebase.num = num; enc_cfg->g_timebase.den = den; } +#endif } else if (!strcmp(name, "g-error-resilient")) { char *s = strdup(value); vpx_codec_er_flags_t res = 0; @@ -1687,11 +1712,11 @@ SWITCH_STANDARD_API(vpx_api_function) switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, " %-26s = %d\n", "vp10-dec-threads", vpx_globals.vp10.dec_cfg.threads); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Codec: %s\n", vpx_codec_iface_name(vpx_codec_vp8_cx())); - show_config(&vpx_globals.vp8); + show_config(&vpx_globals.vp8, &vpx_globals.vp8.enc_cfg); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Codec: %s\n", vpx_codec_iface_name(vpx_codec_vp9_cx())); - show_config(&vpx_globals.vp9); + show_config(&vpx_globals.vp9, &vpx_globals.vp9.enc_cfg); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Codec: VP10\n"); - show_config(&vpx_globals.vp10); + show_config(&vpx_globals.vp10, &vpx_globals.vp10.enc_cfg); stream->write_function(stream, "+OK\n"); } else if (!strcasecmp(cmd, "debug")) { diff --git a/w32/Library/FreeSwitchCore.2017.vcxproj b/w32/Library/FreeSwitchCore.2017.vcxproj index 55e2c23754..6bd0c5d7af 100644 --- a/w32/Library/FreeSwitchCore.2017.vcxproj +++ b/w32/Library/FreeSwitchCore.2017.vcxproj @@ -47,6 +47,7 @@ v141 + @@ -112,13 +113,19 @@ ..\..\libs\apr\include\arch\win32;%(AdditionalIncludeDirectories) + + if not exist "$(OutDir)conf" xcopy "$(SolutionDir)conf\vanilla\*.*" "$(OutDir)conf\" /C /D /Y /S +if not exist "$(OutDir)db" md "$(OutDir)db" +if not exist "$(OutDir)log" md "$(OutDir)log" +if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs\" /C /D /Y /S +if not exist "$(OutDir)images" xcopy "$(SolutionDir)images\*.*" "$(OutDir)images\" /C /D /Y /S +if not exist "$(OutDir)fonts" xcopy "$(SolutionDir)fonts\*.*" "$(OutDir)fonts\" /C /D /Y /S + + + - - - - Disabled ..\..\src\include;..\..\libs\include;..\..\libs\srtp\include;..\..\libs\srtp\crypto\include;..\..\libs\libteletone\src;..\..\libs\sqlite-amalgamation-3080401;..\..\libs\speex-1.2rc1\include;..\..\libs\spandsp\src\msvc;..\..\libs\spandsp\src;..\..\libs\libzrtp\include;..\..\libs\libzrtp\third_party\bgaes;..\..\libs\libzrtp\third_party\bnlib;..\..\libs\libtpl-1.5\src;..\..\libs\libtpl-1.5\src\win;..\..\libs\sofia-sip\libsofia-sip-ua\sdp;..\..\libs\sofia-sip\libsofia-sip-ua\su;..\..\libs\sofia-sip\win32;..\..\libs\libyuv\include;..\..\libs\freetype\include;..\..\libs\libpng;..\..\libs\libvpx;%(AdditionalIncludeDirectories) @@ -160,25 +167,12 @@ - - if not exist "$(OutDir)conf" xcopy "$(SolutionDir)conf\vanilla\*.*" "$(OutDir)conf\" /C /D /Y /S -if not exist "$(OutDir)db" md "$(OutDir)db" -if not exist "$(OutDir)log" md "$(OutDir)log" -if not exist "$(OutDir)htdocs" md "$(OutDir)htdocs" -if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs\" /C /D /Y /S - - - $(SolutionDir)src\include - - - - X64 @@ -220,22 +214,9 @@ if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs $(OutDir)FreeSwitchCore.lib MachineX64 - - if not exist "$(OutDir)conf" xcopy "$(SolutionDir)conf\vanilla\*.*" "$(OutDir)conf\" /C /D /Y /S -if not exist "$(OutDir)db" md "$(OutDir)db" -if not exist "$(OutDir)log" md "$(OutDir)log" -if not exist "$(OutDir)htdocs" md "$(OutDir)htdocs" -if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs\" /C /D /Y /S - - - - - - - MaxSpeed ..\..\src\include;..\..\libs\include;..\..\libs\srtp\include;..\..\libs\srtp\crypto\include;..\..\libs\libteletone\src;..\..\libs\sqlite-amalgamation-3080401;..\..\libs\speex-1.2rc1\include;..\..\libs\spandsp\src\msvc;..\..\libs\spandsp\src;..\..\libs\libzrtp\include;..\..\libs\libzrtp\third_party\bgaes;..\..\libs\libzrtp\third_party\bnlib;..\..\libs\libtpl-1.5\src;..\..\libs\libtpl-1.5\src\win;..\..\libs\sofia-sip\libsofia-sip-ua\sdp;..\..\libs\sofia-sip\libsofia-sip-ua\su;..\..\libs\sofia-sip\win32;..\..\libs\libyuv\include;..\..\libs\freetype\include;..\..\libs\libpng;..\..\libs\libvpx;%(AdditionalIncludeDirectories) @@ -268,22 +249,9 @@ if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs $(OutDir)FreeSwitchCore.lib MachineX86 - - if not exist "$(OutDir)conf" xcopy "$(SolutionDir)conf\vanilla\*.*" "$(OutDir)conf\" /C /D /Y /S -if not exist "$(OutDir)db" md "$(OutDir)db" -if not exist "$(OutDir)log" md "$(OutDir)log" -if not exist "$(OutDir)htdocs" md "$(OutDir)htdocs" -if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs\" /C /D /Y /S - - - - - - - X64 @@ -319,15 +287,6 @@ if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs $(OutDir)FreeSwitchCore.lib MachineX64 - - if not exist "$(OutDir)conf" xcopy "$(SolutionDir)conf\vanilla\*.*" "$(OutDir)conf\" /C /D /Y /S -if not exist "$(OutDir)db" md "$(OutDir)db" -if not exist "$(OutDir)log" md "$(OutDir)log" -if not exist "$(OutDir)htdocs" md "$(OutDir)htdocs" -if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs\" /C /D /Y /S - - - @@ -821,37 +780,6 @@ if not exist "$(OutDir)htdocs" xcopy "$(SolutionDir)htdocs\*.*" "$(OutDir)htdocs true true - - Generating switch_version.h - cscript /nologo "$(ProjectDir)..\..\libs\win32\util.vbs" Version "$(ProjectDir)" "$(ProjectDir)..\..\" "$(ProjectDir)..\..\src\include\switch_version.h.template" "$(ProjectDir)..\..\src\include\switch_version.h" - - ..\..\src\include\switch.h;..\..\src\include\switch_apr.h;..\..\src\include\switch_buffer.h;..\..\src\include\switch_caller.h;..\..\src\include\switch_channel.h;..\..\src\include\switch_console.h;..\..\src\include\switch_core.h;..\..\src\include\switch_event.h;..\..\src\include\switch_frame.h;..\..\src\include\switch_ivr.h;..\..\src\include\switch_loadable_module.h;..\..\src\include\switch_log.h;..\..\src\include\switch_module_interfaces.h;..\..\src\include\switch_platform.h;..\..\src\include\switch_resample.h;..\..\src\include\switch_rtp.h;..\..\src\include\switch_sqlite.h;..\..\src\include\switch_stun.h;..\..\src\include\switch_types.h;..\..\src\include\switch_utils.h;..\..\src\include\switch_xml.h;..\..\src\switch_buffer.c;..\..\src\switch_caller.c;..\..\src\switch_channel.c;..\..\src\switch_config.c;..\..\src\switch_console.c;..\..\src\switch_core.c;..\..\src\switch_event.c;..\..\src\switch_ivr.c;..\..\src\switch_loadable_module.c;..\..\src\switch_log.c;..\..\src\switch_resample.c;..\..\src\switch_rtp.c;..\..\src\switch_stun.c;..\..\src\switch_utils.c;..\..\src\switch_xml.c;%(AdditionalInputs) - ..\..\src\include\switch_version.h;lastversion;%(Outputs) - Generating switch_version.h - cscript /nologo "$(ProjectDir)..\..\libs\win32\util.vbs" Version "$(ProjectDir)" "$(ProjectDir)..\..\" "$(ProjectDir)..\..\src\include\switch_version.h.template" "$(ProjectDir)..\..\src\include\switch_version.h" - - ..\..\src\include\switch.h;..\..\src\include\switch_apr.h;..\..\src\include\switch_buffer.h;..\..\src\include\switch_caller.h;..\..\src\include\switch_channel.h;..\..\src\include\switch_console.h;..\..\src\include\switch_core.h;..\..\src\include\switch_event.h;..\..\src\include\switch_frame.h;..\..\src\include\switch_ivr.h;..\..\src\include\switch_loadable_module.h;..\..\src\include\switch_log.h;..\..\src\include\switch_module_interfaces.h;..\..\src\include\switch_platform.h;..\..\src\include\switch_resample.h;..\..\src\include\switch_rtp.h;..\..\src\include\switch_sqlite.h;..\..\src\include\switch_stun.h;..\..\src\include\switch_types.h;..\..\src\include\switch_utils.h;..\..\src\include\switch_xml.h;..\..\src\switch_buffer.c;..\..\src\switch_caller.c;..\..\src\switch_channel.c;..\..\src\switch_config.c;..\..\src\switch_console.c;..\..\src\switch_core.c;..\..\src\switch_event.c;..\..\src\switch_ivr.c;..\..\src\switch_loadable_module.c;..\..\src\switch_log.c;..\..\src\switch_resample.c;..\..\src\switch_rtp.c;..\..\src\switch_stun.c;..\..\src\switch_utils.c;..\..\src\switch_xml.c;%(AdditionalInputs) - ..\..\src\include\switch_version.h;lastversion;%(Outputs) - Generating switch_version.h - cscript /nologo "$(ProjectDir)..\..\libs\win32\util.vbs" Version "$(ProjectDir)" "$(ProjectDir)..\..\" "$(ProjectDir)..\..\src\include\switch_version.h.template" "$(ProjectDir)..\..\src\include\switch_version.h" - - ..\..\src\include\switch.h;..\..\src\include\switch_apr.h;..\..\src\include\switch_buffer.h;..\..\src\include\switch_caller.h;..\..\src\include\switch_channel.h;..\..\src\include\switch_console.h;..\..\src\include\switch_core.h;..\..\src\include\switch_event.h;..\..\src\include\switch_frame.h;..\..\src\include\switch_ivr.h;..\..\src\include\switch_loadable_module.h;..\..\src\include\switch_log.h;..\..\src\include\switch_module_interfaces.h;..\..\src\include\switch_platform.h;..\..\src\include\switch_resample.h;..\..\src\include\switch_rtp.h;..\..\src\include\switch_sqlite.h;..\..\src\include\switch_stun.h;..\..\src\include\switch_types.h;..\..\src\include\switch_utils.h;..\..\src\include\switch_xml.h;..\..\src\switch_buffer.c;..\..\src\switch_caller.c;..\..\src\switch_channel.c;..\..\src\switch_config.c;..\..\src\switch_console.c;..\..\src\switch_core.c;..\..\src\switch_event.c;..\..\src\switch_ivr.c;..\..\src\switch_loadable_module.c;..\..\src\switch_log.c;..\..\src\switch_resample.c;..\..\src\switch_rtp.c;..\..\src\switch_stun.c;..\..\src\switch_utils.c;..\..\src\switch_xml.c;%(AdditionalInputs) - ..\..\src\include\switch_version.h;lastversion;%(Outputs) - Generating switch_version.h - cscript /nologo "$(ProjectDir)..\..\libs\win32\util.vbs" Version "$(ProjectDir)" "$(ProjectDir)..\..\" "$(ProjectDir)..\..\src\include\switch_version.h.template" "$(ProjectDir)..\..\src\include\switch_version.h" - - ..\..\src\include\switch.h;..\..\src\include\switch_apr.h;..\..\src\include\switch_buffer.h;..\..\src\include\switch_caller.h;..\..\src\include\switch_channel.h;..\..\src\include\switch_console.h;..\..\src\include\switch_core.h;..\..\src\include\switch_event.h;..\..\src\include\switch_frame.h;..\..\src\include\switch_ivr.h;..\..\src\include\switch_loadable_module.h;..\..\src\include\switch_log.h;..\..\src\include\switch_module_interfaces.h;..\..\src\include\switch_platform.h;..\..\src\include\switch_resample.h;..\..\src\include\switch_rtp.h;..\..\src\include\switch_sqlite.h;..\..\src\include\switch_stun.h;..\..\src\include\switch_types.h;..\..\src\include\switch_utils.h;..\..\src\include\switch_xml.h;..\..\src\switch_buffer.c;..\..\src\switch_caller.c;..\..\src\switch_channel.c;..\..\src\switch_config.c;..\..\src\switch_console.c;..\..\src\switch_core.c;..\..\src\switch_event.c;..\..\src\switch_ivr.c;..\..\src\switch_loadable_module.c;..\..\src\switch_log.c;..\..\src\switch_resample.c;..\..\src\switch_rtp.c;..\..\src\switch_stun.c;..\..\src\switch_utils.c;..\..\src\switch_xml.c;%(AdditionalInputs) - ..\..\src\include\switch_version.h;lastversion;%(Outputs) - - - Generating switch_version.inc - cscript /nologo "$(ProjectDir)..\..\libs\win32\util.vbs" Version "$(ProjectDir)" "$(ProjectDir)..\..\" "$(ProjectDir)switch_version.inc.template" "$(ProjectDir)switch_version.inc" - $(ProjectDir)switch_version.inc - $ProjectDir)include\switch_version.h;$(ProjectDir)lastversion - $ProjectDir)include\switch_version.h;$(ProjectDir)lastversion - $ProjectDir)include\switch_version.h;$(ProjectDir)lastversion - $ProjectDir)include\switch_version.h;$(ProjectDir)lastversion - diff --git a/w32/Setup/FreeSWITCHConsole.wxs b/w32/Setup/FreeSWITCHConsole.wxs index 5c3b3ab744..7b9aa4218d 100644 --- a/w32/Setup/FreeSWITCHConsole.wxs +++ b/w32/Setup/FreeSWITCHConsole.wxs @@ -33,7 +33,7 @@ - + diff --git a/w32/Setup/Product.2017.wxs b/w32/Setup/Product.2017.wxs index bbda12f1c8..6b223612f6 100644 --- a/w32/Setup/Product.2017.wxs +++ b/w32/Setup/Product.2017.wxs @@ -63,13 +63,13 @@ @@ -99,7 +99,9 @@ - + @@ -108,6 +110,10 @@ + + + + @@ -115,16 +121,24 @@ - + - + - + - + diff --git a/w32/Setup/Setup.2017.wixproj b/w32/Setup/Setup.2017.wixproj index 6aa691a187..0017c5acef 100644 --- a/w32/Setup/Setup.2017.wixproj +++ b/w32/Setup/Setup.2017.wixproj @@ -1,9 +1,11 @@  - + true + + @@ -17,31 +19,35 @@ bin\x86\Debug\ obj\X86\$(Configuration)\ - Debug;FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHSoundFilesDir=$(ProjectDir)..\..\Win32\debug\sounds;FreeSWITCHBaseDir=$(SolutionDir)Win32\$(Configuration);PlatformDir=Win32; + Debug;FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHBaseDir=$(SolutionDir)Win32\$(Configuration); bin\x86\release\ obj\X86\$(Configuration)\ - FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHSoundFilesDir=$(ProjectDir)..\..\Win32\release\sounds;FreeSWITCHBaseDir=$(SolutionDir)Win32\$(Configuration); + FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHBaseDir=$(SolutionDir)Win32\$(Configuration); bin\x64\Debug\ obj\X64\$(Configuration)\ - Debug;FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHSoundFilesDir=$(ProjectDir)..\..\x64\debug\sounds;FreeSWITCHBaseDir=$(SolutionDir)$(Platform)\$(Configuration); + Debug;FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHBaseDir=$(SolutionDir)$(Platform)\$(Configuration); bin\x64\Release\ obj\X64\$(Configuration)\ - FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHSoundFilesDir=$(ProjectDir)..\..\x64\release\sounds;FreeSWITCHBaseDir=$(SolutionDir)$(Platform)\$(Configuration); + FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHBaseDir=$(SolutionDir)$(Platform)\$(Configuration); + + + + @@ -111,6 +117,14 @@ Binaries;Content;Satellites INSTALLFOLDER + + mod_cidlookup + {0a130a8b-3076-4619-badf-9e86f621aeec} + True + True + Binaries;Content;Satellites + INSTALLFOLDER + mod_commands {30a5b29c-983e-4580-9fd0-d647ccdcc7eb} @@ -567,6 +581,14 @@ Binaries;Content;Satellites INSTALLFOLDER + + mod_cdr_mongodb + {4dff29b4-2976-447d-a8b3-43476451517c} + True + True + Binaries;Content;Satellites + INSTALLFOLDER + mod_cdr_pg_csv {411f6d43-9f09-47d0-8b04-e1eb6b67c5bf} @@ -876,16 +898,6 @@ - - "$(WixToolPath)\heat.exe" dir "$(ProjectDir)..\..\conf\vanilla" -cg FreeSWITCHConfFiles -gg -scom -sreg -sfrag -srd -dr CONFLOCATION -var var.FreeSWITCHConfFilesDir -out "$(ProjectDir)Fragments\FreeSWITCHConfFiles.wxs" -"$(WixToolPath)\heat.exe" dir "$(SolutionDir)Win32\$(Configuration)\sounds" -cg FreeSWITCHSoundFiles8 -gg -scom -sreg -sfrag -srd -dr SOUNDLOCATION -var var.FreeSWITCHSoundFilesDir -out "$(ProjectDir)Fragments\FreeSWITCHSoundFiles8.wxs" -"$(WixToolPath)\heat.exe" dir "$(SolutionDir)Win32\$(Configuration)" -t $(ProjectDir)filter.xslt -cg FreeSWITCHBaseFiles -gg -scom -sreg -sfrag -srd -dr INSTALLLOCATION -var var.FreeSWITCHBaseDir -out "$(ProjectDir)Fragments\FreeSWITCHBaseFiles.wxs" - - - "$(WixToolPath)\heat.exe" dir "$(ProjectDir)..\..\conf\vanilla" -cg FreeSWITCHConfFiles -gg -scom -sreg -sfrag -srd -dr CONFLOCATION -var var.FreeSWITCHConfFilesDir -out "$(ProjectDir)Fragments\FreeSWITCHConfFiles.wxs" -"$(WixToolPath)\heat.exe" dir "$(SolutionDir)x64\$(Configuration)\sounds" -cg FreeSWITCHSoundFiles8 -gg -scom -sreg -sfrag -srd -dr SOUNDLOCATION -var var.FreeSWITCHSoundFilesDir -out "$(ProjectDir)Fragments\FreeSWITCHSoundFiles8.wxs" -"$(WixToolPath)\heat.exe" dir "$(SolutionDir)x64\$(Configuration)" -t $(ProjectDir)filter.xslt -cg FreeSWITCHBaseFiles -gg -scom -sreg -sfrag -srd -dr INSTALLLOCATION -var var.FreeSWITCHBaseDir -out "$(ProjectDir)Fragments\FreeSWITCHBaseFiles.wxs" - @@ -908,12 +920,34 @@ + + + + + + + + + + + + + + - + @@ -921,6 +955,99 @@ + + + + + + + + + + + + + + + diff --git a/w32/Setup/Setup.vdproj b/w32/Setup/Setup.vdproj deleted file mode 100644 index 6e2ad16db2..0000000000 --- a/w32/Setup/Setup.vdproj +++ /dev/null @@ -1,5417 +0,0 @@ -"DeployProject" -{ -"VSVersion" = "3:800" -"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}" -"IsWebType" = "8:FALSE" -"ProjectName" = "8:FreeSwitchSetup" -"LanguageId" = "3:1033" -"CodePage" = "3:1252" -"UILanguageId" = "3:1033" -"SccProjectName" = "8:" -"SccLocalPath" = "8:" -"SccAuxPath" = "8:" -"SccProvider" = "8:" - "Hierarchy" - { - "Entry" - { - "MsmKey" = "8:_06B0D3331483460E8553AE560C095F30" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_0772289C2CC6435396616D7A2C407EA2" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_103209E575C54D649DD1472DBB9B5F5D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_1273F63008CF585CA0E063E436B4646F" - "OwnerKey" = "8:_FBB0E565B1DE49CE9C827ACAC337AC5B" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_166BDBE308F54EE4881DA68F2A8189F5" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_168AA0F246D343C8AD05EA5BD85892E6" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_1777CB4B737E4B8481E25A10950B2B5A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_178A5C0B03434015882C29999AC9409E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_1CFB1AB04E024FC993E0EB4859DF8408" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_1DCA6B2BA0F842FDB5CBA54CF52228F7" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_27E8189E01B6420CB898CC51360C83A3" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2814E641538B42EFA83525986A9D5AC1" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_28FBC5A60B44423B8A2CC378347483CE" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_293949AEC41D4C09AB8DFA5E381E271D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_297D0BADB993435092DDB8CDF9F2A3C6" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2A2946BE8F8140E8BCA4C5D22B3521BA" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2B80DCCD934745B1BB4F0B31099094D9" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2C833C693DF941A28E4EF7A5A68932B3" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2D9E612823084E3F9E10376A7AC0C476" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2F2FEC549F02436EB87961BD1B9E5783" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_2FF747225F1F434DB6D28735D9B46C82" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_30CC812EB1784E0FA628CC1F2BA2B937" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_318FCC99E8D143D6B4F9F534E63009B3" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_329D8DAE6C01FCF026E9DFB48B932203" - "OwnerKey" = "8:_28FBC5A60B44423B8A2CC378347483CE" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_37B29FA48E5F4688BB93D5894888E17F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_3A3E15A93AC9438AA860B70D859869AB" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_3B3D48C2B29C45F5A6D4DDFFA4A161C8" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_3DB5A5EF1E624F999BCEA20250508EEA" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_3E26AF1FA53F473AA90E6333471B91E8" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_3E37631016BC45B2B672FE23257D542B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_3E7E4A5FBB544C2BB201565BF26F81DE" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4132509BFE93497C8E86E017E5B98F69" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_44A0B3E2E2AB47F6A57BC596B527D0CB" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_46CE52BD472F4CAA95444392D5509639" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_49C33ADB11BA49B4B154AB95030363FB" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_49E3695DB65F44D7A7A5030183730179" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4A285D260C3748A4BEFA6E5A9004D128" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4BB26C48A28444C2BAFF909AB5F03B6B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4C988C848F56468B8DA7472371E2692E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_4EA0A4F559FD41ABA5ED89BB6BE4225B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_549D54D0FFCA4C719EE17DF14BB3E61C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_54E22BF0AA444AC89859848A15458F36" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_57D189CA1D2742679F61F1F411E624E6" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_597B8446DF6D40C996FB15BF3372A1CB" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_59CFED0C4EC0492C945E4EBC04FE965F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5C40E47478FE438EA9F69A89ACE88F71" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_5EDFD5418DD243D1A03D882B83BBBCF1" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_64ED00E501A044C3A06E871D5153AF4B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6814707FB7C045728534732A6C2DCAB0" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6A4CAD73F43678BF7C05E8FB41042F74" - "OwnerKey" = "8:_D2EF447106B24E67907DAED3D39CFBB1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6AA8D6AF639F4E6B92D28A7E0D13FD5E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6B86E2A2237546638882BC888835F75C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6B9FFF46953D49EC93A2BA3C5C9C6107" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6DF726E4018A4136BC27E2C6F4B67B9E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6E29116F4F8441F586438845534AA000" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_6E5C001E7A314DCEA0A4BF52BF74BCAD" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_71028B90842B4A0C8AF05F2C2519A7D8" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_71893DDF0D4C43B082D8F7544341F860" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_72A4FCD393BC46D891A359FC0AD0012D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_75A691747CCC4B36922F98A2D62B0B35" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_766A9DB9AC2B4FC9826E63C1D9842F40" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_77550ABD8CC84D66A3B6C3C3C48665A4" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7899F812E6DA4AD38FFA78C1F0C88F93" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_78DC844A2A7C47A19BD2B41B7B57CBD9" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_78F060A241D0428998B42093C467AD36" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7B1050643E1E48A3B67B281B4AD43904" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7CFCCDD9C6694A0498D7CD6CDD285042" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7E46520FEA2B4DA7A90171E3467C29CA" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7F2A5D1B25FD4B109F5E17402117543A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_7FEA1E60C11343F1A98DC33C512051FA" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_80D44DD7FA3C4E3F8D6BB8B4F949F6AF" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_82158C38354740E99D416F1DB58C7E18" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_821771D6A597416391F899CD9147F75B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_83131C9ADB7C4E6C88388D820F720BB5" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8471500508034D338D599ED5C35F938F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_860B731FDCC848F79AB8DFD4D03E2A47" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_86D8DF7599FF472096D6826044347537" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_879085EF680EFDF6242DCB77439EC825" - "OwnerKey" = "8:_59CFED0C4EC0492C945E4EBC04FE965F" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_879085EF680EFDF6242DCB77439EC825" - "OwnerKey" = "8:_F0B800E719294692A02518CFD8CBAEFF" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_879085EF680EFDF6242DCB77439EC825" - "OwnerKey" = "8:_D2EF447106B24E67907DAED3D39CFBB1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8B53F026686B44189676CBC200E641C1" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8E023477B9DC4126921A556B285B29E5" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_8FB175B8685A47F7BE75E1A025F65693" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_90D7F247E8254DE797317F431E3FB010" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_92F95219F6434CE3A736526946DA2ABB" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9527B92C45BB45629BDB19ED3C8DC194" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_95D01083472B4853AC3F06514558F347" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_96F8F7DE89C74DC399E8AE55C22B4F15" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_970ADC4156DB4B3DBBC2C65E1C41B642" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_98C7D74F78A84DA3B32B460138019AE2" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_991CC352E2204C50ABEDAE5D104B4310" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9B19C40442134D69B533E16D0851D99B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9B429CDF56AE431D975C90AC00A348CD" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9B4D63B995014A0C8AF19FF42616D292" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9ECA16E530634A7582AC80138BDA016B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_9FCEC602DF6540E5BC437B8F3CF0F2BC" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A0D5F714A0F94250A1C39603B699AB82" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A164EF86C4B57E41C8CE77B48F39DAC7" - "OwnerKey" = "8:_D2EF447106B24E67907DAED3D39CFBB1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A3936A2727E73289F5804D5DA006FD0A" - "OwnerKey" = "8:_28FBC5A60B44423B8A2CC378347483CE" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A8D70CB0D12C4B3FB2E2E896E9A7C843" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_A944ADCEDF884574A23F7BA5420A6BA1" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_AC40F24B3F5140FCAA48FAC397D8BEB0" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_ADA22D44BCDEBA509E09A5D4C155AA41" - "OwnerKey" = "8:_0772289C2CC6435396616D7A2C407EA2" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_ADA22D44BCDEBA509E09A5D4C155AA41" - "OwnerKey" = "8:_FBB0E565B1DE49CE9C827ACAC337AC5B" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_ADA22D44BCDEBA509E09A5D4C155AA41" - "OwnerKey" = "8:_D2EF447106B24E67907DAED3D39CFBB1" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_ADA22D44BCDEBA509E09A5D4C155AA41" - "OwnerKey" = "8:_BB99CEDF341D40F3976B6D5486D9366D" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_ADA22D44BCDEBA509E09A5D4C155AA41" - "OwnerKey" = "8:_9B19C40442134D69B533E16D0851D99B" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_ADA22D44BCDEBA509E09A5D4C155AA41" - "OwnerKey" = "8:_3DB5A5EF1E624F999BCEA20250508EEA" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_ADA22D44BCDEBA509E09A5D4C155AA41" - "OwnerKey" = "8:_1CFB1AB04E024FC993E0EB4859DF8408" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B0A2E9B4C45D4098AFD734D0C4E3EAFB" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B33F513CD3524D3BB7BD11E035C3B562" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B34D0605157A4FE2A81F4639019E31BD" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B5ADB663C7CE49A1A11E895E4EBB4933" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B700A9A1FCA94E5D8C8B08C4FD856669" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_B9EAE14D8B704EFAB8A848C6EF94630A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BA769056DBAF4259B38F5C3FF7377055" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BB108A4FE89F4F58BA592B3BD4B89058" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BB649A2C1ABE4895859025B09A240323" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BB99CEDF341D40F3976B6D5486D9366D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BEADBF5396084C0093E53DF1605856B8" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_BF3BA59EA18342C891BD04B0DB279B13" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C1036825E1364537B537E542E71F9C0E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C105055EE271471A999CE7022E617EB7" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C7E9135AE3874E19809A03F02CCC15C9" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C81AC700C1BC4A55B98DF12C0CBAFD6F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_C93A983EC95F4F45AF27F37D674CF86B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_CB0CF364674E42A1B928D78A3823CB76" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_CCAC35C9D0644917A28341E382DB6B93" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_CE544583308149B2A1E1333D1628CA8F" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D0BB09AFB8D94B76918F0EE85BCCAD0A" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D1269F1E49D442CF8EAC96C23E60325D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D2EF447106B24E67907DAED3D39CFBB1" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D4385548C95548FE9B87351BCF3B7283" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D6F0F5845FAD4707975CE012A33CD607" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D7E82DD20D5B47395F635480C8E3A1D3" - "OwnerKey" = "8:_F0B800E719294692A02518CFD8CBAEFF" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_D7EC5795A9C645AC8E129C2EE6D461ED" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_DD54C8F25D0546E199ADB3C4B40EA20B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E1AA7C5B96DA4A26859D2C7A21E00AB6" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E5C5D9225978484CA7AD0BD78C1222EE" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E763C699DF0948B6984DDEB96A2DFD06" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_E9C0988F6F304489AF07F8B7BCC6FAEE" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EAE97483333F4F768957F78BD6EBC343" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EAF4B051F44745ABA9B58038FB93994C" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EB066F7B4C5A4D2D97B4F3548532E88E" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EC4922AEC1064C90B96EBBDD3104D761" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EE3DDD77AE6D46B78E7CEE41812D081D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EE6BFE828E0241AEB514070327EB62D9" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EF14CB99F3414BB689D0CB0E6D6B8AB8" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EFB1E330D42F4B8F8FC368D7D9D37115" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_EFF125CFCD7043C8948B80B95E446349" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F0B800E719294692A02518CFD8CBAEFF" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F6522F7F627C44608CEAF62E6E4F6ADC" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_F845DB95F41C4F52A29987902E7343AE" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_FAA16AE2AC704545915D1FF2BD5943F7" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_FBB0E565B1DE49CE9C827ACAC337AC5B" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_FBD45C36E901435399634CACA5339597" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_FCB457B4F3FB45279541611088A67A5D" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - "Entry" - { - "MsmKey" = "8:_FF49B78469E94E3CB4504082625B3048" - "OwnerKey" = "8:_UNDEFINED" - "MsmSig" = "8:_UNDEFINED" - } - } - "Configurations" - { - "Debug" - { - "DisplayName" = "8:Debug" - "IsDebugOnly" = "11:TRUE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug\\Freeswitch.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:FALSE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Visual.C++.8.0.x86" - { - "Name" = "8:Visual C++ Runtime Libraries (x86)" - "ProductCode" = "8:Microsoft.Visual.C++.8.0.x86" - } - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Windows.Installer.3.1" - { - "Name" = "8:Windows Installer 3.1" - "ProductCode" = "8:Microsoft.Windows.Installer.3.1" - } - } - } - } - "Debug with MySql" - { - "DisplayName" = "8:Debug with MySql" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Debug with MySql\\Setup.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:FALSE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Visual.C++.8.0.x86" - { - "Name" = "8:Visual C++ Runtime Libraries (x86)" - "ProductCode" = "8:Microsoft.Visual.C++.8.0.x86" - } - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Windows.Installer.3.1" - { - "Name" = "8:Windows Installer 3.1" - "ProductCode" = "8:Microsoft.Windows.Installer.3.1" - } - } - } - } - "Release" - { - "DisplayName" = "8:Release" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:TRUE" - "OutputFilename" = "8:Release\\Freeswitch.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:FALSE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Visual.C++.8.0.x86" - { - "Name" = "8:Visual C++ Runtime Libraries (x86)" - "ProductCode" = "8:Microsoft.Visual.C++.8.0.x86" - } - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Windows.Installer.3.1" - { - "Name" = "8:Windows Installer 3.1" - "ProductCode" = "8:Microsoft.Windows.Installer.3.1" - } - } - } - } - "Release with MySql" - { - "DisplayName" = "8:Release with MySql" - "IsDebugOnly" = "11:FALSE" - "IsReleaseOnly" = "11:FALSE" - "OutputFilename" = "8:Release with MySql\\Setup.msi" - "PackageFilesAs" = "3:2" - "PackageFileSize" = "3:-2147483648" - "CabType" = "3:1" - "Compression" = "3:2" - "SignOutput" = "11:FALSE" - "CertificateFile" = "8:" - "PrivateKeyFile" = "8:" - "TimeStampServer" = "8:" - "InstallerBootstrapper" = "3:2" - "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}" - { - "Enabled" = "11:FALSE" - "PromptEnabled" = "11:TRUE" - "PrerequisitesLocation" = "2:1" - "Url" = "8:" - "ComponentsUrl" = "8:" - "Items" - { - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Visual.C++.8.0.x86" - { - "Name" = "8:Visual C++ Runtime Libraries (x86)" - "ProductCode" = "8:Microsoft.Visual.C++.8.0.x86" - } - "{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.Windows.Installer.3.1" - { - "Name" = "8:Windows Installer 3.1" - "ProductCode" = "8:Microsoft.Windows.Installer.3.1" - } - } - } - } - } - "Deployable" - { - "CustomAction" - { - } - "DefaultFeature" - { - "Name" = "8:DefaultFeature" - "Title" = "8:" - "Description" = "8:" - } - "ExternalPersistence" - { - "LaunchCondition" - { - } - } - "File" - { - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_06B0D3331483460E8553AE560C095F30" - { - "SourcePath" = "8:..\\..\\conf\\mime.types" - "TargetName" = "8:mime.types" - "Tag" = "8:" - "Folder" = "8:_06036160035041E38F4179E6DB6380C5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_103209E575C54D649DD1472DBB9B5F5D" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\portaudio.conf.xml" - "TargetName" = "8:portaudio.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_1273F63008CF585CA0E063E436B4646F" - { - "SourcePath" = "8:IPHLPAPI.DLL" - "TargetName" = "8:iphlpapi.dll" - "Tag" = "8:" - "Folder" = "8:_06036160035041E38F4179E6DB6380C5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_168AA0F246D343C8AD05EA5BD85892E6" - { - "SourcePath" = "8:..\\..\\conf\\extensions.conf" - "TargetName" = "8:extensions.conf" - "Tag" = "8:" - "Folder" = "8:_06036160035041E38F4179E6DB6380C5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_178A5C0B03434015882C29999AC9409E" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\default.xml" - "TargetName" = "8:default.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_27E8189E01B6420CB898CC51360C83A3" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\modules.conf.xml" - "TargetName" = "8:modules.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_293949AEC41D4C09AB8DFA5E381E271D" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\xml_rpc.conf.xml" - "TargetName" = "8:xml_rpc.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2A2946BE8F8140E8BCA4C5D22B3521BA" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1016.xml" - "TargetName" = "8:1016.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2C833C693DF941A28E4EF7A5A68932B3" - { - "SourcePath" = "8:..\\..\\conf\\vars.xml" - "TargetName" = "8:vars.xml" - "Tag" = "8:" - "Folder" = "8:_06036160035041E38F4179E6DB6380C5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_2FF747225F1F434DB6D28735D9B46C82" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1001.xml" - "TargetName" = "8:1001.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_30CC812EB1784E0FA628CC1F2BA2B937" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\brian.xml" - "TargetName" = "8:brian.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_329D8DAE6C01FCF026E9DFB48B932203" - { - "SourcePath" = "8:MSWSOCK.dll" - "TargetName" = "8:MSWSOCK.dll" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_37B29FA48E5F4688BB93D5894888E17F" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default.xml" - "TargetName" = "8:default.xml" - "Tag" = "8:" - "Folder" = "8:_D97D309102B74F24A88C372E3FDEDC93" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3A3E15A93AC9438AA860B70D859869AB" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1015.xml" - "TargetName" = "8:1015.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3B3D48C2B29C45F5A6D4DDFFA4A161C8" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\dialplan_directory.conf.xml" - "TargetName" = "8:dialplan_directory.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3E26AF1FA53F473AA90E6333471B91E8" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\syslog.conf.xml" - "TargetName" = "8:syslog.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_3E7E4A5FBB544C2BB201565BF26F81DE" - { - "SourcePath" = "8:..\\..\\conf\\jingle_profiles\\server.xml" - "TargetName" = "8:server.xml" - "Tag" = "8:" - "Folder" = "8:_6521C567C8FB4E1389A5CD0BAA719A2E" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4132509BFE93497C8E86E017E5B98F69" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1019.xml" - "TargetName" = "8:1019.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_44A0B3E2E2AB47F6A57BC596B527D0CB" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\asterlink.com.noload" - "TargetName" = "8:asterlink.com.noload" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_46CE52BD472F4CAA95444392D5509639" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1002.xml" - "TargetName" = "8:1002.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_49C33ADB11BA49B4B154AB95030363FB" - { - "SourcePath" = "8:..\\..\\conf\\sip_profiles\\default.xml" - "TargetName" = "8:default.xml" - "Tag" = "8:" - "Folder" = "8:_1467900139414980A300BAD49DA52C92" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_49E3695DB65F44D7A7A5030183730179" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1000.xml" - "TargetName" = "8:1000.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4BB26C48A28444C2BAFF909AB5F03B6B" - { - "SourcePath" = "8:..\\..\\conf\\sip_profiles\\nat\\example.xml" - "TargetName" = "8:example.xml" - "Tag" = "8:" - "Folder" = "8:_07585B420CE343A59E724013FC2421E6" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4C988C848F56468B8DA7472371E2692E" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\pulver.com.noload" - "TargetName" = "8:pulver.com.noload" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4EA0A4F559FD41ABA5ED89BB6BE4225B" - { - "SourcePath" = "8:..\\..\\conf\\lang\\fr\\fr.xml" - "TargetName" = "8:fr.xml" - "Tag" = "8:" - "Folder" = "8:_DB915E1E91474861B9EBDD61CA52BE59" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_549D54D0FFCA4C719EE17DF14BB3E61C" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\sofia.conf.xml" - "TargetName" = "8:sofia.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_54E22BF0AA444AC89859848A15458F36" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1009.xml" - "TargetName" = "8:1009.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_57D189CA1D2742679F61F1F411E624E6" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\voipuser.org.noload" - "TargetName" = "8:voipuser.org.noload" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_597B8446DF6D40C996FB15BF3372A1CB" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\enum.conf.xml" - "TargetName" = "8:enum.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5C40E47478FE438EA9F69A89ACE88F71" - { - "SourcePath" = "8:..\\..\\conf\\lang\\de\\demo\\demo.xml" - "TargetName" = "8:demo.xml" - "Tag" = "8:" - "Folder" = "8:_E2FFEBC9425947FB824CDABFAB511111" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_64ED00E501A044C3A06E871D5153AF4B" - { - "SourcePath" = "8:..\\..\\conf\\dialplan\\public.xml" - "TargetName" = "8:public.xml" - "Tag" = "8:" - "Folder" = "8:_D79828ABBEEB464DB649F7685D95F897" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6814707FB7C045728534732A6C2DCAB0" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\xml_cdr.conf.xml" - "TargetName" = "8:xml_cdr.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6A4CAD73F43678BF7C05E8FB41042F74" - { - "SourcePath" = "8:libteletone.dll" - "TargetName" = "8:libteletone.dll" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6AA8D6AF639F4E6B92D28A7E0D13FD5E" - { - "SourcePath" = "8:..\\..\\conf\\dialplan\\extensions\\sipphone.com.noload" - "TargetName" = "8:sipphone.com.noload" - "Tag" = "8:" - "Folder" = "8:_C5F5D0AE1C704859A3CE434074D4BA7F" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6B86E2A2237546638882BC888835F75C" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\console.conf.xml" - "TargetName" = "8:console.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6B9FFF46953D49EC93A2BA3C5C9C6107" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\ivr.conf.xml" - "TargetName" = "8:ivr.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_6E29116F4F8441F586438845534AA000" - { - "SourcePath" = "8:..\\..\\conf\\jingle_profiles\\client.xml" - "TargetName" = "8:client.xml" - "Tag" = "8:" - "Folder" = "8:_6521C567C8FB4E1389A5CD0BAA719A2E" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_71028B90842B4A0C8AF05F2C2519A7D8" - { - "SourcePath" = "8:..\\..\\conf\\lang\\en\\vm\\tts.xml" - "TargetName" = "8:tts.xml" - "Tag" = "8:" - "Folder" = "8:_89E17AC3C22F4045A48A1CACB140145A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_71893DDF0D4C43B082D8F7544341F860" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1017.xml" - "TargetName" = "8:1017.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_72A4FCD393BC46D891A359FC0AD0012D" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1006.xml" - "TargetName" = "8:1006.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_75A691747CCC4B36922F98A2D62B0B35" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\switch.conf.xml" - "TargetName" = "8:switch.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_766A9DB9AC2B4FC9826E63C1D9842F40" - { - "SourcePath" = "8:..\\..\\conf\\lang\\en\\vm\\sounds.xml" - "TargetName" = "8:sounds.xml" - "Tag" = "8:" - "Folder" = "8:_89E17AC3C22F4045A48A1CACB140145A" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7899F812E6DA4AD38FFA78C1F0C88F93" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1011.xml" - "TargetName" = "8:1011.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_78DC844A2A7C47A19BD2B41B7B57CBD9" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\sipphone.com.noload" - "TargetName" = "8:sipphone.com.noload" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7CFCCDD9C6694A0498D7CD6CDD285042" - { - "SourcePath" = "8:..\\..\\conf\\lang\\de\\de.xml" - "TargetName" = "8:de.xml" - "Tag" = "8:" - "Folder" = "8:_C296DF3CA04D411AAB99A5FFE1C36CB4" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7E46520FEA2B4DA7A90171E3467C29CA" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\dingaling.conf.xml" - "TargetName" = "8:dingaling.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7F2A5D1B25FD4B109F5E17402117543A" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1012.xml" - "TargetName" = "8:1012.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_7FEA1E60C11343F1A98DC33C512051FA" - { - "SourcePath" = "8:..\\..\\conf\\lang\\fr\\demo\\demo.xml" - "TargetName" = "8:demo.xml" - "Tag" = "8:" - "Folder" = "8:_9F817357BE7C46B295E77DDE503540C7" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_80D44DD7FA3C4E3F8D6BB8B4F949F6AF" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1005.xml" - "TargetName" = "8:1005.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_82158C38354740E99D416F1DB58C7E18" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\openmrcp.conf.xml" - "TargetName" = "8:openmrcp.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_821771D6A597416391F899CD9147F75B" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\spidermonkey.conf.xml" - "TargetName" = "8:spidermonkey.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_83131C9ADB7C4E6C88388D820F720BB5" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\iax.conf.xml" - "TargetName" = "8:iax.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8471500508034D338D599ED5C35F938F" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\wanpipe.conf.xml" - "TargetName" = "8:wanpipe.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_860B731FDCC848F79AB8DFD4D03E2A47" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1010.xml" - "TargetName" = "8:1010.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_86D8DF7599FF472096D6826044347537" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1004.xml" - "TargetName" = "8:1004.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_879085EF680EFDF6242DCB77439EC825" - { - "SourcePath" = "8:libapr.dll" - "TargetName" = "8:libapr.dll" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_8FB175B8685A47F7BE75E1A025F65693" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\limit.conf.xml" - "TargetName" = "8:limit.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_90D7F247E8254DE797317F431E3FB010" - { - "SourcePath" = "8:..\\..\\conf\\lang\\de\\vm\\tts.xml" - "TargetName" = "8:tts.xml" - "Tag" = "8:" - "Folder" = "8:_2700E38E154A41E997CC1E08B848CC4F" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_92F95219F6434CE3A736526946DA2ABB" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\event_socket.conf.xml" - "TargetName" = "8:event_socket.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_970ADC4156DB4B3DBBC2C65E1C41B642" - { - "SourcePath" = "8:..\\..\\conf\\web-vm.tpl" - "TargetName" = "8:web-vm.tpl" - "Tag" = "8:" - "Folder" = "8:_06036160035041E38F4179E6DB6380C5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_98C7D74F78A84DA3B32B460138019AE2" - { - "SourcePath" = "8:..\\..\\conf\\freeswitch.xml" - "TargetName" = "8:freeswitch.xml" - "Tag" = "8:" - "Folder" = "8:_06036160035041E38F4179E6DB6380C5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_991CC352E2204C50ABEDAE5D104B4310" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\rss.conf.xml" - "TargetName" = "8:rss.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9B429CDF56AE431D975C90AC00A348CD" - { - "SourcePath" = "8:..\\..\\conf\\dialplan\\extensions\\sipbroker.com.noload" - "TargetName" = "8:sipbroker.com.noload" - "Tag" = "8:" - "Folder" = "8:_C5F5D0AE1C704859A3CE434074D4BA7F" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9B4D63B995014A0C8AF19FF42616D292" - { - "SourcePath" = "8:..\\..\\conf\\lang\\fr\\vm\\sounds.xml" - "TargetName" = "8:sounds.xml" - "Tag" = "8:" - "Folder" = "8:_C4A291B73687460AB35BF6ED163B5C84" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9ECA16E530634A7582AC80138BDA016B" - { - "SourcePath" = "8:..\\..\\conf\\jingle_profiles\\client.noload" - "TargetName" = "8:client.noload" - "Tag" = "8:" - "Folder" = "8:_6521C567C8FB4E1389A5CD0BAA719A2E" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_9FCEC602DF6540E5BC437B8F3CF0F2BC" - { - "SourcePath" = "8:..\\..\\conf\\lang\\en\\en.xml" - "TargetName" = "8:en.xml" - "Tag" = "8:" - "Folder" = "8:_CAD1A10EB82847BE9937E63D010A2DFB" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A164EF86C4B57E41C8CE77B48F39DAC7" - { - "SourcePath" = "8:libaprutil.dll" - "TargetName" = "8:libaprutil.dll" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_A3936A2727E73289F5804D5DA006FD0A" - { - "SourcePath" = "8:RPCRT4.dll" - "TargetName" = "8:RPCRT4.dll" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_AC40F24B3F5140FCAA48FAC397D8BEB0" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\post_load_modules.conf.xml" - "TargetName" = "8:post_load_modules.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_ADA22D44BCDEBA509E09A5D4C155AA41" - { - "SourcePath" = "8:ODBC32.dll" - "TargetName" = "8:ODBC32.dll" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B33F513CD3524D3BB7BD11E035C3B562" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1007.xml" - "TargetName" = "8:1007.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B34D0605157A4FE2A81F4639019E31BD" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\ideasip.com.noload" - "TargetName" = "8:ideasip.com.noload" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B5ADB663C7CE49A1A11E895E4EBB4933" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\zeroconf.conf.xml" - "TargetName" = "8:zeroconf.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B700A9A1FCA94E5D8C8B08C4FD856669" - { - "SourcePath" = "8:..\\..\\conf\\lang\\en\\demo\\demo.xml" - "TargetName" = "8:demo.xml" - "Tag" = "8:" - "Folder" = "8:_7745FFBCACB848AFB052778A6AE95905" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B9EAE14D8B704EFAB8A848C6EF94630A" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\event_multicast.conf.xml" - "TargetName" = "8:event_multicast.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BB108A4FE89F4F58BA592B3BD4B89058" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1003.xml" - "TargetName" = "8:1003.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BEADBF5396084C0093E53DF1605856B8" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\alsa.conf.xml" - "TargetName" = "8:alsa.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_BF3BA59EA18342C891BD04B0DB279B13" - { - "SourcePath" = "8:..\\..\\conf\\voicemail.tpl" - "TargetName" = "8:voicemail.tpl" - "Tag" = "8:" - "Folder" = "8:_06036160035041E38F4179E6DB6380C5" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C7E9135AE3874E19809A03F02CCC15C9" - { - "SourcePath" = "8:..\\..\\conf\\jingle_profiles\\server.noload" - "TargetName" = "8:server.noload" - "Tag" = "8:" - "Folder" = "8:_6521C567C8FB4E1389A5CD0BAA719A2E" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_C93A983EC95F4F45AF27F37D674CF86B" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\woomera.conf.xml" - "TargetName" = "8:woomera.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CB0CF364674E42A1B928D78A3823CB76" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1013.xml" - "TargetName" = "8:1013.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CCAC35C9D0644917A28341E382DB6B93" - { - "SourcePath" = "8:..\\..\\conf\\dialplan\\default.xml" - "TargetName" = "8:default.xml" - "Tag" = "8:" - "Folder" = "8:_D79828ABBEEB464DB649F7685D95F897" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CE544583308149B2A1E1333D1628CA8F" - { - "SourcePath" = "8:..\\..\\conf\\sip_profiles\\outbound\\example.xml" - "TargetName" = "8:example.xml" - "Tag" = "8:" - "Folder" = "8:_239665CAF78B4CA2BF01BD4878D71174" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D4385548C95548FE9B87351BCF3B7283" - { - "SourcePath" = "8:..\\..\\conf\\dialplan\\extensions\\pulver.com.noload" - "TargetName" = "8:pulver.com.noload" - "Tag" = "8:" - "Folder" = "8:_C5F5D0AE1C704859A3CE434074D4BA7F" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D7E82DD20D5B47395F635480C8E3A1D3" - { - "SourcePath" = "8:FreeSwitch.dll" - "TargetName" = "8:FreeSwitch.dll" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:TRUE" - "IsDependency" = "11:TRUE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_DD54C8F25D0546E199ADB3C4B40EA20B" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\conference.conf.xml" - "TargetName" = "8:conference.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E5C5D9225978484CA7AD0BD78C1222EE" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\java.conf.xml" - "TargetName" = "8:java.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_E9C0988F6F304489AF07F8B7BCC6FAEE" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1018.xml" - "TargetName" = "8:1018.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EAE97483333F4F768957F78BD6EBC343" - { - "SourcePath" = "8:..\\..\\conf\\dialplan\\extensions\\ideasip.com.noload" - "TargetName" = "8:ideasip.com.noload" - "Tag" = "8:" - "Folder" = "8:_C5F5D0AE1C704859A3CE434074D4BA7F" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EB066F7B4C5A4D2D97B4F3548532E88E" - { - "SourcePath" = "8:..\\..\\conf\\sip_profiles\\nat.xml" - "TargetName" = "8:nat.xml" - "Tag" = "8:" - "Folder" = "8:_1467900139414980A300BAD49DA52C92" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EE3DDD77AE6D46B78E7CEE41812D081D" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1008.xml" - "TargetName" = "8:1008.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EE6BFE828E0241AEB514070327EB62D9" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\xml_curl.conf.xml" - "TargetName" = "8:xml_curl.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EFB1E330D42F4B8F8FC368D7D9D37115" - { - "SourcePath" = "8:..\\..\\conf\\sip_profiles\\default\\example.xml" - "TargetName" = "8:example.xml" - "Tag" = "8:" - "Folder" = "8:_A097DF41B45448178E878D6EC2719944" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_EFF125CFCD7043C8948B80B95E446349" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\local_stream.conf.xml" - "TargetName" = "8:local_stream.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F6522F7F627C44608CEAF62E6E4F6ADC" - { - "SourcePath" = "8:..\\..\\conf\\sip_profiles\\outbound.xml" - "TargetName" = "8:outbound.xml" - "Tag" = "8:" - "Folder" = "8:_1467900139414980A300BAD49DA52C92" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F845DB95F41C4F52A29987902E7343AE" - { - "SourcePath" = "8:..\\..\\conf\\directory\\default\\1014.xml" - "TargetName" = "8:1014.xml" - "Tag" = "8:" - "Folder" = "8:_C67316B39FC9471EA6A197EDF9897073" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_FAA16AE2AC704545915D1FF2BD5943F7" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\voicemail.conf.xml" - "TargetName" = "8:voicemail.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_FCB457B4F3FB45279541611088A67A5D" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\cdr_csv.conf.xml" - "TargetName" = "8:cdr_csv.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_FF49B78469E94E3CB4504082625B3048" - { - "SourcePath" = "8:..\\..\\conf\\autoload_configs\\logfile.conf.xml" - "TargetName" = "8:logfile.conf.xml" - "Tag" = "8:" - "Folder" = "8:_B3CE338501E445B593742462EDD46103" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - } - } - "FileType" - { - } - "Folder" - { - "{3C67513D-01DD-4637-8A68-80971EB9504F}:_04AC783F1C9F41AEB4E947C46CE9C9FF" - { - "DefaultLocation" = "8:[ProgramFilesFolder]\\[ProductName]" - "Name" = "8:#1925" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:TARGETDIR" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_06036160035041E38F4179E6DB6380C5" - { - "Name" = "8:conf" - "AlwaysCreate" = "11:TRUE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_A95348FEFEF74A31B7C08B4201803CBD" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_0933167858474A71A61DE8A0CDD5A613" - { - "Name" = "8:lang" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_E8D7D29A42EA441E9219B4C6AE853466" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_C296DF3CA04D411AAB99A5FFE1C36CB4" - { - "Name" = "8:de" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_EFC4C6FFA5204634A3ECBE1AE82E3E35" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_2700E38E154A41E997CC1E08B848CC4F" - { - "Name" = "8:vm" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_81480CA78B7E46139E9461FC1DDDF49F" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_E2FFEBC9425947FB824CDABFAB511111" - { - "Name" = "8:demo" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_01E6308DF5B6477CAA9FE7EF0A0786EE" - "Folders" - { - } - } - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_CAD1A10EB82847BE9937E63D010A2DFB" - { - "Name" = "8:en" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_77D6AD1E37104BA3B69F046F2B33C566" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_7745FFBCACB848AFB052778A6AE95905" - { - "Name" = "8:demo" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_45646A913B884193BF696E735463E2E9" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_89E17AC3C22F4045A48A1CACB140145A" - { - "Name" = "8:vm" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_B063E9D6B482418FA72C69B87F57A48B" - "Folders" - { - } - } - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_DB915E1E91474861B9EBDD61CA52BE59" - { - "Name" = "8:fr" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_55EB25C2603D41208AE890076BCB3B72" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_9F817357BE7C46B295E77DDE503540C7" - { - "Name" = "8:demo" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_3158D48EF522421DAFA8F8BA465B8A1E" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_C4A291B73687460AB35BF6ED163B5C84" - { - "Name" = "8:vm" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_CA9F322A41FA4CC79A9953AF8B0260D8" - "Folders" - { - } - } - } - } - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_1467900139414980A300BAD49DA52C92" - { - "Name" = "8:sip_profiles" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_EE21C8908E4B4F0FAD9002C6A082D1BA" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_07585B420CE343A59E724013FC2421E6" - { - "Name" = "8:nat" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_A71D3CB55692448B857B68A56946E02D" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_239665CAF78B4CA2BF01BD4878D71174" - { - "Name" = "8:outbound" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_EE0FEC459F2B4BD2B967A83CFD922DA6" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_A097DF41B45448178E878D6EC2719944" - { - "Name" = "8:default" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_D01DBB616E1B4774ADC316A6FB3B9EE1" - "Folders" - { - } - } - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_6521C567C8FB4E1389A5CD0BAA719A2E" - { - "Name" = "8:jingle_profiles" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_736ADD436091474B89A854C7B6A9EA7A" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_B3CE338501E445B593742462EDD46103" - { - "Name" = "8:autoload_configs" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_32C8D9095EFC4BB9BC694D56B7603D07" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_D79828ABBEEB464DB649F7685D95F897" - { - "Name" = "8:dialplan" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_4D551D2C4E9E4D69BC9993ED6911C03F" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_C5F5D0AE1C704859A3CE434074D4BA7F" - { - "Name" = "8:extensions" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_6D63057B711F45658756532CE77C0F7C" - "Folders" - { - } - } - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_D97D309102B74F24A88C372E3FDEDC93" - { - "Name" = "8:directory" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_62E298F343DC4E80B764CEFD326DBDDC" - "Folders" - { - "{9EF0B969-E518-4E46-987F-47570745A589}:_C67316B39FC9471EA6A197EDF9897073" - { - "Name" = "8:default" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_71A2320713DF419397A629E62BE66C06" - "Folders" - { - } - } - } - } - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_1C97B9EB8E024EE0AA5282BFBE006743" - { - "Name" = "8:db" - "AlwaysCreate" = "11:TRUE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_9E6DFB10CEE3456A82E42EA3751A0A25" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_27A96C279A6A44E8A2FDF8D51CD86E29" - { - "Name" = "8:perl" - "AlwaysCreate" = "11:TRUE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_0FB0CAEBEEBE4B9D8C6EC760DB498632" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_B6E020422C78490D96F78DB0E1A3F521" - { - "Name" = "8:mod" - "AlwaysCreate" = "11:TRUE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_09F2F8E16214428B84412E224BAA50C1" - "Folders" - { - } - } - "{9EF0B969-E518-4E46-987F-47570745A589}:_ED8FE817D10341CEBA2571A43326876F" - { - "Name" = "8:log" - "AlwaysCreate" = "11:TRUE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:_673CC6A86CF64CC2BD137EF46A3AD379" - "Folders" - { - } - } - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_47AC7012FEA1483795137E042EAAA132" - { - "Name" = "8:#1916" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:DesktopFolder" - "Folders" - { - } - } - "{1525181F-901A-416C-8A58-119130FE478E}:_BB9A8497D4A34C94A9F73DBAD1B4EDD5" - { - "Name" = "8:#1919" - "AlwaysCreate" = "11:FALSE" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Property" = "8:ProgramMenuFolder" - "Folders" - { - } - } - } - "LaunchCondition" - { - } - "Locator" - { - } - "MsiBootstrapper" - { - "LangId" = "3:1033" - "RequiresElevation" = "11:FALSE" - } - "Product" - { - "Name" = "8:Microsoft Visual Studio" - "ProductName" = "8:Freeswitch" - "ProductCode" = "8:{317A9CC0-40DC-4803-A13E-5937F05F9D2E}" - "PackageCode" = "8:{7D354935-EEC7-450C-B443-2D2D024B4CF9}" - "UpgradeCode" = "8:{8080E3A5-7ADD-4173-8913-BDA439D1C8DD}" - "RestartWWWService" = "11:FALSE" - "RemovePreviousVersions" = "11:FALSE" - "DetectNewerInstalledVersion" = "11:TRUE" - "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:1.0.0" - "Manufacturer" = "8:Freeswitch.org" - "ARPHELPTELEPHONE" = "8:" - "ARPHELPLINK" = "8:" - "Title" = "8:Freeswitch" - "Subject" = "8:" - "ARPCONTACT" = "8:" - "Keywords" = "8:" - "ARPCOMMENTS" = "8:" - "ARPURLINFOABOUT" = "8:http://www.freeswitch.org" - "ARPPRODUCTICON" = "8:" - "ARPIconIndex" = "3:0" - "SearchPath" = "8:" - "UseSystemSearchPath" = "11:TRUE" - "TargetPlatform" = "3:0" - "PreBuildEvent" = "8:" - "PostBuildEvent" = "8:" - "RunPostBuildEvent" = "3:0" - } - "Registry" - { - "HKLM" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_C86C84661E6B4F4385B0A9B46004C30A" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_F9ACB3B7D8FE4C4AB1DEAAA8AFDB6625" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - "{ADCFDA98-8FDD-45E4-90BC-E3D20B029870}:_C59781825E5B4A9AA93BDAA5A88B7390" - { - "Name" = "8:[ProductName]" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "ValueTypes" = "3:1" - "Value" = "8:" - } - } - } - } - "Values" - { - } - } - } - } - "HKCU" - { - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_7F5B1AD977F741E2BA57B612CB916982" - { - "Name" = "8:Software" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - "{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_8BE36B8912C74AE3895B662703C59F60" - { - "Name" = "8:[Manufacturer]" - "Condition" = "8:" - "AlwaysCreate" = "11:FALSE" - "DeleteAtUninstall" = "11:FALSE" - "Transitive" = "11:FALSE" - "Keys" - { - } - "Values" - { - } - } - } - "Values" - { - } - } - } - } - "HKCR" - { - "Keys" - { - } - } - "HKU" - { - "Keys" - { - } - } - "HKPU" - { - "Keys" - { - } - } - } - "Sequences" - { - } - "Shortcut" - { - "{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_D1F2AF522CBC4A73A0E9C0DC50BF28FA" - { - "Name" = "8:FreeSwitchConsole" - "Arguments" = "8:" - "Description" = "8:" - "ShowCmd" = "3:1" - "IconIndex" = "3:0" - "Transitive" = "11:FALSE" - "Target" = "8:_F0B800E719294692A02518CFD8CBAEFF" - "Folder" = "8:_47AC7012FEA1483795137E042EAAA132" - "WorkingFolder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Icon" = "8:" - "Feature" = "8:" - } - } - "UserInterface" - { - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_0AC03CBC91DC47F395834FBA9E8EFA43" - { - "Name" = "8:#1902" - "Sequence" = "3:2" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_7E723E774FA54F4DBCB57AE03DE9B912" - { - "Sequence" = "3:100" - "DisplayName" = "8:Finished" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_885CF4FBC8524588BC68589AA4DAD7CD" - { - "Name" = "8:#1900" - "Sequence" = "3:2" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_4BB1CFED1FBE405DA7915AE4FDAAD9E2" - { - "Sequence" = "3:300" - "DisplayName" = "8:Confirm Installation" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_4F779649BBA94A14A711885D453A873C" - { - "Sequence" = "3:100" - "DisplayName" = "8:Welcome" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E0F0A54AAFCF424685A4BCCA5D4FA293" - { - "Sequence" = "3:200" - "DisplayName" = "8:Installation Folder" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_9237AC900FC7421096FC1C1F479A57D9" - { - "Name" = "8:#1902" - "Sequence" = "3:1" - "Attributes" = "3:3" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_87DF179163CD484DB37A39147438C87A" - { - "Sequence" = "3:100" - "DisplayName" = "8:Finished" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFinishedDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "UpdateText" - { - "Name" = "8:UpdateText" - "DisplayName" = "8:#1058" - "Description" = "8:#1158" - "Type" = "3:15" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1258" - "DefaultValue" = "8:#1258" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_9F49CF9AA2304625B214D7BF7FE0FC89" - { - "Name" = "8:#1900" - "Sequence" = "3:1" - "Attributes" = "3:1" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_008ED2DDF9EE4AAAA5A54CE5B90D7427" - { - "Sequence" = "3:100" - "DisplayName" = "8:Welcome" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdWelcomeDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "CopyrightWarning" - { - "Name" = "8:CopyrightWarning" - "DisplayName" = "8:#1002" - "Description" = "8:#1102" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1202" - "DefaultValue" = "8:#1202" - "UsePlugInResources" = "11:TRUE" - } - "Welcome" - { - "Name" = "8:Welcome" - "DisplayName" = "8:#1003" - "Description" = "8:#1103" - "Type" = "3:3" - "ContextData" = "8:" - "Attributes" = "3:0" - "Setting" = "3:1" - "Value" = "8:#1203" - "DefaultValue" = "8:#1203" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_E4748A502E1E4F89B72F6B70E40E6954" - { - "Sequence" = "3:400" - "DisplayName" = "8:Confirm Installation" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdConfirmDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_F9BF3342C96C46E881504C25485FBD93" - { - "Sequence" = "3:200" - "DisplayName" = "8:Installation Folder" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdFolderDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "InstallAllUsersVisible" - { - "Name" = "8:InstallAllUsersVisible" - "DisplayName" = "8:#1059" - "Description" = "8:#1159" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_A743B7ABADA24530AC058C2B0E78F94F" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdUserInterface.wim" - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_B83060B37387437599800ADFAC074C18" - { - "Name" = "8:#1901" - "Sequence" = "3:1" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_3C5BB3C734294ACAAB1AEF433CCCA33F" - { - "Sequence" = "3:100" - "DisplayName" = "8:Progress" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{DF760B10-853B-4699-99F2-AFF7185B4A62}:_BC9CAF451369479F82544986C8CF598B" - { - "Name" = "8:#1901" - "Sequence" = "3:2" - "Attributes" = "3:2" - "Dialogs" - { - "{688940B3-5CA9-4162-8DEE-2993FA9D8CBC}:_F33D853FB64C44D9A501F2CD9132828B" - { - "Sequence" = "3:100" - "DisplayName" = "8:Progress" - "UseDynamicProperties" = "11:TRUE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdAdminProgressDlg.wid" - "Properties" - { - "BannerBitmap" - { - "Name" = "8:BannerBitmap" - "DisplayName" = "8:#1001" - "Description" = "8:#1101" - "Type" = "3:8" - "ContextData" = "8:Bitmap" - "Attributes" = "3:4" - "Setting" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - "ShowProgress" - { - "Name" = "8:ShowProgress" - "DisplayName" = "8:#1009" - "Description" = "8:#1109" - "Type" = "3:5" - "ContextData" = "8:1;True=1;False=0" - "Attributes" = "3:0" - "Setting" = "3:0" - "Value" = "3:1" - "DefaultValue" = "3:1" - "UsePlugInResources" = "11:TRUE" - } - } - } - } - } - "{2479F3F5-0309-486D-8047-8187E2CE5BA0}:_E0AB16337A7946BFAEA2E0890188594D" - { - "UseDynamicProperties" = "11:FALSE" - "IsDependency" = "11:FALSE" - "SourcePath" = "8:\\VsdBasicDialogs.wim" - } - } - "MergeModule" - { - } - "ProjectOutput" - { - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_0772289C2CC6435396616D7A2C407EA2" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_voicemail.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{D7F1E3F2-A3F4-474C-8555-15122571AF52}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_166BDBE308F54EE4881DA68F2A8189F5" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_enum.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{71A967D5-0E99-4CEF-A587-98836EE6F2EF}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_1777CB4B737E4B8481E25A10950B2B5A" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_native_file.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{9254C4B0-6F60-42B6-BB3A-36D63FC001C7}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_1CFB1AB04E024FC993E0EB4859DF8408" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_dingaling.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{FFAA4C52-3A53-4F99-90C1-D59D1F0427F3}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_1DCA6B2BA0F842FDB5CBA54CF52228F7" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_h26x.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{2C3C2423-234B-4772-8899-D3B137E5CA35}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_2814E641538B42EFA83525986A9D5AC1" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_ilbc.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{D3EC0AFF-76FC-4210-A825-9A17410660A3}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_28FBC5A60B44423B8A2CC378347483CE" - { - "SourcePath" = "8:..\\..\\Debug\\libapr.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{F6C55D93-B927-4483-BB69-15AEF3DD2DFF}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_297D0BADB993435092DDB8CDF9F2A3C6" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_xml_cdr.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{08DAD348-9E0A-4A2E-97F1-F1E7E24A7836}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_2B80DCCD934745B1BB4F0B31099094D9" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_say_en.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{988CACF7-3FCB-4992-BE69-77872AE67DC8}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_2D9E612823084E3F9E10376A7AC0C476" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_g723_1.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{FEA1EEF7-876F-48DE-88BF-C0E3E606D758}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_2F2FEC549F02436EB87961BD1B9E5783" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_iax.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{3A5B9131-F20C-4A85-9447-6C1610941CEE}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_318FCC99E8D143D6B4F9F534E63009B3" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_sndfile.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{AFAC0568-7548-42D5-9F6A-8D3400A1E4F6}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_3DB5A5EF1E624F999BCEA20250508EEA" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_fifo.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{75DF7F29-2FBF-47F7-B5AF-5B4952DC1ABD}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_3E37631016BC45B2B672FE23257D542B" - { - "SourcePath" = "8:..\\..\\Debug\\pthreadVC2.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{DF018947-0FFF-4EB3-BDEE-441DC81DA7A4}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_4A285D260C3748A4BEFA6E5A9004D128" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_spidermonkey.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{1AD3F51E-BBB6-4090-BA39-9DFAB1EF1F5F}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_59CFED0C4EC0492C945E4EBC04FE965F" - { - "SourcePath" = "8:..\\..\\Debug\\libaprutil.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{F057DA7F-79E5-4B00-845C-EF446EF055E3}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_5EDFD5418DD243D1A03D882B83BBBCF1" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_esf.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{3850D93A-5F24-4922-BC1C-74D08C37C256}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_6DF726E4018A4136BC27E2C6F4B67B9E" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_logfile.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{D0BCAC02-D94B-46B8-9B49-CDDCC2BD7909}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_6E5C001E7A314DCEA0A4BF52BF74BCAD" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_speex.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{5580D60E-0F77-4716-9CD4-B8E5986FA375}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_77550ABD8CC84D66A3B6C3C3C48665A4" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_dialplan_asterisk.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{E7BC026C-7CC5-45A3-BC7C-3B88EEF01F24}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_78F060A241D0428998B42093C467AD36" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_voipcodecs.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{9EED03C8-8315-4214-8D13-8FF5FA46D93C}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_7B1050643E1E48A3B67B281B4AD43904" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_g729.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{1D95CD95-0DE2-48C3-AC23-D5C7D1C9C0F0}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_8B53F026686B44189676CBC200E641C1" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_amr.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{8DEB383C-4091-4F42-A56F-C9E46D552D79}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_8E023477B9DC4126921A556B285B29E5" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_spidermonkey_socket.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{028C7278-05D7-4E18-82FE-BE231B844F41}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_9527B92C45BB45629BDB19ED3C8DC194" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_fsv.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{4AE157CF-F2DD-4B5D-A1EE-4AC173B4F9AC}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_95D01083472B4853AC3F06514558F347" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_spidermonkey_teletone.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{8F992C49-6C51-412F-B2A3-34EAB708EB65}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_96F8F7DE89C74DC399E8AE55C22B4F15" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_xml_curl.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{AB91A099-7690-4ECF-8994-E458F4EA1ED4}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_9B19C40442134D69B533E16D0851D99B" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_spidermonkey_odbc.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{0A6B5EA5-6E9B-4A51-931F-ED25AA87B4DF}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_A0D5F714A0F94250A1C39603B699AB82" - { - "SourcePath" = "8:..\\..\\Debug\\libteletone.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{89385C74-5860-4174-9CAF-A39E7C48909C}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_A8D70CB0D12C4B3FB2E2E896E9A7C843" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_tone_stream.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{1A789A98-71EF-4EBD-8007-FC9ED585D32E}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_A944ADCEDF884574A23F7BA5420A6BA1" - { - "SourcePath" = "8:..\\..\\libs\\win32\\sqlite\\Debug\\libsqlite.lib" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{6EDFEFD5-3596-4FA9-8EBA-B331547B35A3}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_B0A2E9B4C45D4098AFD734D0C4E3EAFB" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_conference.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{C24FB505-05D7-4319-8485-7540B44C8603}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_BA769056DBAF4259B38F5C3FF7377055" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_spidermonkey_curl.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{2CCED6DC-26FF-40F2-9585-E9E1049A4599}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_BB649A2C1ABE4895859025B09A240323" - { - "SourcePath" = "8:..\\..\\libs\\win32\\pcre\\Debug\\libpcre.lib" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{8D04B550-D240-4A44-8A18-35DA3F7038D9}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_BB99CEDF341D40F3976B6D5486D9366D" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_limit.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{F6A33240-8F29-48BD-98F0-826995911799}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_C1036825E1364537B537E542E71F9C0E" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_event_socket.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{05515420-16DE-4E63-BE73-85BE85BA5142}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_C105055EE271471A999CE7022E617EB7" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_commands.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{30A5B29C-983E-4580-9FD0-D647CCDCC7EB}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_C81AC700C1BC4A55B98DF12C0CBAFD6F" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_dialplan_xml.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{07113B25-D3AF-4E04-BA77-4CD1171F022C}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_D0BB09AFB8D94B76918F0EE85BCCAD0A" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_dptools.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{B5881A85-FE70-4F64-8607-2CAAE52669C6}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_D1269F1E49D442CF8EAC96C23E60325D" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_xml_rpc.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{CBEC7225-0C21-4DA8-978E-1F158F8AD950}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_D2EF447106B24E67907DAED3D39CFBB1" - { - "SourcePath" = "8:..\\..\\Debug\\FreeSwitch.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{202D7A4E-760D-4D0E-AFA1-D7459CED30FF}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_D6F0F5845FAD4707975CE012A33CD607" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_rss.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{B69247FA-ECD6-40ED-8E44-5CA6C3BAF9A4}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_D7EC5795A9C645AC8E129C2EE6D461ED" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_event_multicast.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{784113EF-44D9-4949-835D-7065D3C7AD08}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_E1AA7C5B96DA4A26859D2C7A21E00AB6" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_spidermonkey_core_db.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{ACFFF684-4D19-4D48-AF12-88EA1D778BDF}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_E763C699DF0948B6984DDEB96A2DFD06" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_PortAudio.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{5FD31A25-5D83-4794-8BEE-904DAD84CE71}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_EAF4B051F44745ABA9B58038FB93994C" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_expr.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{65A6273D-FCAB-4C55-B09E-65100141A5D4}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_EC4922AEC1064C90B96EBBDD3104D761" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_local_stream.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{2CA40887-1622-46A1-A7F9-17FD7E7E545B}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_EF14CB99F3414BB689D0CB0E6D6B8AB8" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_console.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{1C453396-D912-4213-89FD-9B489162B7B5}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_F0B800E719294692A02518CFD8CBAEFF" - { - "SourcePath" = "8:..\\..\\Debug\\FreeSwitch.exe" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_04AC783F1C9F41AEB4E947C46CE9C9FF" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{1AF3A893-F7BE-43DD-B697-8AB2397C0D67}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_FBB0E565B1DE49CE9C827ACAC337AC5B" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_sofia.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{0DF3ABD0-DDC0-4265-B778-07C66780979B}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_FBD45C36E901435399634CACA5339597" - { - "SourcePath" = "8:..\\..\\Debug\\mod\\mod_cdr_csv.dll" - "TargetName" = "8:" - "Tag" = "8:" - "Folder" = "8:_B6E020422C78490D96F78DB0E1A3F521" - "Condition" = "8:" - "Transitive" = "11:FALSE" - "Vital" = "11:TRUE" - "ReadOnly" = "11:FALSE" - "Hidden" = "11:FALSE" - "System" = "11:FALSE" - "Permanent" = "11:FALSE" - "SharedLegacy" = "11:FALSE" - "PackageAs" = "3:1" - "Register" = "3:1" - "Exclude" = "11:FALSE" - "IsDependency" = "11:FALSE" - "IsolateTo" = "8:" - "ProjectOutputGroupRegister" = "3:1" - "OutputConfiguration" = "8:" - "OutputGroupCanonicalName" = "8:Built" - "OutputProjectGuid" = "8:{44D7DEAF-FDA5-495E-8B9D-1439E4F4C21E}" - "ShowKeyOutput" = "11:TRUE" - "ExcludeFilters" - { - } - } - } - } -} diff --git a/w32/Setup/Setup.wixproj b/w32/Setup/Setup.wixproj deleted file mode 100644 index 642d721145..0000000000 --- a/w32/Setup/Setup.wixproj +++ /dev/null @@ -1,859 +0,0 @@ - - - - 3.5 - {47213370-b933-487d-9f45-bca26d7e2b6f} - 2.0 - FreeSWITCH - Package - $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets - $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets - - - bin\x86\Debug\ - obj\X86\$(Configuration)\ - Debug;FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHSoundFilesDir=$(ProjectDir)..\..\Win32\debug\sounds; - - - - - bin\x86\release\ - obj\X86\$(Configuration)\ - FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHSoundFilesDir=$(ProjectDir)..\..\Win32\release\sounds; - - - bin\x64\Debug\ - obj\X64\$(Configuration)\ - Debug;FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHSoundFilesDir=$(ProjectDir)..\..\x64\debug\sounds; - - - - - bin\x64\Release\ - obj\X64\$(Configuration)\ - FreeSWITCHConfFilesDir=$(ProjectDir)..\..\conf\vanilla;FreeSWITCHSoundFilesDir=$(ProjectDir)..\..\x64\release\sounds; - - - - - - - - - - libbroadvoice - {cf70f278-3364-4395-a2e1-23501c9b8ad2} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - fs_cli - {d2fb8043-d208-4aee-8f18-3b5857c871b9} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - libteletone - {89385c74-5860-4174-9caf-a39e7c48909c} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - libspandsp - {1cbb0077-18c5-455f-801c-0a0ce7b0bbf5} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - libaprutil - {f057da7f-79e5-4b00-845c-ef446ef055e3} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - libapr - {f6c55d93-b927-4483-bb69-15aef3dd2dff} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - js - {204fa0de-305d-4414-ae2e-f195a23f390d} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - libeay32 - {d331904d-a00a-4694-a5a3-fcff64ab5dbe} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - openssl __Libraries\openssl\openssl_ - {25bd39b1-c8bf-4676-a738-9cabd9c6bc79} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - ssleay32 - {b4b62169-5ad4-4559-8707-3d933ac5db39} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - pocketsphinx - {94001a0e-a837-445c-8004-f918f10d0226} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - pthread - {df018947-0fff-4eb3-bdee-441dc81da7a4} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - sphinxbase - {2f025ead-99bd-40f5-b2cc-f0a28cad7f2d} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - mod_abstraction - {60c542ee-6882-4ea2-8c21-5ab6db1ba73f} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_avmd - {990baa76-89d3-4e38-8479-c7b28784efc8} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_callcenter - {47886a6c-cca6-4f9f-a7d4-f97d06fb2b1a} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_commands - {30a5b29c-983e-4580-9fd0-d647ccdcc7eb} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_conference - {c24fb505-05d7-4319-8485-7540b44c8603} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_curl - {ef300386-a8df-4372-b6d8-fb9bffca9aed} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_db - {f6a33240-8f29-48bd-98f0-826995911799} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_directory - {b889a18e-70a7-44b5-b2c9-47798d4f43b3} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_dptools - {b5881a85-fe70-4f64-8607-2caae52669c6} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_enum - {71a967d5-0e99-4cef-a587-98836ee6f2ef} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_esf - {3850d93a-5f24-4922-bc1c-74d08c37c256} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_expr - {65a6273d-fcab-4c55-b09e-65100141a5d4} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_fifo - {75df7f29-2fbf-47f7-b5af-5b4952dc1abd} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_fsv - {e3246d17-e29b-4ab5-962a-c69b0c5837bb} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_hash - {2e250296-0c08-4342-9c8a-bcbdd0e7df65} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_httapi - {4748ff56-ca85-4809-97d6-a94c0fac1d77} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_lcr - {1a3793d1-05d1-4b57-9b0f-5af3e79dc439} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_nibblebill - {3c977801-fe88-48f2-83d3-fa2ebff6688e} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_rss - {b69247fa-ecd6-40ed-8e44-5ca6c3baf9a4} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_snom - {2a3d00c6-588d-4e86-81ac-9ef5ede86e03} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_spandsp - {1e21afe0-6fdb-41d2-942d-863607c24b91} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_valet_parking - {432db165-1eb2-4781-a9c0-71e62610b20a} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_vmd - {14e4a972-9cfb-436d-b0a5-4943f3f80d47} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_voicemail - {d7f1e3f2-a3f4-474c-8555-15122571af52} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_cepstral - {692f6330-4d87-4c82-81df-40db5892636e} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_pocketsphinx - {2286da73-9fc5-45bc-a508-85994c3317ab} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_unimrcp - {d07c378a-f5f7-438f-adf3-4ac4fb1883cd} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_amr - {8deb383c-4091-4f42-a56f-c9e46d552d79} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_g723_1 - {fea1eef7-876f-48de-88bf-c0e3e606d758} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_g729 - {1d95cd95-0de2-48c3-ac23-d5c7d1c9c0f0} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_h26x - {2c3c2423-234b-4772-8899-d3b137e5ca35} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_ilbc - {d3ec0aff-76fc-4210-a825-9a17410660a3} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_silk - {afa983d6-4569-4f88-ba94-555ed00fd9a8} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_siren - {0b6c905b-142e-4999-b39d-92ff7951e921} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_speex - {5580d60e-0f77-4716-9cd4-b8e5986fa375} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_dialplan_asterisk - {e7bc026c-7cc5-45a3-bc7c-3b88eef01f24} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_dialplan_directory - {a27cca23-1541-4337-81a4-f0a6413078a0} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_dialplan_xml - {07113b25-d3af-4e04-ba77-4cd1171f022c} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_loopback - {b3f424ec-3d8f-417c-b244-3919d5e1a577} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_PortAudio - {5fd31a25-5d83-4794-8bee-904dad84ce71} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_rtmp - {48414740-c693-4968-9846-ee058020c64f} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_skypopen - {c6e78a4c-db1e-47f4-9b63-4dc27d86343f} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_sofia - {0df3abd0-ddc0-4265-b778-07c66780979b} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_cdr_csv - {44d7deaf-fda5-495e-8b9d-1439e4f4c21e} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_event_multicast - {784113ef-44d9-4949-835d-7065d3c7ad08} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_event_socket - {05515420-16de-4e63-be73-85be85ba5142} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_local_stream - {2ca40887-1622-46a1-a7f9-17fd7e7e545b} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_native_file - {9254c4b0-6f60-42b6-bb3a-36d63fc001c7} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_sndfile - {afac0568-7548-42d5-9f6a-8d3400a1e4f6} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_tone_stream - {6ff941ac-82c5-429f-aa4c-ad2fb9e5da52} - True - - - Binaries;Content;Satellites - MODLOCATION - - - lua51 - {d0b36172-cd76-454a-9b89-990025266c2a} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - mod_lua - {7b077e7f-1be7-4291-ab86-55e527b25cac} - True - - - Binaries;Content;Satellites - MODLOCATION - - - FreeSWITCH.Managed.2010 - {834e2b2f-5483-4b80-8fe3-fe48ff76e5c0} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_managed - {7b42bda1-72c0-4378-a9b6-5c530f8cd61e} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_spidermonkey - {1ad3f51e-bbb6-4090-ba39-9dfab1ef1f5f} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_spidermonkey_core_db - {acfff684-4d19-4d48-af12-88ea1d778bdf} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_spidermonkey_odbc - {0a6b5ea5-6e9b-4a51-931f-ed25aa87b4df} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_spidermonkey_socket - {028c7278-05d7-4e18-82fe-be231b844f41} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_spidermonkey_teletone - {8f992c49-6c51-412f-b2a3-34eab708eb65} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_console - {1c453396-d912-4213-89fd-9b489162b7b5} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_logfile - {d0bcac02-d94b-46b8-9b49-cddcc2bd7909} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_say_de - {5bc072db-3826-48ea-af34-fe32aa01e83b} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_say_en - {988cacf7-3fcb-4992-be69-77872ae67dc8} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_say_es - {fa429e98-8b03-45e6-a096-a4bc5e821de4} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_say_fr - {06e3a538-ab32-44f2-b477-755ff9cb5d37} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_say_it - {6d1bec70-4dcd-4fe9-adbd-4a43a67e4d05} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_say_nl - {a4b122cf-5196-476b-8c0e-d8bd59ac3c14} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_say_pt - {7c22bdff-cc09-400c-8a09-660733980028} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_say_ru - {0382e8fd-cfdc-41c0-8b03-792c7c84fc31} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_say_zh - {b6a9fb7a-1cc4-442b-812d-ec33e4e4a36e} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_xml_cdr - {08dad348-9e0a-4a2e-97f1-f1e7e24a7836} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_xml_curl - {ab91a099-7690-4ecf-8994-e458f4ea1ed4} - True - - - Binaries;Content;Satellites - MODLOCATION - - - mod_xml_rpc - {cbec7225-0c21-4da8-978e-1f158f8ad950} - True - - - Binaries;Content;Satellites - MODLOCATION - - - FreeSwitchConsole - {1af3a893-f7be-43dd-b697-8ab2397c0d67} - True - - True - - Binaries;Content;Satellites - INSTALLLOCATION - - - FreeSwitchCoreLib - {202d7a4e-760d-4d0e-afa1-d7459ced30ff} - True - - - Binaries;Content;Satellites - INSTALLLOCATION - - - - - $(WixExtDir)\WixUIExtension.dll - WixUIExtension - - - - - - - - "$(WixToolPath)\heat.exe" dir "$(ProjectDir)..\..\conf\vanilla" -cg FreeSWITCHConfFiles -gg -scom -sreg -sfrag -srd -dr CONFLOCATION -var var.FreeSWITCHConfFilesDir -out "$(ProjectDir)Fragments\FreeSWITCHConfFiles.wxs" -"$(WixToolPath)\heat.exe" dir "$(ProjectDir)..\..\Win32\Release\sounds" -cg FreeSWITCHSoundFiles8 -gg -scom -sreg -sfrag -srd -dr SOUNDLOCATION -var var.FreeSWITCHSoundFilesDir -out "$(ProjectDir)Fragments\FreeSWITCHSoundFiles8.wxs" - - - diff --git a/w32/Setup/Sounds/.gitignore b/w32/Setup/Sounds/.gitignore new file mode 100644 index 0000000000..d6a8c8986f --- /dev/null +++ b/w32/Setup/Sounds/.gitignore @@ -0,0 +1,3 @@ +Fragments +bin +obj diff --git a/w32/Setup/Sounds/Product.wxs b/w32/Setup/Sounds/Product.wxs new file mode 100644 index 0000000000..a6ea8209ad --- /dev/null +++ b/w32/Setup/Sounds/Product.wxs @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/w32/Setup/Sounds/Setup.Sounds.2017.sln b/w32/Setup/Sounds/Setup.Sounds.2017.sln new file mode 100644 index 0000000000..3559e42f6c --- /dev/null +++ b/w32/Setup/Sounds/Setup.Sounds.2017.sln @@ -0,0 +1,19 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Setup.Sounds.2017", "Setup.Sounds.2017.wixproj", "{4B082D46-C1B0-4DBB-8D8D-AC0D0FDCDBDA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4B082D46-C1B0-4DBB-8D8D-AC0D0FDCDBDA}.Release|x64.ActiveCfg = Release|x64 + {4B082D46-C1B0-4DBB-8D8D-AC0D0FDCDBDA}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/w32/Setup/Sounds/Setup.Sounds.2017.wixproj b/w32/Setup/Sounds/Setup.Sounds.2017.wixproj new file mode 100644 index 0000000000..cab4848c40 --- /dev/null +++ b/w32/Setup/Sounds/Setup.Sounds.2017.wixproj @@ -0,0 +1,117 @@ + + + + + + + + en-us-callie + 8000 + + + moh_version.txt + sounds_version.txt + Freeswitch-Sounds-$(SoundPrimaryName)-$(SoundQuality)Hz + $(SoundPrimaryName.Replace("-","_"))$(SoundQuality) + 1 + 2 + 3 + 4 + + + 4b082d46-c1b0-4dbb-8d8d-ac0d0fdcdbda + 2.0 + Package + $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets + $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets + + + bin\x64\release\ + obj\X64\$(Configuration)\ + + + + + + + + $(WixExtDir)\WixUIExtension.dll + WixUIExtension + + + + + + + + filter.xslt + + + + + "$(WixToolPath)\heat.exe" dir "$(BaseDir)libs\sounds\$(SoundSuffix)" -cg FreeSWITCHSoundFiles$(SoundSuffix) -gg -scom -sreg -sfrag -srd -dr SOUNDLOCATION -var var.FreeSWITCHSoundFilesDir -out "$(ProjectDir)Fragments\FreeSWITCHSoundFiles$(SoundSuffix).wxs" + + + SoundPrimaryName=music;SoundQuality=8000 + + + + + + + + + + + + + + + + + + + + + + freeswitch-sounds-$(SoundPrimaryName)-$(SoundQuality)-$(SoundVersion).tar.gz + BaseDir=$(BaseDir);SoundUpgradeCode=$(SoundUpgradeCode);SoundVersion=$(SoundVersion);SoundSuffix=$(SoundSuffix);SoundPrimaryName=$(SoundPrimaryName);SoundQuality=$(SoundQuality);FreeSWITCHSoundFilesDir=$(BaseDir)libs\sounds\$(SoundSuffix); + + + + + + + + + + + + + + + + + + diff --git a/w32/Setup/Sounds/build_sounds.cmd b/w32/Setup/Sounds/build_sounds.cmd new file mode 100644 index 0000000000..723a86abc7 --- /dev/null +++ b/w32/Setup/Sounds/build_sounds.cmd @@ -0,0 +1,35 @@ +@ECHO OFF +SETLOCAL + +CALL ..\..\..\msbuild.cmd +if exist %msbuild% ( + +for /F "tokens=*" %%A in (%cd%\..\..\..\build\sounds_upgradecode.txt) do ( + for /F "tokens=1 delims= " %%a in ("%%A") do ( + CALL :Build %%a + ) +) + +) ELSE ( + echo "echo ERROR: Cannot find msbuild. You need Visual Studio 2017 to compile this solution." + EXIT /B 1 +) + + +REM CALL :Build music +REM CALL :Build en-us-callie + +:: force execution to quit at the end of the "main" logic +EXIT /B %ERRORLEVEL% + +:Build +set SoundPrimaryName=%1 +set SoundQuality=8000 +cmd /C %msbuild% %solution% /p:SoundPrimaryName=%SoundPrimaryName% /p:SoundQuality=%SoundQuality% /p:Configuration=Release /p:Platform=x64 /t:Build /p:PlatformToolset=v141 /verbosity:normal /fl /flp:logfile=..\..\..\x64\sound_logs\sounds_%SoundPrimaryName%_%SoundQuality%.log;verbosity=normal +set SoundQuality=16000 +cmd /C %msbuild% %solution% /p:SoundPrimaryName=%SoundPrimaryName% /p:SoundQuality=%SoundQuality% /p:Configuration=Release /p:Platform=x64 /t:Build /p:PlatformToolset=v141 /verbosity:normal /fl /flp:logfile=..\..\..\x64\sound_logs\sounds_%SoundPrimaryName%_%SoundQuality%.log;verbosity=normal +set SoundQuality=32000 +cmd /C %msbuild% %solution% /p:SoundPrimaryName=%SoundPrimaryName% /p:SoundQuality=%SoundQuality% /p:Configuration=Release /p:Platform=x64 /t:Build /p:PlatformToolset=v141 /verbosity:normal /fl /flp:logfile=..\..\..\x64\sound_logs\sounds_%SoundPrimaryName%_%SoundQuality%.log;verbosity=normal +set SoundQuality=48000 +cmd /C %msbuild% %solution% /p:SoundPrimaryName=%SoundPrimaryName% /p:SoundQuality=%SoundQuality% /p:Configuration=Release /p:Platform=x64 /t:Build /p:PlatformToolset=v141 /verbosity:normal /fl /flp:logfile=..\..\..\x64\sound_logs\sounds_%SoundPrimaryName%_%SoundQuality%.log;verbosity=normal +EXIT /B 0 diff --git a/w32/Setup/filter.xslt b/w32/Setup/filter.xslt index e96851d189..11a102885d 100644 --- a/w32/Setup/filter.xslt +++ b/w32/Setup/filter.xslt @@ -19,11 +19,13 @@ - + + + + diff --git a/w32/Setup/freeswitch.aip b/w32/Setup/freeswitch.aip deleted file mode 100644 index d46f7ba64d..0000000000 --- a/w32/Setup/freeswitch.aip +++ /dev/null @@ -1,954 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/w32/broadvoice.props b/w32/broadvoice.props index 5d1f423662..0a4c81e461 100644 --- a/w32/broadvoice.props +++ b/w32/broadvoice.props @@ -2,6 +2,7 @@ + $(SolutionDir)libs\broadvoice-$(broadvoice_Version)\src diff --git a/w32/curl-version.props b/w32/curl-version.props index 0c9c4de24c..f42593d627 100644 --- a/w32/curl-version.props +++ b/w32/curl-version.props @@ -2,7 +2,7 @@ - 7.59.0 + 7.61.0 true diff --git a/w32/download_LAME.props b/w32/download_LAME.props new file mode 100644 index 0000000000..c3f5177665 --- /dev/null +++ b/w32/download_LAME.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_LDNS.props b/w32/download_LDNS.props new file mode 100644 index 0000000000..445fe9a2b9 --- /dev/null +++ b/w32/download_LDNS.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_OGG.props b/w32/download_OGG.props new file mode 100644 index 0000000000..1761c949a5 --- /dev/null +++ b/w32/download_OGG.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_broadvoice.props b/w32/download_broadvoice.props new file mode 100644 index 0000000000..ed2c8a0200 --- /dev/null +++ b/w32/download_broadvoice.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_celt.props b/w32/download_celt.props new file mode 100644 index 0000000000..b6ae91ca22 --- /dev/null +++ b/w32/download_celt.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_ffmpeg.props b/w32/download_ffmpeg.props new file mode 100644 index 0000000000..386eb625b6 --- /dev/null +++ b/w32/download_ffmpeg.props @@ -0,0 +1,41 @@ + + + + + + + + true + + + + + + + + + diff --git a/w32/download_freetype.props b/w32/download_freetype.props new file mode 100644 index 0000000000..4a6b55d996 --- /dev/null +++ b/w32/download_freetype.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_g722_1.props b/w32/download_g722_1.props new file mode 100644 index 0000000000..14a6c816aa --- /dev/null +++ b/w32/download_g722_1.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_iLBC.props b/w32/download_iLBC.props new file mode 100644 index 0000000000..20bf9f014a --- /dev/null +++ b/w32/download_iLBC.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_libav.props b/w32/download_libav.props new file mode 100644 index 0000000000..0339e1114e --- /dev/null +++ b/w32/download_libav.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_libcodec2.props b/w32/download_libcodec2.props new file mode 100644 index 0000000000..f46c97437c --- /dev/null +++ b/w32/download_libcodec2.props @@ -0,0 +1,41 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_libjpeg.props b/w32/download_libjpeg.props new file mode 100644 index 0000000000..aa34eb24a3 --- /dev/null +++ b/w32/download_libjpeg.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_libpng.props b/w32/download_libpng.props new file mode 100644 index 0000000000..faa7a17716 --- /dev/null +++ b/w32/download_libpng.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_libshout.props b/w32/download_libshout.props new file mode 100644 index 0000000000..0832ca2cd4 --- /dev/null +++ b/w32/download_libshout.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_libsilk.props b/w32/download_libsilk.props new file mode 100644 index 0000000000..dc9d99c6bb --- /dev/null +++ b/w32/download_libsilk.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_libx264.props b/w32/download_libx264.props new file mode 100644 index 0000000000..4902cedfd6 --- /dev/null +++ b/w32/download_libx264.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_mpg123.props b/w32/download_mpg123.props new file mode 100644 index 0000000000..7e3353c5e8 --- /dev/null +++ b/w32/download_mpg123.props @@ -0,0 +1,46 @@ + + + + + + + true + + + + + + + + + + + + diff --git a/w32/download_opus.props b/w32/download_opus.props new file mode 100644 index 0000000000..a1859f3dbd --- /dev/null +++ b/w32/download_opus.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_pocketsphinx.props b/w32/download_pocketsphinx.props new file mode 100644 index 0000000000..87c99f57fa --- /dev/null +++ b/w32/download_pocketsphinx.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_portaudio.props b/w32/download_portaudio.props new file mode 100644 index 0000000000..8a9b16049e --- /dev/null +++ b/w32/download_portaudio.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_pthreads.props b/w32/download_pthreads.props new file mode 100644 index 0000000000..1c653e2962 --- /dev/null +++ b/w32/download_pthreads.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_sounds.props b/w32/download_sounds.props new file mode 100644 index 0000000000..1c17ae9350 --- /dev/null +++ b/w32/download_sounds.props @@ -0,0 +1,29 @@ + + + + + + + + + $(SoundPrimaryName.Replace("-","_"))$(SoundQuality) + + + + + + + + + + + diff --git a/w32/download_speex.props b/w32/download_speex.props new file mode 100644 index 0000000000..503db016a1 --- /dev/null +++ b/w32/download_speex.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_sphinxbase.props b/w32/download_sphinxbase.props new file mode 100644 index 0000000000..a916bf8609 --- /dev/null +++ b/w32/download_sphinxbase.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_sphinxmodel.props b/w32/download_sphinxmodel.props new file mode 100644 index 0000000000..3141ef634d --- /dev/null +++ b/w32/download_sphinxmodel.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_sqlite.props b/w32/download_sqlite.props new file mode 100644 index 0000000000..5ec04a3774 --- /dev/null +++ b/w32/download_sqlite.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/download_tiff.props b/w32/download_tiff.props new file mode 100644 index 0000000000..5b2e0a09af --- /dev/null +++ b/w32/download_tiff.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/downloadpackage.task b/w32/downloadpackage.task index 4f82d42e68..9c7471659f 100644 --- a/w32/downloadpackage.task +++ b/w32/downloadpackage.task @@ -13,6 +13,7 @@ + @@ -54,6 +55,7 @@ using System.Diagnostics; public string outputfolder { get; set; } public string outputfilename { get; set; } public string extractto { get; set; } + public string moveafter { get; set; } internal static bool FileOrDirectoryExists(string name) { @@ -136,19 +138,33 @@ using System.Diagnostics; if (File.Exists(output)) { // Successful download. + + string extracttofolder = Path.GetFullPath((extractto ?? Path.GetDirectoryName(output)) + "/"); + if (Path.GetExtension(output) != ".exe") { - Extract(output); - string filename = Path.Combine(Path.GetDirectoryName(output), Path.GetFileNameWithoutExtension(output)); + Extract(output, extracttofolder); + string filename = Path.Combine(Path.GetDirectoryName(extracttofolder), Path.GetFileNameWithoutExtension(output)); Log.LogMessage(MessageImportance.High, "Filename \"" + filename + "\"."); if (File.Exists(filename)) { - Extract(filename); + Extract(filename, extracttofolder); File.Delete(filename); } } + + if (moveafter != null && moveafter != "") { + var items = moveafter.Split('|'); + string s = extracttofolder + items[0]; + string d = extracttofolder + items[1]; + + Log.LogMessage(MessageImportance.High, + "Move directory from \"" + s + "\" to \"" + d + "\"."); + + Directory.Move(s, d); + } } } @@ -164,10 +180,8 @@ using System.Diagnostics; return true; } - private void Extract(string filename) + private void Extract(string filename, string extracttofolder) { - string extracttofolder = Path.GetFullPath((extractto ?? Path.GetDirectoryName(filename)) + "/"); - string arctool = Path.Combine(new string[] { basedir, "libs", "win32", "7za1701.exe" }); string args = " x \"" + filename + "\" -y -o\"" + extracttofolder + "\""; diff --git a/w32/ffmpeg-version.props b/w32/ffmpeg-version.props new file mode 100644 index 0000000000..a4b02d4434 --- /dev/null +++ b/w32/ffmpeg-version.props @@ -0,0 +1,19 @@ + + + + + + + 3.4.4 + + + true + + + + + + $(ffmpegVersion) + + + diff --git a/w32/ffmpeg.props b/w32/ffmpeg.props new file mode 100644 index 0000000000..23b473ae54 --- /dev/null +++ b/w32/ffmpeg.props @@ -0,0 +1,25 @@ + + + + + + + + true + + + + $(BaseDir)libs\ffmpeg-$(ffmpegVersion) + + + + + $(ffmpegDir);$(ffmpegDir)\compat\atomics\win32;%(AdditionalIncludeDirectories) + $(ffmpegDir)\include_x64;%(AdditionalIncludeDirectories) + HAVE_FFMPEG;FFMPEG_STATICLIB;HAVE_AV_CONFIG_H;_ISOC99_SOURCE;_FILE_OFFSET_BITS=64;_LARGEFILE_SOURCE;_USE_MATH_DEFINES;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS;_WIN32_WINNT=0x0502;%(PreprocessorDefinitions) + + + Secur32.lib;%(AdditionalDependencies) + + + diff --git a/w32/flite.props b/w32/flite.props index f1ce2b9ff0..d689e916bc 100644 --- a/w32/flite.props +++ b/w32/flite.props @@ -42,16 +42,17 @@ - $(fliteLibDir)\include;%(AdditionalIncludeDirectories) + $(fliteLibDir);%(AdditionalIncludeDirectories) $(fliteLibDir)\binaries\$(Platform)\$(Configuration)\;%(AdditionalLibraryDirectories) diff --git a/w32/gawk.props b/w32/gawk.props new file mode 100644 index 0000000000..67e4318db0 --- /dev/null +++ b/w32/gawk.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/libcodec2.props b/w32/libcodec2.props index bb670ca61b..6b3d7564e6 100644 --- a/w32/libcodec2.props +++ b/w32/libcodec2.props @@ -8,7 +8,7 @@ - $(libcodec2LibDir)\src;%(AdditionalIncludeDirectories) + $(libcodec2LibDir);%(AdditionalIncludeDirectories) \ No newline at end of file diff --git a/w32/lua-version.props b/w32/lua-version.props index c01dae59b0..cf26ce001c 100644 --- a/w32/lua-version.props +++ b/w32/lua-version.props @@ -2,7 +2,7 @@ - 5.3.4 + 5.3.5 true diff --git a/w32/sound_tools.props b/w32/sound_tools.props new file mode 100644 index 0000000000..f45d682a10 --- /dev/null +++ b/w32/sound_tools.props @@ -0,0 +1,109 @@ + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/w32/switch_version.props b/w32/switch_version.props new file mode 100644 index 0000000000..4825ff7bd9 --- /dev/null +++ b/w32/switch_version.props @@ -0,0 +1,95 @@ + + + + + + + + true + + + + + + + + v = new Dictionary(); + + string year = DateTime.UtcNow.Year.ToString(); + v.Add("SWITCH_VERSION_YEAR", year); + + foreach (Match m in Regex.Matches(ConfigureAC, pattern)) { + v.Add(m.Groups[1].Value.Trim(), m.Groups[2].Value.Trim()); + Log.LogMessage(MessageImportance.High, + m.Groups[1].Value + " = '" + m.Groups[2].Value + "'"); + } + + //--------------------------------------------------------- + Log.LogMessage(MessageImportance.High, + "Generating switch_version.h"); + + TemplatePath = basedir + @"src\include\switch_version.h.template"; + DestinationPath = basedir + @"src\include\switch_version.h"; + + string template = File.ReadAllText(TemplatePath); + foreach (var version_bit in v) { + template = template.Replace("@" + version_bit.Key + "@", version_bit.Value); + } + + File.WriteAllText(DestinationPath, template); + + //--------------------------------------------------------- + Log.LogMessage(MessageImportance.High, + "Generating switch_version.inc"); + + TemplatePath = @"$(ProjectDir)\switch_version.inc.template"; + DestinationPath = @"$(ProjectDir)\switch_version.inc"; + + template = File.ReadAllText(TemplatePath); + foreach (var version_bit in v) { + template = template.Replace("@" + version_bit.Key + "@", version_bit.Value); + } + + File.WriteAllText(DestinationPath, template); + + //--------------------------------------------------------- + + return true; + } + } +]]> + + + + + + + + + + diff --git a/w32/vsyasm.props b/w32/vsyasm.props new file mode 100644 index 0000000000..7281b65832 --- /dev/null +++ b/w32/vsyasm.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/yasm.props b/w32/yasm.props new file mode 100644 index 0000000000..3ebcc6c84c --- /dev/null +++ b/w32/yasm.props @@ -0,0 +1,40 @@ + + + + + + + true + + + + + + + + + diff --git a/w32/zlib.props b/w32/zlib.props index 0c50ebb96f..8267a50a9e 100644 --- a/w32/zlib.props +++ b/w32/zlib.props @@ -71,7 +71,7 @@ $(SolutionDir)libs\zlib-$(zlibVersion)\include;%(AdditionalIncludeDirectories) - HAVE_ZLIB;ZLIB_STATICLIB;%(PreprocessorDefinitions) + HAVE_ZLIB;ZLIB_STATICLIB;Z_SOLO;%(PreprocessorDefinitions) $(SolutionDir)libs\zlib-$(zlibVersion)\binaries\$(Platform)\$(LibraryConfiguration)\lib;%(AdditionalLibraryDirectories)