Solved

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

Posted on 2007-11-21
7
2,414 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

14 Experts available now in Live!

Get 1:1 Help Now