| Subject: | [asterisk-dev] Custom Command | |
|---|---|---|
| From: | Tzafrir Cohen (tzaf...@xorcom.com) | |
| Date: | Jun 21, 2007 1:58:21 am | |
| List: | com.digium.lists.asterisk-dev | |
Refine Search
| From | Sent On | Attachments |
|---|---|---|
| ZhangZQ | Jun 20, 2007 8:49 pm | |
| Minh Duong | Jun 20, 2007 9:25 pm | |
| Brandon Kruse | Jun 20, 2007 10:48 pm | |
| Tzafrir Cohen | Jun 20, 2007 10:50 pm | |
| Olle E Johansson | Jun 20, 2007 11:52 pm | |
| ZhangZQ | Jun 21, 2007 1:05 am | |
| Gaspar Zoltan | Jun 21, 2007 1:38 am | |
| Hauke Joachim Zuehl | Jun 21, 2007 1:42 am | |
| Tzafrir Cohen | Jun 21, 2007 1:58 am | |
| ZhangZQ | Jun 21, 2007 2:16 am | |
| Tilghman Lesher | Jun 21, 2007 10:50 am |
| Subject: | [asterisk-dev] Custom Command | |
|---|---|---|
| From: | Tzafrir Cohen (tzaf...@xorcom.com) | |
| Date: | Jun 21, 2007 1:58:21 am | |
| List: | com.digium.lists.asterisk-dev | |
On Thu, Jun 21, 2007 at 04:05:38PM +0800, ZhangZQ wrote:
The AGI needs an interpreter run, is it possible to write my own dialplan application in C language?
A. Please ask on -users .
B. Are you sure you don't just need System() to send a simple order?
C. AGI can be written in C as well. Somewhat close to samples you have in the source tree under agi/ . There are lots of samples availalbe.
D. Sure, you can write a dialplan application in C. take a look at apps/app_skel.c . It's your foot to shoot at :-) (hint: when your C asterisk app segfaults, it segfaults, Asterisk goes down with it).
-- Tzafrir Cohen icq#16849755 jabber:tzafrir at jabber.org +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir

