Solved

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

Posted on 2007-11-21
7
2,434 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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 500 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is Thread.Sleep? 5 46
how to truncate multiple tables from SQL Server Database using Stored procedure 8 49
SQL Login 17 40
Help with C#, MVC, razor. 6 23
Article by: user_n
How Sip Phone (User Agent) works and communicates with sip servers 1.  There is a sip server and a sip registrar.  The sip server and sip registrar can be one server or two different servers. The sip registrar is the server on which it is record…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now