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

Eric Wieling aka ManxPower eric at fnords.org
Sun Dec 19 11:03:47 MST 2004


Matthew Boehm wrote:
> 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.

The only way I know of to do what you want to do is to not use the GoTo, 
but to set up extension 8005551212 exactly like extension 3022.

--Eric

-- 
I am seeking part or full time employment in the Greater Toronto Area, 
My preference is part time employment with some telecommuting, but all 
offers will be considered. Contact eric at fnords.org.



More information about the asterisk-users mailing list