Coming Underground
« vncunused problem with Windows on Xen 3.4.1Manually installing CSI apps on the NMT »

Fixing CDR records for anonymous calls with Asterisk

Permalink 2009-11-04 14:16, by jaervosz, Categories: General, Gentoo Tips, Universe/English

Yesterday I was faced with an Asterisk problem logging src CDR records as anonymous, when dialing anonymously from a Snom SIP phone. In this particular situation it was OK to use anonymous as callerid, but not in the CDR records.

Using something like Set(CDR(src)=12345678) doesn't work since most of the CDR records are read-only. Also using Set(CALLERID(num)=12345678) also doesn't give you the expected result for the src CDR record.

However if you set the ANI callerid you will get the expected result, like this: Set(CALLERID(ANI)=12345678).

1 comment »Send a trackback »

Trackback address for this post

This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

1 comment

Comment from: Claus Lavdal [Visitor] · http://mergeit.dk
will not you show how we have handled the whole anonymous phone call.
*redirecting to dedicated trunk
*CallerID set correctly on the internal dialing
*and handle cdr
2009-11-05 @ 09:03

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

©2010 by admin

Contact Jaervosz