AGI and MONO (MONO-TONE)

Are you currently doing something with the MONO implementation of the .NET Framework?

  • Yes
  • No
  • I’m going to look into it
  • I don’t know what MONO is

0 voters

Hi guys;

Anyone familiar with the MONO plattform?
How do you call a C# program from the Dial Plan?

The only way a found so far is creating a bash script and calling it instead of calling the .EXE file directly.

[quote=“pepehammer”]Hi guys;

Anyone familiar with the MONO plattform?
How do you call a C# program from the Dial Plan?

The only way a found so far is creating a bash script and calling it instead of calling the .EXE file directly.[/quote]

I’m new to linux myself, but I have written and deploy a fairly simple TCP socket server written in mono to CentOS box. I love being able to develop in VS and deploy to MONO, but there were a few things I didn’t care for.

One thing was having to register mono runtime to automatically host the exe’s that you created using “binfmt” command. This is the problem I think you are having. Linux doesn’t know that exe file should be run under the mono framework.

See the following link for more information:
mono-project.com/Guide:Runni … plications

MONOTONE is a nice, lean class for AGI. Since I prefer pascal and will be writing the bulk of my *AGI scripts in freepascal, I ported the class to a pascal class object. Well most of it, anyway.