Solved

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

Posted on 2007-11-21
7
2,448 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

There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

815 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

13 Experts available now in Live!

Get 1:1 Help Now