[asterisk-bugs] [Asterisk 0015930]: Modifieied CALLERID(num) is not logged into CDRs as expected
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Sep 22 07:58:27 CDT 2009
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=15930
======================================================================
Reported By: DickyS
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15930
Category: CDR/General
Reproducibility: always
Severity: feature
Priority: normal
Status: closed
Asterisk Version: 1.4.26.1
JIRA:
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 2009-09-22 06:15 CDT
Last Modified: 2009-09-22 07:58 CDT
======================================================================
Summary: Modifieied CALLERID(num) is not logged into CDRs as
expected
Description:
This "problem" has been previously logged under 0011774 and 0012786.
When you modify CALLERID(num) before a DIAL the CDR shows the original CID
number. The desired behaviour would be to show the modified CID number. For
example...
[incoming-calls]
exten=>s,1,Set(CALLERID(num)=0${CALLERID(num)})
exten=>s,2,Dial(SIP/2000)
exten=>s,3,Hangup
...is intended to prepend '0' to the CID provided by the telephone
company. The CDR shows the original CID number with no preceeding '0'.
This is because the CDR records CALLERID(ani) as opposed to CALLERID(num).
The expected behaviour can be achieved by...
[incoming-calls]
exten=>s,1,Set(CALLERID(num)=0${CALLERID(num)})
exten=>s,n,Set(CALLERID(ani)=${CALLERID(num)})
exten=>s,n,Dial(SIP/2000)
exten=>s,n,Hangup
Hope this helps someone. :-)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-09-22 07:58 lmadsen Status new => closed
2009-09-22 07:58 lmadsen Resolution open => no change
required
======================================================================
More information about the asterisk-bugs
mailing list