asterisk2billing.org
http://forum.asterisk2billing.org/

accountnumber, credit and callrate not shown
http://forum.asterisk2billing.org/viewtopic.php?f=35&t=10754
Page 1 of 1

Author:  Taurus79 [ Thu Mar 13, 2014 4:14 pm ]
Post subject:  accountnumber, credit and callrate not shown

Dear Asterisk Gurus

Im trying to display the accountnumber,credit and callrate in the command "core show channel" command as its not displayed currently in the output:


a2billingserver1*CLI> core show channel SIP/SIP-out-00000144
-- General --
Name: SIP/SIP-out-00000144
Type: SIP
UniqueID: 1394726671.324
LinkedID: 1394726671.324
Caller ID: 99573573
Caller ID Name: (N/A)
Connected Line ID: (N/A)
Connected Line ID Name: (N/A)
Eff. Connected Line ID: (N/A)
Eff. Connected Line ID Name: (N/A)
DNID Digits: 24000010
Language: en
State: Up (6)
Rings: 0
NativeFormats: (ulaw)
WriteFormat: ulaw
ReadFormat: ulaw
WriteTranscode: No
ReadTranscode: No
1st File Descriptor: 28
Frames in: 1474
Frames out: 1708
Time to Hangup: 0
Elapsed Time: 0h0m39s
Direct Bridge: SIP/SIP-out-00000145
Indirect Bridge: SIP/SIP-out-00000145
-- PBX --
Context: custom-a2billing
Extension: 24000010
Priority: 1
Call Group: 0
Pickup Group: 0
Application: Dial
Data: SIP/SIP-out/24000010,60,HRrL(900000:61000:00000)
Blocking in: ast_waitfor_nandfds
Call Identifer: [C-000000aa]
Variables:
[email protected]:5060
BRIDGEPEER=SIP/SIP-out-00000145
DIALEDPEERNUMBER=SIP-out/24000010
DIALEDPEERNAME=SIP/SIP-out-00000145
DIALSTATUS=ANSWER
DIALEDTIME=
ANSWEREDTIME=
CALLINGPRES_SV=allowed_not_screened
MOHCLASS=default
GOSUB_RETVAL=
CALLED_BLACKLIST=1
FROM_DID=24000010
[email protected]
SIPDOMAIN=10.10.10.7
SIPURI=sip:[email protected]:5060

CDR Variables:
level 1: dnid=24000010
level 1: did=24000010
level 1: clid=99573573
level 1: src=99573573
level 1: dst=24000010
level 1: dcontext=custom-a2billing
level 1: channel=SIP/SIP-out-00000144
level 1: dstchannel=SIP/SIP-out-00000145
level 1: lastapp=Dial
level 1: lastdata=SIP/SIP-out/24000010,60,HRrL(900000:61000:00000)
level 1: start=2014-03-13 18:04:31
level 1: answer=2014-03-13 18:04:41
level 1: duration=39
level 1: billsec=29
level 1: disposition=ANSWERED
level 1: amaflags=DOCUMENTATION
level 1: uniqueid=1394726671.324
level 1: linkedid=1394726671.324
level 1: sequence=480


Im guessing this should be shown in the CDR variables, does anyone have an idea how to add this information?

Your assistance is greatly appreciated thanks!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/