No subject
Thu Jan 15 22:29:28 CST 2009
correct for a transfer. In the traditional Telco World the src (or A
Number) field tends to be both the callerid of the customer and an
identifier that ties the CDR to the customer for billing purposes.
With Asterisk and a lot of other modern day softswitches there's
usually a field called accountcode or similar which can be used to tie
a CDR to a customer. The src field is then only fulfilling one role
which is to hold the callerid that was set or recieved for the call.
The trick with transfers is to forget about the src field for billing
purposes and make sure the accountcode for the call is set in
accordance with the business rules. For example if two customers A and
B are talking to each other and A blind transfers B to a billable
destination Z then who pays for the call from B to Z? There is no
right answer but as far as the CDRs are concerned it's irrelvant as
long as each call is recorded and the accountcode can be set within
the dialplan both choices can be accomodated.
With the simple CDR approach it could end up that there are multiple
CDRs for a customer for the one call since they could be charged for
both ends of a transfer. I don't see that as an issue.
Regards,
Greyman.
More information about the asterisk-users
mailing list