?
Solved

Can C# (Dot Net) be used within AGI (Asterisk Gateway Interface) as a programming language

Posted on 2007-11-21
7
Medium Priority
?
2,623 Views
Last Modified: 2013-11-12
Hi

i want to attach asterisk with SQL DataBase using AGI. i am interested in using Dot Net platform. can some one guide me on the fact that C# (Dot Net) can be used for this purpose and what kind of procedure would i have to follow for this.

0
Comment
Question by:nocinfospan
7 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20332018
C# can manage any software interface designed for other languages like C++ or VB6.

some page mentioning both AGI and C#:
http://geekswithblogs.net/interfacemirror/articles/107984.aspx
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20332034
0
 
LVL 36

Expert Comment

by:grblades
ID: 20333654
Yes an AGI script can be written in any language. The only real requirement is that it will run on the Asterisk box.
http://www.bitflipper.ca/Documentation/agi.html
0
[Video] Create a Disruption-Free Workspace

Open offices have their challenges. And Sometimes, it's even hard to work at work. It's time to reclaim your office and create a disruption-free workspace. With the MB 660, you can:

-Increase Concentration
-Improve well-being
-Boost Productivity

 
LVL 32

Expert Comment

by:DrDamnit
ID: 20339985
Hello nocinfospan,

Dot net is a Windows based programming laguaguge. Are you running Asterisk on Windows or do you have a compiler for Linux?

Regards,

DrDamnit
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20339997
Indeed it can be done with Mono C# over Linux...
0
 
LVL 1

Author Comment

by:nocinfospan
ID: 20343453
Asterisk is running on Linux, there is no windows process involved.
0
 
LVL 36

Accepted Solution

by:
grblades earned 1500 total points
ID: 20343768
So yes if you can run code on the same box then you can use it for AGI. Basically all its doing is running a program, passing information to it, and getting a result back. It does not matter what it is written in.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question