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
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to