diff --git a/.gitignore b/.gitignore
index 66984f5..f8f2557 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
ds_files/types/generated/
+ds_files/densaku.ini
+ds_files/graphviz.gv
+library
diff --git a/ami_test.aproj b/ami_test.aproj
new file mode 100644
index 0000000..6a9b8b6
--- /dev/null
+++ b/ami_test.aproj
@@ -0,0 +1,239 @@
+
+
+ {C1016FEA-33CF-4348-8EEA-E4E4243CD9D1}
+ Debug
+ AnyCPU
+ Exe
+ ami_test
+ ami_test
+ xlib_test\asterisk\ami_test.anubis
+ ./
+
+
+ bin\Debug\
+ True
+ Full
+ False
+
+
+ bin\Release\
+ False
+ None
+ True
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ami_test.ide b/ami_test.ide
new file mode 100644
index 0000000..a7e9925
--- /dev/null
+++ b/ami_test.ide
@@ -0,0 +1,18 @@
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+# SharpDevelop 1.0.12.108
+Project("{B6712916-30DE-4a3e-A54C-2A79AC984AEE}") = "ami_test", "ami_test.aproj", "{C1016FEA-33CF-4348-8EEA-E4E4243CD9D1}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {C1016FEA-33CF-4348-8EEA-E4E4243CD9D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C1016FEA-33CF-4348-8EEA-E4E4243CD9D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {C1016FEA-33CF-4348-8EEA-E4E4243CD9D1}.Release|Any CPU.Build.0 = Release|Any CPU
+ {C1016FEA-33CF-4348-8EEA-E4E4243CD9D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ EndGlobalSection
+EndGlobal
diff --git a/ds_files/graphviz.png b/ds_files/graphviz.png
new file mode 100644
index 0000000..c8b8b02
Binary files /dev/null and b/ds_files/graphviz.png differ
diff --git a/minimal_web_site.aproj b/minimal_web_site.aproj
index f4d2e7c..cfb478d 100644
--- a/minimal_web_site.aproj
+++ b/minimal_web_site.aproj
@@ -6,7 +6,7 @@
Exe
minimal_web_site
minimal_web_site
- calexium_lib_examples\web\minimal_web_site_vc.anubis
+ xlib_examples\web\minimal_web_site_vc.anubis
./%3b./../
@@ -23,205 +23,210 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/minimal_web_site.ide b/minimal_web_site.ide
new file mode 100644
index 0000000..1deee12
--- /dev/null
+++ b/minimal_web_site.ide
@@ -0,0 +1,18 @@
+
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+# SharpDevelop 1.0.12.108
+Project("{B6712916-30DE-4a3e-A54C-2A79AC984AEE}") = "minimal_web_site", "minimal_web_site.aproj", "{F2C65267-0D20-4964-A5D8-602BD42C01A4}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {F2C65267-0D20-4964-A5D8-602BD42C01A4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F2C65267-0D20-4964-A5D8-602BD42C01A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F2C65267-0D20-4964-A5D8-602BD42C01A4}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F2C65267-0D20-4964-A5D8-602BD42C01A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ EndGlobalSection
+EndGlobal
diff --git a/xlib b/xlib
index 6f6feb0..b223a43 160000
--- a/xlib
+++ b/xlib
@@ -1 +1 @@
-Subproject commit 6f6feb0696be82594640c4faa812d13c57eb8ce7
+Subproject commit b223a43c317ad9b16d77a16c12af6403cb032e8b
diff --git a/xlib_examples/web/minimal_web_site_vc.anubis b/xlib_examples/web/minimal_web_site_vc.anubis
index 1bfdfd9..2db8adc 100644
--- a/xlib_examples/web/minimal_web_site_vc.anubis
+++ b/xlib_examples/web/minimal_web_site_vc.anubis
@@ -23,15 +23,15 @@
read tools/basis.anubis // required for 'make_directory' and .
read system/convert.anubis
read system/logger.anubis
-read calexium_lib/web/CXM_common.anubis // required for type 'Web_arg'
-read calexium_lib/web/CXM_multihost_http_server.anubis // required for type 'HTTP_Info'
-read calexium_lib/web/controllers_web_site.anubis
-read calexium_lib/web/CXM_making_a_web_site.anubis
+read xlib/web/CXM_common.anubis // required for type 'Web_arg'
+read xlib/web/CXM_multihost_http_server.anubis // required for type 'HTTP_Info'
+read xlib/web/controllers_web_site.anubis
+read xlib/web/CXM_making_a_web_site.anubis
read web/mime.anubis // required for list of known MIME types
-read calexium_lib/web/CXM_web_arg_utils.anubis
-read calexium_lib/web/CXM_web_session.anubis
-read calexium_lib/web/CXM_form.anubis
-read calexium_lib/web/jQuery/CXM_jquery_button.anubis
+read xlib/web/CXM_web_arg_utils.anubis
+read xlib/web/CXM_web_session.anubis
+read xlib/web/CXM_form.anubis
+read xlib/web/jQuery/CXM_jquery_button.anubis
*** Server directory.
diff --git a/xlib_test/asterisk/ami_test.anubis b/xlib_test/asterisk/ami_test.anubis
new file mode 100644
index 0000000..249d861
--- /dev/null
+++ b/xlib_test/asterisk/ami_test.anubis
@@ -0,0 +1,43 @@
+/*
+ * Created by PyramIDE.
+ * User: Totoro
+ * Date: 13/07/2013
+ * Time: 02:07
+ *
+ */
+
+read system/string.anubis
+read tools/basis.anubis
+read tools/connections.anubis
+
+read xlib/asterisk/ami_types.anubis
+read xlib/asterisk/ami.anubis
+read xlib/asterisk/ami_commands.anubis
+read xlib/web/CXM_http_get_common.anubis
+
+
+global define One
+ send_sms
+ (
+ List(String) args
+ )=
+ if asterisk_new_client("192.168.4.153:5038", auth("admin","admin")) is
+ {
+ failure then println(" asterisk new client failure"),
+ success(ami_client) then
+ forget(send_action(ami_client, ami_openvox_gsm_send_sync_sms("1", "+33609362507","AnubisのAMIでsmsを送る...","5")))
+ }.
+
+ global define One
+ ami_test
+ (
+ List(String) args
+ )=
+ if asterisk_new_client("192.168.4.5:5038", auth("admin","calexium")) is
+ {
+ failure then println(" asterisk new client failure"),
+ success(ami_client) then
+ forget(send_action(ami_client, ami_originate_call("1049", "1149")))
+ }.
+
+
--
libgit2 0.21.4