[asterisk-bugs] [Asterisk 0011774]: CALLERID is not logged correctly into cdrs
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Feb 18 20:40:14 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11774
======================================================================
Reported By: voipgate
Assigned To: jmls
======================================================================
Project: Asterisk
Issue ID: 11774
Category: CDR/General
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
Asterisk Version: 1.4.17
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 01-15-2008 14:53 CST
Last Modified: 02-18-2008 20:40 CST
======================================================================
Summary: CALLERID is not logged correctly into cdrs
Description:
I can set my callerid using the CALLERID function and this works great on
the dialplan. I can read and write to it,the callerid is applied, but
inside the cdr records it is the first callerid that has been provided and
not the one that i defined.
If I modify my CALLERID it should be logged to the cdr table.
======================================================================
----------------------------------------------------------------------
licedey - 02-18-08 20:40
----------------------------------------------------------------------
As I mentioned above, I use Postgres(cdr_pgsql), I checked the master.csv
the CID were not changed. I think my case is not unique. There were many
sites where I had to fix the CID.
- When Asterisk box is connected to Legacy PBX and dialed numbers start
with _9.
exten=>_9X.,Dial(Zap/g1,${Exten:1})
In this case, how should I do if I want to save number without leading 9
?
Some numbers from telco come with leading local area code, where for
outbound calls we don't dial the area code. So, there should be a way to
adjust cdr to show all numbers in same way, either with local area code or
without.
Until now, I was doing it by patching the source code (directly in
cdr_pgsql.c) or adding triggers to database. But this was not a good way,
it would be easier if we could do it from dial plan.
Issue History
Date Modified Username Field Change
======================================================================
02-18-08 20:40 licedey Note Added: 0082543
======================================================================
More information about the asterisk-bugs
mailing list