Displaying 20 results from an estimated 100000 matches similar to: "agi_callingpres: 0"
2005 Jul 19
3
CID Matches On Incoming BroadVoice???
I have been trying to make Broadvoice match incoming Caller ID and do
specific things based on the number received, but due to Broadvoice
requiring the "s" to start off an incoming extension, I cannot get
this to work. Has anyone been able to do this? Here are some examples
of my setup:
from sip.conf:
context=broadvoice-incoming
from extensions.conf
[broadvoice-incoming]
exten =>
2008 Jan 27
1
[AGI 1.4] C sample?
Hello
I'm pretty much a newbie when it comes to C, but I have to use
this language to write a couple of AGI proggies because I need them to
be statically compiled.
Strangely enough, Google didn't return much when looking for the
"Hello, world!" of AGI in C.
The following doesn't work: The file never gets written:
===========
//check_cid.c
#include <stdio.h>
#include
2006 May 15
1
GET DATA and STREAM FILE commands, don´t work
Hi,
I have been written an small script for test the use these commands. I had done massive test with commands, but I didn?t get success
it. Any of the cases, I don?t listen nothing on channel that call 2100 extension. I dial 2100 extension through an cisco phone 7912 with SIP, also I dialed through ATA SIP (Linksys PAP-2).
I?m using Asterisk 1.2.7.1 and ztdummy driver, linux kernel 2.6.11.4. I
2006 Dec 12
1
AGI problema
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Verdana">Hi all. I've written a AGI in C language.
2007 Jul 10
0
Odd AGI Issue - STREAM FILE, GET DATA not playing file
Apologies if this has been brought up before, but extensive googling
and digging through my list archive didn't turn anything up.
Basically, I'm working on an AGI web app and need to read some digit
input. I'm having multiple issues with asterisk interpreting agi
commands at the moment, but I figured I'd start with this one.
when I call GET DATA or STREAM FILE I don't
2011 Dec 15
1
Wrong call information on B leg
Greetings.
I have next feature in features.conf :
send =>
*9,peer/both,AGI,/etc/asterisk/agi/map_mail.pl
What it does is parsing
CALLERID and DNID from AGI input, performing some actions in MySQL with
these values, and then running application for peer (for example,
PlayBack)
Sounds simple, and it really is. When my user is receiving a
call (we are the B leg) and presses *9, everything
2005 Oct 06
1
Fwd: ASTCC - INUSE Flag
Hi all. Just to update list and increase the "souls-save" database.
The patch solved the problem. Now I have an asterisk-1.2.0-beta1 with
asterisk-perl-0.08 and mysql-server-3.23.58-16.FC2.1 machine working
fine with ASTCC and "inuse" flag.
The link of the patch is: http://bugs.digium.com/view.php?id=5400
Best regards to all you in the list.
Ricardo Poppi.
2011 Feb 24
2
[1.4] Still can't get it to call back
Hello
No matter what I try, Asterisk still fails dialing back through a
callfile built through an AGI script.
The whole thing works fine when the original call that triggers
Asterisk is from an internal extension (Xlite), but it fails when it's
from my cellphone ringing through the FXO/Zaptel port and I want to
wait a few seconds and call back through the FXO/Zaptel.
Could it that even
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
2020 Jun 13
1
Any api (agi/ari/ami) equivalent of "core show calls"?
I'm parsing ` sudo asterisk -rx "core show calls" | grep active | head -c 1
` as an external call from within the Asterisk dialplan then passing it to
agi, but this seems really hacky and ugly.
However, I cannot find any ARI/AGI/AMI function (or global variable I can
get with agi) which shows me this.
Any ideas?!?
In case it helps and you're wondering why...
I need to ensure
2008 Mar 24
2
Getting Exec Format Error when running AGI call
Dear friends,
I am having problem with running a sample php and I can't figure out why. I
can run the sample.php using CLI but when I run it inside the dialplan it
does not work. Can someone please suggest the config problem that I may
have made?
dommy:/var/lib/asterisk/agi-bin# php sample.php
#!/usr/bin/php5 -q
VERBOSE "Here we go!" 2
VERBOSE "Call from - Calling
2011 Feb 22
1
[1.4.39.1/AGI] ast_carefulwrite: write() returned error: Broken pipe
Hello
Incoming calls from the FXO trigger an AGI script which simply NOOP
data sent by Asterisk through stdin.
The first two NOOP work fine, but after this, Asterisk isn't happy:
============= extensions.conf
...
[from_fxo]
exten => s,1,Wait(2)
exten => s,n,Set(CID=${CALLERID(num)})
exten => s,n,AGI(/var/tmp/test.lua)
exten => s,n,Wait(5)
exten => s,n,Hangup
=============
2009 Sep 02
0
problem with agi script not getting variable
I am learning agi scripting using php. I m using phpagi 2.x on asterisk 1.2.
I hve written a simple script that reads out the callerid using flite. My
problem is that I seems the script is not getting the callerID.
Bellow is the script
_________________
#!/usr/bin/php -q
<?php
/**
* @package phpAGI_examples
* @version 2.0
*/
set_time_limit(30);
2005 Sep 22
0
ASTCC error when using silent=5
Hi list. I?m using ASTCC with callerid authentication and got things
working fine, except for one single issue:
Using this command -- DeadAGI(astcc.agi|${CALLERIDNUM}|${EXTEN:1}|5) --
and passing the 5 parameter for silent, it exits unexpectedly. I tested
the 4, 3, 2 and 1 and they are working ok.
But... when I use the five it returns zero and exit without executing
the dial command! Take a
2008 Feb 06
0
Problem forwarding a call with an AGI script
Hi,
I'm trying to achieve the following:
Incoming call for user A (97), user A make a blind transfer to user B's
phone (96).
User B's phone rings and since there is no one to take the call, it
returns the call to User A with an AGI script.
The dialplan looks like this:
[local]
....
exten => 96,1,Dial(SIP/user4,10,tr)
exten => 96,2,AGI(transfer.php)
exten =>
2011 Feb 24
1
missing argument on AGI
Hi All,
I'm using the asterisk 1.4.39.2 with phpagi 2.20 I have setup a dial plan:
[callback-outbound]
exten => _00.,1,Macro(callout|${EXTEN})
[macro-callout]
exten => s,1,AGI(getchannel.php|${ARG1})
exten => s,2,Dial(Local/${OUTBOUND}@from-internal/nj||tr)
exten => s,3,Hangup()
but for some reason i am not receiving the argument:
Executing [s at macro-callout:2]
2008 Oct 17
0
GET DATA Returning only a single digit
--
jand. more than just a group
Asterisk AGI Command GET DATA is usually of this form
GET DATA timeout max_digits
When I execute this command, I get only a single digit, regardless of
what the value of max_digits is,
Also the script quits Immediately after the press of the digit
regardless of what the value of timeout is,
This is really un-desirable as I will like to GET multiple DTMF digits
2011 Feb 24
2
[1.4.39.2] Simple AGI doesn't reply
Hello
The following, dead simple Bash script ran as AGI doesn't reply to
Asterisk:
============= extensions.conf
[from_fxo]
exten => s,1,Wait(2)
exten => s,n,Set(CID=${CALLERID(num)})
exten => s,n,AGI(/var/tmp/basic.agi)
exten => s,n,Hangup()
============= /var/tmp/basic.agi
#!/bin/bash
#Ripped from
#http://lists.digium.com/pipermail/asterisk-users/2003-July/008554.html
while
2011 Mar 11
1
Asterisk 1.8 AGI error ast_carefulwrite: write() returned error
Hey Guys,
We upgrade asterisk from 1.2.x to 1.8.2.3 and my one of agi script doesn't working We have allpage.agi script for paging system on all polycom 501 but after upgrade it broke. Any idea what is this error ?
extension.conf
exten => 7770,1,agi(allpage.agi)
exten => 7770,2,meetme(7770,dq)
exten => 7770,3,playback(beep)
exten => 7770,4,hangup
following is agi debug....
2007 Sep 14
2
AGI script fails on IAX channels (from call file).
Hi Guys,
I have already tried this one on the developers list. I have not been
successful getting much back there and I have notified them that I will
post this on the users list instead. Hopefully somebody have tried
something similar and can help out.
I am developing AGI scripts on Asterisk and have run into some very
strange behaviour and I think this is a bug, but I am not completely
sure.