search for: camstuff

Displaying 15 results from an estimated 15 matches for "camstuff".

2003 Oct 29
1
AGI question or something
...the AGI script check the DID or DNIS which is really in the variable agi_dnid? After that I can do a database lookup from the script and then issue the "SET EXTENSION" command to asterisk to allocate the call to the right extension if available? I had to go to http://home.cogeco.ca /~camstuff/agi.html For the AGI command descriptions. Is there a better/more up to date site? Please any info would be great..
2005 Aug 18
1
Help on AGI running
I am running AGI script written in C. My script gets triggered but there is no action. I have taken the samplec file from http://home.cogeco.ca/~camstuff/agi.html. it says launched AGI script /var/lib/asterisk/agi-bin/sample.c exec format error . Did I miss anything? I am running asterisk1.0.7 can anyone please help me on these. thanks, Somesh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.co...
2006 Jan 16
2
AGI variables
When I read variables in AGI scripts, I see only the follwing 13 variables agi_request agi_channel agi_language agi_type agi_uniqueid agi_callerid agi_dnid agi_rdnis agi_context agi_extension agi_priority agi_enhanced agi_accountcode beside these, I found following variables documented on several sites. agi_calleridname agi_callingpres agi_callingani2 agi_callington agi_callingtns Where can I
2006 May 22
1
Script AGI on C
...e operational system? The script use only four functions of stdio.h library. It was seem that the compiler include all stdio.h functions and compile all them. I would like somebody of list to clear my doubt. Regards, Cleviton. Here below small script used I grasp on site: http://home.cogeco.ca/~camstuff/agi.html /* C works just fine with Asterisk but you should use 'setlinebuf' on stdout and stderr. This causes buffering one line at a time (rather than using a larger buffer). If you *don't* do this on stdout then your script will hang up while Asterisk waits for a command but the (l...
2004 Jun 30
2
AGI Diad number
Is there a way of getting the dialled number from an AGI? Is it passed in the initial variables, or can it be pulled out or passed across from the dial plan? Cheers, Ben Merrills Griffin Internet -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040630/71e0bcda/attachment.htm
2004 Nov 30
1
Passing Var to PHP-AGI
exten => auth_dial,1,DigitTimeout,5 exten => auth_dial,2,ResponseTimeout,15 exten => auth_dial,3,Read(dialed,IVR/en_enter_destination,0) exten => auth_dial,4,agi(call_start.php|${dialed}) exten => auth_dial,5,dial(SIP/${dialed}@146.82.15.241) I'm trying to get What they dialed put into the PHP script. How do I get the contents of this variable in the php script?
2005 Mar 04
1
Placing a call from command line and passingit to an extension if connected - Is it possible?
Also lookup AGI The WiKi and via google by using this: site:lists.digium.com <some words> W -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Steven Critchfield Sent: Friday, March 04, 2005 2:08 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Placing a call
2006 Nov 23
0
Passing arguments to AGI script
Hi List, Can any one please let me know how to pass arguments to the agi script from the dialplan? I read that it is possible to pass arguments to an AGI script here, http://home.cogeco.ca/~camstuff/agi.html, by entering the variable followed by a vertical bar but it doesn't seem to work for me. I'm using a basic AGI script to query a database and then returns to specific contexts within the dialplan in asterisk, which are set by the AGI script depending on the results from the que...
2003 Sep 23
3
New kid on block
Hi, I am an experienced developer with Windows and familiar with Linux. I am looking for a SIP solution. 1) How does Asterisk compare to VOCAL in terms of support. 2) Is Asterisk free? 3) Where are the docs? Or even better. Where do I start? 4) Will it run on RH9? Thanks in advance. Costas -- Costas Menico Meezon Software Corp 201-224-8111 costas@meezon.com --
2005 May 11
1
Gateway service under Asterisk
Hello list! I am new in * but i want to learn about its possibilities. I want somebody to tell me if what I want to do is possible with *. I have a teleconference tool which uses SIP and now I am using Asterisk as POTS gateway. When I dial certain number from a telephone I connect with asterisk which asks me for an extension. When I dial certain extension I connect with my SIP application
2003 Oct 10
4
Caller Id AGI Script
As you my be aware the X100p cannot collect uk caller id, now I have a modem and a perl script that creates a file /etc/asterisk/callerid.txt on each incoming call in the format number,date,time,name over writing each time a new call comes in I can asterisk read this file and populate the callerid for internal phones and cdr? I think it can be done with AGI but don't know where to start
2003 Nov 10
3
AGI and PHP
...r script process before you test again: killproc my_script.php 10. the purpose of this is to show the PHP aspects of * agi and not agi in general; there are many excellent documentation on * agi such as the following, you should read that as well: http://home.cogeco.ca/~camstuff/agi.html 11. sample.php #!/usr/bin/php -q <?php $stdin = fopen('php://stdin', 'r'); $stdout = fopen('php://stdout', 'w'); $stdlog = fopen('my_agi.log', 'w'); while(($abc = fgets($stdin,1024)) != "\n") { fputs($stdlog,$abc); /...
2003 Oct 13
1
ACD/IVR dialogs/SIP/client environment
Ok I have tried to post to this list server but have just gotten the automated reply saying the moderator has to approve it to the list first which was my mistake for sending from the wrong email account. So if the moderator finally approves my questions and you see the same post again "Sorry". My situation is this: I havn't installed Asterisk yet but am curious the general way
2005 Aug 24
7
AGI + Ruby
I would like to write AGI script in Ruby Would anybody please show me right direction.. Thanks
2003 Sep 19
7
AGI problem
Hi. I have the next configuration... I dial from my analog phone in the TDM400P to extension 102, and the second agi works about 1 out of 10 times, the other nine it gives me these error on the asterisk console: -- Starting simple switch on 'Zap/2-1' -- Executing Macro("Zap/2-1", "receivecall") in new stack -- Executing AGI("Zap/2-1",