Displaying 20 results from an estimated 20000 matches similar to: "AGI accountcode."
2013 Oct 07
1
IAX and Variables
Hi
a new small question ;=)
We have two Asterisk, connected in IAX2.
On the first, in dialplan, we have:
exten => _XX.,1,Set(IAXVAR(ACCOUNTID)=${CDR(accountcode)})
we sent into the IAXVAR "ACCOUNTID" the accountcode.
On the second, in dialplan, we have:
exten => 18,2,AGI(Caller-ID.agi,${IAXVAR(ACCOUNTID)})
That's work, the second server get the variable.
I
2003 Sep 04
2
Question about cdr_sql fields
Hello-
Is it possible to set the CDR record field called "accountcode" from within
the dialplan? Or is there another way to cause this field to be set,
preferably without using AGI code.
Thanks
Scott
Scott M. Stingel
Emerging Voice Technology Inc.
Palo Alto, California and London, England
www.evtmedia.com
2004 Oct 05
2
Howto change ACCOUNTCODE in extensions.conf
Hi,
I want to assign different accountcodes (for billing)
according to the IP address and or the H.323 name
(chan_oh323).
I tried in extensions.conf something like
setVar(ACCOUNTCODE=userid)
but in cdr I find the accountcode set in oh323.conf.
Howto change it in extensions.conf?
Roger.
2009 Jan 14
0
agi and set variable ( accountcode in aserisk 1.4)
i am set var Set(CDR(accountcode)=forkcdr-test) into agiphp
probe
$agi->exec('Set(CDR(accountcode)=55555)');
$agi->exec('SetAccount','123123123');
and no work ...
how to solutions.
thanks people!!!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Oct 16
1
Page hangs up after 5 seconds
Hi asterisk-users,
We are using Asterisk 1.2.12.1, and are trying to use the Page
application. It seems to work but after approx 4-5 seconds the call is
hung up.
The dialplan code look like this:
exten => _*2XX,1,AGI(get-paging-devices.agi,${EXTEN:2})
exten => _*2XX,n,GotoIf($[ "${PAGING_DEVICES}" = "invalid" ]?i,1)
exten => _*2XX,n,SIPAddHeader(Call-Info:
2011 Oct 11
11
Reporting for Asterisk Call Center
Dear Tariq;
About elastix.org, this can be use with Asterisk or it is coming as a complete IP Telephony, Call Center, IVR and Reporting?
Because, I do not need to install another IP Telephony on the server which already has asterisk which is an IP Telephony, this will cause a problem in the service (for example, when listening for SIP port of 5060).
2003 Sep 14
4
AGI question
Hi,
sorry if this is a newbie question, but in fact I am sort of a newbie.
Is there a way of connecting two answered and active voice channels together
in an AGI script for some time, having the two parties talk to each other,
at the same time have asterisk or the AGI script listen for DTMF tones on
both channels and react to certain tones, i.e. disconnecting the two
channels on reception of
2003 Nov 26
3
AGI - CallerID ??
I have a client who needs an application for there field techs to call
in when they arrive on site and when they leave. The logic behind it
seems pretty simple. I am going to write something in AGI to capture
some DTMF tones and update this data into MySQL to run some reports
from.
But here's my initial problem. I have started to create a simple AGI
script to capture the CallerID, but I
2006 Feb 13
1
asterisk still tries native bridging
Hello,
I've problems with following -
----- --- ---
PSTN | --- isdn --- | A | ----- iax2 ------ | B |
----- --- ---
On [B], there is unconditional call forwarding set back via [A]
(dialparties.agi is used) to PSTN.
So, call from PSTN is routed via [A] to [B] and than back again into
PSTN.
2003 Oct 10
1
Asterisk crash on AGI
Hi
I've just started to play around with AGI scripts and have run into
problems.
When I run Asterisk in console mode everything works just fine. If I run
Asterisk in 'regular' mode (not console) it crashes if I hang up on the
script. I have used Python scripts to test this and also the "agi-test.agi"
script.
(the Asterisk code was compiled from CVS code just a few days
2003 Sep 08
2
cdr_mysql question: accountcode
Hello-
I'm using the "accountcode" field in cdr table to store some temporary
information used by my perl scripts. I'm finding that the field seems to be
truncated to 19 characters, even though the allocated field in the table is
larger (varchar(45)).
Anyone familiar with the asterisk sources know where I can make a change to
keep this from happening? ie: to allow more
2004 Jan 13
6
SIP and AGI crash...
Hi,
I'm trying to use the say-ani agi asterisk-perl script and am experiencing
crashes, I am also experienceing problems with the test-agi scripts shipped
with asterisk.
The clearest demonstration of the problem is that if I dial extension 125
configured as...
exten => 125,1,Ringing
exten => 125,2,Wait(3)
exten => 125,3,Answer
exten => 125,4,Wait(2)
exten =>
2003 Jul 21
1
MYSQL Table Structure
For the information of others (and Google) this is the table structure I used to get cdr_mysql working:
CREATE TABLE cdr (
calldate varchar(255) NOT NULL default '',
clid varchar(255) NOT NULL default '',
src varchar(255) NOT NULL default '',
dst varchar(255) NOT NULL default '',
dcontext varchar(255) NOT NULL default '',
channel varchar(255)
2003 Jun 25
1
Problems with music during tones of dial.
Hi everybody,
Firstly I'm going to describe the scenario where I'm working. I use a E400P with Asterisk CVS-05/22/03-11:14:50, and I'm working with asterisk trow AGI scripts (Perl).
The configuration of extension.conf is:
exten =>_s,1,Answer
exten =>_s,2,AGI,script.agi
Inside the AGI script is call Dial application as follows:
print "EXEC Dial
2011 May 19
1
SIP 603 Declined after AGI execution
Hello everyone.
I'm using Asterisk 1.4.31 and A2Billing 1.7.0 to manage a small
wholesale operation, so I configured A2Billing for not to answer the
call nor play any greetings or balance notifications to the caller.
I'm authenticating each customer by it's IP address, and each customer
has it's own context, in which I set the following:
;=====in extensions.conf======
2011 May 19
1
Getting 603 Declined after AGI execution
Hello everyone.
I'm using Asterisk 1.4.31 and A2Billing 1.7.0 to manage a small
wholesale operation, so I configured A2Billing for not to answer the
call nor play any greetings or balance notifications to the caller.
I'm authenticating each customer by it's IP address, and each customer
has it's own context, in which I set the following:
;=====in extensions.conf======
2003 Oct 16
2
AGI problem (crash)
Hi
Every time I hangup on my AGI script Asterisk crashes if it is not running
in console mode.
(happens when using python and perl AGI scripts)
I'm desparatly trying to get my employer to let me use Asterisk. So I must
get this to work.
I've posted about this before, I'm sorry, but I'm desperate.
I'm running RedHat 9.0 (kernel 2.4.20-8 everything else updated)
I'm
2005 Jun 27
2
Accessing SIP username from AGI script
Hi,
I'm writing an AGI script to manage outgoing calls. We need to
interrogate a database to work out which line a particular user is
allowed to use for outgoing calls. However, I cannot find a way for
my AGI script to access the SIP username. Does anyone know if this is
possible (even if it is just passing a variable from extensions.conf
to the script)?
Thanks in advance,
David
2004 Jun 15
2
using SetCDRUserField in an AGI script
Hi I am trying to use SetCDRUserField in an agi script
but with no success.
I am using the CDR mysql addon, however I can't see it
being at fault as my attempt is not doing anything to
the CVS CD either.
has anyone used this, any hints guidence would be
greatly appreciated.
The syntax I am using is like so ..
res=DoExec('SetCDRUserField','12345');
and then dialing the
2009 Dec 30
1
CDR_MYSQL 1.4 Database Structure
So I'm noticing from the docs/ on Asterisk Addons 1.4.10 that the
database structure for cdr_mysql is:
CREATE TABLE cdr (
calldate datetime NOT NULL default '0000-00-00 00:00:00',
clid varchar(80) NOT NULL default '',
src varchar(80) NOT NULL default '',
dst varchar(80) NOT NULL default '',
dcontext varchar(80) NOT NULL default '',
channel