Displaying 20 results from an estimated 90000 matches similar to: "Set CDR amaflags not work"
2007 Jan 13
0
AMAFlags always"Documentation" (or 3 inastcdrmysql) even after Set(CDR(amaflags)=bill) or SetAMAFlags(bill)
Hi Folks,
I figured out how to get the AMAFlags set correctly! It was not documented anywhere I could find, and I grepped through the source code trying to track through the different function calls etc. all to no avail.
But... if you note in the sample.call file, they show how to do Set(CDR(userfield|r)=whatever. I tried adding this "|r" piece into amaflags, like so:
2007 Jan 07
1
AMAFlags always"Documentation" (or 3 in astcdr mysql) even after Set(CDR(amaflags)=bill) or SetAMAFlags(bill)
Is anyone out there using AMAFlags? I'd like to set this field as a
marker to distinguish different types of calls in CDRs, but can't seem
to make it respond to the documented commands Set(CDR(amaflags)=bill) or
SetAMAFlags(bill).
I've googled this issue, seen others have had this problem with IAX,
with different DB drivers for CDR records, etc. I'm using SIP and LOCAL
2004 Jun 18
0
cdr mysql amaflags field
Hi,
No matter what I set in my sip.conf, I always get '3' as amaflags in my
mysql cdr.
(a) How do I make amaflags correctly set in mysql cdr
(b) Seperate note, how can I set amaflags from agi
Thanks
SW
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040618/f45c4287/attachment.htm
2010 Jun 18
1
What's diff between ${CDR(start)} , ${CDR(answer)} , ${CDR(calldate)}
hi,all
for a long time, i cant understand the difference between
${CDR(calldate)} and ${CDR(start)} , ${CDR(answer)}
i know ${CDR(start)} mean when a call is start. and ${CDR(answer)}
means when a call was pick up.
but what's ${CDR(calldate)} mean?
Could you help me ?
Thansk a lot!
--
Thanks for your supporting,
have a nice day.
Sucan
2010 Aug 20
2
codec_g729.so not work!
hi, all
i want to use g729 codec for set up a call. so i donwloaded the
so file from web site: http://asterisk.hosting.lv/#bin
and install it properly.
*CLI>
*CLI> core show translation
Translation times between formats (in microseconds) for one
second of data
Source Format (Rows) Destination Format (Columns)
g723 gsm ulaw alaw g726aal2 adpcm slin
2007 Nov 05
2
Problem with CDR userfield not being set
I'm trying to use the MySQL CDR records.
According to dialplan show, the line in the dialplan is:
11. Set(CDR(userfield)=${billing_code}) [pbx_ael]
It looks like the value is being set when I watch the console during the call:
-- Executing [s at restphone_event_loop:11] Set("SIP/icall-0075a2e0",
"CDR(userfield)=boatmenu") in new stack
But the record that's
2014 Jan 08
0
(CALL FILES to Local Channel)billsec Zero in cdr via cdr_adaptive_odbc
Hi, all
Sorry for null subject last mail.
I use Ubuntu 12.04.01 TLS and install asterisk 11.7.0 (tar.gz downloaded
from asterisk.org). We named it "Asterisk11".
I want to generate a call file to /var/spool/asterisk/outgoing. This call
will dial out to Local Channel and return to some Extens.
Then Asterisk11 will generate a CDR records to MySQL's cdr table(in
database
2006 Nov 09
1
Problem with CDR interpretation
Hello,
I have problem with interpretation of CDR entries.
What happened?
-------------
There was:
1. at 09:00:26 we received call from unknown caller (no callerid) to
secretary with extension 17
2. secretary answered and after some conversation called to extension 18
to check if she could transfer customer call
3. at 09:02:55 extension 18 answered and call was forwarded
4. call was very long
2010 Mar 10
4
Extensions.conf changed but not take effect
hi, All
one thing confused me a long time.
when i change the extensions.conf file. why not take effects after
restart the asterisk? details as follow:
my dailplan is :
[95040]
exten => _95040XXXXX,1,Set(CALLINNUM=${CALLERID(dnid)})
exten => _95040XXXXX,n(start),Answer
exten => _95040XXXXX,n(welcome),Background(${welcomefile},,123)
...
exten => i,1,Playback(invalid)
exten =>
2004 Dec 05
1
Mysql-cdr
Hi;
I have problem inserting cdr to mysql,Asterisk has logged to asteriskcdrdb successfully.It says:
Dec 6 13:36:26 DEBUG[1221985728]: cdr_addon_mysql.c:178 mysql_log: cdr_mysql: inserting a CDR record.
Dec 6 13:36:26 DEBUG[1221985728]: cdr_addon_mysql.c:197 mysql_log: cdr_mysql: SQL command as follows: INSERT INTO cdr
2010 Feb 25
2
Do i need install Dahdi or libpri ?
hello,all
there is a AudioCodes Mediant 2000 out there. i want to realise ip to
PSTN and PSTN to ip connection.
after some configuration on AudioCodes Mediant 2000, PSTN to ip
connecttion works.
next ,i want to dial from asterisk to PSTN now. i have see the sample
in the extensions.conf relevent to PSTN as follow:
; If you are freely delivering calls to the PSTN, list them here
;
;exten =>
2006 Dec 29
2
Dialed Number missing from the CDR when using call files.
The CDR, both the csv file and in MySQL does not contain the dialed
number (src) in case of a call placed using .call files.
"","","302","extensions","","Zap/4-1","SIP/7777-82c8","Dial","SIP/7777|40|whtWHT","2006-12-29
15:48:56","2006-12-29 15:48:59","2006-
12-29
2010 May 31
1
Why Manager account log on and log off alternatively all the time?
hi, guys,
when i create a manager account used for freepbx, the follow info
produce all the time?
do you know that's the reason?
== Manager 'bitzsk' logged off from 127.0.0.1
== Manager 'bitzsk' logged on from 127.0.0.1
== Manager 'bitzsk' logged off from 127.0.0.1
== Manager 'bitzsk' logged on from 127.0.0.1
== Manager 'bitzsk' logged
2003 Dec 24
0
amaflags question
I am trying to configure cdr on a system. We are using nufone and I have
set amaflags=billing on both of their sections in iax.conf. Incoming
nufone calls show up in cdr with billing, but outgoing calls still show
documentation. What do I need to change? We have a handful of SIP phones,
1 X100P outside line for local, and the rest is via nufone. I don't want
inter-system calls to be
2010 Jun 29
5
What‘s the best operating system suggest for Asterisk 1.6.2.9
hi, list
i want to know what is the best OS for install Asterisk 1.6.2.9,
which should work properly on working system.
i want to use CentOS5.2 or CentOS 5.4. Which is better and stable?
Thanks for your help.
--
Thanks for your supporting,
have a nice day.
Sucan
2010 Jan 15
1
Realtime queue not work
hi, all
i try to confiture realtime queue, but not work, details as below:
Insert into queue_table(name)value('95040654321');
INSERT INTO queue_member_table VALUES ('', 'Zhang Shukun',
'95040654321', 'SIP/1001', 2, 1);
INSERT INTO queue_member_table VALUES ('', 'Li Aiwei', '95040654321',
'SIP/1002', 2, 1);
INSERT INTO
2015 Apr 25
1
Error writing CDR
On Sat, 25 Apr 2015 17:11:34 +0200
jg <webaccounts173 at jgoettgens.de> wrote:
>
> > Hi All
> >
> > I have dozens of these messages on CLI complaining about database
> > connection and error writing CDR to disk.
> >
> > The curious thing is I can find them all inside the database.
> > I "selected" them using uniqueid and manually
2016 Feb 09
2
CDR ODBC error
I am trying to get cdr via odbc to work on Asterisk 13.7.2 but I
keep getting this error:
[Feb 9 16:21:43] WARNING[2088]: cdr_odbc.c:160 execute_cb: cdr_odbc:
Error in ExecDirect: -1, query is: INSERT INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield,peeraccount,linkedid,sequence)
VALUES ({ts
2013 May 09
2
question about CDR
hello list,
i need your help about cdr ,i have installed the module cdr in my asterisk
1.4 .
for the inbound calls when i call my sip exten like below :
exten => 506,1,Dial(SIP/223, 10)
exten => 506,n,Dial(SIP/276, 10)
in CDR i have just one line with SIP /276 the last line but there is
no historic
for the first SIP 223
recid Record ID | calldate |clid |src
2015 Jul 06
0
CDR in an MySQL-Database
> Hi list!
>
> I'd like to save all information about calls (CDR) in a MySQL-Database.
> I created the DB and a user for Asterisk on a separate server, then I
> configured my cdr_mysql.conf so:
>
> [global]
> hostname=192.168.10.3
> dbname=asterisk
> table=cdr
> password=MYSECRET
> user=asterisk
> port=3306
>
> and my cdr.conf so:
>
>