[asterisk-users] CDR problems -- two call legs create only one CDR. Using ForkCDR() not even working.
Örn Arnarson
orn at arnarson.net
Fri Jan 16 12:12:12 CST 2009
Hello,
When I bridge an incoming and outgoing call (attempting to simulate
call-forwarding) I'm only getting one CDR -- that of the outgoing call.
A (PSTN) calls B (residing on Asterisk) and the Asterisk calls C (cell phone
on PSTN) and bridges the call.
The only CDR created is from B to C. I have even tried using Answer() and
ForkCDR() to get two CDRs, but to no avail.
I am starting to wonder if there's a bug in the CDR generation in general,
because I set up an extension to do only that:
exten => 5822558,1,Answer()
exten => 5822558,n,ForkCDR()
exten => 5822558,n,Playback(tt-monkeys)
exten => 5822558,n,Hangup()
This is even given as an example on how to generate two CDRs from one call
on this website:
http://asterisk.name/asterisk/0596009623/asterisk-app-b-79.html
I have been able to create two CDRs with the use of the Local/n channel, but
the CDR is messy if I do so because I am required by law to change the
caller-id for the outgoing call to that of the PBX, so both call legs seem
to be originating from the Asterisk.
Am I missing something? Any ideas appreciated.
Best regards,
Örn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090116/61a089a0/attachment.htm
More information about the asterisk-users
mailing list