[Asterisk-Users] CDR, RingTo Number, and DST
Matthew Boehm
mboehm at cytelcom.com
Mon Feb 7 10:04:07 MST 2005
This has been briefly talked about before but no real resolution was found.
If someone dials a DID, it comes to asterisk via PRI. I translate that DID
into an extension by means of:
exten => 7145254474,1,Dial(SIP/3022,30)
The destination number of the caller is '7145254474' yet for some reason the
CDR shows a destination of 3022. 3022 was 'not' the destination dialed, it
was the 'translated' destination.
Is there no way to get both the 'translated' destination and the dialed
destination?
This applies mainly to 800 numbers, as we terminate them. I have an 800
number come to us over PRI and instead of translating it to a local number,
sending it out PRI only to come back into asterisk to be translated again to
someone's extension is kinda dumb. Instead I need to see the 800 number,
send it to the phone but still be able to see that the caller dialed an 800
so I can bill the callee. If I can't see 800, then I can't bill.
If nobody knows how to do this, I'll look into patching CDR stuff.
-Matthew
More information about the asterisk-users
mailing list