Hi all,
I think that it would be very useful for billing information if the cdr information included the called number.
My plan is to allow local people to call in on a local extension, and long distance people to call in on a 1-800 number. They would both be in the same conference, but the amount billed for 1-800 trunks would be higher than the amount billed for the local trunks. The only way that I can see to distinguish this is to record the value of the EXTEN variable in Asterisk.
Thanks,
JayDell Arave
Sorry for the late response. That would indeed be a usefull feature.
The problem is that once the call enters the MeetMe room, we have no
visibility into what number was dialed.
Recording EXTEN is part of the solution, but I am not sure how we could
then link it to the CDR records at the end of the call.
I will keep this ticket open, so that if anyone has thoughts on a solution
we can track the ideas here.
Dan,
I just wonder if it could be achieved by editing the cbEnd.php and including a new parameter DIDnum, the respective column within the DB and something like:
exten => _X.,n,Set(CDR(DIDnum)=${EXTEN})
within the Asterisk dialplan?
That would basically work. If you are using 1.6.2.7 or later Asterisk you can
even avoid messing with cbEnd.php to accomplish this.
Thanks for the info, I didn't know that. However, maybe the dialplan and cbEnd.php way will be more quick and convenient for anyone using a Trixbox 2.8.0.4 deployment for example. Cheers!