[Asterisk-Users] Getting the "real" extension into CDR

Matthew Boehm mboehm at cytelcom.com
Sat Dec 18 23:31:46 MST 2004


Hey gang,
 Getting ready to run some test bills for customers. Most SIP phones have
both an extension and a DID. If a person calls a DID asterisk redirects the
call to the right extension:

exten => 8005551212,1,Goto(companyA-internal,3022,1)

The problem is, that if someone calls 8005551212, the CDR shows the DST
number as 3022. Is there a way around this? I understand that 3022 is the
"destination" but that isn't what the outside person dialed; and I need to
know what was dialed in order to bill correctly.

The same goes for the 's' extension. Lots of my CDRs show 's' as the DST
instead of the actual number the person dialed.

I see there are a few apps for modifying the CDR, but I don't see anything
to let me modify the DST number.

Thanks,
Matthew




More information about the asterisk-users mailing list