Displaying 20 results from an estimated 322 matches for "amaflag".
Did you mean:
amaflags
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 "...
2005 Oct 06
1
Billing: amaflags and accountcode
Hi all,
I have about 10 SIP phones for different users defined in sip.conf, each
with their own accountcode= entry. There is a global setting in sip.conf
that states amaflags=documentation
There are 3 IAX->PSTN gateways defined in iax.conf for outbound calls. These
do not have an accountcode=, but do have amaflags=billing defined in each.
The theory was that all calls should be logged, those calls either incoming
or between SIP users should have amaflags=documenta...
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...
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/atta...
2010 Apr 15
0
Set CDR amaflags not work
Hi, when i use Set(CDR(amaflags)=1) in my dial plan , after a call. i
look at the cdr table in mysql database.
the value of amaflags is -1 not 1, do you know what's wrong?
Thanks!
--
Best regards,
Sucan
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 ca...
2008 Dec 01
2
Inbound calls from Asterisk to Asterisk with SIP "Forbidden" from '"asterisk"
Please help.
Asterisk 1: Sip.conf
[VoipDirect777821]
type=friend
host=dfvvd.dyndns.org
username=VoipDirect777821
secret=xxxxxxxxxxxx
accountcode=5260477782
amaflags=billing
context=Incoming
disallow=all
allow=g729
;allow=alaw
;allow=ulaw
trunk=no
qualify=yes
qualifysmoothing=yes
nat=no
canreinvite=yes
dtmfmode=rfc2833
;directrtpsetup=no
t38pt_udptl = yes
Asterisk 2 sip.conf
GNU nano 1.3.12 File: sip_custom.conf
[VoipDi...
2006 Nov 09
1
Problem with CDR interpretation
...2-1 dstchannel: SIP/8117-e6cb
lastapp: Dial lastdata:
SIP/8117&LOCAL/19@sekretariat&LOCAL/24@sekretariat|60|t
start: 2006-11-08 09:00:26 answer: 2006-11-08 09:00:26 end:
2006-11-08 10:15:55
duration: 4529 billsec: 4529
disposition: ANSWERED amaflags: DOCUMENTATION
uniqueid: asterisk-1295-1162972826.808
2. src: dst: 18
dcontext: zcentralki
clid:
channel: SIP/8117-7601 dstchannel: SIP/8118-5cae
lastapp: Dial lastdata: SIP/8118|60|t
start: 2006-11-08 09:02:52 answer: 2006-11-08 09:02:55 end:
2006-11-...
2011 Mar 28
8
CDR MYSQL missing field data
Hello,
I have Asterisk-1.8.3.2, dahdi-linux-complete-2.4.1+2.4.1, and
libpri-1.4.11.5 installed and running on a Ubuntu 10.04 server all built
from source.
Everything is working nicely except one small issue.
The CDR records are stored in the CSV file correctly and complete.
The MySQL storage is working as it should and is automatically updating
all the fields except the CLID field.
I have
2013 Oct 07
1
IAX and Variables
...> clid
alias src => src
alias dst => dst
alias dcontext => dcontext
alias channel => channel
alias dstchannel => dstchannel
alias lastapp => lastapp
alias lastdata => lastdata
alias duration => duration
alias billsec => billsec
alias disposition => disposition
alias amaflags => amaflags
alias accountcode => accountcode
alias userfield => userfield
alias uniqueid => uniqueid
But where i can put into the config that for this cdr entry accountcode
= ${IAXVAR(ACCOUNTID)} ?
thanks for your help
jerome
2014 Mar 13
1
strange records in cdr
...03-13 09:56:04] VERBOSE[4754] pbx.c: == Spawn extension (from-sip-external, h, 1) exited non-zero on 'SIP/external-ip-00065fd2'
It's correct, such call don't allowed , my money is safe.
mysql> select calldate, clid,src,dst,dcontext,channel,lastapp,duration,billsec,disposition,amaflags from cdr where calldate like '2014-03-13 09:56:04';
+---------------------+-------------+-----+-----+-------------------+----------------------------+---------+----------+---------+-------------+----------+
| calldate | clid | src | dst | dcontext | channel...
2004 Dec 14
3
sip_buddies mysql table
...insecure=very
insecure=yes ; To match a peer based by IP address only and not peer
insecure=very ; To allow registered hosts to call without re-authenticating
Typically used to allow incoming calls (e.g. from FWD) while having a
type=friend entry defined with username and password.
>>> amaflags
The column "amaflags" currently 1 character long should be
at least 13 chars long
amaflag- Categorization for CDR records. Choices are default, omit,
billing, documentation
and of course Null though not stated.
>>> canreinvite
this looks to be 3 chars not 1 (Null, no, yes)...
2003 Jul 05
1
E&M DID config question
...the PRI are immediately disconnected when
inbound caller-id info is present. The E&M trunk group is an attempt to
workaround this problem.
=================
zapata.conf
[channels]
group => 1
context => default
switchtype => national
signalling => pri_cpe
callerid => asreceived
amaflags => billing
pri_dialplan => national
echocancelwhenbridged => yes
echocancel => 128
channel => 5-23
group => 2
signalling => em_w
context => default
immediate => no
amaflags => billing
echocancelwhenbridged => yes
channel => 1-4
=================
zaptel.conf
s...
2007 May 14
1
Some problems with mysql CDR
...4109927773
DestinationContext: outbound
CallerID: 0000000000
Channel: Zap/15-1
DestinationChannel: SIP/teliax-081ed5b0
LastApplication: NoOp
LastData:
StartTime: 2007-05-08 10:51:04
AnswerTime: 2007-05-08 10:51:05
EndTime: 2007-05-08 11:01:56
Duration: 652
BillableSeconds: 651
Disposition: ANSWERED
AMAFlags: DOCUMENTATION
UniqueID: 1178635864.1510
UserField:
And for that record in the database:
'calldate' '2007-05-08 10:51:04'
'clid' '0000000000'
'src' '0000000000'
'dst' '6398714109927773'
'dcontext' 'outbound'
'ch...
2006 Dec 07
1
-- Called 12127773456@OOH323 Segmentation fault (core dumped)
...xt=default
;Sets rtptimeout for all clients, unless overridden
;Default - 60 seconds
;rtptimeout=60 ; Terminate call if 60 seconds of no RTP activity
; when we're not on hold
;Type of Service
;Default - none (lowdelay, thoughput, reliability, mincost, none)
;tos=none
;amaflags = default
;The account code used by default for all clients.
;accountcode=h3230101
;The codecs to be used for all clients.Only ulaw and gsm supported as of
now.
;Default - ulaw
; ONLY ulaw, gsm, g729 and g7231 supported as of now
allow=all ;Note order of disallow/allow is important.
;allow=g...
2016 Feb 09
2
CDR ODBC error
...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 '2016-02-09 16:21:28'},?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ,?,?,?)
[Feb 9 16:21:43] WARNING[2088]: res_odbc.c:612 ast_odbc_direct_execute:
SQL Execute error! Verifying connection to asterisk [asterisk]...
[Feb 9 16:21:...
2005 Oct 08
0
Re: Asterisk-Users Digest, Vol 15, Issue 28
...rom-h323
;Sets rtptimeout for all clients, unless overridden
;Default - 60 seconds
rtptimeout=60 ; Terminate call if 60 seconds of no RTP activity
; when we're not on hold
;Type of Service
;Default - none (lowdelay, thoughput, reliability, mincost, none)
tos=lowdelay
;amaflags = default
amaflags = billing
;The account code used by default for all clients.
accountcode=h3230101
;The codecs to be used for all clients.Only ulaw and gsm supported as of now.
;Default - ulaw
; ONLY ulaw, gsm, g729 and g7231 supported as of now
disallow=all ;Note order of disallow/allow i...
2006 Mar 28
0
IAX2 errors
...sk in all tips.
Below follows my configurations of iax.conf the interesting one is that
register it functions in each server, what could be? Already I compiled and
I installed everything two times and the error persists.
Greatings
server B
[general]
bindport=4569
bindaddr=0.0.0.0
trunkdfreq=40
amaflags=billing
disallow=all
allow=gsm
allow=g729
;allow=g723.1
;allow=ulaw
tos=lowdelay
jitterbuffer=yes
[cornjundiai]
type=friend
username=corncea
context=default
secret=spojundiai
host=133.1.150.1
peercontext=default
qualify=yes
trunk=yes
insecure=very
canreinvite=no
incominglimit=30
disallow=all
allo...
2009 Mar 24
1
Inter-Asterisk Using SIP
...llow = ulaw port = 5060 context = incoming maxexpirey=3600 defaultexpirey=300 canreinvite=no dtmfmode=auto nat=yes ; Customer A Outbound SIP [customera-out] context=customera type=friend username=customera-out fromuser=customera-out secret=aaaa host=192.168.0.12 canreinvite=no accountcode=customera amaflags=billing dtmfmode=auto ; Customer A SIP Phone Account [customera101] context=customera type=friend username=customera101 secret=1234 host=dynamic canreinvite=no mailbox=101 at customera nat=yes qualify=yes callerid="John Smith" <101> accountcode=customera amaflags=billing dtmfmode=r...
2007 Apr 19
2
3rd T1 of quad card won't change signaling
...han=25-47
dchan=48
span=3,0,0,esf,b8zs
e&m=49-72
-----------ZAPATA.CONF--------
[channels]
language=en
usecallerid=yes
callerid=asreceived
callwaiting=no
relaxdtmf=no
group=0
callgroup=0
faxdetect=no
rxgain=0
txgain=0
echocancel=yes
echocancelwhenbridged=yes
echotraining=600
jitterbuffers=6
amaflags=billing
context=from-pstn
switchtype=national
signalling=pri_cpe
channel => 1-23
group=1
channel => 25-47
; NEW FAX t1
group=3
signaling=em_w
context=from-internal
channel => 49-72
Thanks for any tips or glaring oversights on my part.
JJ
_____________________________________________...